# Logfile created on Mon Oct 01 15:28:16 +0100 2012 by logger.rb/1.2.6 Booted Spree using version 1.1.3 SQL (1227.8ms) DELETE FROM "spree_products" SQL (372.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (574.2ms) DELETE FROM "spree_option_types" SQL (1324.5ms) DELETE FROM "spree_option_values" SQL (199.7ms) DELETE FROM "spree_properties" SQL (3064.6ms) DELETE FROM "spree_product_properties" SQL (163.0ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (7.7ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:28:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:28:24 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 924 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.272065' WHERE "spree_products"."id" = 924 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 924], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.274413' WHERE "spree_products"."id" = 924  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3202 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.277349' WHERE "spree_products"."id" = 924  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 924  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["product_id", nil], ["property_id", 801], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 924, "updated_at" = '2012-10-01 14:28:25.294732' WHERE "spree_product_properties"."id" = 969 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 924) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1164 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1164], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 924 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2031, 924) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1165 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1165], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2032, 924) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 924) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::OptionType Exists (1.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 924 AND "spree_option_types"."id" = 546 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 924) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["option_type_id", 546], ["position", 1], ["product_id", 924], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 546) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["name", "jpeg"], ["option_type_id", 546], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 924 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.669812' WHERE "spree_products"."id" = 924 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 924], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.671131' WHERE "spree_products"."id" = 924  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1070, 3203) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 546) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["name", "PDF"], ["option_type_id", 546], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 924 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.677140' WHERE "spree_products"."id" = 924 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 924], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.678454' WHERE "spree_products"."id" = 924  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1071, 3204) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 546) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00], ["name", "PNG"], ["option_type_id", 546], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 924 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.683093' WHERE "spree_products"."id" = 924 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 924], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:25.684216' WHERE "spree_products"."id" = 924  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1072, 3205) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 924]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 924) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3203 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3204 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3205 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 924) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 924 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.814586' WHERE "spree_products"."id" = 924  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3203 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.815580' WHERE "spree_products"."id" = 924 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 924 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.816726' WHERE "spree_products"."id" = 924  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3204 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.817548' WHERE "spree_products"."id" = 924 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 924 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.818546' WHERE "spree_products"."id" = 924  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3205 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.819722' WHERE "spree_products"."id" = 924 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 924) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.822680', "count_on_hand" = 25 WHERE "spree_products"."id" = 924 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 924 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 925 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.831768' WHERE "spree_products"."id" = 925 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 925], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.833350' WHERE "spree_products"."id" = 925  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3206 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.834924' WHERE "spree_products"."id" = 925  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 925  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["product_id", nil], ["property_id", 802], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 925, "updated_at" = '2012-10-01 14:28:26.843350' WHERE "spree_product_properties"."id" = 970 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 925) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1164 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 925 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (925, 2031) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1166 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1166], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (925, 2033) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1164 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1164 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2031 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2031]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2031], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1164], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2031]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2034]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2034 THEN 2031 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2031]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2034]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1164 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2034 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2034]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2034], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1164], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2034]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2035]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2035 THEN 2034 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2034]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2035]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (925, 2034)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (925, 2035) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 925) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 925 AND "spree_option_types"."id" = 546 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 925) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00], ["option_type_id", 546], ["position", 1], ["product_id", 925], ["updated_at", Mon, 01 Oct 2012 14:28:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 925 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.898351' WHERE "spree_products"."id" = 925 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 925], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.900087' WHERE "spree_products"."id" = 925  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1070, 3207) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 925 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.903227' WHERE "spree_products"."id" = 925 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 925], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.905007' WHERE "spree_products"."id" = 925  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3208, 1071) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 925 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.907841' WHERE "spree_products"."id" = 925 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 925], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:26.909334' WHERE "spree_products"."id" = 925  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1072, 3209) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 925]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 925) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3207 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3208 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3209 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 925) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 925 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.181802' WHERE "spree_products"."id" = 925  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3207 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.182726' WHERE "spree_products"."id" = 925 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 925 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.183601' WHERE "spree_products"."id" = 925  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3208 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.184370' WHERE "spree_products"."id" = 925 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 925 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.185648' WHERE "spree_products"."id" = 925  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3209 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.186576' WHERE "spree_products"."id" = 925 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 925) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.188831', "count_on_hand" = 11 WHERE "spree_products"."id" = 925 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 925 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.195316' WHERE "spree_products"."id" = 926 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 926], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.196280' WHERE "spree_products"."id" = 926  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3210 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.197370' WHERE "spree_products"."id" = 926  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 926  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["product_id", nil], ["property_id", 803], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 926, "updated_at" = '2012-10-01 14:28:28.203370' WHERE "spree_product_properties"."id" = 971 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["product_id", nil], ["property_id", 802], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 926, "updated_at" = '2012-10-01 14:28:28.205747' WHERE "spree_product_properties"."id" = 972 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["product_id", nil], ["property_id", 804], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 926, "updated_at" = '2012-10-01 14:28:28.209275' WHERE "spree_product_properties"."id" = 973 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 926) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1167 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1167], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 926 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (926, 2036) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1164 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1164 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2031 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2031]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2031], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1164], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2031]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2037]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2037 THEN 2031 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2031]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2037]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (926, 2037)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (926, 2031) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 926) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 926 AND "spree_option_types"."id" = 546 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 926) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["option_type_id", 546], ["position", 1], ["product_id", 926], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.233502' WHERE "spree_products"."id" = 926 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 926], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.234776' WHERE "spree_products"."id" = 926  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3211, 1070) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.237050' WHERE "spree_products"."id" = 926 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 926], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.237916' WHERE "spree_products"."id" = 926  (0.5ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1071, 3212) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 546 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.240607' WHERE "spree_products"."id" = 926 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 926], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.241371' WHERE "spree_products"."id" = 926  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1072, 3213) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 926]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 926 AND "spree_option_types"."id" = 547 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 926) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["option_type_id", 547], ["position", 2], ["product_id", 926], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 547 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 547) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 547], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:28.253735' WHERE "spree_products"."id" = 926 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 926], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.324964' WHERE "spree_products"."id" = 926  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3214, 1073) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 547 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 547) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:29 UTC +00:00], ["name", "colour"], ["option_type_id", 547], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.333015' WHERE "spree_products"."id" = 926 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 926], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.333984' WHERE "spree_products"."id" = 926  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3215, 1074) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 926]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 926) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3211 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3212 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3213 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3214 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3215 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 926) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.348138' WHERE "spree_products"."id" = 926  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3211 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.349387' WHERE "spree_products"."id" = 926 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.350673' WHERE "spree_products"."id" = 926  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3212 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.351547' WHERE "spree_products"."id" = 926 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.352787' WHERE "spree_products"."id" = 926  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3213 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.353555' WHERE "spree_products"."id" = 926 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.355081' WHERE "spree_products"."id" = 926  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3214 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.355936' WHERE "spree_products"."id" = 926 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 926 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.357219' WHERE "spree_products"."id" = 926  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3215 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.357947' WHERE "spree_products"."id" = 926 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 926) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:29.360809', "count_on_hand" = 53 WHERE "spree_products"."id" = 926 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 926 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.9ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 926 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3210) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 926)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.3ms) rollback transaction SQL (6.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (413.9ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (1571.2ms) DELETE FROM "spree_properties" SQL (1267.1ms) DELETE FROM "spree_product_properties" SQL (6.2ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (811.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (4.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 927 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:33.908299' WHERE "spree_products"."id" = 927 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 927], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:33.910919' WHERE "spree_products"."id" = 927  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3216 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:33.912452' WHERE "spree_products"."id" = 927  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 927  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["product_id", nil], ["property_id", 805], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 927, "updated_at" = '2012-10-01 14:28:33.920453' WHERE "spree_product_properties"."id" = 974 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 927) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1168 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1168], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 927 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2038, 927) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1169 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1169], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2039, 927) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 927) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:28:33 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 927 AND "spree_option_types"."id" = 548 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 927) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["option_type_id", 548], ["position", 1], ["product_id", 927], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 548) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["name", "jpeg"], ["option_type_id", 548], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 927 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.734822' WHERE "spree_products"."id" = 927 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 927], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.736196' WHERE "spree_products"."id" = 927  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1075, 3217) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 548) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["name", "PDF"], ["option_type_id", 548], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 927 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.740897' WHERE "spree_products"."id" = 927 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 927], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.742131' WHERE "spree_products"."id" = 927  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1076, 3218) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 548) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["name", "PNG"], ["option_type_id", 548], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 927 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.747464' WHERE "spree_products"."id" = 927 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 927], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.748896' WHERE "spree_products"."id" = 927  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3219, 1077) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 927]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 927) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3217 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3218 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3219 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 927) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 927 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.762932' WHERE "spree_products"."id" = 927  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3217 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.764112' WHERE "spree_products"."id" = 927 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 927 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.765727' WHERE "spree_products"."id" = 927  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3218 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.766352' WHERE "spree_products"."id" = 927 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 927 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.767893' WHERE "spree_products"."id" = 927  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3219 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.768787' WHERE "spree_products"."id" = 927 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 927) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.771153', "count_on_hand" = 25 WHERE "spree_products"."id" = 927 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 927 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 928 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.778839' WHERE "spree_products"."id" = 928 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 928], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.779785' WHERE "spree_products"."id" = 928  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3220 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:34.781296' WHERE "spree_products"."id" = 928  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 928  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["product_id", nil], ["property_id", 806], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 928, "updated_at" = '2012-10-01 14:28:34.788106' WHERE "spree_product_properties"."id" = 975 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 928) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1168 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 928 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2038, 928) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1170 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1170], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2040, 928) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1168 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1168 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2038 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2038]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2038], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1168], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2038]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2041]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2041 THEN 2038 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2038]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2041]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1168 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2041 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2041]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2041], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1168], ["updated_at", Mon, 01 Oct 2012 14:28:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2041]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2042]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2042 THEN 2041 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2041]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2042]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2041, 928)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2042, 928) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 928) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 928 AND "spree_option_types"."id" = 548 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 928) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["option_type_id", 548], ["position", 1], ["product_id", 928], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 928 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.305858' WHERE "spree_products"."id" = 928 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 928], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.307345' WHERE "spree_products"."id" = 928  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1075, 3221) Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 928 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.310345' WHERE "spree_products"."id" = 928 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 928], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.311782' WHERE "spree_products"."id" = 928  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1076, 3222) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 928 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.314529' WHERE "spree_products"."id" = 928 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 928], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.315473' WHERE "spree_products"."id" = 928  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3223, 1077) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 928]] Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 928) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3221 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3222 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3223 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 928) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 928 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.336353' WHERE "spree_products"."id" = 928  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3221 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.337379' WHERE "spree_products"."id" = 928 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 928 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.338650' WHERE "spree_products"."id" = 928  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3222 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.339351' WHERE "spree_products"."id" = 928 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 928 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.340399' WHERE "spree_products"."id" = 928  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3223 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.341328' WHERE "spree_products"."id" = 928 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 928) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.343906', "count_on_hand" = 11 WHERE "spree_products"."id" = 928 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 928 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.351444' WHERE "spree_products"."id" = 929 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 929], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.352731' WHERE "spree_products"."id" = 929  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3224 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.354029' WHERE "spree_products"."id" = 929  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 929  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["product_id", nil], ["property_id", 807], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 929, "updated_at" = '2012-10-01 14:28:35.361473' WHERE "spree_product_properties"."id" = 976 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["product_id", nil], ["property_id", 806], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 929, "updated_at" = '2012-10-01 14:28:35.363799' WHERE "spree_product_properties"."id" = 977 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["product_id", nil], ["property_id", 808], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 929, "updated_at" = '2012-10-01 14:28:35.366753' WHERE "spree_product_properties"."id" = 978 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 929) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1171 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1171], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 929 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2043, 929) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1168 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1168 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2038 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2038]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2038], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1168], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2038]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2044]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2044 THEN 2038 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2038]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2044]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2044, 929)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2038, 929) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 929) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 929 AND "spree_option_types"."id" = 548 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 929) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["option_type_id", 548], ["position", 1], ["product_id", 929], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.393123' WHERE "spree_products"."id" = 929 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 929], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.394233' WHERE "spree_products"."id" = 929  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3225, 1075) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.396823' WHERE "spree_products"."id" = 929 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 929], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.397816' WHERE "spree_products"."id" = 929  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3226, 1076) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 548 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.400534' WHERE "spree_products"."id" = 929 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 929], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.978653' WHERE "spree_products"."id" = 929  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3227, 1077) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 929]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 929 AND "spree_option_types"."id" = 549 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 929) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["option_type_id", 549], ["position", 2], ["product_id", 929], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 549 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 549) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["name", "black_white"], ["option_type_id", 549], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.994759' WHERE "spree_products"."id" = 929 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 929], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:35.996109' WHERE "spree_products"."id" = 929  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1078, 3228) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 549 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 549) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00], ["name", "colour"], ["option_type_id", 549], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:28:35 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.001093' WHERE "spree_products"."id" = 929 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 929], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.002312' WHERE "spree_products"."id" = 929  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3229, 1079) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 929]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 929) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3225 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3226 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3227 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3228 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3229 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 929) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.034604' WHERE "spree_products"."id" = 929  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3225 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.035815' WHERE "spree_products"."id" = 929 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.037093' WHERE "spree_products"."id" = 929  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3226 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.038092' WHERE "spree_products"."id" = 929 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.042470' WHERE "spree_products"."id" = 929  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3227 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.043841' WHERE "spree_products"."id" = 929 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.046167' WHERE "spree_products"."id" = 929  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3228 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.047346' WHERE "spree_products"."id" = 929 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 929 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.048985' WHERE "spree_products"."id" = 929  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3229 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.740443' WHERE "spree_products"."id" = 929 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 929) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:28:36.743403', "count_on_hand" = 53 WHERE "spree_products"."id" = 929 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 929 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1016.7ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 929 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3224) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 929)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (1382.6ms) DELETE FROM "spree_products" SQL (1.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (330.9ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (4.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 930 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:10.613380' WHERE "spree_products"."id" = 930 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 930], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:10.615808' WHERE "spree_products"."id" = 930  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3230 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:10.617720' WHERE "spree_products"."id" = 930  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 930  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["product_id", nil], ["property_id", 809], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["value", nil]]  (0.8ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:10.770429', "product_id" = 930 WHERE "spree_product_properties"."id" = 979 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 930) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1172 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1172], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 930 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2045, 930) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1173 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1173], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2046, 930) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 930) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:37:10 UTC +00:00]] Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 930 AND "spree_option_types"."id" = 550 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 930) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["option_type_id", 550], ["position", 1], ["product_id", 930], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 550) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "jpeg"], ["option_type_id", 550], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 930 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.041768' WHERE "spree_products"."id" = 930 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 930], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.043645' WHERE "spree_products"."id" = 930  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1080, 3231) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 550) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "PDF"], ["option_type_id", 550], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 930 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.050365' WHERE "spree_products"."id" = 930 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 930], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.051535' WHERE "spree_products"."id" = 930  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1081, 3232) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 550) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "PNG"], ["option_type_id", 550], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 930 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.056247' WHERE "spree_products"."id" = 930 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 930], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.057442' WHERE "spree_products"."id" = 930  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1082, 3233) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 930]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 930) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3231 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3232 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3233 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 930) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 930 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.085754' WHERE "spree_products"."id" = 930  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3231 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.087049' WHERE "spree_products"."id" = 930 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 930 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.088103' WHERE "spree_products"."id" = 930  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3232 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.089183' WHERE "spree_products"."id" = 930 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 930 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.090455' WHERE "spree_products"."id" = 930  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3233 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.091406' WHERE "spree_products"."id" = 930 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 930) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:37:11.093514' WHERE "spree_products"."id" = 930 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 930 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (112.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 931 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.215652' WHERE "spree_products"."id" = 931 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 931], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.216909' WHERE "spree_products"."id" = 931  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3234 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.218229' WHERE "spree_products"."id" = 931  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 931  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["product_id", nil], ["property_id", 810], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:11.224411', "product_id" = 931 WHERE "spree_product_properties"."id" = 980 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 931) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1172 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 931 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2045, 931) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1174 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1174], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2047, 931) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1172 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1172 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2045 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2045]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2045], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1172], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2045]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2048]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2048 THEN 2045 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2045]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2048]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1172 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2048 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2048]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2048], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1172], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2048]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2049]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2049 THEN 2048 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2048]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2049]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2048, 931)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2049, 931) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 931) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 931 AND "spree_option_types"."id" = 550 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 931) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["option_type_id", 550], ["position", 1], ["product_id", 931], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 931 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.259753' WHERE "spree_products"."id" = 931 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 931], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.260922' WHERE "spree_products"."id" = 931  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1080, 3235) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 931 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.264324' WHERE "spree_products"."id" = 931 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 931], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.265543' WHERE "spree_products"."id" = 931  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1081, 3236) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 931 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.268619' WHERE "spree_products"."id" = 931 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 931], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.269863' WHERE "spree_products"."id" = 931  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1082, 3237) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 931]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 931) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3235 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3236 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3237 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 931) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 931 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.470792' WHERE "spree_products"."id" = 931  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3235 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.472153' WHERE "spree_products"."id" = 931 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 931 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.473358' WHERE "spree_products"."id" = 931  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3236 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.474153' WHERE "spree_products"."id" = 931 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 931 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.475344' WHERE "spree_products"."id" = 931  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3237 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.476240' WHERE "spree_products"."id" = 931 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 931) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:37:11.478824' WHERE "spree_products"."id" = 931 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 931 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.485280' WHERE "spree_products"."id" = 932 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 932], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.486457' WHERE "spree_products"."id" = 932  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3238 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.487723' WHERE "spree_products"."id" = 932  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 932  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["product_id", nil], ["property_id", 811], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:11.492925', "product_id" = 932 WHERE "spree_product_properties"."id" = 981 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["product_id", nil], ["property_id", 810], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:11.495919', "product_id" = 932 WHERE "spree_product_properties"."id" = 982 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["product_id", nil], ["property_id", 812], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:11.498688', "product_id" = 932 WHERE "spree_product_properties"."id" = 983 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 932) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1175 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1175], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 932 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2050, 932) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1172 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1172 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2045 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2045]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2045], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1172], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2045]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2051]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2051 THEN 2045 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2045]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2051]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2051, 932)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2045, 932) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 932) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 932 AND "spree_option_types"."id" = 550 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 932) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["option_type_id", 550], ["position", 1], ["product_id", 932], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.520899' WHERE "spree_products"."id" = 932 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 932], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.522185' WHERE "spree_products"."id" = 932  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1080, 3239) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.524776' WHERE "spree_products"."id" = 932 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 932], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.525926' WHERE "spree_products"."id" = 932  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3240, 1081) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 550 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.528406' WHERE "spree_products"."id" = 932 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 932], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (112.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.529764' WHERE "spree_products"."id" = 932  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1082, 3241) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 932]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 932 AND "spree_option_types"."id" = 551 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 932) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["option_type_id", 551], ["position", 2], ["product_id", 932], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 551 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 551) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "black_white"], ["option_type_id", 551], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.653795' WHERE "spree_products"."id" = 932 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 932], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.655587' WHERE "spree_products"."id" = 932  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3242, 1083) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 551 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 551) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00], ["name", "colour"], ["option_type_id", 551], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:11 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.659752' WHERE "spree_products"."id" = 932 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 932], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.660928' WHERE "spree_products"."id" = 932  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3243, 1084) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 932]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 932) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3239 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3240 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3241 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3242 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3243 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 932) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.693928' WHERE "spree_products"."id" = 932  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3239 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.695016' WHERE "spree_products"."id" = 932 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.696411' WHERE "spree_products"."id" = 932  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3240 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.697118' WHERE "spree_products"."id" = 932 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.698164' WHERE "spree_products"."id" = 932  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3241 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.699349' WHERE "spree_products"."id" = 932 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.700681' WHERE "spree_products"."id" = 932  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3242 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.701516' WHERE "spree_products"."id" = 932 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 932 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.702480' WHERE "spree_products"."id" = 932  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3243 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:11.703325' WHERE "spree_products"."id" = 932 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 932) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:37:11.707361' WHERE "spree_products"."id" = 932 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 932 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (117.6ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 932 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3238) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 932)) Excel Loader processing 0 rows  (0.1ms) begin transaction ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:48:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg]  (0.1ms) rollback transaction SQL (4.6ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (129.7ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (428.5ms) DELETE FROM "spree_variants" SQL (343.1ms) DELETE FROM "spree_taxons" SQL (340.2ms) DELETE FROM "spree_taxonomies" SQL (345.8ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 933 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.533468' WHERE "spree_products"."id" = 933 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 933], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.554708' WHERE "spree_products"."id" = 933  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3244 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.559760' WHERE "spree_products"."id" = 933  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 933  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["product_id", nil], ["property_id", 813], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:13.567761', "product_id" = 933 WHERE "spree_product_properties"."id" = 984 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 933) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1176 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1176], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 933 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (933, 2052) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1177 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1177], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (933, 2053) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 933) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 933 AND "spree_option_types"."id" = 552 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 933) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["option_type_id", 552], ["position", 1], ["product_id", 933], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 552) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["name", "jpeg"], ["option_type_id", 552], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.817705' WHERE "spree_products"."id" = 933 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 933], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.819141' WHERE "spree_products"."id" = 933  (0.3ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1085, 3245) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 552) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["name", "PDF"], ["option_type_id", 552], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 933 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.824352' WHERE "spree_products"."id" = 933 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 933], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.825765' WHERE "spree_products"."id" = 933  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1086, 3246) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 552) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00], ["name", "PNG"], ["option_type_id", 552], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 933 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.829959' WHERE "spree_products"."id" = 933 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 933], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.831410' WHERE "spree_products"."id" = 933  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3247, 1087) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 933]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 933) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3245 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3246 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3247 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 933) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 933 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.842911' WHERE "spree_products"."id" = 933  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3245 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.843959' WHERE "spree_products"."id" = 933 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 933 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.845383' WHERE "spree_products"."id" = 933  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3246 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:13.846338' WHERE "spree_products"."id" = 933 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 933 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.000962' WHERE "spree_products"."id" = 933  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3247 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.002548' WHERE "spree_products"."id" = 933 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 933) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:37:14.006703' WHERE "spree_products"."id" = 933 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 933 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 934 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.018540' WHERE "spree_products"."id" = 934 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 934], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.019890' WHERE "spree_products"."id" = 934  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3248 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.021362' WHERE "spree_products"."id" = 934  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 934  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["product_id", nil], ["property_id", 814], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:14.027962', "product_id" = 934 WHERE "spree_product_properties"."id" = 985 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 934) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1176 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 934 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (934, 2052) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1178 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1178], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (934, 2054) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1176 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1176 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2052 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2052]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2052], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1176], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Taxon Load (2.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2052]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2055]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2055 THEN 2052 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2052]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2055]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1176 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2055 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2055]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2055], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1176], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2055]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2056]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2056 THEN 2055 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2055]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2056]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (934, 2055)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (934, 2056) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 934) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (7.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 934 AND "spree_option_types"."id" = 552 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 934) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["option_type_id", 552], ["position", 1], ["product_id", 934], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 934 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.078060' WHERE "spree_products"."id" = 934 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 934], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.087155' WHERE "spree_products"."id" = 934  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3249, 1085) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 934 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.090666' WHERE "spree_products"."id" = 934 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 934], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.091777' WHERE "spree_products"."id" = 934  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1086, 3250) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 934 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.094455' WHERE "spree_products"."id" = 934 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 934], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.095537' WHERE "spree_products"."id" = 934  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1087, 3251) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 934]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 934) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3249 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3250 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3251 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 934) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 934 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.112774' WHERE "spree_products"."id" = 934  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3249 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.113748' WHERE "spree_products"."id" = 934 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 934 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.114894' WHERE "spree_products"."id" = 934  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3250 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.115746' WHERE "spree_products"."id" = 934 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 934 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.116923' WHERE "spree_products"."id" = 934  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3251 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.117746' WHERE "spree_products"."id" = 934 Spree::Product Exists (132.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 934) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:37:14.253295' WHERE "spree_products"."id" = 934 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 934 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.260438' WHERE "spree_products"."id" = 935 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 935], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.261750' WHERE "spree_products"."id" = 935  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3252 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.262965' WHERE "spree_products"."id" = 935  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 935  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["product_id", nil], ["property_id", 815], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:14.268722', "product_id" = 935 WHERE "spree_product_properties"."id" = 986 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["product_id", nil], ["property_id", 814], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:14.270549', "product_id" = 935 WHERE "spree_product_properties"."id" = 987 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["product_id", nil], ["property_id", 816], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:37:14.273852', "product_id" = 935 WHERE "spree_product_properties"."id" = 988 Created New ProductProperty # Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 935) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1179 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1179], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 935 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (935, 2057) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1176 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1176 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2052 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2052]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2052], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1176], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2052]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2058]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2058 THEN 2052 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2052]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2058]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (935, 2058)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (935, 2052) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 935) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 935 AND "spree_option_types"."id" = 552 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 935) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["option_type_id", 552], ["position", 1], ["product_id", 935], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.298501' WHERE "spree_products"."id" = 935 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 935], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.299583' WHERE "spree_products"."id" = 935  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3253, 1085) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.302050' WHERE "spree_products"."id" = 935 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 935], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.303178' WHERE "spree_products"."id" = 935  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3254, 1086) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 552 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.305507' WHERE "spree_products"."id" = 935 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 935], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.306576' WHERE "spree_products"."id" = 935  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1087, 3255) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 935]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 935 AND "spree_option_types"."id" = 553 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 935) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["option_type_id", 553], ["position", 2], ["product_id", 935], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 553 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 553) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "black_white"], ["option_type_id", 553], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.319714' WHERE "spree_products"."id" = 935 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 935], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.320840' WHERE "spree_products"."id" = 935  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1088, 3256) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 553 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 553) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00], ["name", "colour"], ["option_type_id", 553], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:37:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.325391' WHERE "spree_products"."id" = 935 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 935], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.326472' WHERE "spree_products"."id" = 935  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1089, 3257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 935]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 935) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3253 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3254 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3255 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3256 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 935) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.368406' WHERE "spree_products"."id" = 935  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3253 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.369707' WHERE "spree_products"."id" = 935 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.370985' WHERE "spree_products"."id" = 935  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3254 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.371967' WHERE "spree_products"."id" = 935 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.508379' WHERE "spree_products"."id" = 935  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3255 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.511774' WHERE "spree_products"."id" = 935 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.513279' WHERE "spree_products"."id" = 935  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3256 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.514157' WHERE "spree_products"."id" = 935 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 935 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.610970' WHERE "spree_products"."id" = 935  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3257 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:37:14.612154' WHERE "spree_products"."id" = 935 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 935) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:37:14.615277' WHERE "spree_products"."id" = 935 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 935 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (364.6ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 935 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3252) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 935)) Excel Loader processing 0 rows  (0.1ms) begin transaction ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:48:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:115", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg]  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (459.9ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (114.1ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 936 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.491950' WHERE "spree_products"."id" = 936 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 936], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.494161' WHERE "spree_products"."id" = 936  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3258 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.496593' WHERE "spree_products"."id" = 936  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 936  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["product_id", nil], ["property_id", 817], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:22.514890', "product_id" = 936 WHERE "spree_product_properties"."id" = 989 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 936) LIMIT 1 Spree::Taxonomy Load (1.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1180 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1180], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 936 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2059, 936) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1181 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1181], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2060, 936) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 936) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 936 AND "spree_option_types"."id" = 554 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 936) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["option_type_id", 554], ["position", 1], ["product_id", 936], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 554) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "jpeg"], ["option_type_id", 554], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 936 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.886898' WHERE "spree_products"."id" = 936 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 936], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.887956' WHERE "spree_products"."id" = 936  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3259, 1090) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 554) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "PDF"], ["option_type_id", 554], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 936 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.893956' WHERE "spree_products"."id" = 936 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 936], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.895179' WHERE "spree_products"."id" = 936  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1091, 3260) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 554) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "PNG"], ["option_type_id", 554], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 936 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.899406' WHERE "spree_products"."id" = 936 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 936], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.900463' WHERE "spree_products"."id" = 936  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1092, 3261) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 936]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 936) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3259 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3260 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3261 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 936) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 936 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.927830' WHERE "spree_products"."id" = 936  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3259 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.928877' WHERE "spree_products"."id" = 936 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 936 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.930243' WHERE "spree_products"."id" = 936  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3260 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.931141' WHERE "spree_products"."id" = 936 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 936 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.932140' WHERE "spree_products"."id" = 936  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3261 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.932894' WHERE "spree_products"."id" = 936 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 936) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:38:22.935310' WHERE "spree_products"."id" = 936 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 936 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (3.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 937 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.944191' WHERE "spree_products"."id" = 937 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 937], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.945264' WHERE "spree_products"."id" = 937  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3262 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.946649' WHERE "spree_products"."id" = 937  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 937  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["product_id", nil], ["property_id", 818], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:22.951911', "product_id" = 937 WHERE "spree_product_properties"."id" = 990 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 937) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1180 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 937 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (937, 2059) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1182 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1182], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (937, 2061) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1180 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1180 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2059 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2059]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2059], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1180], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2059]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2062]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2062 THEN 2059 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2059]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2062]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1180 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2062 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2062]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2062], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1180], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2062]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2063]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2063 THEN 2062 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2062]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2063]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (937, 2062)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (937, 2063) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 937) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 937 AND "spree_option_types"."id" = 554 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 937) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00], ["option_type_id", 554], ["position", 1], ["product_id", 937], ["updated_at", Mon, 01 Oct 2012 14:38:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 937 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.984471' WHERE "spree_products"."id" = 937 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 937], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:22.985716' WHERE "spree_products"."id" = 937  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3263, 1090) Spree::OptionValue Load (119.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 937 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.108660' WHERE "spree_products"."id" = 937 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 937], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.110142' WHERE "spree_products"."id" = 937  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3264, 1091) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 937 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.112877' WHERE "spree_products"."id" = 937 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 937], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.114266' WHERE "spree_products"."id" = 937  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1092, 3265) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 937]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 937) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3263 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3264 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3265 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 937) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 937 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.207953' WHERE "spree_products"."id" = 937  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3263 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.209530' WHERE "spree_products"."id" = 937 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 937 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.331135' WHERE "spree_products"."id" = 937  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3264 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.332135' WHERE "spree_products"."id" = 937 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 937 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.333600' WHERE "spree_products"."id" = 937  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3265 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.334487' WHERE "spree_products"."id" = 937 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 937) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:38:23.337416' WHERE "spree_products"."id" = 937 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 937 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.344356' WHERE "spree_products"."id" = 938 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 938], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.345386' WHERE "spree_products"."id" = 938  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3266 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.346492' WHERE "spree_products"."id" = 938  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 938  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["product_id", nil], ["property_id", 819], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:23.352082', "product_id" = 938 WHERE "spree_product_properties"."id" = 991 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["product_id", nil], ["property_id", 818], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:23.355081', "product_id" = 938 WHERE "spree_product_properties"."id" = 992 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["product_id", nil], ["property_id", 820], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:23.357882', "product_id" = 938 WHERE "spree_product_properties"."id" = 993 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 938) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1183 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1183], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 938 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (938, 2064) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1180 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1180 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2059 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2059]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2059], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1180], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2059]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2065]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2065 THEN 2059 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2059]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2065]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (938, 2065)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (938, 2059) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 938) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 938 AND "spree_option_types"."id" = 554 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 938) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["option_type_id", 554], ["position", 1], ["product_id", 938], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.382504' WHERE "spree_products"."id" = 938 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 938], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.383864' WHERE "spree_products"."id" = 938  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1090, 3267) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.386572' WHERE "spree_products"."id" = 938 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 938], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.387884' WHERE "spree_products"."id" = 938  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1091, 3268) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 554 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.390347' WHERE "spree_products"."id" = 938 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 938], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.391385' WHERE "spree_products"."id" = 938  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1092, 3269) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 938]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 938 AND "spree_option_types"."id" = 555 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 938) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["option_type_id", 555], ["position", 2], ["product_id", 938], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 555 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 555) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["name", "black_white"], ["option_type_id", 555], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.403844' WHERE "spree_products"."id" = 938 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 938], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.406135' WHERE "spree_products"."id" = 938  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1093, 3270) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 555 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 555) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00], ["name", "colour"], ["option_type_id", 555], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:23 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.410650' WHERE "spree_products"."id" = 938 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 938], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.411879' WHERE "spree_products"."id" = 938  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3271, 1094) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 938]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 938) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3267 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3268 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3269 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3270 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3271 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 938) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.444930' WHERE "spree_products"."id" = 938  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3267 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.446068' WHERE "spree_products"."id" = 938 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.447300' WHERE "spree_products"."id" = 938  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3268 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.501949' WHERE "spree_products"."id" = 938 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.503543' WHERE "spree_products"."id" = 938  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3269 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.504485' WHERE "spree_products"."id" = 938 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.505496' WHERE "spree_products"."id" = 938  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3270 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.506558' WHERE "spree_products"."id" = 938 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 938 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.507662' WHERE "spree_products"."id" = 938  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3271 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:23.508568' WHERE "spree_products"."id" = 938 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 938) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:38:23.511244' WHERE "spree_products"."id" = 938 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 938 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (298.5ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 938 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3266) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 938)) Excel Loader processing 0 rows  (0.1ms) begin transaction ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:52:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg]  (0.2ms) rollback transaction SQL (143.6ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (317.4ms) DELETE FROM "spree_option_types" SQL (331.0ms) DELETE FROM "spree_option_values" SQL (247.2ms) DELETE FROM "spree_properties" SQL (134.1ms) DELETE FROM "spree_product_properties" SQL (73.1ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 939 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.161520' WHERE "spree_products"."id" = 939 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 939], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.162750' WHERE "spree_products"."id" = 939  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3272 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.163989' WHERE "spree_products"."id" = 939  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 939  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["product_id", nil], ["property_id", 821], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:25.193284', "product_id" = 939 WHERE "spree_product_properties"."id" = 994 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 939) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1184 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1184], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 939 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2066, 939) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1185 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1185], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2067, 939) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 939) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 939 AND "spree_option_types"."id" = 556 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 939) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["option_type_id", 556], ["position", 1], ["product_id", 939], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 556) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "jpeg"], ["option_type_id", 556], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 939 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.390304' WHERE "spree_products"."id" = 939 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 939], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.391317' WHERE "spree_products"."id" = 939  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3273, 1095) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 556) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "PDF"], ["option_type_id", 556], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 939 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.397808' WHERE "spree_products"."id" = 939 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 939], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.398826' WHERE "spree_products"."id" = 939  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3274, 1096) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 556) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "PNG"], ["option_type_id", 556], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 939 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.402979' WHERE "spree_products"."id" = 939 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 939], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.404166' WHERE "spree_products"."id" = 939  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3275, 1097) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 939]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 939) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3273 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3274 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3275 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 939) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 939 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.415612' WHERE "spree_products"."id" = 939  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3273 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.416791' WHERE "spree_products"."id" = 939 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 939 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.418366' WHERE "spree_products"."id" = 939  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3274 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.419186' WHERE "spree_products"."id" = 939 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 939 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.420270' WHERE "spree_products"."id" = 939  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3275 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.420936' WHERE "spree_products"."id" = 939 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 939) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:38:25.424286' WHERE "spree_products"."id" = 939 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 939 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 940 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.430993' WHERE "spree_products"."id" = 940 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 940], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.432231' WHERE "spree_products"."id" = 940  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3276 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.433443' WHERE "spree_products"."id" = 940  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 940  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["product_id", nil], ["property_id", 822], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:25.439139', "product_id" = 940 WHERE "spree_product_properties"."id" = 995 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 940) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1184 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 940 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2066, 940) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1186 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1186], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2068, 940) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1184 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1184 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2066 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2066]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2066], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1184], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2066]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2069]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2069 THEN 2066 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2066]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2069]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1184 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2069 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2069]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2069], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1184], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2069]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2070]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2070 THEN 2069 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2069]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2070]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2069, 940)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2070, 940) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 940) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 940 AND "spree_option_types"."id" = 556 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 940) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["option_type_id", 556], ["position", 1], ["product_id", 940], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 940 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.586450' WHERE "spree_products"."id" = 940 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 940], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.587761' WHERE "spree_products"."id" = 940  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1095, 3277) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 940 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.590056' WHERE "spree_products"."id" = 940 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 940], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.590978' WHERE "spree_products"."id" = 940  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1096, 3278) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 940 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.593499' WHERE "spree_products"."id" = 940 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 940], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.594287' WHERE "spree_products"."id" = 940  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3279, 1097) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 940]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 940) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3277 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3278 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3279 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 940) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 940 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.609122' WHERE "spree_products"."id" = 940  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3277 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.610296' WHERE "spree_products"."id" = 940 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 940 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.611379' WHERE "spree_products"."id" = 940  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3278 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.612208' WHERE "spree_products"."id" = 940 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 940 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.613057' WHERE "spree_products"."id" = 940  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3279 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.613941' WHERE "spree_products"."id" = 940 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 940) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:38:25.616996' WHERE "spree_products"."id" = 940 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 940 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.622663' WHERE "spree_products"."id" = 941 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 941], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.624200' WHERE "spree_products"."id" = 941  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3280 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.625752' WHERE "spree_products"."id" = 941  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 941  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["product_id", nil], ["property_id", 823], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:25.630771', "product_id" = 941 WHERE "spree_product_properties"."id" = 996 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["product_id", nil], ["property_id", 822], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:25.632996', "product_id" = 941 WHERE "spree_product_properties"."id" = 997 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["product_id", nil], ["property_id", 824], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:38:25.635996', "product_id" = 941 WHERE "spree_product_properties"."id" = 998 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 941) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1187 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1187], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 941 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2071, 941) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1184 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1184 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2066 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2066]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2066], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1184], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2066]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2072]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2072 THEN 2066 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2066]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2072]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2072, 941)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2066, 941) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 941) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 941 AND "spree_option_types"."id" = 556 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 941) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["option_type_id", 556], ["position", 1], ["product_id", 941], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.657471' WHERE "spree_products"."id" = 941 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 941], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.659173' WHERE "spree_products"."id" = 941  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1095, 3281) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.661370' WHERE "spree_products"."id" = 941 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 941], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.662287' WHERE "spree_products"."id" = 941  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1096, 3282) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 556 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.664594' WHERE "spree_products"."id" = 941 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 941], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.665819' WHERE "spree_products"."id" = 941  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3283, 1097) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 941]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 941 AND "spree_option_types"."id" = 557 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 941) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["option_type_id", 557], ["position", 2], ["product_id", 941], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 557 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (2.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 557) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "black_white"], ["option_type_id", 557], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.819311' WHERE "spree_products"."id" = 941 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 941], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.820669' WHERE "spree_products"."id" = 941  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3284, 1098) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 557 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 557) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00], ["name", "colour"], ["option_type_id", 557], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:38:25 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.826704' WHERE "spree_products"."id" = 941 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 941], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.827694' WHERE "spree_products"."id" = 941  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3285, 1099) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 941]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 941) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3281 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3282 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3283 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3284 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3285 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 941) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.842738' WHERE "spree_products"."id" = 941  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3281 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.843999' WHERE "spree_products"."id" = 941 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.845503' WHERE "spree_products"."id" = 941  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3282 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.846508' WHERE "spree_products"."id" = 941 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.847819' WHERE "spree_products"."id" = 941  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3283 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.848862' WHERE "spree_products"."id" = 941 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.850071' WHERE "spree_products"."id" = 941  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3284 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.850908' WHERE "spree_products"."id" = 941 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 941 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:25.855953' WHERE "spree_products"."id" = 941  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3285 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:38:26.063426' WHERE "spree_products"."id" = 941 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 941) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:38:26.066160' WHERE "spree_products"."id" = 941 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 941 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (113.4ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 941 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3280) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 941)) Excel Loader processing 0 rows  (0.2ms) begin transaction ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:52:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:115", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg]  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (1482.3ms) DELETE FROM "spree_products" SQL (1.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (396.0ms) DELETE FROM "spree_option_values" SQL (336.7ms) DELETE FROM "spree_properties" SQL (349.0ms) DELETE FROM "spree_product_properties" SQL (125.4ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 942 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.550548' WHERE "spree_products"."id" = 942 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 942], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.552604' WHERE "spree_products"."id" = 942  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3286 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.666034' WHERE "spree_products"."id" = 942  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 942  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["product_id", nil], ["property_id", 825], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:12.684428', "product_id" = 942 WHERE "spree_product_properties"."id" = 999 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 942) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1188 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1188], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::Taxon Load (1.8ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 942 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (942, 2073) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1189 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1189], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (942, 2074) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 942) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::OptionType Exists (1.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 942 AND "spree_option_types"."id" = 558 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 942) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["option_type_id", 558], ["position", 1], ["product_id", 942], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 558) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["name", "jpeg"], ["option_type_id", 558], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 942 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.954922' WHERE "spree_products"."id" = 942 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 942], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.955911' WHERE "spree_products"."id" = 942  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1100, 3287) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 558) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["name", "PDF"], ["option_type_id", 558], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 942 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.961272' WHERE "spree_products"."id" = 942 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 942], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.962610' WHERE "spree_products"."id" = 942  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1101, 3288) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 558) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 558], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 942 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.966837' WHERE "spree_products"."id" = 942 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 942], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:12.968042' WHERE "spree_products"."id" = 942  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1102, 3289) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 942]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 942) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3287 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3288 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3289 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 942) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 942 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.108612' WHERE "spree_products"."id" = 942  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3287 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.111379' WHERE "spree_products"."id" = 942 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 942 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.113670' WHERE "spree_products"."id" = 942  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3288 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.114430' WHERE "spree_products"."id" = 942 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 942 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.115699' WHERE "spree_products"."id" = 942  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3289 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.116612' WHERE "spree_products"."id" = 942 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 942) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:47:13.118919' WHERE "spree_products"."id" = 942 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 942 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 943 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.125886' WHERE "spree_products"."id" = 943 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 943], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.127016' WHERE "spree_products"."id" = 943  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3290 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.128293' WHERE "spree_products"."id" = 943  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 943  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["product_id", nil], ["property_id", 826], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:13.135463', "product_id" = 943 WHERE "spree_product_properties"."id" = 1000 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 943) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1188 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 943 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2073, 943) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1190 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1190], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2075, 943) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1188 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1188 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2073 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2073]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2073], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1188], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2073]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2076]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2076 THEN 2073 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2073]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2076]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1188 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2076 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2076]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2076], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1188], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2076]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2077]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2077 THEN 2076 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2076]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2077]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2076, 943)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2077, 943) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 943) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 943 AND "spree_option_types"."id" = 558 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 943) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["option_type_id", 558], ["position", 1], ["product_id", 943], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 943 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.171463' WHERE "spree_products"."id" = 943 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 943], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.173043' WHERE "spree_products"."id" = 943  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3291, 1100) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 943 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.176101' WHERE "spree_products"."id" = 943 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 943], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.177188' WHERE "spree_products"."id" = 943  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1101, 3292) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 943 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.180353' WHERE "spree_products"."id" = 943 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 943], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.181613' WHERE "spree_products"."id" = 943  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1102, 3293) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 943]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 943) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3291 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3292 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3293 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 943) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 943 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.544288' WHERE "spree_products"."id" = 943  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3291 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.545818' WHERE "spree_products"."id" = 943 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 943 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.547088' WHERE "spree_products"."id" = 943  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3292 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.547862' WHERE "spree_products"."id" = 943 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 943 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.549143' WHERE "spree_products"."id" = 943  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3293 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.550327' WHERE "spree_products"."id" = 943 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 943) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:47:13.552556' WHERE "spree_products"."id" = 943 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 943 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.560239' WHERE "spree_products"."id" = 944 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 944], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.561589' WHERE "spree_products"."id" = 944  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3294 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.562935' WHERE "spree_products"."id" = 944  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 944  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["product_id", nil], ["property_id", 827], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:13.569385', "product_id" = 944 WHERE "spree_product_properties"."id" = 1001 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["product_id", nil], ["property_id", 826], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:13.571618', "product_id" = 944 WHERE "spree_product_properties"."id" = 1002 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["product_id", nil], ["property_id", 828], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:13.575554', "product_id" = 944 WHERE "spree_product_properties"."id" = 1003 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 944) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1191 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1191], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 944 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (944, 2078) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1188 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1188 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2073 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2073]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2073], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1188], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2073]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2079]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2079 THEN 2073 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2073]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2079]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (944, 2079)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (944, 2073) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 944) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 944 AND "spree_option_types"."id" = 558 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 944) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["option_type_id", 558], ["position", 1], ["product_id", 944], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.601865' WHERE "spree_products"."id" = 944 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 944], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.603012' WHERE "spree_products"."id" = 944  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1100, 3295) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.606157' WHERE "spree_products"."id" = 944 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 944], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.607242' WHERE "spree_products"."id" = 944  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1101, 3296) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 558 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.610173' WHERE "spree_products"."id" = 944 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 944], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.611308' WHERE "spree_products"."id" = 944  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1102, 3297) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 944]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 944 AND "spree_option_types"."id" = 559 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 944) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["option_type_id", 559], ["position", 2], ["product_id", 944], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 559 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 559) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "black_white"], ["option_type_id", 559], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.623310' WHERE "spree_products"."id" = 944 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 944], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.625023' WHERE "spree_products"."id" = 944  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3298, 1103) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 559 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 559) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00], ["name", "colour"], ["option_type_id", 559], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.630107' WHERE "spree_products"."id" = 944 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 944], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.631260' WHERE "spree_products"."id" = 944  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1104, 3299) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 944]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (24.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 944) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3295 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3296 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3297 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3298 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3299 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 944) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.791621' WHERE "spree_products"."id" = 944  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3295 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.792790' WHERE "spree_products"."id" = 944 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.793805' WHERE "spree_products"."id" = 944  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3296 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.794772' WHERE "spree_products"."id" = 944 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.796208' WHERE "spree_products"."id" = 944  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3297 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.797272' WHERE "spree_products"."id" = 944 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.798365' WHERE "spree_products"."id" = 944  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3298 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.799415' WHERE "spree_products"."id" = 944 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 944 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.800482' WHERE "spree_products"."id" = 944  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3299 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:13.801253' WHERE "spree_products"."id" = 944 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 944) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:47:13.803782' WHERE "spree_products"."id" = 944 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 944 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (478.1ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 944 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3294) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 944)) SQL (8.0ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (27.1ms) DELETE FROM "spree_option_types" SQL (121.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (337.8ms) DELETE FROM "spree_taxonomies" SQL (432.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 945 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.280765' WHERE "spree_products"."id" = 945 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 945], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.282125' WHERE "spree_products"."id" = 945  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3300 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.306460' WHERE "spree_products"."id" = 945  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 945  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["product_id", nil], ["property_id", 829], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:15.422912', "product_id" = 945 WHERE "spree_product_properties"."id" = 1004 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 945) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1192 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1192], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 945 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (945, 2080) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1193 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1193], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (945, 2081) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 945) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 945 AND "spree_option_types"."id" = 560 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 945) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["option_type_id", 560], ["position", 1], ["product_id", 945], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 560) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 560], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 945 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.458552' WHERE "spree_products"."id" = 945 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 945], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.459839' WHERE "spree_products"."id" = 945  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1105, 3301) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 560) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 560], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 945 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.464533' WHERE "spree_products"."id" = 945 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 945], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.466044' WHERE "spree_products"."id" = 945  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3302, 1106) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 560) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 560], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 945 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.499070' WHERE "spree_products"."id" = 945 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 945], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.500417' WHERE "spree_products"."id" = 945  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1107, 3303) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 945]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 945) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3301 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3302 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3303 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 945) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 945 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.515475' WHERE "spree_products"."id" = 945  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3301 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.516615' WHERE "spree_products"."id" = 945 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 945 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.873455' WHERE "spree_products"."id" = 945  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3302 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.874582' WHERE "spree_products"."id" = 945 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 945 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.875593' WHERE "spree_products"."id" = 945  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3303 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.876609' WHERE "spree_products"."id" = 945 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 945) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:47:15.878484' WHERE "spree_products"."id" = 945 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 945 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 946 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.886959' WHERE "spree_products"."id" = 946 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 946], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.888360' WHERE "spree_products"."id" = 946  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3304 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.889412' WHERE "spree_products"."id" = 946  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 946  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["product_id", nil], ["property_id", 830], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:15.895040', "product_id" = 946 WHERE "spree_product_properties"."id" = 1005 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 946) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1192 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 946 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2080, 946) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1194 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1194], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2082, 946) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1192 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1192 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2080 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2080]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2080], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1192], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2080]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2083]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2083 THEN 2080 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2080]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2083]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1192 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2083 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2083]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2083], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1192], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2083]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2084]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2084 THEN 2083 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2083]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2084]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2083, 946)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2084, 946) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 946) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 946 AND "spree_option_types"."id" = 560 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 946) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["option_type_id", 560], ["position", 1], ["product_id", 946], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 946 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.924269' WHERE "spree_products"."id" = 946 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 946], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.925419' WHERE "spree_products"."id" = 946  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3305, 1105) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 946 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.927759' WHERE "spree_products"."id" = 946 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 946], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.928885' WHERE "spree_products"."id" = 946  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3306, 1106) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 946 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.931106' WHERE "spree_products"."id" = 946 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 946], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.932193' WHERE "spree_products"."id" = 946  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1107, 3307) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 946]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 946) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3305 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3306 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3307 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 946) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 946 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.944026' WHERE "spree_products"."id" = 946  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3305 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.944957' WHERE "spree_products"."id" = 946 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 946 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.946120' WHERE "spree_products"."id" = 946  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3306 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.946867' WHERE "spree_products"."id" = 946 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 946 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.947907' WHERE "spree_products"."id" = 946  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3307 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.948869' WHERE "spree_products"."id" = 946 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 946) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:47:15.951653' WHERE "spree_products"."id" = 946 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 946 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.959051' WHERE "spree_products"."id" = 947 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 947], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.960020' WHERE "spree_products"."id" = 947  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3308 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:15.961331' WHERE "spree_products"."id" = 947  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 947  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["product_id", nil], ["property_id", 831], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:15.967373', "product_id" = 947 WHERE "spree_product_properties"."id" = 1006 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["product_id", nil], ["property_id", 830], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:15.969653', "product_id" = 947 WHERE "spree_product_properties"."id" = 1007 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["product_id", nil], ["property_id", 832], ["updated_at", Mon, 01 Oct 2012 14:47:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:47:16.096655', "product_id" = 947 WHERE "spree_product_properties"."id" = 1008 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 947) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1195 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1195], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 947 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2085, 947) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1192 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1192 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2080 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2080]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2080], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1192], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2080]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2086]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2086 THEN 2080 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2080]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2086]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2086, 947)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2080, 947) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 947) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 947 AND "spree_option_types"."id" = 560 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 947) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["option_type_id", 560], ["position", 1], ["product_id", 947], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.120426' WHERE "spree_products"."id" = 947 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 947], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.121655' WHERE "spree_products"."id" = 947  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3309, 1105) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.123877' WHERE "spree_products"."id" = 947 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 947], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.124928' WHERE "spree_products"."id" = 947  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1106, 3310) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 560 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.127009' WHERE "spree_products"."id" = 947 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 947], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.127940' WHERE "spree_products"."id" = 947  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1107, 3311) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 947]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 947 AND "spree_option_types"."id" = 561 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 947) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["option_type_id", 561], ["position", 2], ["product_id", 947], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 561 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 561) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 561], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.139646' WHERE "spree_products"."id" = 947 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 947], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.140655' WHERE "spree_products"."id" = 947  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1108, 3312) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 561 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 561) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00], ["name", "colour"], ["option_type_id", 561], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:47:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.145607' WHERE "spree_products"."id" = 947 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 947], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.146855' WHERE "spree_products"."id" = 947  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1109, 3313) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 947]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 947) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3309 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3310 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3311 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3312 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3313 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 947) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.184120' WHERE "spree_products"."id" = 947  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3309 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.185320' WHERE "spree_products"."id" = 947 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.186976' WHERE "spree_products"."id" = 947  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3310 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.187921' WHERE "spree_products"."id" = 947 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.189310' WHERE "spree_products"."id" = 947  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3311 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.190295' WHERE "spree_products"."id" = 947 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.191396' WHERE "spree_products"."id" = 947  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3312 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.192600' WHERE "spree_products"."id" = 947 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 947 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.193718' WHERE "spree_products"."id" = 947  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3313 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:47:16.194494' WHERE "spree_products"."id" = 947 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 947) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:47:16.196506' WHERE "spree_products"."id" = 947 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 947 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (367.8ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 947 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3308) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 947)) Booted Spree using version 1.1.3 SQL (4264.5ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (467.2ms) DELETE FROM "spree_option_types" SQL (109.2ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (4.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 948 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.180531' WHERE "spree_products"."id" = 948 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 948], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.182967' WHERE "spree_products"."id" = 948  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3314 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.185681' WHERE "spree_products"."id" = 948  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 948  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["product_id", nil], ["property_id", 833], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:03.207068', "product_id" = 948 WHERE "spree_product_properties"."id" = 1009 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 948) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1196 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1196], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 948 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (948, 2087) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1197 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1197], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (948, 2088) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 948) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 948 AND "spree_option_types"."id" = 562 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 948) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["option_type_id", 562], ["position", 1], ["product_id", 948], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::OptionValue Load (19.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 562) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 562], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 948 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.480373' WHERE "spree_products"."id" = 948 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 948], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.481537' WHERE "spree_products"."id" = 948  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3315, 1110) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 562) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 562], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 948 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.487292' WHERE "spree_products"."id" = 948 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 948], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.488386' WHERE "spree_products"."id" = 948  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3316, 1111) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 562) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 562], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 948 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.492683' WHERE "spree_products"."id" = 948 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 948], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.493855' WHERE "spree_products"."id" = 948  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1112, 3317) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 948]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 948) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3315 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3316 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3317 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 948) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 948 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.631649' WHERE "spree_products"."id" = 948  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3315 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.632821' WHERE "spree_products"."id" = 948 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 948 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.634215' WHERE "spree_products"."id" = 948  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3316 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.635155' WHERE "spree_products"."id" = 948 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 948 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.636996' WHERE "spree_products"."id" = 948  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3317 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.637871' WHERE "spree_products"."id" = 948 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 948) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.640435', "count_on_hand" = 25 WHERE "spree_products"."id" = 948 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 948 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 949 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.647375' WHERE "spree_products"."id" = 949 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 949], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.648456' WHERE "spree_products"."id" = 949  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3318 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.649672' WHERE "spree_products"."id" = 949  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 949  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["product_id", nil], ["property_id", 834], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:03.655915', "product_id" = 949 WHERE "spree_product_properties"."id" = 1010 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 949) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1196 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 949 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (949, 2087) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1198 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1198], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (949, 2089) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1196 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1196 AND "spree_taxons"."parent_id" = 2087 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2087]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2087], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1196], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2087]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2090]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2090 THEN 2087 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2087]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2090]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1196 AND "spree_taxons"."parent_id" = 2090 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2090]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2090], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1196], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2090]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2091]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2091 THEN 2090 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2090]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2091]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (949, 2090)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (949, 2091) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 949) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 949 AND "spree_option_types"."id" = 562 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 949) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["option_type_id", 562], ["position", 1], ["product_id", 949], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 949 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.689978' WHERE "spree_products"."id" = 949 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 949], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.691339' WHERE "spree_products"."id" = 949  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1110, 3319) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 949 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.693926' WHERE "spree_products"."id" = 949 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 949], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.694987' WHERE "spree_products"."id" = 949  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3320, 1111) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 949 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.697611' WHERE "spree_products"."id" = 949 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 949], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.698663' WHERE "spree_products"."id" = 949  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1112, 3321) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 949]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 949) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3319 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3320 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3321 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 949) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 949 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.900360' WHERE "spree_products"."id" = 949  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3319 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.901376' WHERE "spree_products"."id" = 949 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 949 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.902515' WHERE "spree_products"."id" = 949  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3320 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.903375' WHERE "spree_products"."id" = 949 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 949 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.904433' WHERE "spree_products"."id" = 949  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3321 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.905226' WHERE "spree_products"."id" = 949 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 949) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.907601', "count_on_hand" = 11 WHERE "spree_products"."id" = 949 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 949 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.913778' WHERE "spree_products"."id" = 950 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 950], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.914793' WHERE "spree_products"."id" = 950  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3322 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:03.915956' WHERE "spree_products"."id" = 950  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 950  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["product_id", nil], ["property_id", 835], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:03.921579', "product_id" = 950 WHERE "spree_product_properties"."id" = 1011 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["product_id", nil], ["property_id", 834], ["updated_at", Mon, 01 Oct 2012 14:50:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:03.924022', "product_id" = 950 WHERE "spree_product_properties"."id" = 1012 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["product_id", nil], ["property_id", 836], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:04.045951', "product_id" = 950 WHERE "spree_product_properties"."id" = 1013 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 950) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1199 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1199], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 950 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (950, 2092) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1196 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1196 AND "spree_taxons"."parent_id" = 2087 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2087]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2087], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1196], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2087]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2093]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2093 THEN 2087 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2087]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2093]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (950, 2093)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (950, 2087) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 950) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 950 AND "spree_option_types"."id" = 562 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 950) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["option_type_id", 562], ["position", 1], ["product_id", 950], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.071149' WHERE "spree_products"."id" = 950 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 950], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.072282' WHERE "spree_products"."id" = 950  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1110, 3323) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.074515' WHERE "spree_products"."id" = 950 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 950], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.076249' WHERE "spree_products"."id" = 950  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3324, 1111) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 562 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.078484' WHERE "spree_products"."id" = 950 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 950], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.079472' WHERE "spree_products"."id" = 950  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3325, 1112) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 950]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 950 AND "spree_option_types"."id" = 563 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 950) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["option_type_id", 563], ["position", 2], ["product_id", 950], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 563 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 563) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 563], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.092644' WHERE "spree_products"."id" = 950 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 950], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.093784' WHERE "spree_products"."id" = 950  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3326, 1113) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 563 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 563) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00], ["name", "colour"], ["option_type_id", 563], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.098600' WHERE "spree_products"."id" = 950 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 950], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.099825' WHERE "spree_products"."id" = 950  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1114, 3327) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 950]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 950) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3323 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3324 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3325 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3326 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3327 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 950) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.139288' WHERE "spree_products"."id" = 950  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3323 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.140313' WHERE "spree_products"."id" = 950 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.141361' WHERE "spree_products"."id" = 950  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3324 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.142120' WHERE "spree_products"."id" = 950 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.143693' WHERE "spree_products"."id" = 950  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3325 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.144696' WHERE "spree_products"."id" = 950 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.145967' WHERE "spree_products"."id" = 950  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3326 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.146795' WHERE "spree_products"."id" = 950 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 950 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.148165' WHERE "spree_products"."id" = 950  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3327 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.148976' WHERE "spree_products"."id" = 950 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 950) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:04.151735', "count_on_hand" = 53 WHERE "spree_products"."id" = 950 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 950 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (468.4ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 950 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3322) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 950)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.2ms) rollback transaction SQL (155.7ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.7ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (114.3ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (124.1ms) DELETE FROM "spree_taxonomies" SQL (3.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 951 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.151071' WHERE "spree_products"."id" = 951 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 951], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.152747' WHERE "spree_products"."id" = 951  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3328 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.154731' WHERE "spree_products"."id" = 951  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 951  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["product_id", nil], ["property_id", 837], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:05.293282', "product_id" = 951 WHERE "spree_product_properties"."id" = 1014 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 951) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1200 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1200], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 951 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2094, 951) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1201 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1201], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2095, 951) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 951) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 951 AND "spree_option_types"."id" = 564 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 951) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["option_type_id", 564], ["position", 1], ["product_id", 951], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 564) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "jpeg"], ["option_type_id", 564], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 951 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.540883' WHERE "spree_products"."id" = 951 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 951], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.542177' WHERE "spree_products"."id" = 951  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3329, 1115) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 564) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "PDF"], ["option_type_id", 564], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 951 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.546726' WHERE "spree_products"."id" = 951 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 951], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.547854' WHERE "spree_products"."id" = 951  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1116, 3330) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 564) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "PNG"], ["option_type_id", 564], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 951 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.551776' WHERE "spree_products"."id" = 951 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 951], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.554051' WHERE "spree_products"."id" = 951  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1117, 3331) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 951]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 951) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3329 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3330 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3331 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 951) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 951 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.565794' WHERE "spree_products"."id" = 951  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3329 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.567041' WHERE "spree_products"."id" = 951 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 951 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.568375' WHERE "spree_products"."id" = 951  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3330 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.569512' WHERE "spree_products"."id" = 951 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 951 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.570748' WHERE "spree_products"."id" = 951  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3331 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.571550' WHERE "spree_products"."id" = 951 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 951) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.574596', "count_on_hand" = 25 WHERE "spree_products"."id" = 951 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 951 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 952 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.580895' WHERE "spree_products"."id" = 952 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 952], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.582102' WHERE "spree_products"."id" = 952  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3332 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.583390' WHERE "spree_products"."id" = 952  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 952  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["product_id", nil], ["property_id", 838], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:05.589102', "product_id" = 952 WHERE "spree_product_properties"."id" = 1015 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 952) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1200 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 952 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (952, 2094) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1202 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1202], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (952, 2096) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1200 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1200 AND "spree_taxons"."parent_id" = 2094 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2094]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2094], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1200], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2094]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2097]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2097 THEN 2094 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2094]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2097]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1200 AND "spree_taxons"."parent_id" = 2097 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2097]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2097], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1200], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2097]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2098]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2098 THEN 2097 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2097]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2098]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (952, 2097)  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (952, 2098) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 952) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 952 AND "spree_option_types"."id" = 564 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 952) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["option_type_id", 564], ["position", 1], ["product_id", 952], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 952 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.622410' WHERE "spree_products"."id" = 952 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 952], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.623597' WHERE "spree_products"."id" = 952  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3333, 1115) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 952 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.626102' WHERE "spree_products"."id" = 952 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 952], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.627102' WHERE "spree_products"."id" = 952  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3334, 1116) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 952 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.629889' WHERE "spree_products"."id" = 952 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 952], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.630841' WHERE "spree_products"."id" = 952  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1117, 3335) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 952]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 952) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3333 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3334 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3335 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 952) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 952 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.753863' WHERE "spree_products"."id" = 952  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3333 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.755086' WHERE "spree_products"."id" = 952 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 952 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.756166' WHERE "spree_products"."id" = 952  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3334 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.756959' WHERE "spree_products"."id" = 952 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 952 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.757998' WHERE "spree_products"."id" = 952  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3335 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.759104' WHERE "spree_products"."id" = 952 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 952) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.761641', "count_on_hand" = 11 WHERE "spree_products"."id" = 952 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 952 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.767779' WHERE "spree_products"."id" = 953 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 953], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.769105' WHERE "spree_products"."id" = 953  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3336 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.770211' WHERE "spree_products"."id" = 953  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 953  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["product_id", nil], ["property_id", 839], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:05.775862', "product_id" = 953 WHERE "spree_product_properties"."id" = 1016 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["product_id", nil], ["property_id", 838], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:05.778342', "product_id" = 953 WHERE "spree_product_properties"."id" = 1017 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["product_id", nil], ["property_id", 840], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 14:50:05.781001', "product_id" = 953 WHERE "spree_product_properties"."id" = 1018 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 953) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1203 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1203], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 953 Product assigned to Taxons : ["Drawings"]  (0.6ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2099, 953) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1200 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1200 AND "spree_taxons"."parent_id" = 2094 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2094]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2094], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1200], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2094]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2100]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2100 THEN 2094 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2094]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2100]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2100, 953)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2094, 953) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 953) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 953 AND "spree_option_types"."id" = 564 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 953) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["option_type_id", 564], ["position", 1], ["product_id", 953], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.803853' WHERE "spree_products"."id" = 953 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 953], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.805105' WHERE "spree_products"."id" = 953  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1115, 3337) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.807500' WHERE "spree_products"."id" = 953 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 953], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.808681' WHERE "spree_products"."id" = 953  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1116, 3338) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 564 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.813840' WHERE "spree_products"."id" = 953 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 953], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.814814' WHERE "spree_products"."id" = 953  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1117, 3339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 953]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 953 AND "spree_option_types"."id" = 565 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 953) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["option_type_id", 565], ["position", 2], ["product_id", 953], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 565 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 565) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "black_white"], ["option_type_id", 565], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.826920' WHERE "spree_products"."id" = 953 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 953], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.828304' WHERE "spree_products"."id" = 953  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1118, 3340) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 565 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 565) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00], ["name", "colour"], ["option_type_id", 565], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:50:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.832934' WHERE "spree_products"."id" = 953 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 953], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.834313' WHERE "spree_products"."id" = 953  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3341, 1119) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 953]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 953) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3337 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3338 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3339 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3340 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3341 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 953) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.988848' WHERE "spree_products"."id" = 953  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3337 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.990107' WHERE "spree_products"."id" = 953 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.991206' WHERE "spree_products"."id" = 953  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3338 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.991985' WHERE "spree_products"."id" = 953 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.993425' WHERE "spree_products"."id" = 953  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3339 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.994331' WHERE "spree_products"."id" = 953 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.995533' WHERE "spree_products"."id" = 953  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3340 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.996429' WHERE "spree_products"."id" = 953 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 953 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.999197' WHERE "spree_products"."id" = 953  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3341 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:05.999986' WHERE "spree_products"."id" = 953 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 953) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:50:06.195756', "count_on_hand" = 53 WHERE "spree_products"."id" = 953 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 953 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (364.5ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 953 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3336) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 953)) Excel Loader processing 0 rows  (0.0ms) begin transaction  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (1179.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (436.3ms) DELETE FROM "spree_taxonomies" SQL (330.1ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (5.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 954 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.118257' WHERE "spree_products"."id" = 954 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 954], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.120637' WHERE "spree_products"."id" = 954  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3342 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.124783' WHERE "spree_products"."id" = 954  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 954  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["product_id", nil], ["property_id", 841], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 954, "updated_at" = '2012-10-01 14:53:54.260843' WHERE "spree_product_properties"."id" = 1019 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 954) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1204 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1204], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 954 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (954, 2101) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1205 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1205], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (954, 2102) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 954) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::OptionType Exists (2.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 954 AND "spree_option_types"."id" = 566 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 954) ORDER BY position DESC LIMIT 1 SQL (11.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["option_type_id", 566], ["position", 1], ["product_id", 954], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 566) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "jpeg"], ["option_type_id", 566], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 954 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.528749' WHERE "spree_products"."id" = 954 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 954], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.530891' WHERE "spree_products"."id" = 954  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1120, 3343) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 566) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "PDF"], ["option_type_id", 566], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 954 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.538794' WHERE "spree_products"."id" = 954 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 954], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.539712' WHERE "spree_products"."id" = 954  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1121, 3344) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 566) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "PNG"], ["option_type_id", 566], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 954 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.544385' WHERE "spree_products"."id" = 954 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 954], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.546512' WHERE "spree_products"."id" = 954  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3345, 1122) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 954]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 954) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3343 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3344 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3345 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 954) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 954 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.574065' WHERE "spree_products"."id" = 954  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3343 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.575298' WHERE "spree_products"."id" = 954 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 954 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.576665' WHERE "spree_products"."id" = 954  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3344 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.577862' WHERE "spree_products"."id" = 954 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 954 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.691291' WHERE "spree_products"."id" = 954  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3345 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.692150' WHERE "spree_products"."id" = 954 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 954) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:53:54.694922' WHERE "spree_products"."id" = 954 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 954 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.701046' WHERE "spree_products"."id" = 955 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 955], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.702345' WHERE "spree_products"."id" = 955  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3346 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.703688' WHERE "spree_products"."id" = 955  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 955  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["product_id", nil], ["property_id", 842], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 955, "updated_at" = '2012-10-01 14:53:54.709536' WHERE "spree_product_properties"."id" = 1020 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 955) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1204 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 955 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2101, 955) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1206 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1206], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2103, 955) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1204 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1204 AND "spree_taxons"."parent_id" = 2101 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2101]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2101], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1204], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2101]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2104]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2104 THEN 2101 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2101]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2104]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1204 AND "spree_taxons"."parent_id" = 2104 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2104]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2104], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1204], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2104]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2105]] SQL (0.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2105 THEN 2104 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2104]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2105]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2104, 955)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2105, 955) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 955) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 955 AND "spree_option_types"."id" = 566 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 955) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["option_type_id", 566], ["position", 1], ["product_id", 955], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 955 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.740922' WHERE "spree_products"."id" = 955 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 955], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.741853' WHERE "spree_products"."id" = 955  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1120, 3347) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 955 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.744879' WHERE "spree_products"."id" = 955 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 955], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.745823' WHERE "spree_products"."id" = 955  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1121, 3348) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 955 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.748310' WHERE "spree_products"."id" = 955 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 955], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.749393' WHERE "spree_products"."id" = 955  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3349, 1122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 955]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 955) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3347 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3348 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3349 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 955) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 955 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.949380' WHERE "spree_products"."id" = 955  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3347 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.950342' WHERE "spree_products"."id" = 955 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 955 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.951568' WHERE "spree_products"."id" = 955  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3348 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.952505' WHERE "spree_products"."id" = 955 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 955 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.954013' WHERE "spree_products"."id" = 955  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3349 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.954986' WHERE "spree_products"."id" = 955 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 955) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:53:54.957930' WHERE "spree_products"."id" = 955 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 955 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.965800' WHERE "spree_products"."id" = 956 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 956], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.966867' WHERE "spree_products"."id" = 956  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3350 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:54.968182' WHERE "spree_products"."id" = 956  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 956  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["product_id", nil], ["property_id", 843], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 956, "updated_at" = '2012-10-01 14:53:54.974208' WHERE "spree_product_properties"."id" = 1021 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["product_id", nil], ["property_id", 842], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 956, "updated_at" = '2012-10-01 14:53:54.976697' WHERE "spree_product_properties"."id" = 1022 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["product_id", nil], ["property_id", 844], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 956, "updated_at" = '2012-10-01 14:53:54.980194' WHERE "spree_product_properties"."id" = 1023 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 956) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1207 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1207], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 956 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2106, 956) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1204 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1204 AND "spree_taxons"."parent_id" = 2101 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2101]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2101], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1204], ["updated_at", Mon, 01 Oct 2012 14:53:54 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2101]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2107]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2107 THEN 2101 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2101]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2107]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2107, 956)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2101, 956) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 956) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 956 AND "spree_option_types"."id" = 566 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 956) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00], ["option_type_id", 566], ["position", 1], ["product_id", 956], ["updated_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.079763' WHERE "spree_products"."id" = 956 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 956], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.081131' WHERE "spree_products"."id" = 956  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3351, 1120) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.084216' WHERE "spree_products"."id" = 956 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 956], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.085249' WHERE "spree_products"."id" = 956  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3352, 1121) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 566 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.087855' WHERE "spree_products"."id" = 956 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 956], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.088759' WHERE "spree_products"."id" = 956  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3353, 1122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 956]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 956 AND "spree_option_types"."id" = 567 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 956) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00], ["option_type_id", 567], ["position", 2], ["product_id", 956], ["updated_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 567 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 567) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00], ["name", "black_white"], ["option_type_id", 567], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.100192' WHERE "spree_products"."id" = 956 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 956], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.101414' WHERE "spree_products"."id" = 956  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3354, 1123) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 567 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 567) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00], ["name", "colour"], ["option_type_id", 567], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.106185' WHERE "spree_products"."id" = 956 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 956], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.107187' WHERE "spree_products"."id" = 956  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1124, 3355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 956]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 956) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (12.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3351 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3352 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3353 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3354 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3355 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 956) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.135153' WHERE "spree_products"."id" = 956  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3351 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.136215' WHERE "spree_products"."id" = 956 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.137484' WHERE "spree_products"."id" = 956  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3352 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.138262' WHERE "spree_products"."id" = 956 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.139314' WHERE "spree_products"."id" = 956  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3353 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.140202' WHERE "spree_products"."id" = 956 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.141328' WHERE "spree_products"."id" = 956  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3354 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.142181' WHERE "spree_products"."id" = 956 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 956 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.143280' WHERE "spree_products"."id" = 956  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3355 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:55.144011' WHERE "spree_products"."id" = 956 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 956) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:53:55.146844' WHERE "spree_products"."id" = 956 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 956 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (264.7ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 956 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3350) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 956)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.4ms) rollback transaction SQL (5.8ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (339.3ms) DELETE FROM "spree_option_values" SQL (248.2ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (121.6ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 957 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.346319' WHERE "spree_products"."id" = 957 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 957], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.347732' WHERE "spree_products"."id" = 957  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3356 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.349820' WHERE "spree_products"."id" = 957  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 957  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["product_id", nil], ["property_id", 845], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 957, "updated_at" = '2012-10-01 14:53:56.367023' WHERE "spree_product_properties"."id" = 1024 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 957) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1208 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1208], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 957 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2108, 957) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1209 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1209], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2109, 957) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 957) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::OptionType Exists (1.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 957 AND "spree_option_types"."id" = 568 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 957) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["option_type_id", 568], ["position", 1], ["product_id", 957], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 568) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 568], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 957 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.617695' WHERE "spree_products"."id" = 957 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 957], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.619101' WHERE "spree_products"."id" = 957  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1125, 3357) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 568) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 568], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 957 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.623782' WHERE "spree_products"."id" = 957 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 957], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.624878' WHERE "spree_products"."id" = 957  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3358, 1126) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 568) ORDER BY position DESC LIMIT 1 SQL (127.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 568], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 957 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.756564' WHERE "spree_products"."id" = 957 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 957], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.758153' WHERE "spree_products"."id" = 957  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1127, 3359) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 957]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 957) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3357 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3359 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 957) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 957 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.770203' WHERE "spree_products"."id" = 957  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3357 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.770957' WHERE "spree_products"."id" = 957 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 957 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.772379' WHERE "spree_products"."id" = 957  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3358 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.773218' WHERE "spree_products"."id" = 957 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 957 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.774378' WHERE "spree_products"."id" = 957  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3359 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.775440' WHERE "spree_products"."id" = 957 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 957) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 14:53:56.778376' WHERE "spree_products"."id" = 957 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 957 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 958 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.785059' WHERE "spree_products"."id" = 958 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 958], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.786245' WHERE "spree_products"."id" = 958  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3360 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.787691' WHERE "spree_products"."id" = 958  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 958  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["product_id", nil], ["property_id", 846], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 958, "updated_at" = '2012-10-01 14:53:56.793216' WHERE "spree_product_properties"."id" = 1025 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 958) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1208 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 958 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (958, 2108) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1210 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1210], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (958, 2110) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1208 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1208 AND "spree_taxons"."parent_id" = 2108 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2108]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2108], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1208], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2108]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2111]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2111 THEN 2108 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2108]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2111]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1208 AND "spree_taxons"."parent_id" = 2111 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2111]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2111], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1208], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2111]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2112]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2112 THEN 2111 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2111]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2112]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (958, 2111)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (958, 2112) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 958) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 958 AND "spree_option_types"."id" = 568 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 958) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["option_type_id", 568], ["position", 1], ["product_id", 958], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 958 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.824783' WHERE "spree_products"."id" = 958 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 958], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.825756' WHERE "spree_products"."id" = 958  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1125, 3361) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 958 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.828536' WHERE "spree_products"."id" = 958 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 958], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.829578' WHERE "spree_products"."id" = 958  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3362, 1126) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 958 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.832258' WHERE "spree_products"."id" = 958 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 958], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.833209' WHERE "spree_products"."id" = 958  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1127, 3363) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 958]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 958) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3361 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3362 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3363 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 958) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 958 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.845934' WHERE "spree_products"."id" = 958  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3361 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.847120' WHERE "spree_products"."id" = 958 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 958 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.848441' WHERE "spree_products"."id" = 958  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3362 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.849663' WHERE "spree_products"."id" = 958 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 958 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.850603' WHERE "spree_products"."id" = 958  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3363 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.851512' WHERE "spree_products"."id" = 958 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 958) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 14:53:56.854081' WHERE "spree_products"."id" = 958 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 958 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.981550' WHERE "spree_products"."id" = 959 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 959], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.982443' WHERE "spree_products"."id" = 959  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3364 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:56.983797' WHERE "spree_products"."id" = 959  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 959  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["product_id", nil], ["property_id", 847], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 959, "updated_at" = '2012-10-01 14:53:56.989973' WHERE "spree_product_properties"."id" = 1026 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["product_id", nil], ["property_id", 846], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 959, "updated_at" = '2012-10-01 14:53:56.992184' WHERE "spree_product_properties"."id" = 1027 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["product_id", nil], ["property_id", 848], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 959, "updated_at" = '2012-10-01 14:53:56.995258' WHERE "spree_product_properties"."id" = 1028 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 959) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1211 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1211], ["updated_at", Mon, 01 Oct 2012 14:53:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 959 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (959, 2113) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1208 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1208 AND "spree_taxons"."parent_id" = 2108 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2108]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2108], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1208], ["updated_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2108]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2114]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2114 THEN 2108 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2108]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2114]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (959, 2114)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (959, 2108) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 959) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 959 AND "spree_option_types"."id" = 568 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 959) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00], ["option_type_id", 568], ["position", 1], ["product_id", 959], ["updated_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.020180' WHERE "spree_products"."id" = 959 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 959], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.021180' WHERE "spree_products"."id" = 959  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1125, 3365) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.023846' WHERE "spree_products"."id" = 959 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 959], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.025063' WHERE "spree_products"."id" = 959  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1126, 3366) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 568 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.027063' WHERE "spree_products"."id" = 959 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 959], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.028377' WHERE "spree_products"."id" = 959  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1127, 3367) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 959]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 959 AND "spree_option_types"."id" = 569 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 959) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00], ["option_type_id", 569], ["position", 2], ["product_id", 959], ["updated_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 569 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 569) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00], ["name", "black_white"], ["option_type_id", 569], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.040212' WHERE "spree_products"."id" = 959 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 959], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.041880' WHERE "spree_products"."id" = 959  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1128, 3368) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 569 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 569) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00], ["name", "colour"], ["option_type_id", 569], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 14:53:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.046642' WHERE "spree_products"."id" = 959 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 959], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.047444' WHERE "spree_products"."id" = 959  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1129, 3369) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 959]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 959) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3365 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3366 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3367 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3369 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 959) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.075257' WHERE "spree_products"."id" = 959  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3365 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.076556' WHERE "spree_products"."id" = 959 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.078033' WHERE "spree_products"."id" = 959  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3366 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.079174' WHERE "spree_products"."id" = 959 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (118.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.081247' WHERE "spree_products"."id" = 959  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3367 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.200936' WHERE "spree_products"."id" = 959 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.202420' WHERE "spree_products"."id" = 959  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3368 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.203387' WHERE "spree_products"."id" = 959 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 959 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.204652' WHERE "spree_products"."id" = 959  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3369 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 14:53:57.205446' WHERE "spree_products"."id" = 959 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 959) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 14:53:57.285853' WHERE "spree_products"."id" = 959 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 959 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (238.4ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 959 AND ("spree_variants".is_master = 't') LIMIT 1  (119.8ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3364) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 959)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (338.7ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (344.8ms) DELETE FROM "spree_option_types" SQL (127.9ms) DELETE FROM "spree_option_values" SQL (116.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (110.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (4.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 960 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.325243' WHERE "spree_products"."id" = 960 SQL (1.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 960], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.327940' WHERE "spree_products"."id" = 960  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3370 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.329876' WHERE "spree_products"."id" = 960  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 960  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["product_id", nil], ["property_id", 849], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 960, "updated_at" = '2012-10-01 15:02:15.347046' WHERE "spree_product_properties"."id" = 1029 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 960) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1212 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1212], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 960 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (960, 2115) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1213 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1213], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (960, 2116) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 960) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::OptionType Exists (2.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 960 AND "spree_option_types"."id" = 570 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 960) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["option_type_id", 570], ["position", 1], ["product_id", 960], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 570) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 570], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 960 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.759944' WHERE "spree_products"."id" = 960 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 960], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.761572' WHERE "spree_products"."id" = 960  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1130, 3371) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 570) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 570], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 960 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.767644' WHERE "spree_products"."id" = 960 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 960], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.769086' WHERE "spree_products"."id" = 960  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3372, 1131) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 570) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 570], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 960 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.772937' WHERE "spree_products"."id" = 960 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 960], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.774215' WHERE "spree_products"."id" = 960  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1132, 3373) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 960]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 960) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3371 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3372 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3373 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 960) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 960 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.800343' WHERE "spree_products"."id" = 960  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3371 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.801601' WHERE "spree_products"."id" = 960 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 960 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.802645' WHERE "spree_products"."id" = 960  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3372 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.803813' WHERE "spree_products"."id" = 960 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 960 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.804923' WHERE "spree_products"."id" = 960  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3373 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.805645' WHERE "spree_products"."id" = 960 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 960) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:02:15.808987' WHERE "spree_products"."id" = 960 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 960 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 961 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.815097' WHERE "spree_products"."id" = 961 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 961], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.816071' WHERE "spree_products"."id" = 961  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3374 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.817246' WHERE "spree_products"."id" = 961  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 961  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["product_id", nil], ["property_id", 850], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 961, "updated_at" = '2012-10-01 15:02:15.822852' WHERE "spree_product_properties"."id" = 1030 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 961) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1212 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 961 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (961, 2115) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1214 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1214], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (961, 2117) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1212 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1212 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2115 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2115]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2115], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1212], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2115]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2118]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2118 THEN 2115 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2115]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2118]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1212 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2118 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2118]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2118], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1212], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2118]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2119]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2119 THEN 2118 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2118]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2119]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (961, 2118)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (961, 2119) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 961) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 961 AND "spree_option_types"."id" = 570 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 961) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00], ["option_type_id", 570], ["position", 1], ["product_id", 961], ["updated_at", Mon, 01 Oct 2012 15:02:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 961 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.916599' WHERE "spree_products"."id" = 961 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 961], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.917647' WHERE "spree_products"."id" = 961  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1130, 3375) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 961 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.920437' WHERE "spree_products"."id" = 961 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 961], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.921805' WHERE "spree_products"."id" = 961  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3376, 1131) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 961 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.924158' WHERE "spree_products"."id" = 961 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 961], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:15.925432' WHERE "spree_products"."id" = 961  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3377, 1132) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 961]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 961) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3375 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3376 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3377 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 961) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 961 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.077956' WHERE "spree_products"."id" = 961  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3375 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.078924' WHERE "spree_products"."id" = 961 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 961 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.080091' WHERE "spree_products"."id" = 961  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3376 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.081050' WHERE "spree_products"."id" = 961 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 961 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.082310' WHERE "spree_products"."id" = 961  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3377 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.083172' WHERE "spree_products"."id" = 961 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 961) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:02:16.085649' WHERE "spree_products"."id" = 961 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 961 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.092932' WHERE "spree_products"."id" = 962 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 962], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.094120' WHERE "spree_products"."id" = 962  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3378 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.095147' WHERE "spree_products"."id" = 962  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 962  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["product_id", nil], ["property_id", 851], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 962, "updated_at" = '2012-10-01 15:02:16.102039' WHERE "spree_product_properties"."id" = 1031 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["product_id", nil], ["property_id", 850], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 962, "updated_at" = '2012-10-01 15:02:16.104302' WHERE "spree_product_properties"."id" = 1032 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["product_id", nil], ["property_id", 852], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 962, "updated_at" = '2012-10-01 15:02:16.107394' WHERE "spree_product_properties"."id" = 1033 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 962) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1215 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1215], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 962 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2120, 962) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1212 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1212 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2115 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2115]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2115], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1212], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2115]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2121]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2121 THEN 2115 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2115]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2121]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2121, 962)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2115, 962) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 962) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 962 AND "spree_option_types"."id" = 570 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 962) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["option_type_id", 570], ["position", 1], ["product_id", 962], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.130416' WHERE "spree_products"."id" = 962 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 962], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.131650' WHERE "spree_products"."id" = 962  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3379, 1130) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.134305' WHERE "spree_products"."id" = 962 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 962], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.135258' WHERE "spree_products"."id" = 962  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1131, 3380) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 570 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.137719' WHERE "spree_products"."id" = 962 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 962], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.138526' WHERE "spree_products"."id" = 962  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3381, 1132) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 962]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 962 AND "spree_option_types"."id" = 571 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 962) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["option_type_id", 571], ["position", 2], ["product_id", 962], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 571 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 571) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 571], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.149980' WHERE "spree_products"."id" = 962 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 962], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.152006' WHERE "spree_products"."id" = 962  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3382, 1133) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 571 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 571) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00], ["name", "colour"], ["option_type_id", 571], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:16 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.156496' WHERE "spree_products"."id" = 962 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 962], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.157586' WHERE "spree_products"."id" = 962  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1134, 3383) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 962]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 962) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3379 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3380 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3381 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3382 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3383 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 962) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.304368' WHERE "spree_products"."id" = 962  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3379 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.305576' WHERE "spree_products"."id" = 962 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.306881' WHERE "spree_products"."id" = 962  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3380 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.307682' WHERE "spree_products"."id" = 962 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.308936' WHERE "spree_products"."id" = 962  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3381 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.309877' WHERE "spree_products"."id" = 962 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.310921' WHERE "spree_products"."id" = 962  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3382 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.312241' WHERE "spree_products"."id" = 962 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 962 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.313427' WHERE "spree_products"."id" = 962  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3383 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:16.314241' WHERE "spree_products"."id" = 962 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 962) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:02:16.316843' WHERE "spree_products"."id" = 962 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 962 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (368.7ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 962 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3378) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 962)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.1ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (166.1ms) DELETE FROM "spree_products" SQL (1.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (343.0ms) DELETE FROM "spree_option_values" SQL (331.8ms) DELETE FROM "spree_properties" SQL (221.2ms) DELETE FROM "spree_product_properties" SQL (116.2ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (128.3ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 963 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.244450' WHERE "spree_products"."id" = 963 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 963], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.245869' WHERE "spree_products"."id" = 963  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3384 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.247544' WHERE "spree_products"."id" = 963  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 963  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["product_id", nil], ["property_id", 853], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 963, "updated_at" = '2012-10-01 15:02:18.282503' WHERE "spree_product_properties"."id" = 1034 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 963) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1216 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1216], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 963 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (963, 2122) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1217 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1217], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.5ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (963, 2123) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 963) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 963 AND "spree_option_types"."id" = 572 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 963) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["option_type_id", 572], ["position", 1], ["product_id", 963], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 572) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "jpeg"], ["option_type_id", 572], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 963 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.510367' WHERE "spree_products"."id" = 963 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 963], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.512167' WHERE "spree_products"."id" = 963  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1135, 3385) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 572) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "PDF"], ["option_type_id", 572], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 963 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.516125' WHERE "spree_products"."id" = 963 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 963], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.517514' WHERE "spree_products"."id" = 963  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3386, 1136) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 572) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "PNG"], ["option_type_id", 572], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 963 LIMIT 1 SQL (20.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.521351' WHERE "spree_products"."id" = 963 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 963], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.543137' WHERE "spree_products"."id" = 963  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1137, 3387) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 963]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 963) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3385 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3386 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3387 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 963) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 963 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.554228' WHERE "spree_products"."id" = 963  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3385 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.555324' WHERE "spree_products"."id" = 963 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 963 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.556333' WHERE "spree_products"."id" = 963  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3386 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.557308' WHERE "spree_products"."id" = 963 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 963 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.558561' WHERE "spree_products"."id" = 963  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3387 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.559529' WHERE "spree_products"."id" = 963 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 963) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:02:18.561932' WHERE "spree_products"."id" = 963 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 963 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 964 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.568787' WHERE "spree_products"."id" = 964 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 964], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.569929' WHERE "spree_products"."id" = 964  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3388 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.571286' WHERE "spree_products"."id" = 964  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 964  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["product_id", nil], ["property_id", 854], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 964, "updated_at" = '2012-10-01 15:02:18.577436' WHERE "spree_product_properties"."id" = 1035 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 964) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1216 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 964 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2122, 964) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1218 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1218], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2124, 964) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1216 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1216 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2122 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2122]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2122], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1216], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2122]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2125]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2125 THEN 2122 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2122]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2125]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1216 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2125 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2125]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2125], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1216], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2125]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2126]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2126 THEN 2125 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2125]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2126]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2125, 964)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2126, 964) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 964) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 964 AND "spree_option_types"."id" = 572 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 964) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["option_type_id", 572], ["position", 1], ["product_id", 964], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 964 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.722887' WHERE "spree_products"."id" = 964 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 964], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.724128' WHERE "spree_products"."id" = 964  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1135, 3389) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 964 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.726565' WHERE "spree_products"."id" = 964 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 964], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.727687' WHERE "spree_products"."id" = 964  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3390, 1136) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 964 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.730460' WHERE "spree_products"."id" = 964 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 964], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.731687' WHERE "spree_products"."id" = 964  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3391, 1137) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 964]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 964) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3389 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3390 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3391 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 964) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 964 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.744305' WHERE "spree_products"."id" = 964  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3389 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.745417' WHERE "spree_products"."id" = 964 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 964 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.746214' WHERE "spree_products"."id" = 964  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3390 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.747114' WHERE "spree_products"."id" = 964 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 964 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.748254' WHERE "spree_products"."id" = 964  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3391 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.749062' WHERE "spree_products"."id" = 964 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 964) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:02:18.751320' WHERE "spree_products"."id" = 964 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 964 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.758066' WHERE "spree_products"."id" = 965 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 965], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.759245' WHERE "spree_products"."id" = 965  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3392 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.760456' WHERE "spree_products"."id" = 965  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 965  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["product_id", nil], ["property_id", 855], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 965, "updated_at" = '2012-10-01 15:02:18.766078' WHERE "spree_product_properties"."id" = 1036 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["product_id", nil], ["property_id", 854], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 965, "updated_at" = '2012-10-01 15:02:18.768399' WHERE "spree_product_properties"."id" = 1037 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["product_id", nil], ["property_id", 856], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 965, "updated_at" = '2012-10-01 15:02:18.771196' WHERE "spree_product_properties"."id" = 1038 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 965) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1219 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1219], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 965 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (965, 2127) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1216 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1216 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2122 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2122]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2122], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1216], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2122]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2128]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2128 THEN 2122 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2122]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2128]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (965, 2128)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (965, 2122) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 965) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 965 AND "spree_option_types"."id" = 572 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 965) ORDER BY position DESC LIMIT 1 SQL (119.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["option_type_id", 572], ["position", 1], ["product_id", 965], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.916684' WHERE "spree_products"."id" = 965 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 965], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.918413' WHERE "spree_products"."id" = 965  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3393, 1135) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.921690' WHERE "spree_products"."id" = 965 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 965], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.922667' WHERE "spree_products"."id" = 965  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3394, 1136) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 572 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.925420' WHERE "spree_products"."id" = 965 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 965], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.926685' WHERE "spree_products"."id" = 965  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1137, 3395) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 965]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 965 AND "spree_option_types"."id" = 573 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 965) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["option_type_id", 573], ["position", 2], ["product_id", 965], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 573 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 573) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "black_white"], ["option_type_id", 573], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.941673' WHERE "spree_products"."id" = 965 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 965], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.942690' WHERE "spree_products"."id" = 965  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3396, 1138) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 573 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 573) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00], ["name", "colour"], ["option_type_id", 573], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:02:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.947871' WHERE "spree_products"."id" = 965 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 965], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (21.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.949334' WHERE "spree_products"."id" = 965  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3397, 1139) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 965]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 965) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3393 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3394 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3395 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3396 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3397 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 965) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.987000' WHERE "spree_products"."id" = 965  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3393 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:18.988174' WHERE "spree_products"."id" = 965 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.191404' WHERE "spree_products"."id" = 965  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3394 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.192461' WHERE "spree_products"."id" = 965 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.193792' WHERE "spree_products"."id" = 965  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3395 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.194642' WHERE "spree_products"."id" = 965 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.195791' WHERE "spree_products"."id" = 965  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3396 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.196659' WHERE "spree_products"."id" = 965 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 965 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.198183' WHERE "spree_products"."id" = 965  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3397 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:02:19.199028' WHERE "spree_products"."id" = 965 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 965) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:02:19.202215' WHERE "spree_products"."id" = 965 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 965 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.0ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3392) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 965)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 963) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3384) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 963)) ORDER BY "spree_assets".position Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 963) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:02:19 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 963], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3384) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 963)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 963) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:02:20 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 963], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 963) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 963 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 964) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3388) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 964)) ORDER BY "spree_assets".position Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 964) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:02:33 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 964], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 964) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 964 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 965) LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3392) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 965)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 965) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:02:46 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 965], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 965) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 965  (4.9ms) commit transaction Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 965]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 965 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3392) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 965)) Booted Spree using version 1.1.3 SQL (1659.8ms) DELETE FROM "spree_products" SQL (235.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (254.4ms) DELETE FROM "spree_option_types" SQL (370.1ms) DELETE FROM "spree_option_values" SQL (111.5ms) DELETE FROM "spree_properties" SQL (125.8ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (21.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::Product Load (1.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 966 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.670613' WHERE "spree_products"."id" = 966 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 966], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.672473' WHERE "spree_products"."id" = 966  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3398 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.674212' WHERE "spree_products"."id" = 966  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 966  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["product_id", nil], ["property_id", 857], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["value", nil]]  (0.9ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:23.689482', "product_id" = 966 WHERE "spree_product_properties"."id" = 1039 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 966) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1220 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1220], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 966 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (966, 2129) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1221 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1221], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (966, 2130) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 966) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 966 AND "spree_option_types"."id" = 574 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 966) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["option_type_id", 574], ["position", 1], ["product_id", 966], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 574) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["name", "jpeg"], ["option_type_id", 574], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 966 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.958070' WHERE "spree_products"."id" = 966 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 966], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.959419' WHERE "spree_products"."id" = 966  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3399, 1140) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 574) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["name", "PDF"], ["option_type_id", 574], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 966 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.965317' WHERE "spree_products"."id" = 966 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 966], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.966760' WHERE "spree_products"."id" = 966  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3400, 1141) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 574) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00], ["name", "PNG"], ["option_type_id", 574], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 966 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.971088' WHERE "spree_products"."id" = 966 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 966], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:23.972274' WHERE "spree_products"."id" = 966  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3401, 1142) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 966]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 966) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3399 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3400 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3401 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 966) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 966 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.005182' WHERE "spree_products"."id" = 966  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3399 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.006212' WHERE "spree_products"."id" = 966 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 966 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.007396' WHERE "spree_products"."id" = 966  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3400 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.008408' WHERE "spree_products"."id" = 966 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 966 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.009467' WHERE "spree_products"."id" = 966  (2.6ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3401 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.012717' WHERE "spree_products"."id" = 966 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 966) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:08:24.015422' WHERE "spree_products"."id" = 966 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 966 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 967 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.150602' WHERE "spree_products"."id" = 967 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 967], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.151740' WHERE "spree_products"."id" = 967  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3402 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.152963' WHERE "spree_products"."id" = 967  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 967  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["product_id", nil], ["property_id", 858], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:24.160537', "product_id" = 967 WHERE "spree_product_properties"."id" = 1040 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 967) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1220 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 967 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (967, 2129) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1222 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1222], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (967, 2131) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1220 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1220 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2129 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2129]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2129], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1220], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2129]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2132]] SQL (1.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2132 THEN 2129 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2129]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2132]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1220 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2132 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2132]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2132], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1220], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2132]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2133]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2133 THEN 2132 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2132]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2133]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (967, 2132)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (967, 2133) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 967) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 967 AND "spree_option_types"."id" = 574 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 967) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["option_type_id", 574], ["position", 1], ["product_id", 967], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 967 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.201409' WHERE "spree_products"."id" = 967 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 967], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.203763' WHERE "spree_products"."id" = 967  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1140, 3403) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 967 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.206655' WHERE "spree_products"."id" = 967 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 967], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.207812' WHERE "spree_products"."id" = 967  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3404, 1141) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 967 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.212032' WHERE "spree_products"."id" = 967 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 967], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.213448' WHERE "spree_products"."id" = 967  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3405, 1142) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 967]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 967) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3403 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3404 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3405 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 967) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 967 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.427653' WHERE "spree_products"."id" = 967  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3403 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.428967' WHERE "spree_products"."id" = 967 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 967 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.430203' WHERE "spree_products"."id" = 967  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3404 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.430967' WHERE "spree_products"."id" = 967 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 967 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.432547' WHERE "spree_products"."id" = 967  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3405 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.433168' WHERE "spree_products"."id" = 967 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 967) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:08:24.435955' WHERE "spree_products"."id" = 967 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 967 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.442233' WHERE "spree_products"."id" = 968 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 968], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.444093' WHERE "spree_products"."id" = 968  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3406 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.445116' WHERE "spree_products"."id" = 968  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 968  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["product_id", nil], ["property_id", 859], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:24.450968', "product_id" = 968 WHERE "spree_product_properties"."id" = 1041 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["product_id", nil], ["property_id", 858], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:24.453942', "product_id" = 968 WHERE "spree_product_properties"."id" = 1042 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["product_id", nil], ["property_id", 860], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:24.456925', "product_id" = 968 WHERE "spree_product_properties"."id" = 1043 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 968) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1223 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1223], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 968 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2134, 968) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1220 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1220 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2129 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2129]] SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2129], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1220], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2129]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2135]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2135 THEN 2129 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2129]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2135]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2135, 968)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2129, 968) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 968) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 968 AND "spree_option_types"."id" = 574 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 968) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["option_type_id", 574], ["position", 1], ["product_id", 968], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.512812' WHERE "spree_products"."id" = 968 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 968], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.514117' WHERE "spree_products"."id" = 968  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3407, 1140) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.517233' WHERE "spree_products"."id" = 968 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 968], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.518210' WHERE "spree_products"."id" = 968  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1141, 3408) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 574 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.520933' WHERE "spree_products"."id" = 968 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 968], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.522115' WHERE "spree_products"."id" = 968  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1142, 3409) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 968]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 968 AND "spree_option_types"."id" = 575 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 968) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["option_type_id", 575], ["position", 2], ["product_id", 968], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 575 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 575) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "black_white"], ["option_type_id", 575], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.537959' WHERE "spree_products"."id" = 968 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 968], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.540620' WHERE "spree_products"."id" = 968  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3410, 1143) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 575 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 575) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00], ["name", "colour"], ["option_type_id", 575], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:24 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.562476' WHERE "spree_products"."id" = 968 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 968], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.565255' WHERE "spree_products"."id" = 968  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1144, 3411) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 968]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 968) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3407 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3408 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3409 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3410 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3411 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 968) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.581679' WHERE "spree_products"."id" = 968  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3407 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.582969' WHERE "spree_products"."id" = 968 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.584235' WHERE "spree_products"."id" = 968  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3408 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.584969' WHERE "spree_products"."id" = 968 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.586169' WHERE "spree_products"."id" = 968  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3409 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.587102' WHERE "spree_products"."id" = 968 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.588313' WHERE "spree_products"."id" = 968  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3410 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.588970' WHERE "spree_products"."id" = 968 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 968 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.590471' WHERE "spree_products"."id" = 968  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3411 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:24.591334' WHERE "spree_products"."id" = 968 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 968) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:08:24.594150' WHERE "spree_products"."id" = 968 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 968 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (322.1ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 968 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3406) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 968)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:84", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.0ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (346.3ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (247.7ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (6.7ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (21.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 969 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:25.670508' WHERE "spree_products"."id" = 969 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 969], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:25.672331' WHERE "spree_products"."id" = 969  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3412 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:25.673760' WHERE "spree_products"."id" = 969  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 969  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["product_id", nil], ["property_id", 861], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:25.680453', "product_id" = 969 WHERE "spree_product_properties"."id" = 1044 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 969) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1224 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1224], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 969 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (969, 2136) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1225 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1225], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (969, 2137) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 969) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 969 AND "spree_option_types"."id" = 576 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 969) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["option_type_id", 576], ["position", 1], ["product_id", 969], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 576) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00], ["name", "jpeg"], ["option_type_id", 576], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 969 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:25.789239' WHERE "spree_products"."id" = 969 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 969], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:25.789987' WHERE "spree_products"."id" = 969  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1145, 3413) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 576) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "PDF"], ["option_type_id", 576], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 969 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.026336' WHERE "spree_products"."id" = 969 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 969], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.027374' WHERE "spree_products"."id" = 969  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3414, 1146) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 576) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "PNG"], ["option_type_id", 576], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 969 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.036733' WHERE "spree_products"."id" = 969 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 969], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.038718' WHERE "spree_products"."id" = 969  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3415, 1147) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 969]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 969) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3413 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3414 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3415 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 969) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 969 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.053869' WHERE "spree_products"."id" = 969  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.055161' WHERE "spree_products"."id" = 969 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 969 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.057475' WHERE "spree_products"."id" = 969  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3414 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.058246' WHERE "spree_products"."id" = 969 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 969 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.059425' WHERE "spree_products"."id" = 969  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3415 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.060384' WHERE "spree_products"."id" = 969 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 969) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:08:26.066579' WHERE "spree_products"."id" = 969 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 969 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 970 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.074758' WHERE "spree_products"."id" = 970 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 970], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.076051' WHERE "spree_products"."id" = 970  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3416 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.077523' WHERE "spree_products"."id" = 970  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 970  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["product_id", nil], ["property_id", 862], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:26.083273', "product_id" = 970 WHERE "spree_product_properties"."id" = 1045 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 970) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1224 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 970 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (970, 2136) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1226 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1226], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (970, 2138) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1224 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1224 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2136 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2136]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2136], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1224], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2136]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2139]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2139 THEN 2136 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2136]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2139]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1224 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2139 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2139]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2139], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1224], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2139]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2140]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2140 THEN 2139 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2139]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2140]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (970, 2139)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (970, 2140) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 970) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 970 AND "spree_option_types"."id" = 576 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 970) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["option_type_id", 576], ["position", 1], ["product_id", 970], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 970 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.111827' WHERE "spree_products"."id" = 970 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 970], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.112959' WHERE "spree_products"."id" = 970  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3417, 1145) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 970 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.115502' WHERE "spree_products"."id" = 970 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 970], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.116533' WHERE "spree_products"."id" = 970  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3418, 1146) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 970 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.119213' WHERE "spree_products"."id" = 970 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 970], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.119992' WHERE "spree_products"."id" = 970  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1147, 3419) Spree::Product Load (1.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 970]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 970) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3417 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3418 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3419 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 970) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 970 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.295407' WHERE "spree_products"."id" = 970  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.296317' WHERE "spree_products"."id" = 970 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 970 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.297498' WHERE "spree_products"."id" = 970  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3418 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.298994' WHERE "spree_products"."id" = 970 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 970 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.300994' WHERE "spree_products"."id" = 970  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3419 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.302182' WHERE "spree_products"."id" = 970 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 970) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:08:26.304547' WHERE "spree_products"."id" = 970 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 970 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.312065' WHERE "spree_products"."id" = 971 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 971], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.313584' WHERE "spree_products"."id" = 971  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.314609' WHERE "spree_products"."id" = 971  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 971  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["product_id", nil], ["property_id", 863], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:26.319995', "product_id" = 971 WHERE "spree_product_properties"."id" = 1046 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["product_id", nil], ["property_id", 862], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:26.322967', "product_id" = 971 WHERE "spree_product_properties"."id" = 1047 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["product_id", nil], ["property_id", 864], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:08:26.326236', "product_id" = 971 WHERE "spree_product_properties"."id" = 1048 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 971) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1227 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1227], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 971 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (971, 2141) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1224 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1224 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2136 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2136]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2136], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1224], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2136]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2142]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2142 THEN 2136 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2136]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2142]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (971, 2142)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (971, 2136) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 971) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 971 AND "spree_option_types"."id" = 576 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 971) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["option_type_id", 576], ["position", 1], ["product_id", 971], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.350914' WHERE "spree_products"."id" = 971 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 971], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.352135' WHERE "spree_products"."id" = 971  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3421, 1145) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.354641' WHERE "spree_products"."id" = 971 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 971], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.355768' WHERE "spree_products"."id" = 971  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3422, 1146) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 576 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.358317' WHERE "spree_products"."id" = 971 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 971], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.359386' WHERE "spree_products"."id" = 971  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3423, 1147) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 971]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 971 AND "spree_option_types"."id" = 577 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 971) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["option_type_id", 577], ["position", 2], ["product_id", 971], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 577 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 577) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "black_white"], ["option_type_id", 577], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.370364' WHERE "spree_products"."id" = 971 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 971], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.372806' WHERE "spree_products"."id" = 971  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3424, 1148) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 577 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 577) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00], ["name", "colour"], ["option_type_id", 577], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:08:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.377233' WHERE "spree_products"."id" = 971 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 971], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.378513' WHERE "spree_products"."id" = 971  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3425, 1149) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 971]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 971) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3421 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3422 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3423 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3424 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3425 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 971) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.542170' WHERE "spree_products"."id" = 971  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.543170' WHERE "spree_products"."id" = 971 Spree::Product Load (1.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.630233' WHERE "spree_products"."id" = 971  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.631753' WHERE "spree_products"."id" = 971 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.632681' WHERE "spree_products"."id" = 971  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.633353' WHERE "spree_products"."id" = 971 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.634592' WHERE "spree_products"."id" = 971  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3424 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.674912' WHERE "spree_products"."id" = 971 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 971 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.803656' WHERE "spree_products"."id" = 971  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3425 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:08:26.804930' WHERE "spree_products"."id" = 971 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 971) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:08:26.808868' WHERE "spree_products"."id" = 971 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 971 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (423.4ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3420) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 971)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 969) LIMIT 1 Spree::Image Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3412) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 969)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 969) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:08:27 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 969], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3412) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 969)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 969) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:08:28 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 969], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 969) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 969 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 970) LIMIT 1 Spree::Image Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3416) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 970)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 970) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:08:39 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 970], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 970) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 970 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 971) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3420) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 971)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 971) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:08:51 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 971], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 971) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 971  (3.5ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 970 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3416) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 970)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 969 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3412) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 969)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3420) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 971)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 971]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 971 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3420) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 971)) Booted Spree using version 1.1.3 SQL (1593.3ms) DELETE FROM "spree_products" SQL (5.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (114.5ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.4ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 972 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:25.657170' WHERE "spree_products"."id" = 972 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 972], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:25.659537' WHERE "spree_products"."id" = 972  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3426 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:25.661851' WHERE "spree_products"."id" = 972  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 972  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["product_id", nil], ["property_id", 865], ["updated_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:25.807739', "product_id" = 972 WHERE "spree_product_properties"."id" = 1049 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 972) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1228 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1228], ["updated_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 972 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (972, 2143) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1229 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1229], ["updated_at", Mon, 01 Oct 2012 15:09:25 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (972, 2144) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 972) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 972 AND "spree_option_types"."id" = 578 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 972) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["option_type_id", 578], ["position", 1], ["product_id", 972], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 578) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "jpeg"], ["option_type_id", 578], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 972 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.061595' WHERE "spree_products"."id" = 972 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 972], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.062857' WHERE "spree_products"."id" = 972  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3427, 1150) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 578) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "PDF"], ["option_type_id", 578], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 972 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.069824' WHERE "spree_products"."id" = 972 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 972], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.071996' WHERE "spree_products"."id" = 972  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3428, 1151) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 578) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "PNG"], ["option_type_id", 578], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 972 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.076483' WHERE "spree_products"."id" = 972 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 972], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.077525' WHERE "spree_products"."id" = 972  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3429, 1152) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 972]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 972) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3427 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3428 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3429 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 972) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 972 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.105642' WHERE "spree_products"."id" = 972  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3427 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.106858' WHERE "spree_products"."id" = 972 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 972 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.108294' WHERE "spree_products"."id" = 972  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3428 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.108990' WHERE "spree_products"."id" = 972 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 972 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.110045' WHERE "spree_products"."id" = 972  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3429 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.110858' WHERE "spree_products"."id" = 972 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 972) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:09:26.114190' WHERE "spree_products"."id" = 972 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 972 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (125.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 973 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.246587' WHERE "spree_products"."id" = 973 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 973], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.247698' WHERE "spree_products"."id" = 973  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3430 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.249004' WHERE "spree_products"."id" = 973  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 973  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["product_id", nil], ["property_id", 866], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:26.254773', "product_id" = 973 WHERE "spree_product_properties"."id" = 1050 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 973) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1228 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 973 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2143, 973) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1230 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1230], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2145, 973) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1228 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1228 AND "spree_taxons"."parent_id" = 2143 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2143]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2143], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1228], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2143]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2146]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2146 THEN 2143 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2143]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2146]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1228 AND "spree_taxons"."parent_id" = 2146 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2146]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2146], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1228], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2146]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2147]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2147 THEN 2146 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2146]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2147]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2146, 973)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2147, 973) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 973) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 973 AND "spree_option_types"."id" = 578 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 973) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["option_type_id", 578], ["position", 1], ["product_id", 973], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 973 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.286699' WHERE "spree_products"."id" = 973 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 973], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.287969' WHERE "spree_products"."id" = 973  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3431, 1150) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 973 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.290789' WHERE "spree_products"."id" = 973 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 973], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.291972' WHERE "spree_products"."id" = 973  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1151, 3432) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 973 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.294680' WHERE "spree_products"."id" = 973 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 973], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.295967' WHERE "spree_products"."id" = 973  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3433, 1152) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 973]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 973) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3431 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3432 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3433 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 973) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 973 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.490756' WHERE "spree_products"."id" = 973  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3431 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.491629' WHERE "spree_products"."id" = 973 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 973 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.492825' WHERE "spree_products"."id" = 973  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3432 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.493726' WHERE "spree_products"."id" = 973 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 973 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.494815' WHERE "spree_products"."id" = 973  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3433 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.495623' WHERE "spree_products"."id" = 973 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 973) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:09:26.498358' WHERE "spree_products"."id" = 973 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 973 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.505609' WHERE "spree_products"."id" = 974 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 974], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.506678' WHERE "spree_products"."id" = 974  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3434 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.507972' WHERE "spree_products"."id" = 974  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 974  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["product_id", nil], ["property_id", 867], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:26.513934', "product_id" = 974 WHERE "spree_product_properties"."id" = 1051 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["product_id", nil], ["property_id", 866], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:26.516246', "product_id" = 974 WHERE "spree_product_properties"."id" = 1052 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["product_id", nil], ["property_id", 868], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:26.519363', "product_id" = 974 WHERE "spree_product_properties"."id" = 1053 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 974) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1231 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1231], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 974 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (974, 2148) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1228 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1228 AND "spree_taxons"."parent_id" = 2143 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2143]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2143], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1228], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2143]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2149]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2149 THEN 2143 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2143]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2149]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (974, 2149)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (974, 2143) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 974) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 974 AND "spree_option_types"."id" = 578 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 974) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["option_type_id", 578], ["position", 1], ["product_id", 974], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.543725' WHERE "spree_products"."id" = 974 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 974], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.544734' WHERE "spree_products"."id" = 974  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3435, 1150) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.547179' WHERE "spree_products"."id" = 974 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 974], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.548127' WHERE "spree_products"."id" = 974  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3436, 1151) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 578 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.550307' WHERE "spree_products"."id" = 974 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 974], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.551213' WHERE "spree_products"."id" = 974  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1152, 3437) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 974]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 974 AND "spree_option_types"."id" = 579 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 974) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["option_type_id", 579], ["position", 2], ["product_id", 974], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 579 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 579) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "black_white"], ["option_type_id", 579], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.674849' WHERE "spree_products"."id" = 974 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 974], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.675981' WHERE "spree_products"."id" = 974  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1153, 3438) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 579 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 579) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00], ["name", "colour"], ["option_type_id", 579], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.680167' WHERE "spree_products"."id" = 974 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 974], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.681181' WHERE "spree_products"."id" = 974  (0.5ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1154, 3439) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 974]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 974) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3435 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3436 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3437 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3438 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3439 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 974) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.695366' WHERE "spree_products"."id" = 974  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3435 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.696281' WHERE "spree_products"."id" = 974 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.697669' WHERE "spree_products"."id" = 974  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3436 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.698505' WHERE "spree_products"."id" = 974 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.699577' WHERE "spree_products"."id" = 974  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3437 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.700754' WHERE "spree_products"."id" = 974 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.701735' WHERE "spree_products"."id" = 974  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3438 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.702512' WHERE "spree_products"."id" = 974 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 974 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.703844' WHERE "spree_products"."id" = 974  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3439 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:26.704905' WHERE "spree_products"."id" = 974 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 974) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:09:26.707580' WHERE "spree_products"."id" = 974 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 974 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (225.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 974 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3434) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 974)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:82:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # ["/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:438:in `save'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:126:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.0ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (430.4ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (319.0ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (56.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (253.6ms) DELETE FROM "spree_taxons" SQL (252.1ms) DELETE FROM "spree_taxonomies" SQL (225.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 975 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.578372' WHERE "spree_products"."id" = 975 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 975], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.580124' WHERE "spree_products"."id" = 975  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3440 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.581609' WHERE "spree_products"."id" = 975  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 975  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["product_id", nil], ["property_id", 869], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:28.588885', "product_id" = 975 WHERE "spree_product_properties"."id" = 1054 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 975) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1232 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1232], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 975 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (975, 2150) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1233 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1233], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (975, 2151) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 975) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 975 AND "spree_option_types"."id" = 580 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 975) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["option_type_id", 580], ["position", 1], ["product_id", 975], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 580) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "jpeg"], ["option_type_id", 580], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 975 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.815619' WHERE "spree_products"."id" = 975 SQL (1.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 975], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.818778' WHERE "spree_products"."id" = 975  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1155, 3441) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 580) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "PDF"], ["option_type_id", 580], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 975 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.822532' WHERE "spree_products"."id" = 975 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 975], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.823611' WHERE "spree_products"."id" = 975  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3442, 1156) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 580) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "PNG"], ["option_type_id", 580], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 975 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.830351' WHERE "spree_products"."id" = 975 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 975], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.831289' WHERE "spree_products"."id" = 975  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3443, 1157) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 975]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 975) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3441 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3442 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3443 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 975) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 975 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.842369' WHERE "spree_products"."id" = 975  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3441 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.843475' WHERE "spree_products"."id" = 975 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 975 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.844499' WHERE "spree_products"."id" = 975  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3442 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.845897' WHERE "spree_products"."id" = 975 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 975 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.955359' WHERE "spree_products"."id" = 975  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3443 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.956884' WHERE "spree_products"."id" = 975 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 975) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:09:28.959741' WHERE "spree_products"."id" = 975 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 975 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 976 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.966298' WHERE "spree_products"."id" = 976 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 976], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.967495' WHERE "spree_products"."id" = 976  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3444 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:28.968550' WHERE "spree_products"."id" = 976  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 976  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["product_id", nil], ["property_id", 870], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:28.974583', "product_id" = 976 WHERE "spree_product_properties"."id" = 1055 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 976) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1232 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 976 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2150, 976) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1234 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1234], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2152, 976) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1232 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1232 AND "spree_taxons"."parent_id" = 2150 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2150]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2150], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1232], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2150]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2153]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2153 THEN 2150 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2150]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2153]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1232 AND "spree_taxons"."parent_id" = 2153 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2153]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2153], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1232], ["updated_at", Mon, 01 Oct 2012 15:09:28 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2153]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2154]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2154 THEN 2153 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2153]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2154]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2153, 976)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2154, 976) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 976) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 976 AND "spree_option_types"."id" = 580 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 976) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["option_type_id", 580], ["position", 1], ["product_id", 976], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 976 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.006228' WHERE "spree_products"."id" = 976 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 976], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.007510' WHERE "spree_products"."id" = 976  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1155, 3445) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 976 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.009759' WHERE "spree_products"."id" = 976 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 976], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.011008' WHERE "spree_products"."id" = 976  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1156, 3446) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 976 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.015017' WHERE "spree_products"."id" = 976 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 976], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.016304' WHERE "spree_products"."id" = 976  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1157, 3447) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 976]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 976) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3445 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3446 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3447 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 976) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 976 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.029180' WHERE "spree_products"."id" = 976  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3445 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.030063' WHERE "spree_products"."id" = 976 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 976 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.030896' WHERE "spree_products"."id" = 976  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3446 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.031879' WHERE "spree_products"."id" = 976 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 976 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.032900' WHERE "spree_products"."id" = 976  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3447 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.033838' WHERE "spree_products"."id" = 976 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 976) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:09:29.035900' WHERE "spree_products"."id" = 976 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 976 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.042131' WHERE "spree_products"."id" = 977 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 977], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.043295' WHERE "spree_products"."id" = 977  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3448 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.044335' WHERE "spree_products"."id" = 977  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 977  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["product_id", nil], ["property_id", 871], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:29.049583', "product_id" = 977 WHERE "spree_product_properties"."id" = 1056 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["product_id", nil], ["property_id", 870], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:29.052002', "product_id" = 977 WHERE "spree_product_properties"."id" = 1057 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["product_id", nil], ["property_id", 872], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:09:29.055243', "product_id" = 977 WHERE "spree_product_properties"."id" = 1058 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 977) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1235 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1235], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 977 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (977, 2155) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1232 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1232 AND "spree_taxons"."parent_id" = 2150 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2150]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2150], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1232], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2150]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2156]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2156 THEN 2150 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2150]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2156]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (977, 2156)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (977, 2150) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 977) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 977 AND "spree_option_types"."id" = 580 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 977) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["option_type_id", 580], ["position", 1], ["product_id", 977], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.192778' WHERE "spree_products"."id" = 977 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 977], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.193802' WHERE "spree_products"."id" = 977  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1155, 3449) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.196558' WHERE "spree_products"."id" = 977 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 977], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.197451' WHERE "spree_products"."id" = 977  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1156, 3450) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 580 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.199558' WHERE "spree_products"."id" = 977 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 977], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.200635' WHERE "spree_products"."id" = 977  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3451, 1157) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 977]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 977 AND "spree_option_types"."id" = 581 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 977) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["option_type_id", 581], ["position", 2], ["product_id", 977], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 581 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 581) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["name", "black_white"], ["option_type_id", 581], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.215807' WHERE "spree_products"."id" = 977 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 977], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.216968' WHERE "spree_products"."id" = 977  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3452, 1158) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 581 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 581) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["name", "colour"], ["option_type_id", 581], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.224761' WHERE "spree_products"."id" = 977 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 977], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.226809' WHERE "spree_products"."id" = 977  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1159, 3453) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 977]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 977) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3449 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3450 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3451 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3452 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3453 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 977) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.243335' WHERE "spree_products"."id" = 977  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3449 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.244680' WHERE "spree_products"."id" = 977 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.443418' WHERE "spree_products"."id" = 977  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3450 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.444516' WHERE "spree_products"."id" = 977 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.445993' WHERE "spree_products"."id" = 977  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3451 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.446850' WHERE "spree_products"."id" = 977 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.447716' WHERE "spree_products"."id" = 977  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3452 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.448476' WHERE "spree_products"."id" = 977 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 977 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.449597' WHERE "spree_products"."id" = 977  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3453 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:09:29.450508' WHERE "spree_products"."id" = 977 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 977) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:09:29.452985' WHERE "spree_products"."id" = 977 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 977 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (279.2ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3448) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 977)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 975) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3440) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 975)) ORDER BY "spree_assets".position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 975) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:09:29 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 975], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3440) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 975)) ORDER BY "spree_assets".position Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 975) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:09:30 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 975], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 975) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 975 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 976) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3444) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 976)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 976) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:09:38 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 976], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 976) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 976 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 977) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3448) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 977)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 977) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:09:51 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 977], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 977) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 977  (9.5ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 976 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3444) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 976)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3448) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 977)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 975 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3440) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 975)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 977]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 977 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3448) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 977)) Booted Spree using version 1.1.3 SQL (240.9ms) DELETE FROM "spree_products" SQL (6.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (246.8ms) DELETE FROM "spree_option_types" SQL (893.5ms) DELETE FROM "spree_option_values" SQL (712.9ms) DELETE FROM "spree_properties" SQL (410.6ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.3ms) commit transaction PRODUCT # MASTER: #  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 978 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.332163' WHERE "spree_products"."id" = 978 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 978], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.333918' WHERE "spree_products"."id" = 978  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.336181' WHERE "spree_products"."id" = 978  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 978  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["product_id", nil], ["property_id", 873], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:24.352535', "product_id" = 978 WHERE "spree_product_properties"."id" = 1059 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 978) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1236 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1236], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 978 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2157, 978) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1237 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1237], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2158, 978) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 978) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 978 AND "spree_option_types"."id" = 582 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 978) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["option_type_id", 582], ["position", 1], ["product_id", 978], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 582) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "jpeg"], ["option_type_id", 582], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 978 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.714472' WHERE "spree_products"."id" = 978 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 978], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.716230' WHERE "spree_products"."id" = 978  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3455, 1160) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 582) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "PDF"], ["option_type_id", 582], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 978 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.722414' WHERE "spree_products"."id" = 978 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 978], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.723565' WHERE "spree_products"."id" = 978  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1161, 3456) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 582) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "PNG"], ["option_type_id", 582], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 978 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.726988' WHERE "spree_products"."id" = 978 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 978], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.728042' WHERE "spree_products"."id" = 978  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1162, 3457) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 978]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 978) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (219.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3455 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3456 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3457 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 978) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 978 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.978405' WHERE "spree_products"."id" = 978  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3455 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.979472' WHERE "spree_products"."id" = 978 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 978 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.980529' WHERE "spree_products"."id" = 978  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.981289' WHERE "spree_products"."id" = 978 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 978 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.982313' WHERE "spree_products"."id" = 978  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3457 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.983155' WHERE "spree_products"."id" = 978 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 978) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.985468', "count_on_hand" = 25 WHERE "spree_products"."id" = 978 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 978 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.991469' WHERE "spree_products"."id" = 979 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 979], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.992461' WHERE "spree_products"."id" = 979  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:24.993844' WHERE "spree_products"."id" = 979  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 979  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["product_id", nil], ["property_id", 874], ["updated_at", Mon, 01 Oct 2012 15:12:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:24.999024', "product_id" = 979 WHERE "spree_product_properties"."id" = 1060 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 979) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1236 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 979 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (979, 2157) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1238 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1238], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (979, 2159) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1236 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1236 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2157 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2157]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2157], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1236], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2157]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2160]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2160 THEN 2157 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2157]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2160]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1236 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2160 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2160]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2160], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1236], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2160]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2161]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2161 THEN 2160 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2160]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2161]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (979, 2160)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (979, 2161) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 979) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 979 AND "spree_option_types"."id" = 582 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 979) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["option_type_id", 582], ["position", 1], ["product_id", 979], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.030959' WHERE "spree_products"."id" = 979 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 979], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.032049' WHERE "spree_products"."id" = 979  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3459, 1160) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 979 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.034613' WHERE "spree_products"."id" = 979 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 979], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.035747' WHERE "spree_products"."id" = 979  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1161, 3460) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.039268' WHERE "spree_products"."id" = 979 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 979], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.040296' WHERE "spree_products"."id" = 979  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1162, 3461) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 979]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 979) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3459 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3460 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3461 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 979) LIMIT 1  (75.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.368068' WHERE "spree_products"."id" = 979  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.369241' WHERE "spree_products"."id" = 979 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.370621' WHERE "spree_products"."id" = 979  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3460 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.371386' WHERE "spree_products"."id" = 979 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.372518' WHERE "spree_products"."id" = 979  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3461 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.373345' WHERE "spree_products"."id" = 979 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 979) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.376154', "count_on_hand" = 11 WHERE "spree_products"."id" = 979 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 979 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.382603' WHERE "spree_products"."id" = 980 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 980], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.383446' WHERE "spree_products"."id" = 980  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3462 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.384654' WHERE "spree_products"."id" = 980  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 980  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["product_id", nil], ["property_id", 875], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:25.664074', "product_id" = 980 WHERE "spree_product_properties"."id" = 1061 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["product_id", nil], ["property_id", 874], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:25.666673', "product_id" = 980 WHERE "spree_product_properties"."id" = 1062 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["product_id", nil], ["property_id", 876], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:25.669623', "product_id" = 980 WHERE "spree_product_properties"."id" = 1063 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 980) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1239 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1239], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 980 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (980, 2162) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1236 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1236 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2157 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2157]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2157], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1236], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2157]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2163]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2163 THEN 2157 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2157]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2163]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (980, 2163)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (980, 2157) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 980) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 980 AND "spree_option_types"."id" = 582 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 980) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["option_type_id", 582], ["position", 1], ["product_id", 980], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.697975' WHERE "spree_products"."id" = 980 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 980], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.699155' WHERE "spree_products"."id" = 980  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1160, 3463) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.701091' WHERE "spree_products"."id" = 980 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 980], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.702339' WHERE "spree_products"."id" = 980  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1161, 3464) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 582 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.704830' WHERE "spree_products"."id" = 980 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 980], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.705592' WHERE "spree_products"."id" = 980  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1162, 3465) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 980]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 980 AND "spree_option_types"."id" = 583 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 980) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["option_type_id", 583], ["position", 2], ["product_id", 980], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 583 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 583) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["name", "black_white"], ["option_type_id", 583], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.718248' WHERE "spree_products"."id" = 980 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 980], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.719145' WHERE "spree_products"."id" = 980  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1163, 3466) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 583 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 583) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00], ["name", "colour"], ["option_type_id", 583], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.723129' WHERE "spree_products"."id" = 980 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 980], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.724278' WHERE "spree_products"."id" = 980  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1164, 3467) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 980]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 980) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3463 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3464 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3465 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3466 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3467 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 980) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.756554' WHERE "spree_products"."id" = 980  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3463 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.757646' WHERE "spree_products"."id" = 980 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.758621' WHERE "spree_products"."id" = 980  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3464 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.759438' WHERE "spree_products"."id" = 980 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.760452' WHERE "spree_products"."id" = 980  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3465 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.761302' WHERE "spree_products"."id" = 980 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.762278' WHERE "spree_products"."id" = 980  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3466 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.763999' WHERE "spree_products"."id" = 980 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.764827' WHERE "spree_products"."id" = 980  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3467 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.765670' WHERE "spree_products"."id" = 980 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 980) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:25.768330', "count_on_hand" = 53 WHERE "spree_products"."id" = 980 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 980 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1534.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 980 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3462) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 980)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.1ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1161.5ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (680.6ms) DELETE FROM "spree_option_types" SQL (3.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (110.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (230.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 981 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:29.909032' WHERE "spree_products"."id" = 981 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 981], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:29.910912' WHERE "spree_products"."id" = 981  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3468 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:29.912343' WHERE "spree_products"."id" = 981  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 981  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["product_id", nil], ["property_id", 877], ["updated_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:29.918745', "product_id" = 981 WHERE "spree_product_properties"."id" = 1064 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 981) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1240 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1240], ["updated_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 981 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (981, 2164) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1241 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1241], ["updated_at", Mon, 01 Oct 2012 15:12:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (981, 2165) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 981) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 981 AND "spree_option_types"."id" = 584 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 981) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["option_type_id", 584], ["position", 1], ["product_id", 981], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 584) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 584], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.145890' WHERE "spree_products"."id" = 981 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 981], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.147272' WHERE "spree_products"."id" = 981  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3469, 1165) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 584) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 584], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.151985' WHERE "spree_products"."id" = 981 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 981], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.175633' WHERE "spree_products"."id" = 981  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1166, 3470) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 584) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "PNG"], ["option_type_id", 584], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.181484' WHERE "spree_products"."id" = 981 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 981], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.182913' WHERE "spree_products"."id" = 981  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3471, 1167) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 981]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 981) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3469 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3470 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3471 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 981) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.195390' WHERE "spree_products"."id" = 981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3469 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.196354' WHERE "spree_products"."id" = 981 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.197500' WHERE "spree_products"."id" = 981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3470 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.198333' WHERE "spree_products"."id" = 981 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.199481' WHERE "spree_products"."id" = 981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3471 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.200288' WHERE "spree_products"."id" = 981 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 981) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.203045', "count_on_hand" = 25 WHERE "spree_products"."id" = 981 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 981 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.209950' WHERE "spree_products"."id" = 982 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 982], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.211762' WHERE "spree_products"."id" = 982  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3472 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.213048' WHERE "spree_products"."id" = 982  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 982  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["product_id", nil], ["property_id", 878], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:30.218712', "product_id" = 982 WHERE "spree_product_properties"."id" = 1065 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 982) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1240 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 982 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2164, 982) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1242 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1242], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2166, 982) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1240 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1240 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2164 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2164]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2164], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1240], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2164]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2167]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2167 THEN 2164 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2164]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2167]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1240 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2167 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2167]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2167], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1240], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2167]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2168]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2168 THEN 2167 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2167]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2168]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2167, 982)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2168, 982) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 982) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 982 AND "spree_option_types"."id" = 584 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 982) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["option_type_id", 584], ["position", 1], ["product_id", 982], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.359803' WHERE "spree_products"."id" = 982 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 982], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.360921' WHERE "spree_products"."id" = 982  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3473, 1165) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.363007' WHERE "spree_products"."id" = 982 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 982], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.363941' WHERE "spree_products"."id" = 982  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1166, 3474) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.366385' WHERE "spree_products"."id" = 982 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 982], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.367337' WHERE "spree_products"."id" = 982  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3475, 1167) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 982]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 982) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3473 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3474 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3475 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 982) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 982 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.380267' WHERE "spree_products"."id" = 982  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3473 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.381292' WHERE "spree_products"."id" = 982 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.382597' WHERE "spree_products"."id" = 982  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3474 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.383373' WHERE "spree_products"."id" = 982 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.384410' WHERE "spree_products"."id" = 982  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3475 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.385100' WHERE "spree_products"."id" = 982 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 982) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.387250', "count_on_hand" = 11 WHERE "spree_products"."id" = 982 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 982 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.393422' WHERE "spree_products"."id" = 983 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 983], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.394395' WHERE "spree_products"."id" = 983  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3476 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.395638' WHERE "spree_products"."id" = 983  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 983  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["product_id", nil], ["property_id", 879], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:30.401409', "product_id" = 983 WHERE "spree_product_properties"."id" = 1066 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["product_id", nil], ["property_id", 878], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:30.403966', "product_id" = 983 WHERE "spree_product_properties"."id" = 1067 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["product_id", nil], ["property_id", 880], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:12:30.406762', "product_id" = 983 WHERE "spree_product_properties"."id" = 1068 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 983) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1243 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1243], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 983 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (983, 2169) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1240 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1240 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2164 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2164]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2164], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1240], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2164]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2170]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2170 THEN 2164 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2164]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2170]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (983, 2170)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (983, 2164) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 983) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 983 AND "spree_option_types"."id" = 584 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 983) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["option_type_id", 584], ["position", 1], ["product_id", 983], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.429851' WHERE "spree_products"."id" = 983 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 983], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.430939' WHERE "spree_products"."id" = 983  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1165, 3477) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.433413' WHERE "spree_products"."id" = 983 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 983], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.434393' WHERE "spree_products"."id" = 983  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3478, 1166) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 584 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.436838' WHERE "spree_products"."id" = 983 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 983], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.438002' WHERE "spree_products"."id" = 983  (0.9ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1167, 3479) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 983]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 983 AND "spree_option_types"."id" = 585 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 983) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["option_type_id", 585], ["position", 2], ["product_id", 983], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 585 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 585) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "black_white"], ["option_type_id", 585], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.451109' WHERE "spree_products"."id" = 983 SQL (134.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 983], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.587237' WHERE "spree_products"."id" = 983  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1168, 3480) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 585 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 585) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00], ["name", "colour"], ["option_type_id", 585], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:12:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.592609' WHERE "spree_products"."id" = 983 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 983], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.593654' WHERE "spree_products"."id" = 983  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1169, 3481) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 983]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 983) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3477 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3478 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3479 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3480 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3481 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 983) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.609348' WHERE "spree_products"."id" = 983  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3477 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.610334' WHERE "spree_products"."id" = 983 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.611690' WHERE "spree_products"."id" = 983  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3478 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.612609' WHERE "spree_products"."id" = 983 Spree::Product Load (114.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.801197' WHERE "spree_products"."id" = 983  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3479 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.802274' WHERE "spree_products"."id" = 983 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.803444' WHERE "spree_products"."id" = 983  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3480 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.804262' WHERE "spree_products"."id" = 983 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.805352' WHERE "spree_products"."id" = 983  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3481 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.806310' WHERE "spree_products"."id" = 983 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 983) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:12:30.808889', "count_on_hand" = 53 WHERE "spree_products"."id" = 983 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 983 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (248.4ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3476) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 983)) Excel Loader processing 0 rows  (0.0ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 981) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3468) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 981)) ORDER BY "spree_assets".position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 981) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:12:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 981], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3468) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 981)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 981) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:12:32 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 981], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 981) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 981 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 982) LIMIT 1 Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3472) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 982)) ORDER BY "spree_assets".position Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 982) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:12:39 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 982], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 982) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 982 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 983) LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3476) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 983)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 983) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:12:47 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 983], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 983) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 983  (6.7ms) commit transaction Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (21.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 982 AND ("spree_variants".is_master = 't') LIMIT 1  (1.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3472) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 982)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3476) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 983)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 981 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3468) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 981)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 983]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 983 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3476) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 983)) Booted Spree using version 1.1.3 SQL (5227.7ms) DELETE FROM "spree_products" SQL (225.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (329.1ms) DELETE FROM "spree_option_types" SQL (346.3ms) DELETE FROM "spree_option_values" SQL (225.2ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (90.4ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (157.0ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (21.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 984 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.115117' WHERE "spree_products"."id" = 984 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 984], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.118455' WHERE "spree_products"."id" = 984  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3482 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.121948' WHERE "spree_products"."id" = 984  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 984  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 881], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:41.139425', "product_id" = 984 WHERE "spree_product_properties"."id" = 1069 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 984) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1244], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 984 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2171, 984) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1245 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1245], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.3ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2172, 984) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 984) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionType Exists (3.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 984 AND "spree_option_types"."id" = 586 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 984) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["option_type_id", 586], ["position", 1], ["product_id", 984], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 586) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 586], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.418805' WHERE "spree_products"."id" = 984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 984], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.420143' WHERE "spree_products"."id" = 984  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1170, 3483) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 586) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 586], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.426605' WHERE "spree_products"."id" = 984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 984], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.427900' WHERE "spree_products"."id" = 984  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1171, 3484) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 586) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 586], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.431762' WHERE "spree_products"."id" = 984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 984], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.433080' WHERE "spree_products"."id" = 984  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3485, 1172) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 984]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 984) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3483 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3484 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3485 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 984) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.458409' WHERE "spree_products"."id" = 984  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3483 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.459873' WHERE "spree_products"."id" = 984 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.460928' WHERE "spree_products"."id" = 984  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3484 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.461990' WHERE "spree_products"."id" = 984 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.463089' WHERE "spree_products"."id" = 984  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3485 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.463997' WHERE "spree_products"."id" = 984 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 984) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:16:41.466501' WHERE "spree_products"."id" = 984 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 984 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.473130' WHERE "spree_products"."id" = 985 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 985], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.473894' WHERE "spree_products"."id" = 985  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3486 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.475019' WHERE "spree_products"."id" = 985  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 985  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 882], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:41.480693', "product_id" = 985 WHERE "spree_product_properties"."id" = 1070 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 985) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 985 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2171, 985) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1246 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1246], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2173, 985) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1244 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2171 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2171]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2171], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1244], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2171]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2174]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2174 THEN 2171 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2171]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2174]] Spree::Taxon Load (1.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1244 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2174 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2174]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2174], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1244], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2174]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2175]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2175 THEN 2174 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2174]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2175]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2174, 985)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2175, 985) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 985) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 985 AND "spree_option_types"."id" = 586 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 985) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["option_type_id", 586], ["position", 1], ["product_id", 985], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.624146' WHERE "spree_products"."id" = 985 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 985], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.625615' WHERE "spree_products"."id" = 985  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1170, 3487) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.628005' WHERE "spree_products"."id" = 985 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 985], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.629146' WHERE "spree_products"."id" = 985  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3488, 1171) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.632146' WHERE "spree_products"."id" = 985 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 985], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.633146' WHERE "spree_products"."id" = 985  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3489, 1172) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 985]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 985) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3487 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3488 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3489 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 985) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 985 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.862758' WHERE "spree_products"."id" = 985  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3487 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.864149' WHERE "spree_products"."id" = 985 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.865275' WHERE "spree_products"."id" = 985  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3488 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.866017' WHERE "spree_products"."id" = 985 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 985 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.867070' WHERE "spree_products"."id" = 985  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3489 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.868135' WHERE "spree_products"."id" = 985 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 985) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:16:41.871041' WHERE "spree_products"."id" = 985 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 985 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.877556' WHERE "spree_products"."id" = 986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 986], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.878700' WHERE "spree_products"."id" = 986  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3490 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.880057' WHERE "spree_products"."id" = 986  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 986  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 883], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:41.885381', "product_id" = 986 WHERE "spree_product_properties"."id" = 1071 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 882], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:41.888117', "product_id" = 986 WHERE "spree_product_properties"."id" = 1072 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 884], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:41.890862', "product_id" = 986 WHERE "spree_product_properties"."id" = 1073 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 986) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1247 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1247], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 986 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (986, 2176) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1244 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2171 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2171]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2171], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1244], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2171]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2177]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2177 THEN 2171 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2171]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2177]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (986, 2177)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (986, 2171) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 986) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 986 AND "spree_option_types"."id" = 586 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 986) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["option_type_id", 586], ["position", 1], ["product_id", 986], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.918642' WHERE "spree_products"."id" = 986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 986], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.919907' WHERE "spree_products"."id" = 986  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3491, 1170) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.923262' WHERE "spree_products"."id" = 986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 986], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.924554' WHERE "spree_products"."id" = 986  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1171, 3492) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 586 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.927441' WHERE "spree_products"."id" = 986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 986], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.928449' WHERE "spree_products"."id" = 986  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3493, 1172) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 986]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 986 AND "spree_option_types"."id" = 587 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 986) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["option_type_id", 587], ["position", 2], ["product_id", 986], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 587 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 587) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 587], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.940737' WHERE "spree_products"."id" = 986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 986], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.942318' WHERE "spree_products"."id" = 986  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1173, 3494) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 587 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 587) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00], ["name", "colour"], ["option_type_id", 587], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.946549' WHERE "spree_products"."id" = 986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 986], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:41.947599' WHERE "spree_products"."id" = 986  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1174, 3495) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 986]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 986) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (19.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3491 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3492 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3493 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3494 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3495 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 986) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.085075' WHERE "spree_products"."id" = 986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3491 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.086137' WHERE "spree_products"."id" = 986 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.087346' WHERE "spree_products"."id" = 986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3492 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.088374' WHERE "spree_products"."id" = 986 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.089529' WHERE "spree_products"."id" = 986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3493 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.090368' WHERE "spree_products"."id" = 986 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.091958' WHERE "spree_products"."id" = 986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3494 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.092757' WHERE "spree_products"."id" = 986 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.094210' WHERE "spree_products"."id" = 986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3495 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.095037' WHERE "spree_products"."id" = 986 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 986) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:16:42.097576' WHERE "spree_products"."id" = 986 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 986 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (250.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 986 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3490) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 986)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.0ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (15.8ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (135.4ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (129.3ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 987 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.860164' WHERE "spree_products"."id" = 987 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 987], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.861679' WHERE "spree_products"."id" = 987  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3496 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:42.862895' WHERE "spree_products"."id" = 987  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (16.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 987  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["product_id", nil], ["property_id", 885], ["updated_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["value", nil]]  (3.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:42.887838', "product_id" = 987 WHERE "spree_product_properties"."id" = 1074 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 987) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00]] Spree::Taxon Load (1.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1248], ["updated_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 987 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2178, 987) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1249 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1249], ["updated_at", Mon, 01 Oct 2012 15:16:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.6ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2179, 987) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 987) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 987 AND "spree_option_types"."id" = 588 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 987) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["option_type_id", 588], ["position", 1], ["product_id", 987], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 588) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 588], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.136342' WHERE "spree_products"."id" = 987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 987], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.137862' WHERE "spree_products"."id" = 987  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3497, 1175) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 588) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 588], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 987 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.141970' WHERE "spree_products"."id" = 987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 987], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.142904' WHERE "spree_products"."id" = 987  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1176, 3498) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 588) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 588], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.171406' WHERE "spree_products"."id" = 987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 987], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.173061' WHERE "spree_products"."id" = 987  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3499, 1177) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 987]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 987) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3497 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3498 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3499 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 987) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.185648' WHERE "spree_products"."id" = 987  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3497 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.186861' WHERE "spree_products"."id" = 987 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 987 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.188095' WHERE "spree_products"."id" = 987  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3498 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.188842' WHERE "spree_products"."id" = 987 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.191067' WHERE "spree_products"."id" = 987  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3499 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.191928' WHERE "spree_products"."id" = 987 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 987) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:16:43.194883' WHERE "spree_products"."id" = 987 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 987 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 988 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.203553' WHERE "spree_products"."id" = 988 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 988], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.204499' WHERE "spree_products"."id" = 988  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3500 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.206154' WHERE "spree_products"."id" = 988  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (109.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 988  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["product_id", nil], ["property_id", 886], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:43.323170', "product_id" = 988 WHERE "spree_product_properties"."id" = 1075 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 988) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 988 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2178, 988) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1250 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1250], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2180, 988) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1248 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2178 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2178]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2178], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1248], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2178]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2181]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2181 THEN 2178 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2178]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2181]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1248 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2181 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2181]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2181], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1248], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2181]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2182]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2182 THEN 2181 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2181]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2182]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2181, 988)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2182, 988) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 988) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 988 AND "spree_option_types"."id" = 588 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 988) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["option_type_id", 588], ["position", 1], ["product_id", 988], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 988 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.352887' WHERE "spree_products"."id" = 988 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 988], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.353796' WHERE "spree_products"."id" = 988  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1175, 3501) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 988 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.356231' WHERE "spree_products"."id" = 988 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 988], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.357171' WHERE "spree_products"."id" = 988  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3502, 1176) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 988 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.359343' WHERE "spree_products"."id" = 988 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 988], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.360171' WHERE "spree_products"."id" = 988  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1177, 3503) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 988]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 988) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3501 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3502 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3503 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 988) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 988 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.372600' WHERE "spree_products"."id" = 988  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3501 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.373370' WHERE "spree_products"."id" = 988 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 988 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.374348' WHERE "spree_products"."id" = 988  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3502 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.375067' WHERE "spree_products"."id" = 988 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 988 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.375973' WHERE "spree_products"."id" = 988  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3503 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.376695' WHERE "spree_products"."id" = 988 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 988) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:16:43.378815' WHERE "spree_products"."id" = 988 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 988 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.385357' WHERE "spree_products"."id" = 989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 989], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.386305' WHERE "spree_products"."id" = 989  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3504 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.387371' WHERE "spree_products"."id" = 989  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 989  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["product_id", nil], ["property_id", 887], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:43.394781', "product_id" = 989 WHERE "spree_product_properties"."id" = 1076 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["product_id", nil], ["property_id", 886], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:43.397204', "product_id" = 989 WHERE "spree_product_properties"."id" = 1077 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["product_id", nil], ["property_id", 888], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:16:43.401610', "product_id" = 989 WHERE "spree_product_properties"."id" = 1078 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 989) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1251 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1251], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 989 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (989, 2183) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1248 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2178 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2178]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2178], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1248], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2178]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2184]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2184 THEN 2178 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2178]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2184]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (989, 2184)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (989, 2178) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 989) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 989 AND "spree_option_types"."id" = 588 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 989) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["option_type_id", 588], ["position", 1], ["product_id", 989], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.448257' WHERE "spree_products"."id" = 989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 989], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.449476' WHERE "spree_products"."id" = 989  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3505, 1175) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.452044' WHERE "spree_products"."id" = 989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 989], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.453016' WHERE "spree_products"."id" = 989  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1176, 3506) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 588 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.455777' WHERE "spree_products"."id" = 989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 989], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.457444' WHERE "spree_products"."id" = 989  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1177, 3507) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 989]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 989 AND "spree_option_types"."id" = 589 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 989) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["option_type_id", 589], ["position", 2], ["product_id", 989], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 589 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 589) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "black_white"], ["option_type_id", 589], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.469954' WHERE "spree_products"."id" = 989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 989], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.471960' WHERE "spree_products"."id" = 989  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1178, 3508) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 589 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 589) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00], ["name", "colour"], ["option_type_id", 589], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:16:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.476173' WHERE "spree_products"."id" = 989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 989], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.477381' WHERE "spree_products"."id" = 989  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1179, 3509) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 989]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 989) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3505 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3506 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3507 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3508 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3509 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 989) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.508909' WHERE "spree_products"."id" = 989  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3505 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.510173' WHERE "spree_products"."id" = 989 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.511449' WHERE "spree_products"."id" = 989  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3506 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.512579' WHERE "spree_products"."id" = 989 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.702977' WHERE "spree_products"."id" = 989  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3507 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.704391' WHERE "spree_products"."id" = 989 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.705440' WHERE "spree_products"."id" = 989  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3508 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.706367' WHERE "spree_products"."id" = 989 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.707461' WHERE "spree_products"."id" = 989  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3509 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:16:43.708504' WHERE "spree_products"."id" = 989 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 989) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:16:43.711094' WHERE "spree_products"."id" = 989 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 989 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (222.5ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3504) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 989)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (15.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 987) LIMIT 1 Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3496) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 987)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 987) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:16:44 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 987], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3496) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 987)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 987) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:16:45 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 987], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 987) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 987 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 988) LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3500) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 988)) ORDER BY "spree_assets".position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 988) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:16:53 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 988], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 988) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 988 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 989) LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3504) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 989)) ORDER BY "spree_assets".position Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 989) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:17:05 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 989], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 989) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 989  (4.0ms) commit transaction Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 988 AND ("spree_variants".is_master = 't') LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3500) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 988)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 987 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3496) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 987)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 989 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3504) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 989)) Booted Spree using version 1.1.3 SQL (256.6ms) DELETE FROM "spree_products" SQL (439.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.1ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (147.5ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:17:28 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:17:28 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 990 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.019496' WHERE "spree_products"."id" = 990 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 990], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.021465' WHERE "spree_products"."id" = 990  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3510 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.023598' WHERE "spree_products"."id" = 990  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 990  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["product_id", nil], ["property_id", 889], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 990, "updated_at" = '2012-10-01 15:17:29.040627' WHERE "spree_product_properties"."id" = 1079 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 990) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1252 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1252], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 990 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (990, 2185) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1253 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1253], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (990, 2186) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 990) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::OptionType Exists (1.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 990 AND "spree_option_types"."id" = 590 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 990) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["option_type_id", 590], ["position", 1], ["product_id", 990], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 590) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "jpeg"], ["option_type_id", 590], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 990 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.308574' WHERE "spree_products"."id" = 990 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 990], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.310038' WHERE "spree_products"."id" = 990  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1180, 3511) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 590) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "PDF"], ["option_type_id", 590], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.315902' WHERE "spree_products"."id" = 990 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 990], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.317072' WHERE "spree_products"."id" = 990  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1181, 3512) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 590) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "PNG"], ["option_type_id", 590], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.321187' WHERE "spree_products"."id" = 990 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 990], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.322544' WHERE "spree_products"."id" = 990  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1182, 3513) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 990]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 990) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3511 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3512 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3513 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 990) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.348948' WHERE "spree_products"."id" = 990  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3511 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.350139' WHERE "spree_products"."id" = 990 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.351206' WHERE "spree_products"."id" = 990  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3512 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.352222' WHERE "spree_products"."id" = 990 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.353221' WHERE "spree_products"."id" = 990  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3513 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.354048' WHERE "spree_products"."id" = 990 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 990) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.411792', "count_on_hand" = 25 WHERE "spree_products"."id" = 990 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 990 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.418816' WHERE "spree_products"."id" = 991 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 991], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.419836' WHERE "spree_products"."id" = 991  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3514 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.421067' WHERE "spree_products"."id" = 991  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 991  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["product_id", nil], ["property_id", 890], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 991, "updated_at" = '2012-10-01 15:17:29.426686' WHERE "spree_product_properties"."id" = 1080 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 991) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1252 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 991 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (991, 2185) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1254 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1254], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (991, 2187) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1252 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1252 AND "spree_taxons"."parent_id" = 2185 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2185]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2185], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1252], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2185]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2188]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2188 THEN 2185 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2185]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2188]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1252 AND "spree_taxons"."parent_id" = 2188 LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2188]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2188], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1252], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2188]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2189]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2189 THEN 2188 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2188]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2189]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (991, 2188)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (991, 2189) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 991) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 991 AND "spree_option_types"."id" = 590 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 991) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["option_type_id", 590], ["position", 1], ["product_id", 991], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.468836' WHERE "spree_products"."id" = 991 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 991], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.470376' WHERE "spree_products"."id" = 991  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1180, 3515) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.473358' WHERE "spree_products"."id" = 991 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 991], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.474315' WHERE "spree_products"."id" = 991  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3516, 1181) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.477363' WHERE "spree_products"."id" = 991 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 991], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.478633' WHERE "spree_products"."id" = 991  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1182, 3517) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 991]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 991) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3515 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3516 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3517 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 991) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 991 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.806841' WHERE "spree_products"."id" = 991  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3515 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.808443' WHERE "spree_products"."id" = 991 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.809901' WHERE "spree_products"."id" = 991  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3516 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.810779' WHERE "spree_products"."id" = 991 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.811842' WHERE "spree_products"."id" = 991  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3517 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.812627' WHERE "spree_products"."id" = 991 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 991) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.815159', "count_on_hand" = 11 WHERE "spree_products"."id" = 991 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 991 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.822441' WHERE "spree_products"."id" = 992 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 992], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.823442' WHERE "spree_products"."id" = 992  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3518 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.825020' WHERE "spree_products"."id" = 992  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 992  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["product_id", nil], ["property_id", 891], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 992, "updated_at" = '2012-10-01 15:17:29.830928' WHERE "spree_product_properties"."id" = 1081 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["product_id", nil], ["property_id", 890], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 992, "updated_at" = '2012-10-01 15:17:29.833490' WHERE "spree_product_properties"."id" = 1082 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["product_id", nil], ["property_id", 892], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 992, "updated_at" = '2012-10-01 15:17:29.836242' WHERE "spree_product_properties"."id" = 1083 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 992) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1255 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1255], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (1.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 992 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2190, 992) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1252 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1252 AND "spree_taxons"."parent_id" = 2185 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2185]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2185], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1252], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2185]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2191]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2191 THEN 2185 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2185]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2191]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2191, 992)  (0.3ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2185, 992) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 992) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 992 AND "spree_option_types"."id" = 590 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 992) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["option_type_id", 590], ["position", 1], ["product_id", 992], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.862434' WHERE "spree_products"."id" = 992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 992], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.863402' WHERE "spree_products"."id" = 992  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3519, 1180) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.866265' WHERE "spree_products"."id" = 992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 992], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.867112' WHERE "spree_products"."id" = 992  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1181, 3520) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 590 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.869821' WHERE "spree_products"."id" = 992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 992], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.870654' WHERE "spree_products"."id" = 992  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1182, 3521) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 992]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 992 AND "spree_option_types"."id" = 591 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 992) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["option_type_id", 591], ["position", 2], ["product_id", 992], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 591 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 591) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "black_white"], ["option_type_id", 591], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.882270' WHERE "spree_products"."id" = 992 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 992], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.883702' WHERE "spree_products"."id" = 992  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1183, 3522) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 591 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 591) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00], ["name", "colour"], ["option_type_id", 591], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.888278' WHERE "spree_products"."id" = 992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 992], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:29.889140' WHERE "spree_products"."id" = 992  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1184, 3523) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 992]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 992) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3519 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3520 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3521 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3522 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3523 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 992) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.041408' WHERE "spree_products"."id" = 992  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3519 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.042407' WHERE "spree_products"."id" = 992 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.043459' WHERE "spree_products"."id" = 992  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3520 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.044288' WHERE "spree_products"."id" = 992 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.045322' WHERE "spree_products"."id" = 992  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3521 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.046406' WHERE "spree_products"."id" = 992 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.047845' WHERE "spree_products"."id" = 992  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3522 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.048649' WHERE "spree_products"."id" = 992 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.049804' WHERE "spree_products"."id" = 992  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3523 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.050694' WHERE "spree_products"."id" = 992 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 992) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.053054', "count_on_hand" = 53 WHERE "spree_products"."id" = 992 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 992 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (334.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 992 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3518) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 992)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.0ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (145.8ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (118.4ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.4ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 993 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.904959' WHERE "spree_products"."id" = 993 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 993], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.906455' WHERE "spree_products"."id" = 993  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3524 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:30.934326' WHERE "spree_products"."id" = 993  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 993  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["product_id", nil], ["property_id", 893], ["updated_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 993, "updated_at" = '2012-10-01 15:17:30.944386' WHERE "spree_product_properties"."id" = 1084 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 993) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1256 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1256], ["updated_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 993 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (993, 2192) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1257 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1257], ["updated_at", Mon, 01 Oct 2012 15:17:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (2.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (993, 2193) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 993) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::OptionType Exists (1.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 993 AND "spree_option_types"."id" = 592 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 993) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["option_type_id", 592], ["position", 1], ["product_id", 993], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 592) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 592], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.221792' WHERE "spree_products"."id" = 993 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 993], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.222845' WHERE "spree_products"."id" = 993  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3525, 1185) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 592) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 592], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.477489' WHERE "spree_products"."id" = 993 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 993], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.478449' WHERE "spree_products"."id" = 993  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1186, 3526) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 592) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 592], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.482308' WHERE "spree_products"."id" = 993 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 993], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.483367' WHERE "spree_products"."id" = 993  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1187, 3527) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 993]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 993) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3525 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3526 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3527 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 993) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.493568' WHERE "spree_products"."id" = 993  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3525 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.494751' WHERE "spree_products"."id" = 993 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.496162' WHERE "spree_products"."id" = 993  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3526 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.496695' WHERE "spree_products"."id" = 993 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.498266' WHERE "spree_products"."id" = 993  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3527 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.499280' WHERE "spree_products"."id" = 993 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 993) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.501866', "count_on_hand" = 25 WHERE "spree_products"."id" = 993 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 993 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.508855' WHERE "spree_products"."id" = 994 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 994], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.510024' WHERE "spree_products"."id" = 994  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3528 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.511066' WHERE "spree_products"."id" = 994  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 994  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["product_id", nil], ["property_id", 894], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 994, "updated_at" = '2012-10-01 15:17:31.516447' WHERE "spree_product_properties"."id" = 1085 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 994) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1256 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 994 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2192, 994) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1258 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1258], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2194, 994) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1256 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 1256 AND "spree_taxons"."parent_id" = 2192 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2192]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2192], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1256], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2192]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2195]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2195 THEN 2192 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2192]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2195]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 1256 AND "spree_taxons"."parent_id" = 2195 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2195]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2195], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1256], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2195]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2196]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2196 THEN 2195 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2195]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2196]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2195, 994)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2196, 994) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 994) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 994 AND "spree_option_types"."id" = 592 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 994) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["option_type_id", 592], ["position", 1], ["product_id", 994], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.544997' WHERE "spree_products"."id" = 994 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 994], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.546089' WHERE "spree_products"."id" = 994  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3529, 1185) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.548510' WHERE "spree_products"."id" = 994 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 994], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.549355' WHERE "spree_products"."id" = 994  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1186, 3530) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 994 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.551846' WHERE "spree_products"."id" = 994 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 994], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.552787' WHERE "spree_products"."id" = 994  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3531, 1187) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 994]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 994) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3529 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3530 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3531 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 994) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.566344' WHERE "spree_products"."id" = 994  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3529 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.567401' WHERE "spree_products"."id" = 994 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.568445' WHERE "spree_products"."id" = 994  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3530 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.569409' WHERE "spree_products"."id" = 994 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.570835' WHERE "spree_products"."id" = 994  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3531 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.571686' WHERE "spree_products"."id" = 994 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 994) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.686668', "count_on_hand" = 11 WHERE "spree_products"."id" = 994 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 994 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.694678' WHERE "spree_products"."id" = 995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 995], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.695807' WHERE "spree_products"."id" = 995  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3532 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.696869' WHERE "spree_products"."id" = 995  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 995  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["product_id", nil], ["property_id", 895], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 995, "updated_at" = '2012-10-01 15:17:31.702869' WHERE "spree_product_properties"."id" = 1086 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["product_id", nil], ["property_id", 894], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 995, "updated_at" = '2012-10-01 15:17:31.705419' WHERE "spree_product_properties"."id" = 1087 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["product_id", nil], ["property_id", 896], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 995, "updated_at" = '2012-10-01 15:17:31.709150' WHERE "spree_product_properties"."id" = 1088 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 995) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1259 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1259], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 995 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (995, 2197) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1256 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 1256 AND "spree_taxons"."parent_id" = 2192 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2192]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2192], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1256], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2192]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2198]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2198 THEN 2192 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2192]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2198]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (995, 2198)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (995, 2192) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 995) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 995 AND "spree_option_types"."id" = 592 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 995) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["option_type_id", 592], ["position", 1], ["product_id", 995], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.733867' WHERE "spree_products"."id" = 995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 995], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.735008' WHERE "spree_products"."id" = 995  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1185, 3533) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.737467' WHERE "spree_products"."id" = 995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 995], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.738475' WHERE "spree_products"."id" = 995  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1186, 3534) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 592 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.741925' WHERE "spree_products"."id" = 995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 995], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.743145' WHERE "spree_products"."id" = 995  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1187, 3535) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 995]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 995 AND "spree_option_types"."id" = 593 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 995) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["option_type_id", 593], ["position", 2], ["product_id", 995], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]] Spree::OptionValue Load (0.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 593 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 593) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 593], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.756957' WHERE "spree_products"."id" = 995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 995], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.758314' WHERE "spree_products"."id" = 995  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1188, 3536) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 593 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 593) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00], ["name", "colour"], ["option_type_id", 593], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:17:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.762868' WHERE "spree_products"."id" = 995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 995], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.764304' WHERE "spree_products"."id" = 995  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3537, 1189) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 995]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 995) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3533 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3534 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3535 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3536 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3537 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 995) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.797287' WHERE "spree_products"."id" = 995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3533 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.798258' WHERE "spree_products"."id" = 995 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.799870' WHERE "spree_products"."id" = 995  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3534 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:31.806746' WHERE "spree_products"."id" = 995 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:32.063304' WHERE "spree_products"."id" = 995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3535 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:32.064499' WHERE "spree_products"."id" = 995 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:32.066483' WHERE "spree_products"."id" = 995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3536 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:32.067316' WHERE "spree_products"."id" = 995 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:32.068471' WHERE "spree_products"."id" = 995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3537 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:32.069713' WHERE "spree_products"."id" = 995 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 995) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:17:32.072690', "count_on_hand" = 53 WHERE "spree_products"."id" = 995 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 995 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (378.0ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3532) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 995)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 993) LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3524) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 993)) ORDER BY "spree_assets".position Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 993) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:17:32 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 993], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3524) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 993)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 993) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:17:33 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 993], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 993) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 993 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 994) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3528) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 994)) ORDER BY "spree_assets".position Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 994) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:17:44 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 994], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 994) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 994 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 995) LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3532) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 995)) ORDER BY "spree_assets".position Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 995) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:17:54 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 995], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 995) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 995  (4.3ms) commit transaction Spree::Image Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 995 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3532) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 995)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 994 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3528) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 994)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 993 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3524) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 993)) Booted Spree using version 1.1.3 SQL (1226.7ms) DELETE FROM "spree_products" SQL (341.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (253.5ms) DELETE FROM "spree_option_types" SQL (496.8ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (355.0ms) DELETE FROM "spree_product_properties" SQL (370.7ms) DELETE FROM "spree_variants" SQL (153.8ms) DELETE FROM "spree_taxons" SQL (216.5ms) DELETE FROM "spree_taxonomies" SQL (123.5ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (2.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (6.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 996 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.208831' WHERE "spree_products"."id" = 996 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 996], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.211553' WHERE "spree_products"."id" = 996  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3538 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.213732' WHERE "spree_products"."id" = 996  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 996  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["product_id", nil], ["property_id", 897], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:18:47.233959', "product_id" = 996 WHERE "spree_product_properties"."id" = 1089 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 996) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1260 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1260], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 996 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (996, 2199) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1261 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1261], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (996, 2200) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 996) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 996 AND "spree_option_types"."id" = 594 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 996) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["option_type_id", 594], ["position", 1], ["product_id", 996], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 594) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 594], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.502379' WHERE "spree_products"."id" = 996 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 996], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.503730' WHERE "spree_products"."id" = 996  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3539, 1190) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 594) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 594], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.509924' WHERE "spree_products"."id" = 996 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 996], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.510911' WHERE "spree_products"."id" = 996  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1191, 3540) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 594) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 594], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.515406' WHERE "spree_products"."id" = 996 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 996], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.516503' WHERE "spree_products"."id" = 996  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3541, 1192) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 996]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 996) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3539 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3540 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3541 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 996) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 996 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.541766' WHERE "spree_products"."id" = 996  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3539 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.542800' WHERE "spree_products"."id" = 996 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.543964' WHERE "spree_products"."id" = 996  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3540 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.544837' WHERE "spree_products"."id" = 996 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.545780' WHERE "spree_products"."id" = 996  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3541 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.546468' WHERE "spree_products"."id" = 996 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 996) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:18:47.548964' WHERE "spree_products"."id" = 996 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 996 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.554949' WHERE "spree_products"."id" = 997 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 997], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.555930' WHERE "spree_products"."id" = 997  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3542 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.556964' WHERE "spree_products"."id" = 997  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 997  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["product_id", nil], ["property_id", 898], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:18:47.562502', "product_id" = 997 WHERE "spree_product_properties"."id" = 1090 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 997) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1260 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 997 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2199, 997) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1262 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1262], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2201, 997) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1260 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1260 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2199 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2199]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2199], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1260], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2199]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2202]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2202 THEN 2199 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2199]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2202]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1260 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2202 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2202]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2202], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1260], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2202]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2203]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2203 THEN 2202 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2202]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2203]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2202, 997)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2203, 997) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 997) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 997 AND "spree_option_types"."id" = 594 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 997) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["option_type_id", 594], ["position", 1], ["product_id", 997], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.595312' WHERE "spree_products"."id" = 997 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 997], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.596525' WHERE "spree_products"."id" = 997  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1190, 3543) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.599157' WHERE "spree_products"."id" = 997 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 997], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.600184' WHERE "spree_products"."id" = 997  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1191, 3544) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 997 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.708819' WHERE "spree_products"."id" = 997 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 997], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.710501' WHERE "spree_products"."id" = 997  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1192, 3545) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 997]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 997) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3543 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3544 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3545 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 997) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.793139' WHERE "spree_products"."id" = 997  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3543 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.794821' WHERE "spree_products"."id" = 997 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.795776' WHERE "spree_products"."id" = 997  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3544 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.796597' WHERE "spree_products"."id" = 997 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.797926' WHERE "spree_products"."id" = 997  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3545 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.798600' WHERE "spree_products"."id" = 997 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 997) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:18:47.800760' WHERE "spree_products"."id" = 997 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 997 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (110.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.806873' WHERE "spree_products"."id" = 998 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 998], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.918450' WHERE "spree_products"."id" = 998  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3546 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.920115' WHERE "spree_products"."id" = 998  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 998  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["product_id", nil], ["property_id", 899], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:18:47.926431', "product_id" = 998 WHERE "spree_product_properties"."id" = 1091 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["product_id", nil], ["property_id", 898], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:18:47.928912', "product_id" = 998 WHERE "spree_product_properties"."id" = 1092 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["product_id", nil], ["property_id", 900], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:18:47.933281', "product_id" = 998 WHERE "spree_product_properties"."id" = 1093 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 998) LIMIT 1 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1263 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1263], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 998 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (998, 2204) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1260 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1260 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2199 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2199]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2199], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1260], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2199]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2205]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2205 THEN 2199 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2199]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2205]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (998, 2205)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (998, 2199) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 998) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 998 AND "spree_option_types"."id" = 594 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 998) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["option_type_id", 594], ["position", 1], ["product_id", 998], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.958743' WHERE "spree_products"."id" = 998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 998], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.959970' WHERE "spree_products"."id" = 998  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3547, 1190) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.962183' WHERE "spree_products"."id" = 998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 998], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.963342' WHERE "spree_products"."id" = 998  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3548, 1191) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 594 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.965856' WHERE "spree_products"."id" = 998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 998], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.966934' WHERE "spree_products"."id" = 998  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1192, 3549) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 998]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 998 AND "spree_option_types"."id" = 595 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 998) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["option_type_id", 595], ["position", 2], ["product_id", 998], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 595 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 595) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 595], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.979084' WHERE "spree_products"."id" = 998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 998], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.981970' WHERE "spree_products"."id" = 998  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1193, 3550) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 595 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 595) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00], ["name", "colour"], ["option_type_id", 595], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:18:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.986780' WHERE "spree_products"."id" = 998 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 998], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:47.987901' WHERE "spree_products"."id" = 998  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1194, 3551) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 998]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 998) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3547 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3548 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3549 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3550 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3551 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 998) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.002166' WHERE "spree_products"."id" = 998  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3547 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.003748' WHERE "spree_products"."id" = 998 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.004971' WHERE "spree_products"."id" = 998  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3548 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.005971' WHERE "spree_products"."id" = 998 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.006824' WHERE "spree_products"."id" = 998  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3549 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.008284' WHERE "spree_products"."id" = 998 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.009437' WHERE "spree_products"."id" = 998  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3550 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.010177' WHERE "spree_products"."id" = 998 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.011278' WHERE "spree_products"."id" = 998  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3551 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:18:48.011971' WHERE "spree_products"."id" = 998 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 998) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:18:48.015888' WHERE "spree_products"."id" = 998 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 998 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (375.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 998 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3546) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 998)) Excel Loader processing 0 rows  (0.0ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.4ms) commit transaction Spree::Image Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (5.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 999 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.411641' WHERE "spree_products"."id" = 999 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 999], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.413340' WHERE "spree_products"."id" = 999  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3552 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.415142' WHERE "spree_products"."id" = 999  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 999  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["product_id", nil], ["property_id", 901], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:33:32.432327', "product_id" = 999 WHERE "spree_product_properties"."id" = 1094 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 999) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1264 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1264], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 999 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (999, 2206) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1265 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1265], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (999, 2207) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 999) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.8ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 999 AND "spree_option_types"."id" = 596 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 999) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["option_type_id", 596], ["position", 1], ["product_id", 999], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 596) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "jpeg"], ["option_type_id", 596], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.578205' WHERE "spree_products"."id" = 999 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 999], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.579742' WHERE "spree_products"."id" = 999  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1195, 3553) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 596) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "PDF"], ["option_type_id", 596], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 999 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.587339' WHERE "spree_products"."id" = 999 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 999], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.588550' WHERE "spree_products"."id" = 999  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3554, 1196) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 596) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "PNG"], ["option_type_id", 596], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.593303' WHERE "spree_products"."id" = 999 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 999], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.594742' WHERE "spree_products"."id" = 999  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1197, 3555) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 999]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 999) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3553 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3554 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3555 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 999) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.623643' WHERE "spree_products"."id" = 999  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3553 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.624705' WHERE "spree_products"."id" = 999 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 999 LIMIT 1 SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.625692' WHERE "spree_products"."id" = 999  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3554 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.627471' WHERE "spree_products"."id" = 999 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.628439' WHERE "spree_products"."id" = 999  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3555 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.629242' WHERE "spree_products"."id" = 999 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 999) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.631113', "count_on_hand" = 25 WHERE "spree_products"."id" = 999 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 999 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.638181' WHERE "spree_products"."id" = 1000 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1000], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.639094' WHERE "spree_products"."id" = 1000  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3556 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.640507' WHERE "spree_products"."id" = 1000  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1000  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["product_id", nil], ["property_id", 902], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:33:32.646743', "product_id" = 1000 WHERE "spree_product_properties"."id" = 1095 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1000) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1264 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1000 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2206, 1000) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1266 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1266], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2208, 1000) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1264 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1264 AND "spree_taxons"."parent_id" = 2206 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2206]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2206], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1264], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2206]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2209]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2209 THEN 2206 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2206]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2209]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1264 AND "spree_taxons"."parent_id" = 2209 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2209]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2209], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1264], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2209]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2210]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2210 THEN 2209 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2209]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2210]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2209, 1000)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2210, 1000) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1000) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1000 AND "spree_option_types"."id" = 596 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1000) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["option_type_id", 596], ["position", 1], ["product_id", 1000], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.681902' WHERE "spree_products"."id" = 1000 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1000], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.683500' WHERE "spree_products"."id" = 1000  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3557, 1195) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.686744' WHERE "spree_products"."id" = 1000 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1000], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.688181' WHERE "spree_products"."id" = 1000  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3558, 1196) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.691186' WHERE "spree_products"."id" = 1000 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1000], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.692591' WHERE "spree_products"."id" = 1000  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1197, 3559) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1000]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1000) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3557 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3558 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3559 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1000) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1000 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.791512' WHERE "spree_products"."id" = 1000  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3557 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.793363' WHERE "spree_products"."id" = 1000 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.794457' WHERE "spree_products"."id" = 1000  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3558 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.795329' WHERE "spree_products"."id" = 1000 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.796417' WHERE "spree_products"."id" = 1000  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3559 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.797570' WHERE "spree_products"."id" = 1000 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1000) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.800064', "count_on_hand" = 11 WHERE "spree_products"."id" = 1000 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1000 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.808225' WHERE "spree_products"."id" = 1001 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1001], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.809746' WHERE "spree_products"."id" = 1001  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3560 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.811121' WHERE "spree_products"."id" = 1001  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1001  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["product_id", nil], ["property_id", 903], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:33:32.819746', "product_id" = 1001 WHERE "spree_product_properties"."id" = 1096 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["product_id", nil], ["property_id", 902], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:33:32.822242', "product_id" = 1001 WHERE "spree_product_properties"."id" = 1097 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["product_id", nil], ["property_id", 904], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:33:32.825597', "product_id" = 1001 WHERE "spree_product_properties"."id" = 1098 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1001) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1267], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1001 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1001, 2211) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1264 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1264 AND "spree_taxons"."parent_id" = 2206 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2206]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2206], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1264], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2206]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2212]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2212 THEN 2206 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2206]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2212]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1001, 2212)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1001, 2206) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1001) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1001 AND "spree_option_types"."id" = 596 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1001) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["option_type_id", 596], ["position", 1], ["product_id", 1001], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.849869' WHERE "spree_products"."id" = 1001 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1001], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.851062' WHERE "spree_products"."id" = 1001  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1195, 3561) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.853464' WHERE "spree_products"."id" = 1001 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1001], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.854624' WHERE "spree_products"."id" = 1001  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3562, 1196) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 596 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.856843' WHERE "spree_products"."id" = 1001 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1001], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.858075' WHERE "spree_products"."id" = 1001  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1197, 3563) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1001]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1001 AND "spree_option_types"."id" = 597 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1001) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["option_type_id", 597], ["position", 2], ["product_id", 1001], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 597 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 597) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "black_white"], ["option_type_id", 597], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]]  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.871017' WHERE "spree_products"."id" = 1001 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1001], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.872481' WHERE "spree_products"."id" = 1001  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3564, 1198) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 597 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 597) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00], ["name", "colour"], ["option_type_id", 597], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:33:32 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.878519' WHERE "spree_products"."id" = 1001 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1001], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.879747' WHERE "spree_products"."id" = 1001  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1199, 3565) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1001]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1001) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3561 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3562 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3563 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3564 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3565 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1001) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.911444' WHERE "spree_products"."id" = 1001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3561 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.912521' WHERE "spree_products"."id" = 1001 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.913834' WHERE "spree_products"."id" = 1001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3562 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.914568' WHERE "spree_products"."id" = 1001 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.916011' WHERE "spree_products"."id" = 1001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3563 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.916747' WHERE "spree_products"."id" = 1001 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.918463' WHERE "spree_products"."id" = 1001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3564 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.920010' WHERE "spree_products"."id" = 1001 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.921212' WHERE "spree_products"."id" = 1001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3565 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.922188' WHERE "spree_products"."id" = 1001 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1001) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:33:32.925875', "count_on_hand" = 53 WHERE "spree_products"."id" = 1001 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1001 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.5ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1001 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3560) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1001)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (6.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: #  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (2.9ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1002 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:56.885135' WHERE "spree_products"."id" = 1002 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1002], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:56.886685' WHERE "spree_products"."id" = 1002  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3566 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:56.889075' WHERE "spree_products"."id" = 1002  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1002  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["product_id", nil], ["property_id", 905], ["updated_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:34:56.927865', "product_id" = 1002 WHERE "spree_product_properties"."id" = 1099 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1002) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1268], ["updated_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1002 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2213, 1002) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1269 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1269], ["updated_at", Mon, 01 Oct 2012 15:34:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2214, 1002) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1002) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1002 AND "spree_option_types"."id" = 598 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1002) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["option_type_id", 598], ["position", 1], ["product_id", 1002], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 598) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "jpeg"], ["option_type_id", 598], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.089932' WHERE "spree_products"."id" = 1002 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1002], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.091485' WHERE "spree_products"."id" = 1002  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1200, 3567) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 598) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "PDF"], ["option_type_id", 598], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.097615' WHERE "spree_products"."id" = 1002 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1002], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.098762' WHERE "spree_products"."id" = 1002  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3568, 1201) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 598) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "PNG"], ["option_type_id", 598], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.105173' WHERE "spree_products"."id" = 1002 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1002], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.106385' WHERE "spree_products"."id" = 1002  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1202, 3569) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1002]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1002) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3567 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (15.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3569 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1002) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.152889' WHERE "spree_products"."id" = 1002  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3567 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.153871' WHERE "spree_products"."id" = 1002 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.155225' WHERE "spree_products"."id" = 1002  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3568 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.156186' WHERE "spree_products"."id" = 1002 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.157435' WHERE "spree_products"."id" = 1002  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3569 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.158235' WHERE "spree_products"."id" = 1002 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1002) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.160836', "count_on_hand" = 25 WHERE "spree_products"."id" = 1002 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1002 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.169148' WHERE "spree_products"."id" = 1003 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1003], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.170268' WHERE "spree_products"."id" = 1003  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3570 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.171424' WHERE "spree_products"."id" = 1003  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1003  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["product_id", nil], ["property_id", 906], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:34:57.177502', "product_id" = 1003 WHERE "spree_product_properties"."id" = 1100 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1003) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1003 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1003, 2213) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1270 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1270], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1003, 2215) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1268 AND "spree_taxons"."parent_id" = 2213 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2213]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2213], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1268], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2213]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2216]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2216 THEN 2213 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2213]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2216]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1268 AND "spree_taxons"."parent_id" = 2216 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2216]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2216], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1268], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2216]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2217]] SQL (2.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2217 THEN 2216 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2216]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2217]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1003, 2216)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1003, 2217) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1003) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1003 AND "spree_option_types"."id" = 598 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1003) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["option_type_id", 598], ["position", 1], ["product_id", 1003], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.215189' WHERE "spree_products"."id" = 1003 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1003], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.216460' WHERE "spree_products"."id" = 1003  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3571, 1200) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.219272' WHERE "spree_products"."id" = 1003 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1003], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.220330' WHERE "spree_products"."id" = 1003  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3572, 1201) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.224017' WHERE "spree_products"."id" = 1003 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1003], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.225203' WHERE "spree_products"."id" = 1003  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3573, 1202) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1003]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1003) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3571 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3573 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1003) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.359067' WHERE "spree_products"."id" = 1003  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3571 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.360757' WHERE "spree_products"."id" = 1003 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.361772' WHERE "spree_products"."id" = 1003  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3572 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.362525' WHERE "spree_products"."id" = 1003 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1003 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.363458' WHERE "spree_products"."id" = 1003  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3573 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.364227' WHERE "spree_products"."id" = 1003 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1003) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.366729', "count_on_hand" = 11 WHERE "spree_products"."id" = 1003 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1003 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.372463' WHERE "spree_products"."id" = 1004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1004], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.373483' WHERE "spree_products"."id" = 1004  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3574 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.374667' WHERE "spree_products"."id" = 1004  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1004  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["product_id", nil], ["property_id", 907], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:34:57.390278', "product_id" = 1004 WHERE "spree_product_properties"."id" = 1101 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["product_id", nil], ["property_id", 906], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:34:57.393436', "product_id" = 1004 WHERE "spree_product_properties"."id" = 1102 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["product_id", nil], ["property_id", 908], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:34:57.396279', "product_id" = 1004 WHERE "spree_product_properties"."id" = 1103 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1004) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1271], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1004 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1004, 2218) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1268 AND "spree_taxons"."parent_id" = 2213 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2213]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2213], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1268], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2213]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2219]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2219 THEN 2213 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2213]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2219]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1004, 2219)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1004, 2213) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1004) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1004 AND "spree_option_types"."id" = 598 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1004) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["option_type_id", 598], ["position", 1], ["product_id", 1004], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.420403' WHERE "spree_products"."id" = 1004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1004], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.421264' WHERE "spree_products"."id" = 1004  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1200, 3575) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.423585' WHERE "spree_products"."id" = 1004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1004], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.425135' WHERE "spree_products"."id" = 1004  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1201, 3576) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 598 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.427217' WHERE "spree_products"."id" = 1004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1004], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.428172' WHERE "spree_products"."id" = 1004  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1202, 3577) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1004]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1004 AND "spree_option_types"."id" = 599 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1004) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["option_type_id", 599], ["position", 2], ["product_id", 1004], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 599 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 599) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "black_white"], ["option_type_id", 599], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.441661' WHERE "spree_products"."id" = 1004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1004], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.443261' WHERE "spree_products"."id" = 1004  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3578, 1203) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 599 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 599) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00], ["name", "colour"], ["option_type_id", 599], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:34:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.447882' WHERE "spree_products"."id" = 1004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1004], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.448965' WHERE "spree_products"."id" = 1004  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3579, 1204) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1004]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1004) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3575 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3576 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3577 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3578 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3579 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1004) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.477218' WHERE "spree_products"."id" = 1004  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3575 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.477674' WHERE "spree_products"."id" = 1004 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.478884' WHERE "spree_products"."id" = 1004  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3576 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.480445' WHERE "spree_products"."id" = 1004 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.481371' WHERE "spree_products"."id" = 1004  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3577 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.482191' WHERE "spree_products"."id" = 1004 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.483291' WHERE "spree_products"."id" = 1004  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3578 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.484074' WHERE "spree_products"."id" = 1004 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.485107' WHERE "spree_products"."id" = 1004  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3579 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.485853' WHERE "spree_products"."id" = 1004 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1004) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:34:57.487851', "count_on_hand" = 53 WHERE "spree_products"."id" = 1004 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1004 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1004 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3574) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1004)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.1ms) commit transaction Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.4ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (13.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1005 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.078777' WHERE "spree_products"."id" = 1005 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1005], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.081066' WHERE "spree_products"."id" = 1005  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3580 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.082942' WHERE "spree_products"."id" = 1005  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1005  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["product_id", nil], ["property_id", 909], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1005, "updated_at" = '2012-10-01 15:35:26.119144' WHERE "spree_product_properties"."id" = 1104 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1005) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1272], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1005 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2220, 1005) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1273 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1273], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2221, 1005) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1005) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1005 AND "spree_option_types"."id" = 600 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1005) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["option_type_id", 600], ["position", 1], ["product_id", 1005], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 600) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "jpeg"], ["option_type_id", 600], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.295572' WHERE "spree_products"."id" = 1005 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1005], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.297128' WHERE "spree_products"."id" = 1005  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1205, 3581) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 600) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "PDF"], ["option_type_id", 600], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.303314' WHERE "spree_products"."id" = 1005 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1005], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.304573' WHERE "spree_products"."id" = 1005  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3582, 1206) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 600) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "PNG"], ["option_type_id", 600], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1005 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.309733' WHERE "spree_products"."id" = 1005 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1005], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.312384' WHERE "spree_products"."id" = 1005  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1207, 3583) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1005]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1005) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3581 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3582 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3583 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1005) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.360962' WHERE "spree_products"."id" = 1005  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3581 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.361730' WHERE "spree_products"."id" = 1005 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.362769' WHERE "spree_products"."id" = 1005  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3582 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.364132' WHERE "spree_products"."id" = 1005 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.365580' WHERE "spree_products"."id" = 1005  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3583 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.366385' WHERE "spree_products"."id" = 1005 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1005) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.368812', "count_on_hand" = 25 WHERE "spree_products"."id" = 1005 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1005 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.376385' WHERE "spree_products"."id" = 1006 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1006], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.377281' WHERE "spree_products"."id" = 1006  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3584 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.378910' WHERE "spree_products"."id" = 1006  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1006  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["product_id", nil], ["property_id", 910], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1006, "updated_at" = '2012-10-01 15:35:26.384569' WHERE "spree_product_properties"."id" = 1105 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1006) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1006 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1006, 2220) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1274 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1274], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1006, 2222) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1272 AND "spree_taxons"."parent_id" = 2220 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2220]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2220], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1272], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2220]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2223]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2223 THEN 2220 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2220]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2223]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1272 AND "spree_taxons"."parent_id" = 2223 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2223]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2223], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1272], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2223]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2224]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2224 THEN 2223 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2223]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2224]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1006, 2223)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1006, 2224) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1006) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1006 AND "spree_option_types"."id" = 600 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1006) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["option_type_id", 600], ["position", 1], ["product_id", 1006], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.416325' WHERE "spree_products"."id" = 1006 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1006], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.417618' WHERE "spree_products"."id" = 1006  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1205, 3585) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.420386' WHERE "spree_products"."id" = 1006 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1006], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.421549' WHERE "spree_products"."id" = 1006  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3586, 1206) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1006 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.424353' WHERE "spree_products"."id" = 1006 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1006], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.425726' WHERE "spree_products"."id" = 1006  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1207, 3587) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1006]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1006) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3585 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3586 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3587 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (16.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1006) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1006 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.534219' WHERE "spree_products"."id" = 1006  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3585 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.535221' WHERE "spree_products"."id" = 1006 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.536343' WHERE "spree_products"."id" = 1006  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3586 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.537141' WHERE "spree_products"."id" = 1006 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.538456' WHERE "spree_products"."id" = 1006  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3587 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.539184' WHERE "spree_products"."id" = 1006 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1006) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.541727', "count_on_hand" = 11 WHERE "spree_products"."id" = 1006 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1006 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.547958' WHERE "spree_products"."id" = 1007 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1007], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.549085' WHERE "spree_products"."id" = 1007  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3588 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.550506' WHERE "spree_products"."id" = 1007  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (18.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1007  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["product_id", nil], ["property_id", 911], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1007, "updated_at" = '2012-10-01 15:35:26.575859' WHERE "spree_product_properties"."id" = 1106 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["product_id", nil], ["property_id", 910], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1007, "updated_at" = '2012-10-01 15:35:26.579001' WHERE "spree_product_properties"."id" = 1107 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["product_id", nil], ["property_id", 912], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1007, "updated_at" = '2012-10-01 15:35:26.582313' WHERE "spree_product_properties"."id" = 1108 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1007) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1275], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1007 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2225, 1007) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1272 AND "spree_taxons"."parent_id" = 2220 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2220]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2220], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1272], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2220]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2226]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2226 THEN 2220 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2220]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2226]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2226, 1007)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2220, 1007) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1007) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1007 AND "spree_option_types"."id" = 600 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1007) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["option_type_id", 600], ["position", 1], ["product_id", 1007], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.607143' WHERE "spree_products"."id" = 1007 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1007], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.608354' WHERE "spree_products"."id" = 1007  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1205, 3589) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.610744' WHERE "spree_products"."id" = 1007 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1007], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.612006' WHERE "spree_products"."id" = 1007  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1206, 3590) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 600 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.614185' WHERE "spree_products"."id" = 1007 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1007], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.615224' WHERE "spree_products"."id" = 1007  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3591, 1207) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1007]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1007 AND "spree_option_types"."id" = 601 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1007) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["option_type_id", 601], ["position", 2], ["product_id", 1007], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 601 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 601) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "black_white"], ["option_type_id", 601], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.627058' WHERE "spree_products"."id" = 1007 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1007], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.628136' WHERE "spree_products"."id" = 1007  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3592, 1208) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 601 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 601) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00], ["name", "colour"], ["option_type_id", 601], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:35:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.635038' WHERE "spree_products"."id" = 1007 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1007], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.636179' WHERE "spree_products"."id" = 1007  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3593, 1209) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1007]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1007) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3589 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3590 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3591 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3592 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3593 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1007) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.664917' WHERE "spree_products"."id" = 1007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3589 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.665814' WHERE "spree_products"."id" = 1007 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.667028' WHERE "spree_products"."id" = 1007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3590 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.667875' WHERE "spree_products"."id" = 1007 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.669139' WHERE "spree_products"."id" = 1007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3591 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.670216' WHERE "spree_products"."id" = 1007 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.671365' WHERE "spree_products"."id" = 1007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3592 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.683477' WHERE "spree_products"."id" = 1007 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.684919' WHERE "spree_products"."id" = 1007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3593 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.685700' WHERE "spree_products"."id" = 1007 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1007) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:35:26.688655', "count_on_hand" = 53 WHERE "spree_products"."id" = 1007 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1007 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1007 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3588) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1007)) Excel Loader processing 0 rows  (0.0ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.1ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (7.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.5ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1008 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.169043' WHERE "spree_products"."id" = 1008 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1008], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.170787' WHERE "spree_products"."id" = 1008  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3594 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.172963' WHERE "spree_products"."id" = 1008  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1008  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["product_id", nil], ["property_id", 913], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:38:42.191539', "product_id" = 1008 WHERE "spree_product_properties"."id" = 1109 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1008) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1276 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1276], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1008 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1008, 2227) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1277 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1277], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1008, 2228) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1008) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::OptionType Exists (2.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1008 AND "spree_option_types"."id" = 602 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (13.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1008) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["option_type_id", 602], ["position", 1], ["product_id", 1008], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 602) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 602], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.347784' WHERE "spree_products"."id" = 1008 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1008], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.348953' WHERE "spree_products"."id" = 1008  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1210, 3595) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 602) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 602], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.356696' WHERE "spree_products"."id" = 1008 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1008], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.357991' WHERE "spree_products"."id" = 1008  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3596, 1211) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 602) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 602], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.363847' WHERE "spree_products"."id" = 1008 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1008], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.365072' WHERE "spree_products"."id" = 1008  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3597, 1212) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1008]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1008) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3595 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3596 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3597 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1008) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.392661' WHERE "spree_products"."id" = 1008  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3595 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.393576' WHERE "spree_products"."id" = 1008 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.394668' WHERE "spree_products"."id" = 1008  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3596 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.395529' WHERE "spree_products"."id" = 1008 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.396731' WHERE "spree_products"."id" = 1008  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3597 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.397519' WHERE "spree_products"."id" = 1008 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1008) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.399879', "count_on_hand" = 25 WHERE "spree_products"."id" = 1008 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1008 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.406088' WHERE "spree_products"."id" = 1009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1009], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.407128' WHERE "spree_products"."id" = 1009  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3598 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.408318' WHERE "spree_products"."id" = 1009  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1009  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["product_id", nil], ["property_id", 914], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:38:42.413559', "product_id" = 1009 WHERE "spree_product_properties"."id" = 1110 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1009) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1276 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1009 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1009, 2227) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1278 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1278], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1009, 2229) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1276 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1276 AND "spree_taxons"."parent_id" = 2227 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2227]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2227], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1276], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2227]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2230]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2230 THEN 2227 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2227]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2230]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1276 AND "spree_taxons"."parent_id" = 2230 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2230]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2230], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1276], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2230]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2231]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2231 THEN 2230 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2230]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2231]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1009, 2230)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1009, 2231) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1009) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1009 AND "spree_option_types"."id" = 602 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1009) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["option_type_id", 602], ["position", 1], ["product_id", 1009], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.448635' WHERE "spree_products"."id" = 1009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1009], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.449655' WHERE "spree_products"."id" = 1009  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1210, 3599) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.452158' WHERE "spree_products"."id" = 1009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1009], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.453167' WHERE "spree_products"."id" = 1009  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3600, 1211) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.455800' WHERE "spree_products"."id" = 1009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1009], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.456857' WHERE "spree_products"."id" = 1009  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1212, 3601) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1009]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1009) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3599 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3600 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3601 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1009) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.548878' WHERE "spree_products"."id" = 1009  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3599 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.549926' WHERE "spree_products"."id" = 1009 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.551384' WHERE "spree_products"."id" = 1009  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3600 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.552296' WHERE "spree_products"."id" = 1009 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.553564' WHERE "spree_products"."id" = 1009  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3601 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.554513' WHERE "spree_products"."id" = 1009 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1009) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.557169', "count_on_hand" = 11 WHERE "spree_products"."id" = 1009 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1009 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.563981' WHERE "spree_products"."id" = 1010 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1010], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.565150' WHERE "spree_products"."id" = 1010  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3602 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.566522' WHERE "spree_products"."id" = 1010  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1010  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["product_id", nil], ["property_id", 915], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:38:42.573924', "product_id" = 1010 WHERE "spree_product_properties"."id" = 1111 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["product_id", nil], ["property_id", 914], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:38:42.576293', "product_id" = 1010 WHERE "spree_product_properties"."id" = 1112 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["product_id", nil], ["property_id", 916], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:38:42.579490', "product_id" = 1010 WHERE "spree_product_properties"."id" = 1113 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1010) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1279], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1010 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2232, 1010) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1276 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1276 AND "spree_taxons"."parent_id" = 2227 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2227]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2227], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1276], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2227]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2233]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2233 THEN 2227 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2227]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2233]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2233, 1010)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2227, 1010) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1010) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1010 AND "spree_option_types"."id" = 602 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1010) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["option_type_id", 602], ["position", 1], ["product_id", 1010], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.606549' WHERE "spree_products"."id" = 1010 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1010], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.607931' WHERE "spree_products"."id" = 1010  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3603, 1210) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.610452' WHERE "spree_products"."id" = 1010 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1010], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.611566' WHERE "spree_products"."id" = 1010  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1211, 3604) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 602 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.613998' WHERE "spree_products"."id" = 1010 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1010], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.615187' WHERE "spree_products"."id" = 1010  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1212, 3605) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1010]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1010 AND "spree_option_types"."id" = 603 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1010) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["option_type_id", 603], ["position", 2], ["product_id", 1010], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 603 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 603) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 603], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.628025' WHERE "spree_products"."id" = 1010 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1010], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.629102' WHERE "spree_products"."id" = 1010  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1213, 3606) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 603 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 603) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00], ["name", "colour"], ["option_type_id", 603], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:38:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.633806' WHERE "spree_products"."id" = 1010 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1010], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.634942' WHERE "spree_products"."id" = 1010  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3607, 1214) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1010]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1010) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3603 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3604 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3605 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3606 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3607 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1010) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.663911' WHERE "spree_products"."id" = 1010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3603 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.664947' WHERE "spree_products"."id" = 1010 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.666151' WHERE "spree_products"."id" = 1010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3604 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.667435' WHERE "spree_products"."id" = 1010 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.668733' WHERE "spree_products"."id" = 1010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3605 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.669636' WHERE "spree_products"."id" = 1010 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.671063' WHERE "spree_products"."id" = 1010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3606 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.671898' WHERE "spree_products"."id" = 1010 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.673063' WHERE "spree_products"."id" = 1010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3607 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.673899' WHERE "spree_products"."id" = 1010 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1010) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:38:42.676589', "count_on_hand" = 53 WHERE "spree_products"."id" = 1010 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1010 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1010 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3602) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1010)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.1ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (16.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1011 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.060632' WHERE "spree_products"."id" = 1011 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1011], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.063104' WHERE "spree_products"."id" = 1011  (0.6ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3608 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.065520' WHERE "spree_products"."id" = 1011  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1011  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["product_id", nil], ["property_id", 917], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:42:39.083182', "product_id" = 1011 WHERE "spree_product_properties"."id" = 1114 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1011) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1280 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1280], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1011 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1011, 2234) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1281 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1281], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1011, 2235) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1011) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::OptionType Exists (11.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1011 AND "spree_option_types"."id" = 604 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1011) ORDER BY position DESC LIMIT 1 SQL (10.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["option_type_id", 604], ["position", 1], ["product_id", 1011], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (1.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 604) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "jpeg"], ["option_type_id", 604], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.252635' WHERE "spree_products"."id" = 1011 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1011], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.253550' WHERE "spree_products"."id" = 1011  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3609, 1215) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 604) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 604], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.262455' WHERE "spree_products"."id" = 1011 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1011], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.263659' WHERE "spree_products"."id" = 1011  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3610, 1216) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 604) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 604], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.267561' WHERE "spree_products"."id" = 1011 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1011], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.268846' WHERE "spree_products"."id" = 1011  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3611, 1217) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1011]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1011) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3609 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3610 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3611 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1011) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1011 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.297300' WHERE "spree_products"."id" = 1011  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3609 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.298517' WHERE "spree_products"."id" = 1011 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.299443' WHERE "spree_products"."id" = 1011  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3610 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.300398' WHERE "spree_products"."id" = 1011 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.301565' WHERE "spree_products"."id" = 1011  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3611 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.302271' WHERE "spree_products"."id" = 1011 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1011) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:42:39.304499' WHERE "spree_products"."id" = 1011 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1011 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.310919' WHERE "spree_products"."id" = 1012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1012], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.312011' WHERE "spree_products"."id" = 1012  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3612 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.313323' WHERE "spree_products"."id" = 1012  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1012  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["product_id", nil], ["property_id", 918], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:42:39.318636', "product_id" = 1012 WHERE "spree_product_properties"."id" = 1115 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1012) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1280 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1012 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2234, 1012) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1282 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1282], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2236, 1012) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1280 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1280 AND "spree_taxons"."parent_id" = 2234 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2234]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2234], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1280], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2234]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2237]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2237 THEN 2234 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2234]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2237]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1280 AND "spree_taxons"."parent_id" = 2237 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2237]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2237], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1280], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2237]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2238]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2238 THEN 2237 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2237]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2238]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2237, 1012)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2238, 1012) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1012) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1012 AND "spree_option_types"."id" = 604 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1012) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["option_type_id", 604], ["position", 1], ["product_id", 1012], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1012 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.358539' WHERE "spree_products"."id" = 1012 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1012], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.360012' WHERE "spree_products"."id" = 1012  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3613, 1215) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.362196' WHERE "spree_products"."id" = 1012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1012], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.363418' WHERE "spree_products"."id" = 1012  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1216, 3614) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.366050' WHERE "spree_products"."id" = 1012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1012], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.367031' WHERE "spree_products"."id" = 1012  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1217, 3615) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1012]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1012) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3613 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3614 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3615 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1012) LIMIT 1  (1.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.460462' WHERE "spree_products"."id" = 1012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3613 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.461374' WHERE "spree_products"."id" = 1012 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.462497' WHERE "spree_products"."id" = 1012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3614 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.463541' WHERE "spree_products"."id" = 1012 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.464536' WHERE "spree_products"."id" = 1012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3615 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.465222' WHERE "spree_products"."id" = 1012 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1012) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:42:39.467638' WHERE "spree_products"."id" = 1012 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1012 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.475152' WHERE "spree_products"."id" = 1013 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1013], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.476244' WHERE "spree_products"."id" = 1013  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3616 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.477447' WHERE "spree_products"."id" = 1013  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1013  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["product_id", nil], ["property_id", 919], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:42:39.483512', "product_id" = 1013 WHERE "spree_product_properties"."id" = 1116 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["product_id", nil], ["property_id", 918], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:42:39.485639', "product_id" = 1013 WHERE "spree_product_properties"."id" = 1117 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["product_id", nil], ["property_id", 920], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["value", nil]]  (0.6ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-10-01 15:42:39.488578', "product_id" = 1013 WHERE "spree_product_properties"."id" = 1118 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1013) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1283 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1283], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1013 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2239, 1013) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1280 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1280 AND "spree_taxons"."parent_id" = 2234 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2234]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2234], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1280], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2234]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2240]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2240 THEN 2234 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2234]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2240]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2240, 1013)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2234, 1013) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1013) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1013 AND "spree_option_types"."id" = 604 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1013) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["option_type_id", 604], ["position", 1], ["product_id", 1013], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.516328' WHERE "spree_products"."id" = 1013 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1013], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.518020' WHERE "spree_products"."id" = 1013  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3617, 1215) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.520568' WHERE "spree_products"."id" = 1013 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1013], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.521716' WHERE "spree_products"."id" = 1013  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3618, 1216) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 604 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.524517' WHERE "spree_products"."id" = 1013 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1013], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.525439' WHERE "spree_products"."id" = 1013  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3619, 1217) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1013]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1013 AND "spree_option_types"."id" = 605 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1013) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["option_type_id", 605], ["position", 2], ["product_id", 1013], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 605 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 605) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 605], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.537898' WHERE "spree_products"."id" = 1013 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1013], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.539495' WHERE "spree_products"."id" = 1013  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1218, 3620) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 605 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 605) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00], ["name", "colour"], ["option_type_id", 605], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:42:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.543402' WHERE "spree_products"."id" = 1013 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1013], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.544616' WHERE "spree_products"."id" = 1013  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1219, 3621) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1013]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1013) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3617 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3618 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3619 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3620 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3621 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1013) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.587385' WHERE "spree_products"."id" = 1013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3617 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.588630' WHERE "spree_products"."id" = 1013 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.589875' WHERE "spree_products"."id" = 1013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3618 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.590848' WHERE "spree_products"."id" = 1013 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.591807' WHERE "spree_products"."id" = 1013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3619 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.592640' WHERE "spree_products"."id" = 1013 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.594153' WHERE "spree_products"."id" = 1013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3620 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.594851' WHERE "spree_products"."id" = 1013 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1013 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.596363' WHERE "spree_products"."id" = 1013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3621 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:42:39.597636' WHERE "spree_products"."id" = 1013 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1013) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:42:39.601231' WHERE "spree_products"."id" = 1013 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1013 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1013 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3616) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1013)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Exception attempting to find a record for [DEMO_001] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Exception attempting to find a record for [DEMO_002] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_002fixtures/images/DEMO_002_Powerstation.jpg] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Exception attempting to find a record for [DEMO_003] on Spree::Product.SKU ["/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `initialize'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `new'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/sqlite3-1.3.6/lib/sqlite3/database.rb:91:in `prepare'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:38:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:40:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/querying.rb:37:in `find_by_sql'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:171:in `exec_queries'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:160:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/explain.rb:33:in `logging_query_plan'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation.rb:159:in `to_a'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:378:in `find_first'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:122:in `first'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:202:in `get_record_by'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:84:in `process'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:118:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:107:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `each_with_index'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:133:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `upto'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/worksheet.rb:132:in `each'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/spreadsheet-0.7.3/lib/spreadsheet/excel/worksheet.rb:35:in `each'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `each_with_index'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:83:in `perform_excel_load'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/excel_loader.rb:81:in `perform_excel_load'", "/home/stattert/SoftwareDev/git/datashift/lib/loaders/loader_base.rb:102:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/lib/loaders/spree/image_loader.rb:62:in `perform_load'", "/home/stattert/SoftwareDev/git/datashift_spree/spec/spree_images_loader_spec.rb:82", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `instance_eval'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:113:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:253:in `with_around_each_hooks'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example.rb:110:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:378:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:374:in `run_examples'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:360:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `autorun'", "/home/stattert/.rvm/gems/ree-1.8.7-2012.02/bin/rspec:23"] # Failed to save row [DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg]  (0.0ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (9.6ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (13.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.518806' WHERE "spree_products"."id" = 1014 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1014], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.520587' WHERE "spree_products"."id" = 1014  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3622 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.522625' WHERE "spree_products"."id" = 1014  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1014  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["product_id", nil], ["property_id", 921], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1014, "updated_at" = '2012-10-01 15:45:12.539163' WHERE "spree_product_properties"."id" = 1119 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1014) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1284], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1014 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2241, 1014) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1285 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1285], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2242, 1014) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1014) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::OptionType Exists (1.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1014 AND "spree_option_types"."id" = 606 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1014) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["option_type_id", 606], ["position", 1], ["product_id", 1014], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 606) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "jpeg"], ["option_type_id", 606], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.691327' WHERE "spree_products"."id" = 1014 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1014], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.694558' WHERE "spree_products"."id" = 1014  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1220, 3623) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 606) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "PDF"], ["option_type_id", 606], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.701673' WHERE "spree_products"."id" = 1014 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1014], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.703161' WHERE "spree_products"."id" = 1014  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3624, 1221) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 606) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 606], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.707753' WHERE "spree_products"."id" = 1014 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1014], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.708809' WHERE "spree_products"."id" = 1014  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1222, 3625) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1014]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1014) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3623 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3624 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3625 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1014) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.733282' WHERE "spree_products"."id" = 1014  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3623 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.734283' WHERE "spree_products"."id" = 1014 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.735322' WHERE "spree_products"."id" = 1014  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3624 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.736042' WHERE "spree_products"."id" = 1014 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.737189' WHERE "spree_products"."id" = 1014  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3625 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.738051' WHERE "spree_products"."id" = 1014 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1014) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.740188', "count_on_hand" = 25 WHERE "spree_products"."id" = 1014 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1014 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.746587' WHERE "spree_products"."id" = 1015 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1015], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.747850' WHERE "spree_products"."id" = 1015  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3626 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.749529' WHERE "spree_products"."id" = 1015  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1015  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["product_id", nil], ["property_id", 922], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1015, "updated_at" = '2012-10-01 15:45:12.754851' WHERE "spree_product_properties"."id" = 1120 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1015) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1015 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2241, 1015) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1286 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1286], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2243, 1015) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1284 AND "spree_taxons"."parent_id" = 2241 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2241]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2241], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1284], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2241]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2244]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2244 THEN 2241 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2241]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2244]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1284 AND "spree_taxons"."parent_id" = 2244 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2244]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2244], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1284], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2244]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2245]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2245 THEN 2244 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2244]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2245]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2244, 1015)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2245, 1015) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1015) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1015 AND "spree_option_types"."id" = 606 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1015) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["option_type_id", 606], ["position", 1], ["product_id", 1015], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.785555' WHERE "spree_products"."id" = 1015 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1015], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.786692' WHERE "spree_products"."id" = 1015  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1220, 3627) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.789300' WHERE "spree_products"."id" = 1015 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1015], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.790464' WHERE "spree_products"."id" = 1015  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3628, 1221) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.793104' WHERE "spree_products"."id" = 1015 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1015], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.794297' WHERE "spree_products"."id" = 1015  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3629, 1222) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1015]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1015) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3627 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3628 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3629 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1015) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.877853' WHERE "spree_products"."id" = 1015  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3627 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.879384' WHERE "spree_products"."id" = 1015 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.881085' WHERE "spree_products"."id" = 1015  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3628 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.882046' WHERE "spree_products"."id" = 1015 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.883343' WHERE "spree_products"."id" = 1015  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3629 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.884309' WHERE "spree_products"."id" = 1015 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1015) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.886659', "count_on_hand" = 11 WHERE "spree_products"."id" = 1015 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1015 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.893502' WHERE "spree_products"."id" = 1016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1016], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.894577' WHERE "spree_products"."id" = 1016  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3630 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.895854' WHERE "spree_products"."id" = 1016  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1016  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["product_id", nil], ["property_id", 923], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1016, "updated_at" = '2012-10-01 15:45:12.902576' WHERE "spree_product_properties"."id" = 1121 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["product_id", nil], ["property_id", 922], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1016, "updated_at" = '2012-10-01 15:45:12.906216' WHERE "spree_product_properties"."id" = 1122 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["product_id", nil], ["property_id", 924], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1016, "updated_at" = '2012-10-01 15:45:12.909735' WHERE "spree_product_properties"."id" = 1123 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1016) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1287 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1287], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1016 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2246, 1016) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1284 AND "spree_taxons"."parent_id" = 2241 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2241]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2241], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1284], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2241]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2247]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2247 THEN 2241 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2241]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2247]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2247, 1016)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2241, 1016) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1016) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1016 AND "spree_option_types"."id" = 606 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1016) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["option_type_id", 606], ["position", 1], ["product_id", 1016], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.934854' WHERE "spree_products"."id" = 1016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1016], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.936579' WHERE "spree_products"."id" = 1016  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1220, 3631) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.938854' WHERE "spree_products"."id" = 1016 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1016], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.940156' WHERE "spree_products"."id" = 1016  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3632, 1221) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 606 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.942806' WHERE "spree_products"."id" = 1016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1016], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.944123' WHERE "spree_products"."id" = 1016  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1222, 3633) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1016]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1016 AND "spree_option_types"."id" = 607 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1016) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["option_type_id", 607], ["position", 2], ["product_id", 1016], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 607 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "black_white"], ["option_type_id", 607], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.957073' WHERE "spree_products"."id" = 1016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1016], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.957854' WHERE "spree_products"."id" = 1016  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3634, 1223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 607 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 607) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00], ["name", "colour"], ["option_type_id", 607], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:45:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.962957' WHERE "spree_products"."id" = 1016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1016], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.964054' WHERE "spree_products"."id" = 1016  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3635, 1224) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1016]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1016) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3631 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3632 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3633 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3635 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1016) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.991304' WHERE "spree_products"."id" = 1016  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3631 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.992485' WHERE "spree_products"."id" = 1016 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.993793' WHERE "spree_products"."id" = 1016  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3632 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.994660' WHERE "spree_products"."id" = 1016 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.995797' WHERE "spree_products"."id" = 1016  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3633 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.996651' WHERE "spree_products"."id" = 1016 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.997757' WHERE "spree_products"."id" = 1016  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3634 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.998591' WHERE "spree_products"."id" = 1016 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:12.999506' WHERE "spree_products"."id" = 1016  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3635 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:13.000588' WHERE "spree_products"."id" = 1016 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1016) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:13.003725', "count_on_hand" = 53 WHERE "spree_products"."id" = 1016 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1016 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3630) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1016)) Excel Loader processing 0 rows  (0.0ms) begin transaction Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3622 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3622) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:45:13 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3622], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1014 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:13.427190' WHERE "spree_products"."id" = 1014  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1014 Row DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg succesfully SAVED : ID 3622 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3626 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3626) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:45:13 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3626], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:19.368849' WHERE "spree_products"."id" = 1015  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1015 Row DEMO_002fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 3626 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3630 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3630) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:45:19 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3630], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:45:19.962268' WHERE "spree_products"."id" = 1016  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1016 Row DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 3630  (4.4ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1016 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3630) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1016)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3630) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1016)) ORDER BY "spree_assets".position Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.6ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1017 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.628059' WHERE "spree_products"."id" = 1017 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1017], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.630126' WHERE "spree_products"."id" = 1017  (0.6ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3636 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.632157' WHERE "spree_products"."id" = 1017  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1017  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["product_id", nil], ["property_id", 925], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1017, "updated_at" = '2012-10-01 15:48:01.647290' WHERE "spree_product_properties"."id" = 1124 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1017) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1288 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1288], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1017 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2248, 1017) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1289 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1289], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2249, 1017) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1017) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::OptionType Exists (1.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1017 AND "spree_option_types"."id" = 608 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1017) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["option_type_id", 608], ["position", 1], ["product_id", 1017], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::OptionValue Load (13.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 608) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 608], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1017 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.726111' WHERE "spree_products"."id" = 1017 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1017], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.727329' WHERE "spree_products"."id" = 1017  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3637, 1225) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 608) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 608], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.734622' WHERE "spree_products"."id" = 1017 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1017], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.735598' WHERE "spree_products"."id" = 1017  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3638, 1226) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 608) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 608], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.741511' WHERE "spree_products"."id" = 1017 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1017], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.742749' WHERE "spree_products"."id" = 1017  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3639, 1227) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1017]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1017) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3637 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3638 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3639 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1017) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.843216' WHERE "spree_products"."id" = 1017  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3637 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.844293' WHERE "spree_products"."id" = 1017 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.845435' WHERE "spree_products"."id" = 1017  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3638 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.846226' WHERE "spree_products"."id" = 1017 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.847619' WHERE "spree_products"."id" = 1017  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3639 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:01.848526' WHERE "spree_products"."id" = 1017 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1017) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3636 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3636) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:01 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3636], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1017) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:48:02.236166' WHERE "spree_products"."id" = 1017 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1018 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.251113' WHERE "spree_products"."id" = 1018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1018], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.269092' WHERE "spree_products"."id" = 1018  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3640 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.271212' WHERE "spree_products"."id" = 1018  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1018  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["product_id", nil], ["property_id", 926], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1018, "updated_at" = '2012-10-01 15:48:02.280768' WHERE "spree_product_properties"."id" = 1125 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1018) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1288 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1018 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1018, 2248) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1290 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1290], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1018, 2250) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1291 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1291], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1018, 2251) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1018) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1018 AND "spree_option_types"."id" = 608 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1018) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["option_type_id", 608], ["position", 1], ["product_id", 1018], ["updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1018 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.312623' WHERE "spree_products"."id" = 1018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1018], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.313981' WHERE "spree_products"."id" = 1018  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1225, 3641) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.317300' WHERE "spree_products"."id" = 1018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1018], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.318503' WHERE "spree_products"."id" = 1018  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1226, 3642) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.322019' WHERE "spree_products"."id" = 1018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1018], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.323020' WHERE "spree_products"."id" = 1018  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1227, 3643) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1018]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1018) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3641 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3642 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3643 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1018) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.337609' WHERE "spree_products"."id" = 1018  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3641 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.338542' WHERE "spree_products"."id" = 1018 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.339879' WHERE "spree_products"."id" = 1018  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3642 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.340825' WHERE "spree_products"."id" = 1018 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.342428' WHERE "spree_products"."id" = 1018  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3643 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:02.343300' WHERE "spree_products"."id" = 1018 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1018) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3640 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3640) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:02 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3640], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1018) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:48:07.627708' WHERE "spree_products"."id" = 1018 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.636230' WHERE "spree_products"."id" = 1019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1019], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.637376' WHERE "spree_products"."id" = 1019  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3644 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.638699' WHERE "spree_products"."id" = 1019  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1019  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["product_id", nil], ["property_id", 927], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1019, "updated_at" = '2012-10-01 15:48:07.661527' WHERE "spree_product_properties"."id" = 1126 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["product_id", nil], ["property_id", 926], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1019, "updated_at" = '2012-10-01 15:48:07.665197' WHERE "spree_product_properties"."id" = 1127 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["product_id", nil], ["property_id", 928], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1019, "updated_at" = '2012-10-01 15:48:07.668237' WHERE "spree_product_properties"."id" = 1128 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1019) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1292 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1292], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1019 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2252, 1019) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1019) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1019 AND "spree_option_types"."id" = 608 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1019) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["option_type_id", 608], ["position", 1], ["product_id", 1019], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.684644' WHERE "spree_products"."id" = 1019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1019], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.685836' WHERE "spree_products"."id" = 1019  (0.3ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1225, 3645) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.688615' WHERE "spree_products"."id" = 1019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1019], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.689682' WHERE "spree_products"."id" = 1019  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1226, 3646) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 608 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.691998' WHERE "spree_products"."id" = 1019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1019], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.693223' WHERE "spree_products"."id" = 1019  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3647, 1227) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1019]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1019 AND "spree_option_types"."id" = 609 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1019) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["option_type_id", 609], ["position", 2], ["product_id", 1019], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 609 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 609) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["name", "black_white"], ["option_type_id", 609], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.707163' WHERE "spree_products"."id" = 1019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1019], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.708377' WHERE "spree_products"."id" = 1019  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1228, 3648) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 609 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 609) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["name", "colour"], ["option_type_id", 609], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.713295' WHERE "spree_products"."id" = 1019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1019], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.714363' WHERE "spree_products"."id" = 1019  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1229, 3649) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1019]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1019) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3645 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3646 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3647 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3648 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3649 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1019) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.741324' WHERE "spree_products"."id" = 1019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3645 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.742215' WHERE "spree_products"."id" = 1019 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.743358' WHERE "spree_products"."id" = 1019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3646 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.743928' WHERE "spree_products"."id" = 1019 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.745236' WHERE "spree_products"."id" = 1019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3647 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.745948' WHERE "spree_products"."id" = 1019 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.747057' WHERE "spree_products"."id" = 1019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3648 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.748044' WHERE "spree_products"."id" = 1019 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.749009' WHERE "spree_products"."id" = 1019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3649 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:07.750280' WHERE "spree_products"."id" = 1019 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1019) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3644 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3644) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:07 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3644], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1019) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:48:08.388976' WHERE "spree_products"."id" = 1019  (10.3ms) commit transaction  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3636) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1017)) Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3636 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1017 AND ("spree_variants".is_master = 't') LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3636) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1017)) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1018 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3640) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1018)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1019 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3644) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1019)) SQL (3.1ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (16.3ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1020 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.675167' WHERE "spree_products"."id" = 1020 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1020], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.676391' WHERE "spree_products"."id" = 1020  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3650 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.692037' WHERE "spree_products"."id" = 1020  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1020  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["product_id", nil], ["property_id", 929], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1020, "updated_at" = '2012-10-01 15:48:08.702482' WHERE "spree_product_properties"."id" = 1129 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1020) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1293 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1293], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1020 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2253, 1020) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1294 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1294], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2254, 1020) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1020) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::OptionType Exists (2.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1020 AND "spree_option_types"."id" = 610 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1020) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["option_type_id", 610], ["position", 1], ["product_id", 1020], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 610) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["name", "jpeg"], ["option_type_id", 610], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1020 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.735031' WHERE "spree_products"."id" = 1020 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1020], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.736384' WHERE "spree_products"."id" = 1020  (0.6ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1230, 3651) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 610) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["name", "PDF"], ["option_type_id", 610], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.740988' WHERE "spree_products"."id" = 1020 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1020], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.741897' WHERE "spree_products"."id" = 1020  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3652, 1231) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 610) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["name", "PNG"], ["option_type_id", 610], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.766801' WHERE "spree_products"."id" = 1020 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1020], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.767868' WHERE "spree_products"."id" = 1020  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3653, 1232) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1020]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1020) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3651 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3652 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3653 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1020) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.923878' WHERE "spree_products"."id" = 1020  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3651 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.925303' WHERE "spree_products"."id" = 1020 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.926455' WHERE "spree_products"."id" = 1020  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3652 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.927182' WHERE "spree_products"."id" = 1020 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.928800' WHERE "spree_products"."id" = 1020  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3653 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:08.929640' WHERE "spree_products"."id" = 1020 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1020) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3650 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3650) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:08 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3650], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1020) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:48:09.325687' WHERE "spree_products"."id" = 1020 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg succesfully SAVED : ID 1020 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1021 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.339342' WHERE "spree_products"."id" = 1021 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1021], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.360068' WHERE "spree_products"."id" = 1021  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3654 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.362273' WHERE "spree_products"."id" = 1021  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1021  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["product_id", nil], ["property_id", 930], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1021, "updated_at" = '2012-10-01 15:48:09.372917' WHERE "spree_product_properties"."id" = 1130 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1021) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1293 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1021 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1021, 2253) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1295 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1295], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1021, 2255) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1296 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1296], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1021, 2256) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1021) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1021 AND "spree_option_types"."id" = 610 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1021) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["option_type_id", 610], ["position", 1], ["product_id", 1021], ["updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.403321' WHERE "spree_products"."id" = 1021 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1021], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.406299' WHERE "spree_products"."id" = 1021  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3655, 1230) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.409490' WHERE "spree_products"."id" = 1021 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1021], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.410857' WHERE "spree_products"."id" = 1021  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1231, 3656) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.413711' WHERE "spree_products"."id" = 1021 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1021], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.415040' WHERE "spree_products"."id" = 1021  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1232, 3657) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1021]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1021) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3655 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3656 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3657 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1021) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.429461' WHERE "spree_products"."id" = 1021  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3655 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.430577' WHERE "spree_products"."id" = 1021 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.432393' WHERE "spree_products"."id" = 1021  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3656 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.433199' WHERE "spree_products"."id" = 1021 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.434653' WHERE "spree_products"."id" = 1021  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3657 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:09.435685' WHERE "spree_products"."id" = 1021 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1021) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3654 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3654) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:09 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3654], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1021) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:48:14.675478' WHERE "spree_products"."id" = 1021 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 1021 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.684478' WHERE "spree_products"."id" = 1022 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1022], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.685478' WHERE "spree_products"."id" = 1022  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3658 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.686791' WHERE "spree_products"."id" = 1022  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1022  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["product_id", nil], ["property_id", 931], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1022, "updated_at" = '2012-10-01 15:48:14.713479' WHERE "spree_product_properties"."id" = 1131 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["product_id", nil], ["property_id", 930], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1022, "updated_at" = '2012-10-01 15:48:14.716622' WHERE "spree_product_properties"."id" = 1132 Created New ProductProperty # Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["product_id", nil], ["property_id", 932], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1022, "updated_at" = '2012-10-01 15:48:14.720419' WHERE "spree_product_properties"."id" = 1133 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1022) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1297 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1297], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1022 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2257, 1022) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1022) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1022 AND "spree_option_types"."id" = 610 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1022) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["option_type_id", 610], ["position", 1], ["product_id", 1022], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.739283' WHERE "spree_products"."id" = 1022 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1022], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.740687' WHERE "spree_products"."id" = 1022  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3659, 1230) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.743303' WHERE "spree_products"."id" = 1022 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1022], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.744479' WHERE "spree_products"."id" = 1022  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1231, 3660) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 610 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.747456' WHERE "spree_products"."id" = 1022 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1022], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.748678' WHERE "spree_products"."id" = 1022  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3661, 1232) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1022]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1022 AND "spree_option_types"."id" = 611 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1022) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["option_type_id", 611], ["position", 2], ["product_id", 1022], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 611 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 611) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["name", "black_white"], ["option_type_id", 611], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.760228' WHERE "spree_products"."id" = 1022 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1022], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.761303' WHERE "spree_products"."id" = 1022  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3662, 1233) Spree::OptionValue Load (2.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 611 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 611) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["name", "colour"], ["option_type_id", 611], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.768223' WHERE "spree_products"."id" = 1022 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1022], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.769315' WHERE "spree_products"."id" = 1022  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3663, 1234) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1022]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1022) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3659 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3660 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3661 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3662 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3663 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1022) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.800966' WHERE "spree_products"."id" = 1022  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3659 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.802129' WHERE "spree_products"."id" = 1022 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.803474' WHERE "spree_products"."id" = 1022  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3660 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.804190' WHERE "spree_products"."id" = 1022 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.805259' WHERE "spree_products"."id" = 1022  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3661 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.806052' WHERE "spree_products"."id" = 1022 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.806955' WHERE "spree_products"."id" = 1022  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3662 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.807947' WHERE "spree_products"."id" = 1022 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.809378' WHERE "spree_products"."id" = 1022  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3663 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:14.810642' WHERE "spree_products"."id" = 1022 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1022) LIMIT 1 Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3658 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3658) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:14 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3658], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1022) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:48:15.202831' WHERE "spree_products"."id" = 1022 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 1022 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.2ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3650) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1020)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1020 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3650) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1020)) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1021 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3654) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1021)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1022 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3658) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1022))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.515464' WHERE "spree_products"."id" = 1023 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1023], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.516988' WHERE "spree_products"."id" = 1023  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3664 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.517905' WHERE "spree_products"."id" = 1023  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1023  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Created New Property # SQL (0.8ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["product_id", nil], ["property_id", 933], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1023, "updated_at" = '2012-10-01 15:48:15.545045' WHERE "spree_product_properties"."id" = 1134 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1023) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1298 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1298], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1023 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2258, 1023) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1299 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1299], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2259, 1023) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1023) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1023 AND "spree_option_types"."id" = 612 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1023) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["option_type_id", 612], ["position", 1], ["product_id", 1023], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 612) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 612], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.573351' WHERE "spree_products"."id" = 1023 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1023], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.574491' WHERE "spree_products"."id" = 1023  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1235, 3665) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 612) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 612], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.579006' WHERE "spree_products"."id" = 1023 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1023], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.580101' WHERE "spree_products"."id" = 1023  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1236, 3666) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 612) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 612], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.596491' WHERE "spree_products"."id" = 1023 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1023], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.598006' WHERE "spree_products"."id" = 1023  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3667, 1237) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1023]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1023) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3665 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3666 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3667 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1023) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.611251' WHERE "spree_products"."id" = 1023  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3665 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.612411' WHERE "spree_products"."id" = 1023 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.613492' WHERE "spree_products"."id" = 1023  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3666 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.614162' WHERE "spree_products"."id" = 1023 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.615338' WHERE "spree_products"."id" = 1023  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3667 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.616111' WHERE "spree_products"."id" = 1023 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1023) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:48:15.619997' WHERE "spree_products"."id" = 1023 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1023 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.629649' WHERE "spree_products"."id" = 1024 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1024], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.630998' WHERE "spree_products"."id" = 1024  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3668 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.632427' WHERE "spree_products"."id" = 1024  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1024  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["product_id", nil], ["property_id", 934], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1024, "updated_at" = '2012-10-01 15:48:15.639386' WHERE "spree_product_properties"."id" = 1135 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1024) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1298 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1024 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2258, 1024) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1300 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1300], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2260, 1024) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1298 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1298 AND "spree_taxons"."parent_id" = 2258 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2258]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2258], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1298], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2258]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2261]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2261 THEN 2258 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2258]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2261]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1298 AND "spree_taxons"."parent_id" = 2261 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2261]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2261], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1298], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2261]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2262]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2262 THEN 2261 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2261]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2262]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2261, 1024)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2262, 1024) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1024) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1024 AND "spree_option_types"."id" = 612 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1024) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["option_type_id", 612], ["position", 1], ["product_id", 1024], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.671997' WHERE "spree_products"."id" = 1024 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1024], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.673272' WHERE "spree_products"."id" = 1024  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1235, 3669) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.675679' WHERE "spree_products"."id" = 1024 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1024], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.676493' WHERE "spree_products"."id" = 1024  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3670, 1236) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.679339' WHERE "spree_products"."id" = 1024 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1024], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.680395' WHERE "spree_products"."id" = 1024  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1237, 3671) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1024]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1024) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3669 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3670 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3671 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1024) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.693958' WHERE "spree_products"."id" = 1024  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3669 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.694734' WHERE "spree_products"."id" = 1024 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.696249' WHERE "spree_products"."id" = 1024  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3670 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.697121' WHERE "spree_products"."id" = 1024 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.698381' WHERE "spree_products"."id" = 1024  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3671 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.699205' WHERE "spree_products"."id" = 1024 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1024) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:48:15.701987' WHERE "spree_products"."id" = 1024 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1024 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.709576' WHERE "spree_products"."id" = 1025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1025], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.710774' WHERE "spree_products"."id" = 1025  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3672 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.711917' WHERE "spree_products"."id" = 1025  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1025  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["product_id", nil], ["property_id", 935], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1025, "updated_at" = '2012-10-01 15:48:15.718493' WHERE "spree_product_properties"."id" = 1136 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["product_id", nil], ["property_id", 934], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1025, "updated_at" = '2012-10-01 15:48:15.721109' WHERE "spree_product_properties"."id" = 1137 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["product_id", nil], ["property_id", 936], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1025, "updated_at" = '2012-10-01 15:48:15.723995' WHERE "spree_product_properties"."id" = 1138 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1025) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1301 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1301], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1025 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2263, 1025) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1298 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1298 AND "spree_taxons"."parent_id" = 2258 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2258]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2258], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1298], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2258]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2264]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2264 THEN 2258 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2258]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2264]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2264, 1025)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2258, 1025) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1025) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1025 AND "spree_option_types"."id" = 612 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1025) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["option_type_id", 612], ["position", 1], ["product_id", 1025], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.831420' WHERE "spree_products"."id" = 1025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1025], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.832635' WHERE "spree_products"."id" = 1025  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1235, 3673) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.834806' WHERE "spree_products"."id" = 1025 SQL (1.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1025], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.837142' WHERE "spree_products"."id" = 1025  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1236, 3674) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 612 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.839495' WHERE "spree_products"."id" = 1025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1025], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.840490' WHERE "spree_products"."id" = 1025  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3675, 1237) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1025]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1025 AND "spree_option_types"."id" = 613 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1025) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["option_type_id", 613], ["position", 2], ["product_id", 1025], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 613 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 613) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 613], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.852495' WHERE "spree_products"."id" = 1025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1025], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.854243' WHERE "spree_products"."id" = 1025  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3676, 1238) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 613 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 613) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["name", "colour"], ["option_type_id", 613], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00]]  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.859382' WHERE "spree_products"."id" = 1025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1025], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.860416' WHERE "spree_products"."id" = 1025  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3677, 1239) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1025]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1025) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3673 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3674 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3675 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3676 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3677 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1025) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.891634' WHERE "spree_products"."id" = 1025  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3673 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.892927' WHERE "spree_products"."id" = 1025 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.893928' WHERE "spree_products"."id" = 1025  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3674 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.894960' WHERE "spree_products"."id" = 1025 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.896492' WHERE "spree_products"."id" = 1025  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3675 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.897564' WHERE "spree_products"."id" = 1025 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.899655' WHERE "spree_products"."id" = 1025  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3676 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.900496' WHERE "spree_products"."id" = 1025 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.901760' WHERE "spree_products"."id" = 1025  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3677 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:15.902645' WHERE "spree_products"."id" = 1025 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1025) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:48:15.905392' WHERE "spree_products"."id" = 1025 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1025 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3672) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1025)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3664 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3664) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:15 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3664], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1023 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:16.348983' WHERE "spree_products"."id" = 1023  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1023 Row DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg succesfully SAVED : ID 3664 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3668 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3668) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:16 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3668], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:21.573274' WHERE "spree_products"."id" = 1024  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1024 Row DEMO_002fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 3668 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3672 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3672) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:21 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3672], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:21.987842' WHERE "spree_products"."id" = 1025  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1025 Row DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 3672  (4.6ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1025 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3672) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1025)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3672) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1025)) ORDER BY "spree_assets".position SQL (20.8ms) DELETE FROM "spree_products" SQL (2.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1026 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.111698' WHERE "spree_products"."id" = 1026 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1026], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.128056' WHERE "spree_products"."id" = 1026  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3678 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.129997' WHERE "spree_products"."id" = 1026  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1026  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["product_id", nil], ["property_id", 937], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1026, "updated_at" = '2012-10-01 15:48:22.139372' WHERE "spree_product_properties"."id" = 1139 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1026) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1302 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1302], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1026 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2265, 1026) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1303 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1303], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2266, 1026) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1026) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::OptionType Exists (1.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1026 AND "spree_option_types"."id" = 614 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1026) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["option_type_id", 614], ["position", 1], ["product_id", 1026], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 614) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "jpeg"], ["option_type_id", 614], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.181586' WHERE "spree_products"."id" = 1026 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1026], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.182864' WHERE "spree_products"."id" = 1026  (0.4ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1240, 3679) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 614) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "PDF"], ["option_type_id", 614], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1026 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.203801' WHERE "spree_products"."id" = 1026 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1026], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.205587' WHERE "spree_products"."id" = 1026  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3680, 1241) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 614) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "PNG"], ["option_type_id", 614], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.370589' WHERE "spree_products"."id" = 1026 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1026], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.372064' WHERE "spree_products"."id" = 1026  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1242, 3681) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1026]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1026) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3679 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3680 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3681 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1026) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.384279' WHERE "spree_products"."id" = 1026  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3679 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.385311' WHERE "spree_products"."id" = 1026 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.386832' WHERE "spree_products"."id" = 1026  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3680 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.387479' WHERE "spree_products"."id" = 1026 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.388589' WHERE "spree_products"."id" = 1026  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3681 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.389589' WHERE "spree_products"."id" = 1026 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1026) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:48:22.392115' WHERE "spree_products"."id" = 1026 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1026 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.399120' WHERE "spree_products"."id" = 1027 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1027], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.400064' WHERE "spree_products"."id" = 1027  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3682 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.401280' WHERE "spree_products"."id" = 1027  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1027  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["product_id", nil], ["property_id", 938], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1027, "updated_at" = '2012-10-01 15:48:22.407069' WHERE "spree_product_properties"."id" = 1140 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1027) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1302 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1027 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2265, 1027) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1304], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2267, 1027) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1302 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1302 AND "spree_taxons"."parent_id" = 2265 AND "spree_taxons"."name" = 'Nature' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2265]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 2265], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1302], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2265]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2268]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2268 THEN 2265 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2265]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2268]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1302 AND "spree_taxons"."parent_id" = 2268 AND "spree_taxons"."name" = 'Seascape' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2268]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 2268], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 1302], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2268]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2269]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2269 THEN 2268 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2268]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2269]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2268, 1027)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2269, 1027) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1027) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1027 AND "spree_option_types"."id" = 614 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1027) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["option_type_id", 614], ["position", 1], ["product_id", 1027], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.438410' WHERE "spree_products"."id" = 1027 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1027], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.439230' WHERE "spree_products"."id" = 1027  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3683, 1240) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.442222' WHERE "spree_products"."id" = 1027 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1027], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.443216' WHERE "spree_products"."id" = 1027  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3684, 1241) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.445584' WHERE "spree_products"."id" = 1027 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1027], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.446590' WHERE "spree_products"."id" = 1027  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1242, 3685) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1027]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1027) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3683 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3684 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3685 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1027) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1027 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.458296' WHERE "spree_products"."id" = 1027  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3683 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.459806' WHERE "spree_products"."id" = 1027 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.460715' WHERE "spree_products"."id" = 1027  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3684 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.461476' WHERE "spree_products"."id" = 1027 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1027 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.462591' WHERE "spree_products"."id" = 1027  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3685 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.463591' WHERE "spree_products"."id" = 1027 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1027) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:48:22.465879' WHERE "spree_products"."id" = 1027 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1027 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.472402' WHERE "spree_products"."id" = 1028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1028], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.473591' WHERE "spree_products"."id" = 1028  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3686 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.474942' WHERE "spree_products"."id" = 1028  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1028  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["product_id", nil], ["property_id", 939], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1028, "updated_at" = '2012-10-01 15:48:22.480701' WHERE "spree_product_properties"."id" = 1141 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["product_id", nil], ["property_id", 938], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1028, "updated_at" = '2012-10-01 15:48:22.482760' WHERE "spree_product_properties"."id" = 1142 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["product_id", nil], ["property_id", 940], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1028, "updated_at" = '2012-10-01 15:48:22.486310' WHERE "spree_product_properties"."id" = 1143 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1028) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1305 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 1305], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1028 Product assigned to Taxons : ["Drawings"]  (0.5ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1028, 2270) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1302 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1302 AND "spree_taxons"."parent_id" = 2265 AND "spree_taxons"."name" = 'Landscape' LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2265]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 2265], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 1302], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 2265]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2271]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2271 THEN 2265 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2265]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 2271]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1028, 2271)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1028, 2265) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1028) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1028 AND "spree_option_types"."id" = 614 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1028) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["option_type_id", 614], ["position", 1], ["product_id", 1028], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.511147' WHERE "spree_products"."id" = 1028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1028], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.512537' WHERE "spree_products"."id" = 1028  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1240, 3687) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.515395' WHERE "spree_products"."id" = 1028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1028], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.516650' WHERE "spree_products"."id" = 1028  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3688, 1241) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 614 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.519258' WHERE "spree_products"."id" = 1028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1028], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.520231' WHERE "spree_products"."id" = 1028  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3689, 1242) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1028]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1028 AND "spree_option_types"."id" = 615 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1028) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["option_type_id", 615], ["position", 2], ["product_id", 1028], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 615 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 615) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "black_white"], ["option_type_id", 615], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.533592' WHERE "spree_products"."id" = 1028 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1028], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.535214' WHERE "spree_products"."id" = 1028  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1243, 3690) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 615 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 615) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["name", "colour"], ["option_type_id", 615], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.540499' WHERE "spree_products"."id" = 1028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1028], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.541592' WHERE "spree_products"."id" = 1028  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3691, 1244) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1028]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1028) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3687 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3688 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3689 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3690 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3691 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1028) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.572333' WHERE "spree_products"."id" = 1028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3687 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.573592' WHERE "spree_products"."id" = 1028 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.574898' WHERE "spree_products"."id" = 1028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3688 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.575799' WHERE "spree_products"."id" = 1028 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.577282' WHERE "spree_products"."id" = 1028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3689 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.578476' WHERE "spree_products"."id" = 1028 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.580193' WHERE "spree_products"."id" = 1028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3690 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.581467' WHERE "spree_products"."id" = 1028 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1028 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.583292' WHERE "spree_products"."id" = 1028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3691 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:22.584100' WHERE "spree_products"."id" = 1028 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1028) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:48:22.586933' WHERE "spree_products"."id" = 1028 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1028 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.8ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3686) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1028)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1026) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3678) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1026)) ORDER BY "spree_assets".position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1026) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:22 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 1026], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3678) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1026)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1026) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:23 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 1026], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1026) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 1026 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1027) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3682) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1027)) ORDER BY "spree_assets".position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1027) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:28 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 1027], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1027) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 1027 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1028) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3686) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1028)) ORDER BY "spree_assets".position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1028) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:33 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 1028], ["viewable_type", "Spree::Product"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1028) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 1028  (4.1ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1028 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3686) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1028)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1027 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3682) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1027)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1026 AND ("spree_variants".is_master = 't') LIMIT 1  (18.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3678) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1026)) SQL (3.1ms) DELETE FROM "spree_products" SQL (1.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (15.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (18.9ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1029 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.606257' WHERE "spree_products"."id" = 1029 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1029], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.607766' WHERE "spree_products"."id" = 1029  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3692 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.609367' WHERE "spree_products"."id" = 1029  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1029  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["product_id", nil], ["property_id", 941], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1029, "updated_at" = '2012-10-01 15:48:34.629396' WHERE "spree_product_properties"."id" = 1144 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1306], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1029 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2272, 1029) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1307 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1307], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2273, 1029) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1029 AND "spree_option_types"."id" = 616 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1029) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["option_type_id", 616], ["position", 1], ["product_id", 1029], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 616 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 616) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["name", "jpeg"], ["option_type_id", 616], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1029 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.659393' WHERE "spree_products"."id" = 1029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1029], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.660767' WHERE "spree_products"."id" = 1029  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3693, 1245) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 616 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 616) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["name", "PDF"], ["option_type_id", 616], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.666033' WHERE "spree_products"."id" = 1029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1029], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.667035' WHERE "spree_products"."id" = 1029  (14.6ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1246, 3694) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 616 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 616) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["name", "PNG"], ["option_type_id", 616], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.687767' WHERE "spree_products"."id" = 1029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1029], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.689297' WHERE "spree_products"."id" = 1029  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (1247, 3695) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1029]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3693 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3694 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3695 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.706475' WHERE "spree_products"."id" = 1029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3693 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.707714' WHERE "spree_products"."id" = 1029 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.709128' WHERE "spree_products"."id" = 1029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3694 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.710494' WHERE "spree_products"."id" = 1029 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.712058' WHERE "spree_products"."id" = 1029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3695 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:34.712994' WHERE "spree_products"."id" = 1029 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3692 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3692) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:34 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3692], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1 Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3692) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:35 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 3692], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1 Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3692) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:35 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 3692], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1029) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:48:36.062560' WHERE "spree_products"."id" = 1029 Row MULTI_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpegfixtures/images/DEMO_001_ror_bag.jpeg:more random alt textfixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 1029 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1030 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.076393' WHERE "spree_products"."id" = 1030 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1030], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.093948' WHERE "spree_products"."id" = 1030  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3696 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.098119' WHERE "spree_products"."id" = 1030  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1030  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["product_id", nil], ["property_id", 942], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1030, "updated_at" = '2012-10-01 15:48:36.109626' WHERE "spree_product_properties"."id" = 1145 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1030) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1030 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2272, 1030) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1308], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2274, 1030) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1309 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 1309], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (2275, 1030) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1030) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1030 AND "spree_option_types"."id" = 616 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1030) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["option_type_id", 616], ["position", 1], ["product_id", 1030], ["updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 616 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.146644' WHERE "spree_products"."id" = 1030 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1030], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.147995' WHERE "spree_products"."id" = 1030  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3697, 1245) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 616 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.154095' WHERE "spree_products"."id" = 1030 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1030], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.155293' WHERE "spree_products"."id" = 1030  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3698, 1246) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 616 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.159099' WHERE "spree_products"."id" = 1030 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1030], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.160463' WHERE "spree_products"."id" = 1030  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3699, 1247) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1030]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1030) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3697 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3698 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3699 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1030) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.178072' WHERE "spree_products"."id" = 1030  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3697 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.179069' WHERE "spree_products"."id" = 1030 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.180539' WHERE "spree_products"."id" = 1030  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3698 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.183094' WHERE "spree_products"."id" = 1030 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1030 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.186892' WHERE "spree_products"."id" = 1030  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3699 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:48:36.188019' WHERE "spree_products"."id" = 1030 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1030) LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3696 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3696) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:36 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 3696], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3696) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 15:48:42 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 3696], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1030) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:48:43.142729' WHERE "spree_products"."id" = 1030 Row MULTI_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg succesfully SAVED : ID 1030 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.9ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1029 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3692 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (8.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:57:51.985000', 'Paintings', '2012-10-01 15:57:51.985000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1310 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:52.538000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1310, '2012-10-01 15:57:52.538000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:52.589000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1310, '2012-10-01 15:57:52.589000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:52.637000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 1310, '2012-10-01 15:57:52.637000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (27.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:57:53.275000', 'Paintings', '2012-10-01 15:57:53.275000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1311 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:53.319000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1311, '2012-10-01 15:57:53.319000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:53.474000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1311, '2012-10-01 15:57:53.474000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:53.521000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 1311, '2012-10-01 15:57:53.521000') ExcelGenerator creating template with associations for class Spree::Product SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:57:53.587000', 'Paintings', '2012-10-01 15:57:53.587000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1312 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:53.633000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1312, '2012-10-01 15:57:53.633000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:53.657000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1312, '2012-10-01 15:57:53.657000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:53.679000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 1312, '2012-10-01 15:57:53.679000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (144.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (6.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (3.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.301000', 'f', 'Rest of World', 'ROW', '2012-10-01 15:57:54.301000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 123 Row org.apache.poi.hssf.usermodel.HSSFRow@8b73a2 succesfully SAVED : ID 123 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.423000', 'f', 'United Kingdom', 'UK', '2012-10-01 15:57:54.423000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 124 Row org.apache.poi.hssf.usermodel.HSSFRow@1fd270d succesfully SAVED : ID 124 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.439000', 'f', 'Europe', 'EUR', '2012-10-01 15:57:54.439000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 125 Row org.apache.poi.hssf.usermodel.HSSFRow@a378a7 succesfully SAVED : ID 125 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.470000', 'f', 'North America', 'NA', '2012-10-01 15:57:54.470000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 126 Row org.apache.poi.hssf.usermodel.HSSFRow@464132 succesfully SAVED : ID 126 Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (38.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (23.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.654000', 'f', 'Rest of World', 'ROW', '2012-10-01 15:57:54.654000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 127 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.709000', 'f', 'United Kingdom', 'UK', '2012-10-01 15:57:54.709000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 128 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.726000', 'f', 'Europe', 'EUR', '2012-10-01 15:57:54.726000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 129 Current value to assign : NA Current value to assign : North America Saving csv row NANorth America to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-01 15:57:54.753000', 'f', 'North America', 'NA', '2012-10-01 15:57:54.753000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 130  (1.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (50.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (48.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (26.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:57:55.201000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-01 15:57:55.201000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1031 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:55.243000' WHERE "spree_products"."id" = 1031 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1031, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:55.254000' WHERE "spree_products"."id" = 1031  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3700 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:55.268000' WHERE "spree_products"."id" = 1031  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1031 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1031  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3700 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1031) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:55.456000', 'mime_type', 0, 'Mime type', '2012-10-01 15:57:55.456000') Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1031 AND "spree_option_types"."id" = 617 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1031) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:55.727000', 617, 1, 1031, '2012-10-01 15:57:55.727000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1031) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-01 15:57:55.753000' WHERE "spree_products"."id" = 1031  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3700 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:55.833000' WHERE "spree_products"."id" = 1031 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1031 Row org.apache.poi.hssf.usermodel.HSSFRow@151a5f9 succesfully SAVED : ID 1031 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:57:55.864000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:57:55.864000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1032 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:55.907000' WHERE "spree_products"."id" = 1032 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1032, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:55.914000' WHERE "spree_products"."id" = 1032  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3701 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:55.919000' WHERE "spree_products"."id" = 1032  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1032 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1032  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3701 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1032) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1032 AND "spree_option_types"."id" = 617 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1032) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:55.975000', 617, 1, 1032, '2012-10-01 15:57:55.975000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1032) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 15:57:55.989000' WHERE "spree_products"."id" = 1032  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3701 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.023000' WHERE "spree_products"."id" = 1032 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1032 Row org.apache.poi.hssf.usermodel.HSSFRow@13acaaf succesfully SAVED : ID 1032 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-01 15:57:56.071000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-01 15:57:56.071000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1033 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.094000' WHERE "spree_products"."id" = 1033 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1033, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.101000' WHERE "spree_products"."id" = 1033  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3702 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.110000' WHERE "spree_products"."id" = 1033  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1033 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1033  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3702 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1033) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1033 AND "spree_option_types"."id" = 617 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1033) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:56.175000', 617, 1, 1033, '2012-10-01 15:57:56.175000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:56.184000', 'print_type', 0, 'Print type', '2012-10-01 15:57:56.184000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1033 AND "spree_option_types"."id" = 618 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1033) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:56.260000', 618, 2, 1033, '2012-10-01 15:57:56.260000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1033) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-01 15:57:56.299000' WHERE "spree_products"."id" = 1033  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 3702 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.323000' WHERE "spree_products"."id" = 1033 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1033 Row org.apache.poi.hssf.usermodel.HSSFRow@82b436 succesfully SAVED : ID 1033 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-01 15:57:56.433000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-01 15:57:56.434000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1031 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (21.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1031 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1033 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (29.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:57:56.664000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-01 15:57:56.664000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1034 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.678000' WHERE "spree_products"."id" = 1034 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1034, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.682000' WHERE "spree_products"."id" = 1034  (2.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3703 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.689000' WHERE "spree_products"."id" = 1034  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1034 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1034  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3703 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1034) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:56.753000', 'mime_type', 0, 'Mime type', '2012-10-01 15:57:56.753000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1034 AND "spree_option_types"."id" = 619 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1034) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:56.921000', 619, 1, 1034, '2012-10-01 15:57:56.921000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1034) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-01 15:57:56.964000' WHERE "spree_products"."id" = 1034  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3703 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:56.974000' WHERE "spree_products"."id" = 1034 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1034 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:57:57.029000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:57:57.029000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1035 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.039000' WHERE "spree_products"."id" = 1035 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1035, 'SIMPLE_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.087000' WHERE "spree_products"."id" = 1035  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3704 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.093000' WHERE "spree_products"."id" = 1035  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1035 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1035  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3704 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1035) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1035 AND "spree_option_types"."id" = 619 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1035) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:57.542000', 619, 1, 1035, '2012-10-01 15:57:57.542000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1035) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 15:57:57.552000' WHERE "spree_products"."id" = 1035  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3704 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.563000' WHERE "spree_products"."id" = 1035 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1035 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-01 15:57:57.585000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-01 15:57:57.585000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1036 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.607000' WHERE "spree_products"."id" = 1036 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1036, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.612000' WHERE "spree_products"."id" = 1036  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3705 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.636000' WHERE "spree_products"."id" = 1036  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1036 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1036  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3705 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1036) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1036 AND "spree_option_types"."id" = 619 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (4.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1036) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:57.800000', 619, 1, 1036, '2012-10-01 15:57:57.800000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:57.807000', 'print_type', 0, 'Print type', '2012-10-01 15:57:57.807000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1036 AND "spree_option_types"."id" = 620 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1036) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:57.868000', 620, 2, 1036, '2012-10-01 15:57:57.868000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1036) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-01 15:57:57.875000' WHERE "spree_products"."id" = 1036  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 3705 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:57.881000' WHERE "spree_products"."id" = 1036 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1036  (2.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-01 15:57:57.916000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-01 15:57:57.919000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1034 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1034 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1036 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (24.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (6.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-01 16:57:58.000000', 0, '2012-10-01 15:57:58.162000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-01 15:57:58.162000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1037 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.169000' WHERE "spree_products"."id" = 1037 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1037, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.175000' WHERE "spree_products"."id" = 1037  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3706 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.185000' WHERE "spree_products"."id" = 1037  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1037 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1037  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:58.212000', 'mime_type', 0, 'Mime type', '2012-10-01 15:57:58.212000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1037 AND "spree_option_types"."id" = 621 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1037) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:58.233000', 621, 1, 1037, '2012-10-01 15:57:58.233000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1037) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@3b5d0a succesfully SAVED : ID 1037 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-01 16:57:58.000000', 0, '2012-10-01 15:57:58.301000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:57:58.301000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1038 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.309000' WHERE "spree_products"."id" = 1038 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1038, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.462000' WHERE "spree_products"."id" = 1038  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3707 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.472000' WHERE "spree_products"."id" = 1038  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1038 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1038  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1038 AND "spree_option_types"."id" = 621 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1038) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:58.519000', 621, 1, 1038, '2012-10-01 15:57:58.519000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1038) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@d8a85f succesfully SAVED : ID 1038 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-01 16:57:58.000000', 0, '2012-10-01 15:57:58.591000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-01 15:57:58.591000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1039 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.596000' WHERE "spree_products"."id" = 1039 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1039, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.599000' WHERE "spree_products"."id" = 1039  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3708 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.607000' WHERE "spree_products"."id" = 1039  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1039 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1039  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1039 AND "spree_option_types"."id" = 621 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1039) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:58.631000', 621, 1, 1039, '2012-10-01 15:57:58.631000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:58.635000', 'print_type', 0, 'Print type', '2012-10-01 15:57:58.635000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1039 AND "spree_option_types"."id" = 622 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1039) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:58.651000', 622, 2, 1039, '2012-10-01 15:57:58.651000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1039) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@dd2498 succesfully SAVED : ID 1039 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1037 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-01 15:57:58.899000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-01 15:57:58.899000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1040 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.937000' WHERE "spree_products"."id" = 1040 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1040, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.942000' WHERE "spree_products"."id" = 1040  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3709 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:58.970000' WHERE "spree_products"."id" = 1040  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1040 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1040  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:58.998000', 'mime_type', 0, 'Mime type', '2012-10-01 15:57:58.998000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1040 AND "spree_option_types"."id" = 623 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1040) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:59.016000', 623, 1, 1040, '2012-10-01 15:57:59.016000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1040) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1730b46 succesfully SAVED : ID 1040 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-01 15:57:59.057000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:57:59.057000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1041 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.108000' WHERE "spree_products"."id" = 1041 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1041, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.114000' WHERE "spree_products"."id" = 1041  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3710 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.124000' WHERE "spree_products"."id" = 1041  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1041 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1041  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1041 AND "spree_option_types"."id" = 623 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1041) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:59.144000', 623, 1, 1041, '2012-10-01 15:57:59.144000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1041) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@55af22 succesfully SAVED : ID 1041 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-01 15:57:59.185000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-01 15:57:59.185000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1042 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.191000' WHERE "spree_products"."id" = 1042 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1042, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.195000' WHERE "spree_products"."id" = 1042  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3711 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.199000' WHERE "spree_products"."id" = 1042  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1042 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1042  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1042 AND "spree_option_types"."id" = 623 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1042) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:59.223000', 623, 1, 1042, '2012-10-01 15:57:59.223000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:59.227000', 'print_type', 0, 'Print type', '2012-10-01 15:57:59.227000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1042 AND "spree_option_types"."id" = 624 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1042) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:59.235000', 624, 2, 1042, '2012-10-01 15:57:59.235000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1042) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@10cb2cb succesfully SAVED : ID 1042 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1040 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (49.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:57:59.421000', 'test_pp_001', 'Test PP 001', '2012-10-01 15:57:59.421000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:57:59.537000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:57:59.537000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.545000' WHERE "spree_products"."id" = 1043 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1043, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.549000' WHERE "spree_products"."id" = 1043  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3712 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.560000' WHERE "spree_products"."id" = 1043  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1043  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:57:59.622000', NULL, 943, '2012-10-01 15:57:59.622000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1043, "updated_at" = '2012-10-01 15:57:59.633000' WHERE "spree_product_properties"."id" = 1146 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1043) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:57:59.640000', 'Paintings', '2012-10-01 15:57:59.640000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1313 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:59.648000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1313, '2012-10-01 15:57:59.648000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1043 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1043, 2285) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:57:59.663000', 'WaterColour', '2012-10-01 15:57:59.663000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1314 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:57:59.672000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 1314, '2012-10-01 15:57:59.672000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1043, 2286) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1043) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1043) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:59.706000', 'mime_type', 0, 'Mime type', '2012-10-01 15:57:59.706000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1043 AND "spree_option_types"."id" = 625 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1043) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:57:59.746000', 625, 1, 1043, '2012-10-01 15:57:59.746000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 625) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:59.774000', 'jpeg', 625, 1, NULL, '2012-10-01 15:57:59.774000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.781000' WHERE "spree_products"."id" = 1043 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1043, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.786000' WHERE "spree_products"."id" = 1043  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3713, 1248) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 625) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:59.796000', 'PDF', 625, 2, NULL, '2012-10-01 15:57:59.796000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.806000' WHERE "spree_products"."id" = 1043 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1043, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.808000' WHERE "spree_products"."id" = 1043  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3714, 1249) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 625) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:57:59.815000', 'PNG', 625, 3, NULL, '2012-10-01 15:57:59.815000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.835000' WHERE "spree_products"."id" = 1043 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1043, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.844000' WHERE "spree_products"."id" = 1043  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3715, 1250) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1043) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3713 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3714 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3715 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1043) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.891000' WHERE "spree_products"."id" = 1043  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3713 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.893000' WHERE "spree_products"."id" = 1043 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.895000' WHERE "spree_products"."id" = 1043  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3714 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.897000' WHERE "spree_products"."id" = 1043 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1043 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.900000' WHERE "spree_products"."id" = 1043  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3715 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:57:59.902000' WHERE "spree_products"."id" = 1043 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1043) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:57:59.912000' WHERE "spree_products"."id" = 1043 Row org.apache.poi.hssf.usermodel.HSSFRow@e853d1 succesfully SAVED : ID 1043 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:00.030000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:00.030000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.038000' WHERE "spree_products"."id" = 1044 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1044, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.043000' WHERE "spree_products"."id" = 1044  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3716 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.048000' WHERE "spree_products"."id" = 1044  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1044  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:00.069000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:00.069000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:00.073000', NULL, 944, '2012-10-01 15:58:00.073000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1044, "updated_at" = '2012-10-01 15:58:00.082000' WHERE "spree_product_properties"."id" = 1147 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1044) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1313 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1044 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1044, 2285) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:00.097000', 'Oils', '2012-10-01 15:58:00.097000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1315 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:00.106000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 1315, '2012-10-01 15:58:00.106000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1044, 2287) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1313 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2285 AND "spree_taxons"."taxonomy_id" = 1313 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2285 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:00.120000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 2285, 'paintings/nature', 0, 8, 1313, '2012-10-01 15:58:00.120000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2285 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2288 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2288 THEN 2285 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2285 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2288 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2288 AND "spree_taxons"."taxonomy_id" = 1313 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2288 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:00.141000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 2288, 'paintings/nature/seascape', 0, 10, 1313, '2012-10-01 15:58:00.141000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2288 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2289 LIMIT 1 SQL (2.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2289 THEN 2288 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2288 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2289 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1044, 2288)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1044, 2289) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1044) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1044 AND "spree_option_types"."id" = 625 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1044) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:00.179000', 625, 1, 1044, '2012-10-01 15:58:00.179000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.198000' WHERE "spree_products"."id" = 1044 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1044, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.206000' WHERE "spree_products"."id" = 1044  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3717, 1248) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.213000' WHERE "spree_products"."id" = 1044 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1044, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.219000' WHERE "spree_products"."id" = 1044  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3718, 1249) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.226000' WHERE "spree_products"."id" = 1044 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1044, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.229000' WHERE "spree_products"."id" = 1044  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3719, 1250) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1044) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1044) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3717 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3718 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3719 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1044) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.277000' WHERE "spree_products"."id" = 1044  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3717 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.286000' WHERE "spree_products"."id" = 1044 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.289000' WHERE "spree_products"."id" = 1044  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3718 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.291000' WHERE "spree_products"."id" = 1044 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1044 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.295000' WHERE "spree_products"."id" = 1044  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3719 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.297000' WHERE "spree_products"."id" = 1044 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1044) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:00.313000' WHERE "spree_products"."id" = 1044 Row org.apache.poi.hssf.usermodel.HSSFRow@5ce05c succesfully SAVED : ID 1044 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:00.346000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:00.346000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.355000' WHERE "spree_products"."id" = 1045 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1045, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.358000' WHERE "spree_products"."id" = 1045  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3720 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.361000' WHERE "spree_products"."id" = 1045  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1045  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:00.374000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:00.374000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:00.382000', NULL, 945, '2012-10-01 15:58:00.382000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1045, "updated_at" = '2012-10-01 15:58:00.384000' WHERE "spree_product_properties"."id" = 1148 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:00.416000', NULL, 944, '2012-10-01 15:58:00.416000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1045, "updated_at" = '2012-10-01 15:58:00.419000' WHERE "spree_product_properties"."id" = 1149 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:00.435000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:00.435000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:00.441000', NULL, 946, '2012-10-01 15:58:00.441000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1045, "updated_at" = '2012-10-01 15:58:00.444000' WHERE "spree_product_properties"."id" = 1150 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1045) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:00.455000', 'Drawings', '2012-10-01 15:58:00.455000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1316 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:00.461000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 1316, '2012-10-01 15:58:00.461000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1045 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1045, 2290) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1313 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2285 AND "spree_taxons"."taxonomy_id" = 1313 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2285 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:00.487000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 2285, 'paintings/landscape', 0, 14, 1313, '2012-10-01 15:58:00.487000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2285 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2291 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2291 THEN 2285 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2285 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2291 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1045, 2291)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1045, 2285) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1045) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1045) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1045 AND "spree_option_types"."id" = 625 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1045) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:00.521000', 625, 1, 1045, '2012-10-01 15:58:00.521000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.533000' WHERE "spree_products"."id" = 1045 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1045, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.537000' WHERE "spree_products"."id" = 1045  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3721, 1248) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.563000' WHERE "spree_products"."id" = 1045 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1045, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.567000' WHERE "spree_products"."id" = 1045  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3722, 1249) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 625 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.581000' WHERE "spree_products"."id" = 1045 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1045, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.585000' WHERE "spree_products"."id" = 1045  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3723, 1250) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:00.593000', 'print_type', 0, 'Print type', '2012-10-01 15:58:00.593000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1045 AND "spree_option_types"."id" = 626 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1045) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:00.605000', 626, 2, 1045, '2012-10-01 15:58:00.605000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 626 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 626) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:00.612000', 'black_white', 626, 1, NULL, '2012-10-01 15:58:00.612000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.636000' WHERE "spree_products"."id" = 1045 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1045, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.641000' WHERE "spree_products"."id" = 1045  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3724, 1251) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 626 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 626) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:00.648000', 'colour', 626, 2, NULL, '2012-10-01 15:58:00.648000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.655000' WHERE "spree_products"."id" = 1045 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1045, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.658000' WHERE "spree_products"."id" = 1045  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3725, 1252) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1045) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3721 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3722 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3723 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3724 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3725 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1045) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.704000' WHERE "spree_products"."id" = 1045  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3721 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.723000' WHERE "spree_products"."id" = 1045 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.726000' WHERE "spree_products"."id" = 1045  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3722 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.728000' WHERE "spree_products"."id" = 1045 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.730000' WHERE "spree_products"."id" = 1045  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3723 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.732000' WHERE "spree_products"."id" = 1045 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.734000' WHERE "spree_products"."id" = 1045  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3724 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.736000' WHERE "spree_products"."id" = 1045 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1045 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.738000' WHERE "spree_products"."id" = 1045  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3725 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:00.747000' WHERE "spree_products"."id" = 1045 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1045) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:00.758000' WHERE "spree_products"."id" = 1045 Row org.apache.poi.hssf.usermodel.HSSFRow@357bf9 succesfully SAVED : ID 1045 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1043 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1045 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1045 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (16.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:00.977000', 'test_pp_001', 'Test PP 001', '2012-10-01 15:58:00.977000')  (1.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:01.066000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:01.066000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.073000' WHERE "spree_products"."id" = 1046 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1046, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.082000' WHERE "spree_products"."id" = 1046  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3726 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.085000' WHERE "spree_products"."id" = 1046  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1046  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:01.096000', NULL, 947, '2012-10-01 15:58:01.096000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1046, "updated_at" = '2012-10-01 15:58:01.099000' WHERE "spree_product_properties"."id" = 1151 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:01.113000', 'Paintings', '2012-10-01 15:58:01.113000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1317 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:01.383000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1317, '2012-10-01 15:58:01.383000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1046 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1046, 2292) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:01.423000', 'WaterColour', '2012-10-01 15:58:01.423000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1318 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:01.436000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 1318, '2012-10-01 15:58:01.436000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1046, 2293) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:01.461000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:01.461000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1046 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1046) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:01.478000', 627, 1, 1046, '2012-10-01 15:58:01.478000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 627 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 627) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:01.485000', 'jpeg', 627, 1, NULL, '2012-10-01 15:58:01.485000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.537000' WHERE "spree_products"."id" = 1046 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1046, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.540000' WHERE "spree_products"."id" = 1046  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3727, 1253) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1046 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 627 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 627) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:01.557000', 'PDF', 627, 2, NULL, '2012-10-01 15:58:01.557000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.569000' WHERE "spree_products"."id" = 1046 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1046, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.572000' WHERE "spree_products"."id" = 1046  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3728, 1254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1046 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 627 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 627) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:01.592000', 'PNG', 627, 3, NULL, '2012-10-01 15:58:01.592000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.598000' WHERE "spree_products"."id" = 1046 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1046, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.600000' WHERE "spree_products"."id" = 1046  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3729, 1255) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3727 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3728 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3729 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.673000' WHERE "spree_products"."id" = 1046  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3727 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.676000' WHERE "spree_products"."id" = 1046 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.679000' WHERE "spree_products"."id" = 1046  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3728 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.742000' WHERE "spree_products"."id" = 1046 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1046 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.744000' WHERE "spree_products"."id" = 1046  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3729 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.746000' WHERE "spree_products"."id" = 1046 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1046) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:01.753000' WHERE "spree_products"."id" = 1046 Row org.apache.poi.hssf.usermodel.HSSFRow@10af74c succesfully SAVED : ID 1046 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:01.767000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:01.767000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.773000' WHERE "spree_products"."id" = 1047 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1047, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.776000' WHERE "spree_products"."id" = 1047  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3730 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.798000' WHERE "spree_products"."id" = 1047  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1047  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:01.811000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:01.811000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:01.816000', NULL, 948, '2012-10-01 15:58:01.816000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1047, "updated_at" = '2012-10-01 15:58:01.819000' WHERE "spree_product_properties"."id" = 1152 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1317 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1047 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1047, 2292) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:01.851000', 'Oils', '2012-10-01 15:58:01.851000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1319 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:01.862000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 1319, '2012-10-01 15:58:01.862000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1047, 2294) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1317 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2292 AND "spree_taxons"."taxonomy_id" = 1317 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2292 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:01.894000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 2292, 'paintings/nature', 0, 8, 1317, '2012-10-01 15:58:01.894000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2292 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2295 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2295 THEN 2292 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2292 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2295 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2295 AND "spree_taxons"."taxonomy_id" = 1317 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2295 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:01.918000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 2295, 'paintings/nature/seascape', 0, 10, 1317, '2012-10-01 15:58:01.918000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2295 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2296 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2296 THEN 2295 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2295 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2296 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1047, 2295)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1047, 2296) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1047 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1047) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:01.949000', 627, 1, 1047, '2012-10-01 15:58:01.949000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 627 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.965000' WHERE "spree_products"."id" = 1047 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1047, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.968000' WHERE "spree_products"."id" = 1047  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3731, 1253) Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1047 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 627 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:01.996000' WHERE "spree_products"."id" = 1047 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1047, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.000000' WHERE "spree_products"."id" = 1047  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3732, 1254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 Spree::Variant Load (5.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1047 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 627 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.042000' WHERE "spree_products"."id" = 1047 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1047, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.047000' WHERE "spree_products"."id" = 1047  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3733, 1255) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3731 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3732 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3733 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.095000' WHERE "spree_products"."id" = 1047  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3731 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.099000' WHERE "spree_products"."id" = 1047 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.108000' WHERE "spree_products"."id" = 1047  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3732 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.111000' WHERE "spree_products"."id" = 1047 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1047 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.115000' WHERE "spree_products"."id" = 1047  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3733 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.117000' WHERE "spree_products"."id" = 1047 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1047) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:02.127000' WHERE "spree_products"."id" = 1047 Row org.apache.poi.hssf.usermodel.HSSFRow@21262a succesfully SAVED : ID 1047 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:02.152000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:02.152000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.163000' WHERE "spree_products"."id" = 1048 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1048, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.167000' WHERE "spree_products"."id" = 1048  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3734 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.171000' WHERE "spree_products"."id" = 1048  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1048  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:02.183000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:02.183000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:02.191000', NULL, 949, '2012-10-01 15:58:02.191000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1048, "updated_at" = '2012-10-01 15:58:02.194000' WHERE "spree_product_properties"."id" = 1153 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:02.201000', NULL, 948, '2012-10-01 15:58:02.201000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1048, "updated_at" = '2012-10-01 15:58:02.205000' WHERE "spree_product_properties"."id" = 1154 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:02.212000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:02.212000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:02.215000', NULL, 950, '2012-10-01 15:58:02.215000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1048, "updated_at" = '2012-10-01 15:58:02.217000' WHERE "spree_product_properties"."id" = 1155 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:02.224000', 'Drawings', '2012-10-01 15:58:02.224000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1320 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:02.229000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 1320, '2012-10-01 15:58:02.229000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1048 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1048, 2297) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1317 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2292 AND "spree_taxons"."taxonomy_id" = 1317 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2292 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:02.253000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 2292, 'paintings/landscape', 0, 14, 1317, '2012-10-01 15:58:02.253000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2292 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2298 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2298 THEN 2292 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2292 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2298 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1048, 2298)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1048, 2292) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1048 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1048) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:02.286000', 627, 1, 1048, '2012-10-01 15:58:02.286000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 627 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.293000' WHERE "spree_products"."id" = 1048 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1048, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.297000' WHERE "spree_products"."id" = 1048  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3735, 1253) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1048 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 627 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.324000' WHERE "spree_products"."id" = 1048 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1048, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.327000' WHERE "spree_products"."id" = 1048  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3736, 1254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1048 AND "spree_option_types"."id" = 627 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 627 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.354000' WHERE "spree_products"."id" = 1048 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1048, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.357000' WHERE "spree_products"."id" = 1048  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3737, 1255) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:02.366000', 'print_type', 0, 'Print type', '2012-10-01 15:58:02.366000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1048 AND "spree_option_types"."id" = 628 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1048) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:02.430000', 628, 2, 1048, '2012-10-01 15:58:02.430000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 628 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 628) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:02.434000', 'black_white', 628, 1, NULL, '2012-10-01 15:58:02.434000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.442000' WHERE "spree_products"."id" = 1048 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1048, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.445000' WHERE "spree_products"."id" = 1048  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3738, 1256) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1048 AND "spree_option_types"."id" = 628 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 628 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 628) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:02.466000', 'colour', 628, 2, NULL, '2012-10-01 15:58:02.466000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.472000' WHERE "spree_products"."id" = 1048 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1048, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.476000' WHERE "spree_products"."id" = 1048  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3739, 1257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3735 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3736 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3737 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3738 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3739 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.506000' WHERE "spree_products"."id" = 1048  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3735 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.510000' WHERE "spree_products"."id" = 1048 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.514000' WHERE "spree_products"."id" = 1048  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3736 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.518000' WHERE "spree_products"."id" = 1048 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.519000' WHERE "spree_products"."id" = 1048  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3737 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.521000' WHERE "spree_products"."id" = 1048 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.524000' WHERE "spree_products"."id" = 1048  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3738 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.525000' WHERE "spree_products"."id" = 1048 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.530000' WHERE "spree_products"."id" = 1048  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3739 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:02.532000' WHERE "spree_products"."id" = 1048 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1048) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:02.537000' WHERE "spree_products"."id" = 1048 Row org.apache.poi.hssf.usermodel.HSSFRow@76ebc2 succesfully SAVED : ID 1048 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1046 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1048 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1048 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (376.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (16.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (2.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (33.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:03.563000', 'Paintings', '2012-10-01 15:58:03.563000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:03.593000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1321, '2012-10-01 15:58:03.593000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:03.618000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1321, '2012-10-01 15:58:03.618000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:03.656000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:03.656000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.678000' WHERE "spree_products"."id" = 1049 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1049, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.683000' WHERE "spree_products"."id" = 1049  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3740 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.689000' WHERE "spree_products"."id" = 1049  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1049  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:03.703000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:58:03.703000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:03.706000', NULL, 951, '2012-10-01 15:58:03.706000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1049, "updated_at" = '2012-10-01 15:58:03.712000' WHERE "spree_product_properties"."id" = 1156 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1049) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1049 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1049, 2299) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:03.728000', 'WaterColour', '2012-10-01 15:58:03.728000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1322 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:03.780000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1322, '2012-10-01 15:58:03.780000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1049, 2301) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1049) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1049) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:03.801000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:03.801000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1049 AND "spree_option_types"."id" = 629 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1049) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:03.826000', 629, 1, 1049, '2012-10-01 15:58:03.826000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 629) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:03.858000', 'jpeg', 629, 1, NULL, '2012-10-01 15:58:03.858000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.863000' WHERE "spree_products"."id" = 1049 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1049, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.865000' WHERE "spree_products"."id" = 1049  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3741, 1258) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 629) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:03.878000', 'PDF', 629, 2, NULL, '2012-10-01 15:58:03.878000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.883000' WHERE "spree_products"."id" = 1049 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1049, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.885000' WHERE "spree_products"."id" = 1049  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3742, 1259) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 629) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:03.889000', 'PNG', 629, 3, NULL, '2012-10-01 15:58:03.889000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.904000' WHERE "spree_products"."id" = 1049 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1049, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.907000' WHERE "spree_products"."id" = 1049  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3743, 1260) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1049) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3741 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3742 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3743 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1049) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.931000' WHERE "spree_products"."id" = 1049  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3741 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.933000' WHERE "spree_products"."id" = 1049 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.935000' WHERE "spree_products"."id" = 1049  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3742 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.937000' WHERE "spree_products"."id" = 1049 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1049 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.939000' WHERE "spree_products"."id" = 1049  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3743 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.943000' WHERE "spree_products"."id" = 1049 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1049) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:03.947000' WHERE "spree_products"."id" = 1049 Row org.apache.poi.hssf.usermodel.HSSFRow@1aab29a succesfully SAVED : ID 1049 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:03.989000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:03.989000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:03.997000' WHERE "spree_products"."id" = 1050 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1050, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.002000' WHERE "spree_products"."id" = 1050  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3744 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.005000' WHERE "spree_products"."id" = 1050  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1050  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:04.016000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:04.016000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:04.018000', NULL, 952, '2012-10-01 15:58:04.018000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1050, "updated_at" = '2012-10-01 15:58:04.020000' WHERE "spree_product_properties"."id" = 1157 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1050) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1050 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1050, 2299) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:04.037000', 'Oils', '2012-10-01 15:58:04.037000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1323 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:04.042000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1323, '2012-10-01 15:58:04.042000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1050, 2302) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2299 AND "spree_taxons"."taxonomy_id" = 1321 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2299 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:04.065000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2299, 'paintings/nature', 0, 10, 1321, '2012-10-01 15:58:04.065000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2299 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2303 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2303 THEN 2299 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2299 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2303 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2303 AND "spree_taxons"."taxonomy_id" = 1321 LIMIT 1  (4.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2303 LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:04.106000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 2303, 'paintings/nature/seascape', 0, 12, 1321, '2012-10-01 15:58:04.106000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2303 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2304 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2304 THEN 2303 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2303 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2304 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1050, 2303)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1050, 2304) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1050) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1050 AND "spree_option_types"."id" = 629 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1050) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:04.128000', 629, 1, 1050, '2012-10-01 15:58:04.128000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.141000' WHERE "spree_products"."id" = 1050 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1050, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.144000' WHERE "spree_products"."id" = 1050  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3745, 1258) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.157000' WHERE "spree_products"."id" = 1050 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1050, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.160000' WHERE "spree_products"."id" = 1050  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3746, 1259) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.170000' WHERE "spree_products"."id" = 1050 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1050, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.175000' WHERE "spree_products"."id" = 1050  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3747, 1260) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1050) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1050) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3745 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3746 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3747 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1050) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.208000' WHERE "spree_products"."id" = 1050  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3745 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.210000' WHERE "spree_products"."id" = 1050 Spree::Product Load (5.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.223000' WHERE "spree_products"."id" = 1050  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3746 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.225000' WHERE "spree_products"."id" = 1050 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1050 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.227000' WHERE "spree_products"."id" = 1050  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3747 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.231000' WHERE "spree_products"."id" = 1050 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1050) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:04.235000' WHERE "spree_products"."id" = 1050 Row org.apache.poi.hssf.usermodel.HSSFRow@1123984 succesfully SAVED : ID 1050 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:04.267000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:04.267000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.297000' WHERE "spree_products"."id" = 1051 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1051, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.300000' WHERE "spree_products"."id" = 1051  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3748 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.304000' WHERE "spree_products"."id" = 1051  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1051  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:04.315000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:04.315000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:04.318000', NULL, 953, '2012-10-01 15:58:04.318000', NULL)  (2.0ms) UPDATE "spree_product_properties" SET "product_id" = 1051, "updated_at" = '2012-10-01 15:58:04.323000' WHERE "spree_product_properties"."id" = 1158 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:04.328000', NULL, 952, '2012-10-01 15:58:04.328000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1051, "updated_at" = '2012-10-01 15:58:04.332000' WHERE "spree_product_properties"."id" = 1159 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:04.340000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:04.340000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:04.342000', NULL, 954, '2012-10-01 15:58:04.342000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1051, "updated_at" = '2012-10-01 15:58:04.344000' WHERE "spree_product_properties"."id" = 1160 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1051) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:04.352000', 'Drawings', '2012-10-01 15:58:04.352000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1324 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:04.356000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1324, '2012-10-01 15:58:04.356000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1051 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1051, 2305) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2299 AND "spree_taxons"."taxonomy_id" = 1321 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2299 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:04.380000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 2299, 'paintings/landscape', 0, 16, 1321, '2012-10-01 15:58:04.380000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2299 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2306 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2306 THEN 2299 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2299 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2306 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1051, 2306)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1051, 2299) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1051) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1051) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1051 AND "spree_option_types"."id" = 629 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1051) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:04.415000', 629, 1, 1051, '2012-10-01 15:58:04.415000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.422000' WHERE "spree_products"."id" = 1051 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1051, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.430000' WHERE "spree_products"."id" = 1051  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3749, 1258) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.435000' WHERE "spree_products"."id" = 1051 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1051, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.499000' WHERE "spree_products"."id" = 1051  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3750, 1259) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 629 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.508000' WHERE "spree_products"."id" = 1051 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1051, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.512000' WHERE "spree_products"."id" = 1051  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3751, 1260) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 Spree::OptionType Load (2.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:04.520000', 'print_type', 0, 'Print type', '2012-10-01 15:58:04.520000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1051 AND "spree_option_types"."id" = 630 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1051) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:04.577000', 630, 2, 1051, '2012-10-01 15:58:04.577000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 630 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 630) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:04.583000', 'black_white', 630, 1, NULL, '2012-10-01 15:58:04.583000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.601000' WHERE "spree_products"."id" = 1051 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1051, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.604000' WHERE "spree_products"."id" = 1051  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3752, 1261) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 630 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 630) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:04.608000', 'colour', 630, 2, NULL, '2012-10-01 15:58:04.608000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.614000' WHERE "spree_products"."id" = 1051 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1051, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:04.616000' WHERE "spree_products"."id" = 1051  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3753, 1262) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1051) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3749 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3750 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3751 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3752 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3753 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1051) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.272000' WHERE "spree_products"."id" = 1051  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3749 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.274000' WHERE "spree_products"."id" = 1051 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.277000' WHERE "spree_products"."id" = 1051  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3750 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.280000' WHERE "spree_products"."id" = 1051 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.282000' WHERE "spree_products"."id" = 1051  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3751 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.297000' WHERE "spree_products"."id" = 1051 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.300000' WHERE "spree_products"."id" = 1051  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3752 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.303000' WHERE "spree_products"."id" = 1051 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1051 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.306000' WHERE "spree_products"."id" = 1051  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3753 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.308000' WHERE "spree_products"."id" = 1051 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1051) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:05.340000' WHERE "spree_products"."id" = 1051 Row org.apache.poi.hssf.usermodel.HSSFRow@9c4114 succesfully SAVED : ID 1051 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1050 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1051 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1049 ORDER BY spree_option_types.position Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3741 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3742 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 629 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3743 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (26.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:05.626000', 'Paintings', '2012-10-01 15:58:05.626000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1325 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:05.634000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1325, '2012-10-01 15:58:05.634000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:05.645000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1325, '2012-10-01 15:58:05.645000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:05.687000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:05.687000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.725000' WHERE "spree_products"."id" = 1052 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1052, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.728000' WHERE "spree_products"."id" = 1052  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3754 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.734000' WHERE "spree_products"."id" = 1052  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1052  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:05.742000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:58:05.742000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:05.744000', NULL, 955, '2012-10-01 15:58:05.744000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1052, "updated_at" = '2012-10-01 15:58:05.747000' WHERE "spree_product_properties"."id" = 1161 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1325 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1052 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1052, 2307) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:05.770000', 'WaterColour', '2012-10-01 15:58:05.770000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1326 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:05.795000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1326, '2012-10-01 15:58:05.795000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1052, 2309) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:05.845000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:05.845000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1052 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1052) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:05.862000', 631, 1, 1052, '2012-10-01 15:58:05.862000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 631 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 631) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:05.873000', 'jpeg', 631, 1, NULL, '2012-10-01 15:58:05.873000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.913000' WHERE "spree_products"."id" = 1052 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1052, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.915000' WHERE "spree_products"."id" = 1052  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3755, 1263) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1052 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 631 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 631) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:05.935000', 'PDF', 631, 2, NULL, '2012-10-01 15:58:05.935000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.960000' WHERE "spree_products"."id" = 1052 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1052, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.962000' WHERE "spree_products"."id" = 1052  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3756, 1264) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1052 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 631 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 631) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:05.988000', 'PNG', 631, 3, NULL, '2012-10-01 15:58:05.988000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.993000' WHERE "spree_products"."id" = 1052 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1052, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:05.995000' WHERE "spree_products"."id" = 1052  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3757, 1265) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3755 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3756 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3757 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.043000' WHERE "spree_products"."id" = 1052  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3755 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.046000' WHERE "spree_products"."id" = 1052 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.048000' WHERE "spree_products"."id" = 1052  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3756 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.051000' WHERE "spree_products"."id" = 1052 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1052 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.060000' WHERE "spree_products"."id" = 1052  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3757 SQL (5.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.061000' WHERE "spree_products"."id" = 1052 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1052) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:06.079000' WHERE "spree_products"."id" = 1052 Row org.apache.poi.hssf.usermodel.HSSFRow@f75ce4 succesfully SAVED : ID 1052 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:06.101000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:06.101000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.105000' WHERE "spree_products"."id" = 1053 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1053, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.107000' WHERE "spree_products"."id" = 1053  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3758 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.111000' WHERE "spree_products"."id" = 1053  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1053  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:06.125000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:06.125000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:06.127000', NULL, 956, '2012-10-01 15:58:06.127000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1053, "updated_at" = '2012-10-01 15:58:06.131000' WHERE "spree_product_properties"."id" = 1162 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1325 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1053 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1053, 2307) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:06.157000', 'Oils', '2012-10-01 15:58:06.157000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1327 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:06.161000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1327, '2012-10-01 15:58:06.161000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1053, 2310) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1325 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2307 AND "spree_taxons"."taxonomy_id" = 1325 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2307 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:06.174000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2307, 'paintings/nature', 0, 10, 1325, '2012-10-01 15:58:06.174000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2307 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2311 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2311 THEN 2307 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2307 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2311 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2311 AND "spree_taxons"."taxonomy_id" = 1325 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2311 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:06.200000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 2311, 'paintings/nature/seascape', 0, 12, 1325, '2012-10-01 15:58:06.200000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2311 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2312 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2312 THEN 2311 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2311 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2312 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1053, 2311)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1053, 2312) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1053 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1053) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:06.220000', 631, 1, 1053, '2012-10-01 15:58:06.220000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 631 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.226000' WHERE "spree_products"."id" = 1053 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1053, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.228000' WHERE "spree_products"."id" = 1053  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3759, 1263) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1053 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 631 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.239000' WHERE "spree_products"."id" = 1053 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1053, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.241000' WHERE "spree_products"."id" = 1053  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3760, 1264) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1053 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 631 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.254000' WHERE "spree_products"."id" = 1053 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1053, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.257000' WHERE "spree_products"."id" = 1053  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3761, 1265) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3759 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3760 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3761 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.283000' WHERE "spree_products"."id" = 1053  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3759 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.286000' WHERE "spree_products"."id" = 1053 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.288000' WHERE "spree_products"."id" = 1053  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3760 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.289000' WHERE "spree_products"."id" = 1053 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1053 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.292000' WHERE "spree_products"."id" = 1053  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3761 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.294000' WHERE "spree_products"."id" = 1053 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1053) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:06.300000' WHERE "spree_products"."id" = 1053 Row org.apache.poi.hssf.usermodel.HSSFRow@64e032 succesfully SAVED : ID 1053 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:06.315000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:06.315000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.318000' WHERE "spree_products"."id" = 1054 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1054, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.322000' WHERE "spree_products"."id" = 1054  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3762 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.326000' WHERE "spree_products"."id" = 1054  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1054  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:06.336000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:06.336000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:06.343000', NULL, 957, '2012-10-01 15:58:06.343000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1054, "updated_at" = '2012-10-01 15:58:06.346000' WHERE "spree_product_properties"."id" = 1163 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:06.351000', NULL, 956, '2012-10-01 15:58:06.351000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1054, "updated_at" = '2012-10-01 15:58:06.353000' WHERE "spree_product_properties"."id" = 1164 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:06.357000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:06.357000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:06.360000', NULL, 958, '2012-10-01 15:58:06.360000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1054, "updated_at" = '2012-10-01 15:58:06.365000' WHERE "spree_product_properties"."id" = 1165 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:06.370000', 'Drawings', '2012-10-01 15:58:06.370000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1328 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:06.375000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1328, '2012-10-01 15:58:06.375000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1054 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1054, 2313) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1325 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2307 AND "spree_taxons"."taxonomy_id" = 1325 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2307 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:06.387000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 2307, 'paintings/landscape', 0, 16, 1325, '2012-10-01 15:58:06.387000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2307 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2314 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2314 THEN 2307 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2307 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2314 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1054, 2314)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1054, 2307) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1054 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1054) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:06.411000', 631, 1, 1054, '2012-10-01 15:58:06.411000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 631 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.418000' WHERE "spree_products"."id" = 1054 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1054, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.419000' WHERE "spree_products"."id" = 1054  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3763, 1263) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1054 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 631 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.438000' WHERE "spree_products"."id" = 1054 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1054, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.440000' WHERE "spree_products"."id" = 1054  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3764, 1264) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1054 AND "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 631 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.451000' WHERE "spree_products"."id" = 1054 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1054, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.452000' WHERE "spree_products"."id" = 1054  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3765, 1265) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:06.460000', 'print_type', 0, 'Print type', '2012-10-01 15:58:06.460000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1054 AND "spree_option_types"."id" = 632 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1054) ORDER BY position DESC LIMIT 1 SQL (24.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:06.481000', 632, 2, 1054, '2012-10-01 15:58:06.481000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 632 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 632) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:06.509000', 'black_white', 632, 1, NULL, '2012-10-01 15:58:06.509000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.520000' WHERE "spree_products"."id" = 1054 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1054, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.522000' WHERE "spree_products"."id" = 1054  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3766, 1266) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1054 AND "spree_option_types"."id" = 632 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 632 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 632) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:06.540000', 'colour', 632, 2, NULL, '2012-10-01 15:58:06.540000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.556000' WHERE "spree_products"."id" = 1054 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1054, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.559000' WHERE "spree_products"."id" = 1054  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3767, 1267) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3763 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3764 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3765 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3766 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3767 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.608000' WHERE "spree_products"."id" = 1054  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3763 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.610000' WHERE "spree_products"."id" = 1054 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.612000' WHERE "spree_products"."id" = 1054  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3764 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.616000' WHERE "spree_products"."id" = 1054 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.618000' WHERE "spree_products"."id" = 1054  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3765 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.619000' WHERE "spree_products"."id" = 1054 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.621000' WHERE "spree_products"."id" = 1054  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3766 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.623000' WHERE "spree_products"."id" = 1054 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1054 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.625000' WHERE "spree_products"."id" = 1054  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3767 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.627000' WHERE "spree_products"."id" = 1054 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1054) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:06.632000' WHERE "spree_products"."id" = 1054 Row org.apache.poi.hssf.usermodel.HSSFRow@183918f succesfully SAVED : ID 1054 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1053 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1054 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1052 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3755 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3756 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3757 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (16.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:06.918000', 'Paintings', '2012-10-01 15:58:06.918000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:06.924000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1329, '2012-10-01 15:58:06.924000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:06.934000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1329, '2012-10-01 15:58:06.934000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:06.982000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:06.982000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.987000' WHERE "spree_products"."id" = 1055 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1055, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.992000' WHERE "spree_products"."id" = 1055  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3768 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:06.995000' WHERE "spree_products"."id" = 1055  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1055  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.026000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:58:07.026000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:07.030000', NULL, 959, '2012-10-01 15:58:07.030000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1055, "updated_at" = '2012-10-01 15:58:07.033000' WHERE "spree_product_properties"."id" = 1166 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1055 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1055, 2315) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:07.058000', 'WaterColour', '2012-10-01 15:58:07.058000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1330 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.062000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1330, '2012-10-01 15:58:07.062000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1055, 2317) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.078000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:07.078000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1055 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1055) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:07.090000', 633, 1, 1055, '2012-10-01 15:58:07.090000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 633 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 633) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.098000', 'jpeg', 633, 1, NULL, '2012-10-01 15:58:07.098000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.102000' WHERE "spree_products"."id" = 1055 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1055, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.117000' WHERE "spree_products"."id" = 1055  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3769, 1268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1055 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 633 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 633) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.130000', 'PDF', 633, 2, NULL, '2012-10-01 15:58:07.130000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.136000' WHERE "spree_products"."id" = 1055 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1055, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.138000' WHERE "spree_products"."id" = 1055  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3770, 1269) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1055 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 633 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 633) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.154000', 'PNG', 633, 3, NULL, '2012-10-01 15:58:07.154000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.158000' WHERE "spree_products"."id" = 1055 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1055, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.161000' WHERE "spree_products"."id" = 1055  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3771, 1270) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3769 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3770 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3771 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.200000' WHERE "spree_products"."id" = 1055  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3769 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.202000' WHERE "spree_products"."id" = 1055 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.204000' WHERE "spree_products"."id" = 1055  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3770 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.205000' WHERE "spree_products"."id" = 1055 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1055 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.207000' WHERE "spree_products"."id" = 1055  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3771 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.209000' WHERE "spree_products"."id" = 1055 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1055) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:07.213000' WHERE "spree_products"."id" = 1055 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:07.221000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:07.221000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.225000' WHERE "spree_products"."id" = 1056 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1056, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.227000' WHERE "spree_products"."id" = 1056  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3772 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.230000' WHERE "spree_products"."id" = 1056  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1056  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.239000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:07.239000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:07.243000', NULL, 960, '2012-10-01 15:58:07.243000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1056, "updated_at" = '2012-10-01 15:58:07.244000' WHERE "spree_product_properties"."id" = 1167 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1056 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1056, 2315) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:07.262000', 'Oils', '2012-10-01 15:58:07.262000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1331 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.266000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1331, '2012-10-01 15:58:07.266000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1056, 2318) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2315 AND "spree_taxons"."taxonomy_id" = 1329 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2315 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.279000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2315, 'paintings/nature', 0, 10, 1329, '2012-10-01 15:58:07.279000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2315 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2319 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2319 THEN 2315 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2315 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2319 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2319 AND "spree_taxons"."taxonomy_id" = 1329 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2319 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.297000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 2319, 'paintings/nature/seascape', 0, 12, 1329, '2012-10-01 15:58:07.297000') Spree::Taxon Load (5.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2319 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2320 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2320 THEN 2319 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2319 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2320 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1056, 2319)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1056, 2320) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1056 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1056) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:07.328000', 633, 1, 1056, '2012-10-01 15:58:07.328000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 633 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.337000' WHERE "spree_products"."id" = 1056 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1056, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.339000' WHERE "spree_products"."id" = 1056  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3773, 1268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1056 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 633 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.352000' WHERE "spree_products"."id" = 1056 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1056, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.354000' WHERE "spree_products"."id" = 1056  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3774, 1269) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1056 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 633 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.370000' WHERE "spree_products"."id" = 1056 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1056, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.372000' WHERE "spree_products"."id" = 1056  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3775, 1270) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3773 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3774 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3775 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.412000' WHERE "spree_products"."id" = 1056  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3773 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.414000' WHERE "spree_products"."id" = 1056 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.416000' WHERE "spree_products"."id" = 1056  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3774 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.418000' WHERE "spree_products"."id" = 1056 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.421000' WHERE "spree_products"."id" = 1056  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3775 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.422000' WHERE "spree_products"."id" = 1056 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1056) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:07.430000' WHERE "spree_products"."id" = 1056 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:07.439000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:07.439000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.442000' WHERE "spree_products"."id" = 1057 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1057, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.446000' WHERE "spree_products"."id" = 1057  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3776 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.452000' WHERE "spree_products"."id" = 1057  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1057  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.463000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:07.463000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:07.465000', NULL, 961, '2012-10-01 15:58:07.465000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1057, "updated_at" = '2012-10-01 15:58:07.467000' WHERE "spree_product_properties"."id" = 1168 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:07.471000', NULL, 960, '2012-10-01 15:58:07.471000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1057, "updated_at" = '2012-10-01 15:58:07.473000' WHERE "spree_product_properties"."id" = 1169 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.477000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:07.477000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:07.479000', NULL, 962, '2012-10-01 15:58:07.479000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1057, "updated_at" = '2012-10-01 15:58:07.496000' WHERE "spree_product_properties"."id" = 1170 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:07.500000', 'Drawings', '2012-10-01 15:58:07.500000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1332 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.506000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1332, '2012-10-01 15:58:07.506000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1057 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1057, 2321) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2315 AND "spree_taxons"."taxonomy_id" = 1329 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2315 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.517000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 2315, 'paintings/landscape', 0, 16, 1329, '2012-10-01 15:58:07.517000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2315 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2322 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2322 THEN 2315 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2315 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2322 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1057, 2322)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1057, 2315) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1057 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1057) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:07.541000', 633, 1, 1057, '2012-10-01 15:58:07.541000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 633 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.548000' WHERE "spree_products"."id" = 1057 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1057, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.571000' WHERE "spree_products"."id" = 1057  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3777, 1268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1057 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 633 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.595000' WHERE "spree_products"."id" = 1057 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1057, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.599000' WHERE "spree_products"."id" = 1057  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3778, 1269) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1057 AND "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 633 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.619000' WHERE "spree_products"."id" = 1057 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1057, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.621000' WHERE "spree_products"."id" = 1057  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3779, 1270) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.629000', 'print_type', 0, 'Print type', '2012-10-01 15:58:07.629000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1057 AND "spree_option_types"."id" = 634 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1057) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:07.638000', 634, 2, 1057, '2012-10-01 15:58:07.638000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 634 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 634) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.645000', 'black_white', 634, 1, NULL, '2012-10-01 15:58:07.645000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.650000' WHERE "spree_products"."id" = 1057 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1057, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.670000' WHERE "spree_products"."id" = 1057  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3780, 1271) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1057 AND "spree_option_types"."id" = 634 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 634 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 634) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.682000', 'colour', 634, 2, NULL, '2012-10-01 15:58:07.682000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.694000' WHERE "spree_products"."id" = 1057 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1057, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.697000' WHERE "spree_products"."id" = 1057  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3781, 1272) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3777 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3778 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3779 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3780 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3781 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.732000' WHERE "spree_products"."id" = 1057  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3777 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.734000' WHERE "spree_products"."id" = 1057 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.737000' WHERE "spree_products"."id" = 1057  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3778 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.739000' WHERE "spree_products"."id" = 1057 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.741000' WHERE "spree_products"."id" = 1057  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3779 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.743000' WHERE "spree_products"."id" = 1057 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.745000' WHERE "spree_products"."id" = 1057  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3780 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.746000' WHERE "spree_products"."id" = 1057 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.749000' WHERE "spree_products"."id" = 1057  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3781 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.752000' WHERE "spree_products"."id" = 1057 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1057) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:07.756000' WHERE "spree_products"."id" = 1057  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1056 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1055 ORDER BY spree_option_types.position Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3769 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3770 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3771 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (14.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:07.859000', 'Paintings', '2012-10-01 15:58:07.859000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1333 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.865000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1333, '2012-10-01 15:58:07.865000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:07.874000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1333, '2012-10-01 15:58:07.874000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:07.895000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:07.895000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.899000' WHERE "spree_products"."id" = 1058 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1058, 'MV_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.902000' WHERE "spree_products"."id" = 1058  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3782 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.920000' WHERE "spree_products"."id" = 1058  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1058  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.928000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:07.928000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1058 AND "spree_option_types"."id" = 635 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1058) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:07.937000', 635, 1, 1058, '2012-10-01 15:58:07.937000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.940000', 'print_type', 0, 'Print type', '2012-10-01 15:58:07.940000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1058 AND "spree_option_types"."id" = 636 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1058) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:07.949000', 636, 2, 1058, '2012-10-01 15:58:07.949000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 635 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 635) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.966000', 'jpeg', 635, 1, NULL, '2012-10-01 15:58:07.966000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 636 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 636) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:07.973000', 'colour', 636, 1, NULL, '2012-10-01 15:58:07.973000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.991000' WHERE "spree_products"."id" = 1058 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1058, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:07.994000' WHERE "spree_products"."id" = 1058  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3783, 1273)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3783, 1274) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 635 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 635) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:08.000000', 'PDF', 635, 2, NULL, '2012-10-01 15:58:08.000000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 636 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.008000' WHERE "spree_products"."id" = 1058 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1058, 'MV_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.012000' WHERE "spree_products"."id" = 1058  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3784, 1275)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3784, 1274) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1058) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1058 AND "spree_option_types"."id" = 635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 635 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 635) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:08.032000', 'PNG', 635, 3, NULL, '2012-10-01 15:58:08.032000')  (2.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.040000' WHERE "spree_products"."id" = 1058 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1058, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.042000' WHERE "spree_products"."id" = 1058  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3785, 1276) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1058) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3783 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3784 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3785 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1058) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.060000' WHERE "spree_products"."id" = 1058  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3783 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.062000' WHERE "spree_products"."id" = 1058 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.064000' WHERE "spree_products"."id" = 1058  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3784 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.066000' WHERE "spree_products"."id" = 1058 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1058 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.068000' WHERE "spree_products"."id" = 1058  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3785 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.069000' WHERE "spree_products"."id" = 1058 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (18.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1058) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:08.092000' WHERE "spree_products"."id" = 1058 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:08.102000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:08.102000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1059 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.108000' WHERE "spree_products"."id" = 1059 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1059, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.111000' WHERE "spree_products"."id" = 1059  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3786 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.114000' WHERE "spree_products"."id" = 1059  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1059  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1059 AND "spree_option_types"."id" = 635 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1059) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:08.125000', 635, 1, 1059, '2012-10-01 15:58:08.125000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1059 AND "spree_option_types"."id" = 636 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1059) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:08.141000', 636, 2, 1059, '2012-10-01 15:58:08.141000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 636 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 636) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:08.144000', 'black_white', 636, 2, NULL, '2012-10-01 15:58:08.144000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 635 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1059 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.157000' WHERE "spree_products"."id" = 1059 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1059, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.159000' WHERE "spree_products"."id" = 1059  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3787, 1277)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3787, 1273) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1059 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1059) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1059 AND "spree_option_types"."id" = 635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1059 AND "spree_option_types"."id" = 636 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 636 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 635 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1059 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.182000' WHERE "spree_products"."id" = 1059 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1059, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.184000' WHERE "spree_products"."id" = 1059  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3788, 1277)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3788, 1276) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1059 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1059) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3787 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3788 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1059) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1059 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.206000' WHERE "spree_products"."id" = 1059  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3787 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.207000' WHERE "spree_products"."id" = 1059 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1059 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.209000' WHERE "spree_products"."id" = 1059  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3788 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.211000' WHERE "spree_products"."id" = 1059 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1059) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-01 15:58:08.216000' WHERE "spree_products"."id" = 1059 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:08.223000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:08.223000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.234000' WHERE "spree_products"."id" = 1060 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060, 'MV_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.238000' WHERE "spree_products"."id" = 1060  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3789 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.241000' WHERE "spree_products"."id" = 1060  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060 AND "spree_option_types"."id" = 635 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:08.252000', 635, 1, 1060, '2012-10-01 15:58:08.252000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060 AND "spree_option_types"."id" = 636 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:08.258000', 636, 2, 1060, '2012-10-01 15:58:08.258000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:08.261000', 'size', 0, 'Size', '2012-10-01 15:58:08.261000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060 AND "spree_option_types"."id" = 637 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:08.266000', 637, 3, 1060, '2012-10-01 15:58:08.266000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 636 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 637 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 637) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:08.270000', 'large', 637, 1, NULL, '2012-10-01 15:58:08.270000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 635 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.275000' WHERE "spree_products"."id" = 1060 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060, 'MV_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.277000' WHERE "spree_products"."id" = 1060  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3790, 1274)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3790, 1278)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3790, 1273) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 636 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 636) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:08.281000', 'sepia', 636, 3, NULL, '2012-10-01 15:58:08.281000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 637 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 635 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.304000' WHERE "spree_products"."id" = 1060 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060, 'MV_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.306000' WHERE "spree_products"."id" = 1060  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3791, 1279)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3791, 1278)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3791, 1273) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060 AND "spree_option_types"."id" = 635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 635 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.323000' WHERE "spree_products"."id" = 1060 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.325000' WHERE "spree_products"."id" = 1060  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3792, 1276) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060 AND "spree_option_types"."id" = 635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 635 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.341000' WHERE "spree_products"."id" = 1060 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.343000' WHERE "spree_products"."id" = 1060  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3793, 1275) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060 AND "spree_option_types"."id" = 636 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 636 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.354000' WHERE "spree_products"."id" = 1060 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060, 'MV_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:08.357000' WHERE "spree_products"."id" = 1060  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3794, 1277) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1058 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 3783 Booted Spree using version 1.1.3 SQL (10.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-01 15:58:18.374000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:18.374000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.378000' WHERE "spree_products"."id" = 1061 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1061, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.383000' WHERE "spree_products"."id" = 1061  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3795 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.389000' WHERE "spree_products"."id" = 1061  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1061  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:18.399000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:58:18.399000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:18.401000', NULL, 963, '2012-10-01 15:58:18.401000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1061, "updated_at" = '2012-10-01 15:58:18.403000' WHERE "spree_product_properties"."id" = 1171 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1061) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:18.409000', 'Paintings', '2012-10-01 15:58:18.409000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1334 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:18.443000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1334, '2012-10-01 15:58:18.443000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1061 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1061, 2325) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:18.453000', 'WaterColour', '2012-10-01 15:58:18.453000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1335 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:18.457000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 1335, '2012-10-01 15:58:18.457000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1061, 2326) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1061) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:18.468000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:18.468000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1061 AND "spree_option_types"."id" = 638 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1061) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:18.477000', 638, 1, 1061, '2012-10-01 15:58:18.477000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 638) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:18.481000', 'jpeg', 638, 1, NULL, '2012-10-01 15:58:18.481000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.484000' WHERE "spree_products"."id" = 1061 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1061, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.486000' WHERE "spree_products"."id" = 1061  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3796, 1280) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 638) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:18.491000', 'PDF', 638, 2, NULL, '2012-10-01 15:58:18.491000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.494000' WHERE "spree_products"."id" = 1061 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1061, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.496000' WHERE "spree_products"."id" = 1061  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3797, 1281) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 638) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:18.499000', 'PNG', 638, 3, NULL, '2012-10-01 15:58:18.499000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.502000' WHERE "spree_products"."id" = 1061 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1061, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.504000' WHERE "spree_products"."id" = 1061  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3798, 1282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1061) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3796 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3797 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3798 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1061) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.526000' WHERE "spree_products"."id" = 1061  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3796 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.527000' WHERE "spree_products"."id" = 1061 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.529000' WHERE "spree_products"."id" = 1061  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3797 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.530000' WHERE "spree_products"."id" = 1061 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1061 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.532000' WHERE "spree_products"."id" = 1061  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3798 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:18.534000' WHERE "spree_products"."id" = 1061 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1061) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3795 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3795) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-01 15:58:18.604000', 240, 1, 'Spree::Image', 3795, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1061) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:19.362000' WHERE "spree_products"."id" = 1061 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (24.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-01 15:58:19.413000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:19.413000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.418000' WHERE "spree_products"."id" = 1062 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1062, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.420000' WHERE "spree_products"."id" = 1062  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3799 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.422000' WHERE "spree_products"."id" = 1062  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1062  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:19.442000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:19.442000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:19.445000', NULL, 964, '2012-10-01 15:58:19.445000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1062, "updated_at" = '2012-10-01 15:58:19.446000' WHERE "spree_product_properties"."id" = 1172 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1062) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1334 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1062 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1062, 2325) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:19.453000', 'Landscape', '2012-10-01 15:58:19.453000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1336 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:19.458000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 1336, '2012-10-01 15:58:19.458000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1062, 2327) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:19.465000', 'Oils', '2012-10-01 15:58:19.465000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:19.469000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1337, '2012-10-01 15:58:19.469000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1062, 2328) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1062) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1062 AND "spree_option_types"."id" = 638 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1062) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:19.481000', 638, 1, 1062, '2012-10-01 15:58:19.481000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.485000' WHERE "spree_products"."id" = 1062 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1062, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.487000' WHERE "spree_products"."id" = 1062  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3800, 1280) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.492000' WHERE "spree_products"."id" = 1062 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1062, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.494000' WHERE "spree_products"."id" = 1062  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3801, 1281) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.498000' WHERE "spree_products"."id" = 1062 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1062, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.500000' WHERE "spree_products"."id" = 1062  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3802, 1282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1062) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3800 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3801 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3802 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1062) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.522000' WHERE "spree_products"."id" = 1062  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3800 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.524000' WHERE "spree_products"."id" = 1062 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.526000' WHERE "spree_products"."id" = 1062  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3801 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.527000' WHERE "spree_products"."id" = 1062 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1062 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.529000' WHERE "spree_products"."id" = 1062  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3802 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:19.531000' WHERE "spree_products"."id" = 1062 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1062) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3799 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3799) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-01 15:58:19.602000', 2424, 1, 'Spree::Image', 3799, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1062) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:27.963000' WHERE "spree_products"."id" = 1062 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-10-01 15:58:27.976000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:27.976000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:27.979000' WHERE "spree_products"."id" = 1063 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1063, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:27.982000' WHERE "spree_products"."id" = 1063  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3803 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:27.985000' WHERE "spree_products"."id" = 1063  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1063  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:27.994000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:27.994000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:27.996000', NULL, 965, '2012-10-01 15:58:27.996000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1063, "updated_at" = '2012-10-01 15:58:27.999000' WHERE "spree_product_properties"."id" = 1173 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:28.002000', NULL, 964, '2012-10-01 15:58:28.002000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1063, "updated_at" = '2012-10-01 15:58:28.004000' WHERE "spree_product_properties"."id" = 1174 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (3.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:28.006000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:28.006000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:28.011000', NULL, 966, '2012-10-01 15:58:28.011000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1063, "updated_at" = '2012-10-01 15:58:28.013000' WHERE "spree_product_properties"."id" = 1175 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1063) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:28.017000', 'Drawings', '2012-10-01 15:58:28.017000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1338 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:28.024000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 1338, '2012-10-01 15:58:28.024000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1063 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1063, 2329) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1063) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1063 AND "spree_option_types"."id" = 638 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1063) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:28.038000', 638, 1, 1063, '2012-10-01 15:58:28.038000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.043000' WHERE "spree_products"."id" = 1063 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1063, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.045000' WHERE "spree_products"."id" = 1063  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3804, 1280) Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.061000' WHERE "spree_products"."id" = 1063 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1063, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.063000' WHERE "spree_products"."id" = 1063  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3805, 1281) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 638 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.071000' WHERE "spree_products"."id" = 1063 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1063, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.073000' WHERE "spree_products"."id" = 1063  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3806, 1282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:28.078000', 'print_type', 0, 'Print type', '2012-10-01 15:58:28.078000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1063 AND "spree_option_types"."id" = 639 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1063) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:28.084000', 639, 2, 1063, '2012-10-01 15:58:28.084000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 639 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 639) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:28.088000', 'black_white', 639, 1, NULL, '2012-10-01 15:58:28.088000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.096000' WHERE "spree_products"."id" = 1063 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1063, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.099000' WHERE "spree_products"."id" = 1063  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3807, 1283) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 639 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 639) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:28.103000', 'colour', 639, 2, NULL, '2012-10-01 15:58:28.103000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.108000' WHERE "spree_products"."id" = 1063 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1063, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.110000' WHERE "spree_products"."id" = 1063  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3808, 1284) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1063) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3804 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3805 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3806 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3807 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3808 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1063) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.134000' WHERE "spree_products"."id" = 1063  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3804 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.136000' WHERE "spree_products"."id" = 1063 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.138000' WHERE "spree_products"."id" = 1063  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3805 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.139000' WHERE "spree_products"."id" = 1063 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.142000' WHERE "spree_products"."id" = 1063  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3806 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.144000' WHERE "spree_products"."id" = 1063 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.147000' WHERE "spree_products"."id" = 1063  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3807 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.150000' WHERE "spree_products"."id" = 1063 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.152000' WHERE "spree_products"."id" = 1063  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3808 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:28.154000' WHERE "spree_products"."id" = 1063 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1063) LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3803 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3803) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-01 15:58:28.165000', 240, 1, 'Spree::Image', 3803, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1063) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:29.123000' WHERE "spree_products"."id" = 1063  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3795) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1061)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3795 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1061 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3795) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1061)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1062 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3799) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1062)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1063 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3803) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1063)) SQL (4.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:29.408000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:29.408000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.414000' WHERE "spree_products"."id" = 1064 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1064, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.416000' WHERE "spree_products"."id" = 1064  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3809 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.419000' WHERE "spree_products"."id" = 1064  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1064  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:29.429000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:58:29.429000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:29.438000', NULL, 967, '2012-10-01 15:58:29.438000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1064, "updated_at" = '2012-10-01 15:58:29.442000' WHERE "spree_product_properties"."id" = 1176 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1064) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:29.447000', 'Paintings', '2012-10-01 15:58:29.447000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1339 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (3.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:29.455000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1339, '2012-10-01 15:58:29.455000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1064 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1064, 2330) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:29.464000', 'WaterColour', '2012-10-01 15:58:29.464000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1340 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:29.469000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 1340, '2012-10-01 15:58:29.469000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1064, 2331) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1064) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:29.478000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:29.478000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1064 AND "spree_option_types"."id" = 640 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1064) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:29.486000', 640, 1, 1064, '2012-10-01 15:58:29.486000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 640) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:29.491000', 'jpeg', 640, 1, NULL, '2012-10-01 15:58:29.491000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.495000' WHERE "spree_products"."id" = 1064 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1064, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.497000' WHERE "spree_products"."id" = 1064  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3810, 1285) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 640) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:29.527000', 'PDF', 640, 2, NULL, '2012-10-01 15:58:29.527000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.531000' WHERE "spree_products"."id" = 1064 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1064, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.533000' WHERE "spree_products"."id" = 1064  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3811, 1286) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 640) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:29.537000', 'PNG', 640, 3, NULL, '2012-10-01 15:58:29.537000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.540000' WHERE "spree_products"."id" = 1064 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1064, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.542000' WHERE "spree_products"."id" = 1064  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3812, 1287) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1064) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3810 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3811 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3812 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1064) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.567000' WHERE "spree_products"."id" = 1064  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3810 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.568000' WHERE "spree_products"."id" = 1064 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.570000' WHERE "spree_products"."id" = 1064  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3811 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.572000' WHERE "spree_products"."id" = 1064 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1064 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.574000' WHERE "spree_products"."id" = 1064  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3812 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:29.576000' WHERE "spree_products"."id" = 1064 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1064) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3809 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3809) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-01 15:58:29.585000', 240, 1, 'Spree::Image', 3809, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1064) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:30.341000' WHERE "spree_products"."id" = 1064 Row org.apache.poi.hssf.usermodel.HSSFRow@ac7f07 succesfully SAVED : ID 1064 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:30.387000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:30.387000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.391000' WHERE "spree_products"."id" = 1065 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1065, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.396000' WHERE "spree_products"."id" = 1065  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3813 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.399000' WHERE "spree_products"."id" = 1065  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1065  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:30.408000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:30.408000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:30.410000', NULL, 968, '2012-10-01 15:58:30.410000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1065, "updated_at" = '2012-10-01 15:58:30.412000' WHERE "spree_product_properties"."id" = 1177 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1065) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1339 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1065 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1065, 2330) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:30.422000', 'Landscape', '2012-10-01 15:58:30.422000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:30.425000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 1341, '2012-10-01 15:58:30.425000') Product assigned to Taxons : ["Landscape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1065, 2332) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:30.430000', 'Oils', '2012-10-01 15:58:30.430000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1342 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:30.433000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1342, '2012-10-01 15:58:30.433000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1065, 2333) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1065) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1065 AND "spree_option_types"."id" = 640 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1065) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:30.444000', 640, 1, 1065, '2012-10-01 15:58:30.444000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.466000' WHERE "spree_products"."id" = 1065 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1065, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.472000' WHERE "spree_products"."id" = 1065  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3814, 1285) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.476000' WHERE "spree_products"."id" = 1065 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1065, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.479000' WHERE "spree_products"."id" = 1065  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3815, 1286) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.484000' WHERE "spree_products"."id" = 1065 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1065, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.485000' WHERE "spree_products"."id" = 1065  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3816, 1287) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1065) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3814 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3815 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3816 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1065) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.510000' WHERE "spree_products"."id" = 1065  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3814 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.512000' WHERE "spree_products"."id" = 1065 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.516000' WHERE "spree_products"."id" = 1065  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3815 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.519000' WHERE "spree_products"."id" = 1065 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1065 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.521000' WHERE "spree_products"."id" = 1065  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3816 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:30.523000' WHERE "spree_products"."id" = 1065 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1065) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3813 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3813) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-01 15:58:30.650000', 2424, 1, 'Spree::Image', 3813, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1065) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:39.124000' WHERE "spree_products"."id" = 1065 Row org.apache.poi.hssf.usermodel.HSSFRow@992357 succesfully SAVED : ID 1065 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:39.136000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:39.136000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.143000' WHERE "spree_products"."id" = 1066 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1066, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.146000' WHERE "spree_products"."id" = 1066  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3817 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.152000' WHERE "spree_products"."id" = 1066  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1066  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:39.160000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:39.160000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:39.162000', NULL, 969, '2012-10-01 15:58:39.162000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1066, "updated_at" = '2012-10-01 15:58:39.166000' WHERE "spree_product_properties"."id" = 1178 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:39.169000', NULL, 968, '2012-10-01 15:58:39.169000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1066, "updated_at" = '2012-10-01 15:58:39.170000' WHERE "spree_product_properties"."id" = 1179 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:39.174000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:39.174000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:39.176000', NULL, 970, '2012-10-01 15:58:39.176000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1066, "updated_at" = '2012-10-01 15:58:39.177000' WHERE "spree_product_properties"."id" = 1180 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1066) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:39.184000', 'Drawings', '2012-10-01 15:58:39.184000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1343 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:39.189000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 1343, '2012-10-01 15:58:39.189000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1066 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1066, 2334) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1066) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1066 AND "spree_option_types"."id" = 640 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1066) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:39.234000', 640, 1, 1066, '2012-10-01 15:58:39.234000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.245000' WHERE "spree_products"."id" = 1066 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1066, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.247000' WHERE "spree_products"."id" = 1066  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3818, 1285) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.251000' WHERE "spree_products"."id" = 1066 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1066, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.254000' WHERE "spree_products"."id" = 1066  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3819, 1286) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 640 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.261000' WHERE "spree_products"."id" = 1066 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1066, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.263000' WHERE "spree_products"."id" = 1066  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3820, 1287) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:39.268000', 'print_type', 0, 'Print type', '2012-10-01 15:58:39.268000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1066 AND "spree_option_types"."id" = 641 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1066) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:39.278000', 641, 2, 1066, '2012-10-01 15:58:39.278000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 641 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 641) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:39.283000', 'black_white', 641, 1, NULL, '2012-10-01 15:58:39.283000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.290000' WHERE "spree_products"."id" = 1066 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1066, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.292000' WHERE "spree_products"."id" = 1066  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3821, 1288) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 641 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 641) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:39.296000', 'colour', 641, 2, NULL, '2012-10-01 15:58:39.296000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.302000' WHERE "spree_products"."id" = 1066 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1066, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.305000' WHERE "spree_products"."id" = 1066  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3822, 1289) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1066) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3818 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3819 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3820 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3821 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3822 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1066) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.335000' WHERE "spree_products"."id" = 1066  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3818 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.337000' WHERE "spree_products"."id" = 1066 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.339000' WHERE "spree_products"."id" = 1066  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3819 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.342000' WHERE "spree_products"."id" = 1066 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.344000' WHERE "spree_products"."id" = 1066  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3820 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.345000' WHERE "spree_products"."id" = 1066 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.347000' WHERE "spree_products"."id" = 1066  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3821 SQL (3.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.350000' WHERE "spree_products"."id" = 1066 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1066 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.354000' WHERE "spree_products"."id" = 1066  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3822 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:39.358000' WHERE "spree_products"."id" = 1066 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1066) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3817 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3817) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-01 15:58:39.367000', 240, 1, 'Spree::Image', 3817, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1066) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:40.230000' WHERE "spree_products"."id" = 1066 Row org.apache.poi.hssf.usermodel.HSSFRow@77ded7 succesfully SAVED : ID 1066 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3809) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1064)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1064 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3809) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1064)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1065 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3813) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1065)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1066 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3817) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1066))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (9.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (43.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:40.484000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:40.484000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.517000' WHERE "spree_products"."id" = 1067 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1067, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.521000' WHERE "spree_products"."id" = 1067  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3823 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.524000' WHERE "spree_products"."id" = 1067  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1067  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.533000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:58:40.533000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:40.535000', NULL, 971, '2012-10-01 15:58:40.535000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1067, "updated_at" = '2012-10-01 15:58:40.539000' WHERE "spree_product_properties"."id" = 1181 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1067) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:40.543000', 'Paintings', '2012-10-01 15:58:40.543000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1344 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:40.547000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1344, '2012-10-01 15:58:40.547000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1067 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1067, 2335) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:40.554000', 'WaterColour', '2012-10-01 15:58:40.554000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:40.558000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 1345, '2012-10-01 15:58:40.558000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1067, 2336) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1067) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1067) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.567000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:40.567000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1067 AND "spree_option_types"."id" = 642 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1067) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:40.576000', 642, 1, 1067, '2012-10-01 15:58:40.576000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 642) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.582000', 'jpeg', 642, 1, NULL, '2012-10-01 15:58:40.582000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.586000' WHERE "spree_products"."id" = 1067 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1067, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.588000' WHERE "spree_products"."id" = 1067  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3824, 1290) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 642) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.617000', 'PDF', 642, 2, NULL, '2012-10-01 15:58:40.617000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.622000' WHERE "spree_products"."id" = 1067 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1067, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.624000' WHERE "spree_products"."id" = 1067  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3825, 1291) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 642) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.628000', 'PNG', 642, 3, NULL, '2012-10-01 15:58:40.628000') Spree::Product Load (29.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.661000' WHERE "spree_products"."id" = 1067 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1067, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.663000' WHERE "spree_products"."id" = 1067  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3826, 1292) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1067) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3824 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3825 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3826 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1067) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.682000' WHERE "spree_products"."id" = 1067  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3824 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.683000' WHERE "spree_products"."id" = 1067 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.685000' WHERE "spree_products"."id" = 1067  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3825 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.687000' WHERE "spree_products"."id" = 1067 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.689000' WHERE "spree_products"."id" = 1067  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3826 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.691000' WHERE "spree_products"."id" = 1067 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1067) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:40.695000' WHERE "spree_products"."id" = 1067 Row org.apache.poi.hssf.usermodel.HSSFRow@1d650f6 succesfully SAVED : ID 1067 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:40.706000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:40.706000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.710000' WHERE "spree_products"."id" = 1068 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1068, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.712000' WHERE "spree_products"."id" = 1068  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3827 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.715000' WHERE "spree_products"."id" = 1068  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1068  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.721000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:40.721000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:40.724000', NULL, 972, '2012-10-01 15:58:40.724000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1068, "updated_at" = '2012-10-01 15:58:40.726000' WHERE "spree_product_properties"."id" = 1182 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1068) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1344 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1068 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1068, 2335) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:40.739000', 'Oils', '2012-10-01 15:58:40.739000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1346 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (21.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:40.764000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 1346, '2012-10-01 15:58:40.764000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1068, 2337) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1344 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2335 AND "spree_taxons"."taxonomy_id" = 1344 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2335 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:40.773000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 2335, 'paintings/nature', 0, 8, 1344, '2012-10-01 15:58:40.773000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2335 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2338 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2338 THEN 2335 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2335 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2338 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2338 AND "spree_taxons"."taxonomy_id" = 1344 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2338 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:40.786000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 2338, 'paintings/nature/seascape', 0, 10, 1344, '2012-10-01 15:58:40.786000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2338 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2339 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2339 THEN 2338 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2338 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2339 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1068, 2338)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1068, 2339) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1068) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1068 AND "spree_option_types"."id" = 642 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1068) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:40.806000', 642, 1, 1068, '2012-10-01 15:58:40.806000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.811000' WHERE "spree_products"."id" = 1068 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1068, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.813000' WHERE "spree_products"."id" = 1068  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3828, 1290) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.817000' WHERE "spree_products"."id" = 1068 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1068, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.819000' WHERE "spree_products"."id" = 1068  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3829, 1291) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.824000' WHERE "spree_products"."id" = 1068 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1068, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.826000' WHERE "spree_products"."id" = 1068  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3830, 1292) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1068) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1068) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3828 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3829 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3830 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1068) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.855000' WHERE "spree_products"."id" = 1068  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3828 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.857000' WHERE "spree_products"."id" = 1068 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.859000' WHERE "spree_products"."id" = 1068  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3829 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.861000' WHERE "spree_products"."id" = 1068 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.863000' WHERE "spree_products"."id" = 1068  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3830 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.891000' WHERE "spree_products"."id" = 1068 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1068) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:40.897000' WHERE "spree_products"."id" = 1068 Row org.apache.poi.hssf.usermodel.HSSFRow@178b46a succesfully SAVED : ID 1068 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:40.908000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:40.908000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.911000' WHERE "spree_products"."id" = 1069 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1069, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.913000' WHERE "spree_products"."id" = 1069  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3831 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.915000' WHERE "spree_products"."id" = 1069  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1069  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.927000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:40.927000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:40.930000', NULL, 973, '2012-10-01 15:58:40.930000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1069, "updated_at" = '2012-10-01 15:58:40.933000' WHERE "spree_product_properties"."id" = 1183 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:40.936000', NULL, 972, '2012-10-01 15:58:40.936000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1069, "updated_at" = '2012-10-01 15:58:40.938000' WHERE "spree_product_properties"."id" = 1184 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:40.942000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:40.942000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:40.945000', NULL, 974, '2012-10-01 15:58:40.945000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1069, "updated_at" = '2012-10-01 15:58:40.947000' WHERE "spree_product_properties"."id" = 1185 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1069) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:40.952000', 'Drawings', '2012-10-01 15:58:40.952000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1347 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:40.956000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 1347, '2012-10-01 15:58:40.956000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1069 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1069, 2340) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1344 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2335 AND "spree_taxons"."taxonomy_id" = 1344 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2335 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:40.969000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 2335, 'paintings/landscape', 0, 14, 1344, '2012-10-01 15:58:40.969000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2335 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2341 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2341 THEN 2335 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2335 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2341 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1069, 2341)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1069, 2335) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1069) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1069) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1069 AND "spree_option_types"."id" = 642 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1069) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:40.985000', 642, 1, 1069, '2012-10-01 15:58:40.985000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.989000' WHERE "spree_products"."id" = 1069 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1069, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.991000' WHERE "spree_products"."id" = 1069  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3832, 1290) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.996000' WHERE "spree_products"."id" = 1069 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1069, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:40.998000' WHERE "spree_products"."id" = 1069  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3833, 1291) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 642 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.002000' WHERE "spree_products"."id" = 1069 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1069, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.004000' WHERE "spree_products"."id" = 1069  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3834, 1292) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:41.009000', 'print_type', 0, 'Print type', '2012-10-01 15:58:41.009000') Spree::OptionType Exists (45.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1069 AND "spree_option_types"."id" = 643 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1069) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:41.064000', 643, 2, 1069, '2012-10-01 15:58:41.064000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 643 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 643) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:41.092000', 'black_white', 643, 1, NULL, '2012-10-01 15:58:41.092000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.099000' WHERE "spree_products"."id" = 1069 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1069, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.102000' WHERE "spree_products"."id" = 1069  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3835, 1293) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 643 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 643) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:41.107000', 'colour', 643, 2, NULL, '2012-10-01 15:58:41.107000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.116000' WHERE "spree_products"."id" = 1069 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1069, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.118000' WHERE "spree_products"."id" = 1069  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3836, 1294) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1069) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3832 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3833 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3834 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3835 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3836 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1069) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.145000' WHERE "spree_products"."id" = 1069  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3832 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.147000' WHERE "spree_products"."id" = 1069 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.148000' WHERE "spree_products"."id" = 1069  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3833 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.150000' WHERE "spree_products"."id" = 1069 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.152000' WHERE "spree_products"."id" = 1069  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3834 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.153000' WHERE "spree_products"."id" = 1069 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.155000' WHERE "spree_products"."id" = 1069  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3835 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.156000' WHERE "spree_products"."id" = 1069 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.158000' WHERE "spree_products"."id" = 1069  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3836 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:41.160000' WHERE "spree_products"."id" = 1069 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1069) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:41.164000' WHERE "spree_products"."id" = 1069 Row org.apache.poi.hssf.usermodel.HSSFRow@1778e4f succesfully SAVED : ID 1069 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3831) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1069)) Excel Loader processing 70 rows Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Image Load (61.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3823 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3823) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-01 15:58:41.302000', 240, 1, 'Spree::Image', 3823, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1067 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:42.091000' WHERE "spree_products"."id" = 1067  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1067 Row org.apache.poi.hssf.usermodel.HSSFRow@131af18 succesfully SAVED : ID 3823 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3827 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3827) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-01 15:58:42.254000', 2424, 1, 'Spree::Image', 3827, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1068 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:50.497000' WHERE "spree_products"."id" = 1068  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1068 Row org.apache.poi.hssf.usermodel.HSSFRow@132e0df succesfully SAVED : ID 3827 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3831 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3831) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-01 15:58:50.516000', 240, 1, 'Spree::Image', 3831, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1069 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.295000' WHERE "spree_products"."id" = 1069  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1069 Row org.apache.poi.hssf.usermodel.HSSFRow@b85467 succesfully SAVED : ID 3831 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = '') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1067 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3823) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1067)) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1068 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3827) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1068)) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1069 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3831) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1069)) SQL (3.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (30.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:58:51.572000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:58:51.572000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.577000' WHERE "spree_products"."id" = 1070 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1070, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.633000' WHERE "spree_products"."id" = 1070  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3837 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.636000' WHERE "spree_products"."id" = 1070  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1070  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:51.644000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:58:51.644000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:51.646000', NULL, 975, '2012-10-01 15:58:51.646000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1070, "updated_at" = '2012-10-01 15:58:51.647000' WHERE "spree_product_properties"."id" = 1186 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:51.652000', 'Paintings', '2012-10-01 15:58:51.652000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1348 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:51.656000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1348, '2012-10-01 15:58:51.656000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1070 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1070, 2342) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:51.661000', 'WaterColour', '2012-10-01 15:58:51.661000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1349 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:51.664000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 1349, '2012-10-01 15:58:51.664000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1070, 2343) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:51.690000', 'mime_type', 0, 'Mime type', '2012-10-01 15:58:51.690000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1070 AND "spree_option_types"."id" = 644 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1070) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:51.696000', 644, 1, 1070, '2012-10-01 15:58:51.696000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 644) ORDER BY position DESC LIMIT 1 SQL (4.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:51.700000', 'jpeg', 644, 1, NULL, '2012-10-01 15:58:51.700000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.707000' WHERE "spree_products"."id" = 1070 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1070, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.709000' WHERE "spree_products"."id" = 1070  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3838, 1295) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 644) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:51.742000', 'PDF', 644, 2, NULL, '2012-10-01 15:58:51.742000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.746000' WHERE "spree_products"."id" = 1070 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1070, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.748000' WHERE "spree_products"."id" = 1070  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3839, 1296) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 644) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:51.765000', 'PNG', 644, 3, NULL, '2012-10-01 15:58:51.765000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.770000' WHERE "spree_products"."id" = 1070 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1070, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.772000' WHERE "spree_products"."id" = 1070  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3840, 1297) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3838 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3839 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3840 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.792000' WHERE "spree_products"."id" = 1070  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3838 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.794000' WHERE "spree_products"."id" = 1070 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.795000' WHERE "spree_products"."id" = 1070  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3839 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.797000' WHERE "spree_products"."id" = 1070 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1070 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.799000' WHERE "spree_products"."id" = 1070  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3840 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.800000' WHERE "spree_products"."id" = 1070 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:58:51.804000' WHERE "spree_products"."id" = 1070 Row org.apache.poi.hssf.usermodel.HSSFRow@f2230f succesfully SAVED : ID 1070 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:58:51.820000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:58:51.820000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.823000' WHERE "spree_products"."id" = 1071 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1071, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.825000' WHERE "spree_products"."id" = 1071  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3841 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.828000' WHERE "spree_products"."id" = 1071  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1071  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:51.844000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:58:51.844000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:51.847000', NULL, 976, '2012-10-01 15:58:51.847000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1071, "updated_at" = '2012-10-01 15:58:51.849000' WHERE "spree_product_properties"."id" = 1187 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1348 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1071 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1071, 2342) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:51.858000', 'Oils', '2012-10-01 15:58:51.858000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1350 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:51.864000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 1350, '2012-10-01 15:58:51.864000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1071, 2344) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1348 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2342 AND "spree_taxons"."taxonomy_id" = 1348 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2342 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:51.873000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 2342, 'paintings/nature', 0, 8, 1348, '2012-10-01 15:58:51.873000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2342 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2345 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2345 THEN 2342 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2342 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2345 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2345 AND "spree_taxons"."taxonomy_id" = 1348 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2345 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:51.886000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 2345, 'paintings/nature/seascape', 0, 10, 1348, '2012-10-01 15:58:51.886000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2345 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2346 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2346 THEN 2345 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2345 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2346 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1071, 2345)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1071, 2346) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1071 AND "spree_option_types"."id" = 644 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1071) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:51.902000', 644, 1, 1071, '2012-10-01 15:58:51.902000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.907000' WHERE "spree_products"."id" = 1071 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1071, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.909000' WHERE "spree_products"."id" = 1071  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3842, 1295) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.927000' WHERE "spree_products"."id" = 1071 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1071, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.929000' WHERE "spree_products"."id" = 1071  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3843, 1296) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.934000' WHERE "spree_products"."id" = 1071 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1071, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.936000' WHERE "spree_products"."id" = 1071  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3844, 1297) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3842 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3843 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3844 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.960000' WHERE "spree_products"."id" = 1071  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3842 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.962000' WHERE "spree_products"."id" = 1071 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.963000' WHERE "spree_products"."id" = 1071  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3843 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.965000' WHERE "spree_products"."id" = 1071 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1071 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.967000' WHERE "spree_products"."id" = 1071  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3844 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.968000' WHERE "spree_products"."id" = 1071 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:58:51.973000' WHERE "spree_products"."id" = 1071 Row org.apache.poi.hssf.usermodel.HSSFRow@1d367c8 succesfully SAVED : ID 1071 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:58:51.982000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:58:51.982000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.985000' WHERE "spree_products"."id" = 1072 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1072, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.988000' WHERE "spree_products"."id" = 1072  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3845 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:51.990000' WHERE "spree_products"."id" = 1072  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1072  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:51.997000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:58:51.997000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:51.999000', NULL, 977, '2012-10-01 15:58:51.999000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1072, "updated_at" = '2012-10-01 15:58:52.001000' WHERE "spree_product_properties"."id" = 1188 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:52.005000', NULL, 976, '2012-10-01 15:58:52.005000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1072, "updated_at" = '2012-10-01 15:58:52.007000' WHERE "spree_product_properties"."id" = 1189 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:58:52.009000', 'yet_another_property', 'Yet another property', '2012-10-01 15:58:52.009000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:58:52.011000', NULL, 978, '2012-10-01 15:58:52.011000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1072, "updated_at" = '2012-10-01 15:58:52.013000' WHERE "spree_product_properties"."id" = 1190 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:58:52.017000', 'Drawings', '2012-10-01 15:58:52.017000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1351 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:52.020000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 1351, '2012-10-01 15:58:52.020000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1072 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1072, 2347) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1348 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2342 AND "spree_taxons"."taxonomy_id" = 1348 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2342 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:58:52.031000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 2342, 'paintings/landscape', 0, 14, 1348, '2012-10-01 15:58:52.031000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2342 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2348 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2348 THEN 2342 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2342 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2348 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1072, 2348)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1072, 2342) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1072 AND "spree_option_types"."id" = 644 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1072) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:52.046000', 644, 1, 1072, '2012-10-01 15:58:52.046000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.050000' WHERE "spree_products"."id" = 1072 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1072, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.053000' WHERE "spree_products"."id" = 1072  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3846, 1295) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.057000' WHERE "spree_products"."id" = 1072 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1072, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.059000' WHERE "spree_products"."id" = 1072  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3847, 1296) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 644 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.065000' WHERE "spree_products"."id" = 1072 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1072, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.067000' WHERE "spree_products"."id" = 1072  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3848, 1297) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:52.071000', 'print_type', 0, 'Print type', '2012-10-01 15:58:52.071000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1072 AND "spree_option_types"."id" = 645 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1072) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:58:52.080000', 645, 2, 1072, '2012-10-01 15:58:52.080000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 645 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 645) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:52.085000', 'black_white', 645, 1, NULL, '2012-10-01 15:58:52.085000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.091000' WHERE "spree_products"."id" = 1072 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1072, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.128000' WHERE "spree_products"."id" = 1072  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3849, 1298) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 645 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 645) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:58:52.132000', 'colour', 645, 2, NULL, '2012-10-01 15:58:52.132000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.138000' WHERE "spree_products"."id" = 1072 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1072, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.140000' WHERE "spree_products"."id" = 1072  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3850, 1299) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3846 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3847 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3848 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3849 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3850 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.168000' WHERE "spree_products"."id" = 1072  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3846 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.170000' WHERE "spree_products"."id" = 1072 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.172000' WHERE "spree_products"."id" = 1072  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3847 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.173000' WHERE "spree_products"."id" = 1072 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.176000' WHERE "spree_products"."id" = 1072  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3848 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.177000' WHERE "spree_products"."id" = 1072 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.179000' WHERE "spree_products"."id" = 1072  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3849 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.181000' WHERE "spree_products"."id" = 1072 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1072 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.184000' WHERE "spree_products"."id" = 1072  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3850 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:58:52.186000' WHERE "spree_products"."id" = 1072 Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:58:52.192000' WHERE "spree_products"."id" = 1072 Row org.apache.poi.hssf.usermodel.HSSFRow@581b27 succesfully SAVED : ID 1072 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 't') LIMIT 1  (2.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3845) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1072)) Excel Loader processing 70 rows Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3837) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1070)) ORDER BY "spree_assets".position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1070) ORDER BY position DESC LIMIT 1 SQL (3.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-01 15:58:52.378000', 240, 1, 'Spree::Image', 1070, 'Spree::Product') Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3837) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1070)) ORDER BY "spree_assets".position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1070) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-01 15:58:53.322000', 2424, 2, 'Spree::Image', 1070, 'Spree::Product') Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1070) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@1944165 succesfully SAVED : ID 1070 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3841) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1071)) ORDER BY "spree_assets".position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1071) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-01 15:59:00.768000', 2424, 1, 'Spree::Image', 1071, 'Spree::Product') Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1071) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@18c760c succesfully SAVED : ID 1071 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3845) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1072)) ORDER BY "spree_assets".position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 1072) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-01 15:59:07.777000', 240, 1, 'Spree::Image', 1072, 'Spree::Product') Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1072) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@13e97d3 succesfully SAVED : ID 1072 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = '') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1070 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3837) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1070)) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1071 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3841) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1071)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1072 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 3845) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1072)) SQL (77.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 69 rows Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (37.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:59:08.917000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:59:08.917000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.000000' WHERE "spree_products"."id" = 1073 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1073, 'MULTI_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.003000' WHERE "spree_products"."id" = 1073  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3851 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.010000' WHERE "spree_products"."id" = 1073  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1073  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:09.019000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:59:09.019000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:09.021000', NULL, 979, '2012-10-01 15:59:09.021000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1073, "updated_at" = '2012-10-01 15:59:09.024000' WHERE "spree_product_properties"."id" = 1191 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:09.031000', 'Paintings', '2012-10-01 15:59:09.031000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1352 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:09.036000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1352, '2012-10-01 15:59:09.036000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1073 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1073, 2349) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:09.044000', 'WaterColour', '2012-10-01 15:59:09.044000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1353 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:09.048000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 1353, '2012-10-01 15:59:09.048000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1073, 2350) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:09.055000', 'mime_type', 0, 'Mime type', '2012-10-01 15:59:09.055000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1073 AND "spree_option_types"."id" = 646 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1073) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:09.062000', 646, 1, 1073, '2012-10-01 15:59:09.062000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 646 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 646) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:09.065000', 'jpeg', 646, 1, NULL, '2012-10-01 15:59:09.065000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.070000' WHERE "spree_products"."id" = 1073 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1073, 'MULTI_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.073000' WHERE "spree_products"."id" = 1073  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3852, 1300) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 646 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 646) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:09.106000', 'PDF', 646, 2, NULL, '2012-10-01 15:59:09.106000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.110000' WHERE "spree_products"."id" = 1073 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1073, 'MULTI_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.112000' WHERE "spree_products"."id" = 1073  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3853, 1301) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 646 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 646) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:09.116000', 'PNG', 646, 3, NULL, '2012-10-01 15:59:09.116000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.120000' WHERE "spree_products"."id" = 1073 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1073, 'MULTI_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.123000' WHERE "spree_products"."id" = 1073  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3854, 1302) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3852 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3853 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3854 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.150000' WHERE "spree_products"."id" = 1073  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3852 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.152000' WHERE "spree_products"."id" = 1073 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.153000' WHERE "spree_products"."id" = 1073  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3853 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.155000' WHERE "spree_products"."id" = 1073 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1073 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.156000' WHERE "spree_products"."id" = 1073  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3854 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:09.158000' WHERE "spree_products"."id" = 1073 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3851 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3851) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-01 15:59:09.167000', 240, 1, 'Spree::Image', 3851, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3851) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-01 15:59:10.034000', 240, 2, 'Spree::Image', 3851, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3851) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-01 15:59:10.740000', 240, 3, 'Spree::Image', 3851, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1073) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:59:11.416000' WHERE "spree_products"."id" = 1073 Row org.apache.poi.hssf.usermodel.HSSFRow@d3c7c2 succesfully SAVED : ID 1073 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:59:11.425000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:59:11.425000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.429000' WHERE "spree_products"."id" = 1074 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1074, 'MULTI_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.460000' WHERE "spree_products"."id" = 1074  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3855 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.462000' WHERE "spree_products"."id" = 1074  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1074  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:11.470000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:59:11.470000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:11.472000', NULL, 980, '2012-10-01 15:59:11.472000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1074, "updated_at" = '2012-10-01 15:59:11.474000' WHERE "spree_product_properties"."id" = 1192 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1352 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1074 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1074, 2349) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:11.482000', 'Landscape', '2012-10-01 15:59:11.482000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1354 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:11.488000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 1354, '2012-10-01 15:59:11.488000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1074, 2351) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:11.492000', 'Oils', '2012-10-01 15:59:11.492000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1355 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:11.495000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1355, '2012-10-01 15:59:11.495000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1074, 2352) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1074 AND "spree_option_types"."id" = 646 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1074) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:11.508000', 646, 1, 1074, '2012-10-01 15:59:11.508000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 646 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.513000' WHERE "spree_products"."id" = 1074 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1074, 'MULTI_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.515000' WHERE "spree_products"."id" = 1074  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3856, 1300) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 646 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.519000' WHERE "spree_products"."id" = 1074 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1074, 'MULTI_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.521000' WHERE "spree_products"."id" = 1074  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3857, 1301) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 646 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.524000' WHERE "spree_products"."id" = 1074 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1074, 'MULTI_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.526000' WHERE "spree_products"."id" = 1074  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3858, 1302) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3856 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3857 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3858 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.542000' WHERE "spree_products"."id" = 1074  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3856 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.543000' WHERE "spree_products"."id" = 1074 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.545000' WHERE "spree_products"."id" = 1074  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3857 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.546000' WHERE "spree_products"."id" = 1074 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.548000' WHERE "spree_products"."id" = 1074  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3858 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:11.549000' WHERE "spree_products"."id" = 1074 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3855 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3855) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-01 15:59:11.612000', 2424, 1, 'Spree::Image', 3855, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 3855) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-01 15:59:18.103000', 240, 2, 'Spree::Image', 3855, 'Spree::Variant') Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1074) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:59:18.781000' WHERE "spree_products"."id" = 1074 Row org.apache.poi.hssf.usermodel.HSSFRow@36a561 succesfully SAVED : ID 1074 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1073 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 3851 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (9.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:19.018000', 'Paintings', '2012-10-01 15:59:19.018000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1356 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.024000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1356, '2012-10-01 15:59:19.024000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.032000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1356, '2012-10-01 15:59:19.032000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.037000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 1356, '2012-10-01 15:59:19.037000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (45.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:19.126000', 'Paintings', '2012-10-01 15:59:19.126000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1357 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.132000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1357, '2012-10-01 15:59:19.132000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.142000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1357, '2012-10-01 15:59:19.142000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.149000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 1357, '2012-10-01 15:59:19.149000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 1357 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 1357 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 1357 LIMIT 1 Booted Spree using version 1.1.3 SQL (60.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (13.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:19.887000', 'Paintings', '2012-10-01 15:59:19.887000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.893000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1358, '2012-10-01 15:59:19.893000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:19.900000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1358, '2012-10-01 15:59:19.900000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 2359, "updated_at" = '2012-10-01 15:59:19.915000' WHERE "spree_taxons"."id" = 2360 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2359 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2360 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2360 THEN 2359 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2360 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2359 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:59:19.956000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:59:19.956000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:19.961000' WHERE "spree_products"."id" = 1075 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1075, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:19.989000' WHERE "spree_products"."id" = 1075  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3859 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:19.994000' WHERE "spree_products"."id" = 1075  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1075  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.002000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:59:20.002000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:20.004000', NULL, 981, '2012-10-01 15:59:20.004000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1075, "updated_at" = '2012-10-01 15:59:20.009000' WHERE "spree_product_properties"."id" = 1193 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1075) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1075 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1075, 2359) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:20.028000', 'WaterColour', '2012-10-01 15:59:20.028000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1359 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.053000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1359, '2012-10-01 15:59:20.053000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1075, 2361) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1075) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1075) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.063000', 'mime_type', 0, 'Mime type', '2012-10-01 15:59:20.063000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1075 AND "spree_option_types"."id" = 647 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1075) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:20.073000', 647, 1, 1075, '2012-10-01 15:59:20.073000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 647) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.078000', 'jpeg', 647, 1, NULL, '2012-10-01 15:59:20.078000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.083000' WHERE "spree_products"."id" = 1075 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1075, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.113000' WHERE "spree_products"."id" = 1075  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3860, 1303) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 647) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.119000', 'PDF', 647, 2, NULL, '2012-10-01 15:59:20.119000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.124000' WHERE "spree_products"."id" = 1075 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1075, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.127000' WHERE "spree_products"."id" = 1075  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3861, 1304) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 647) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.131000', 'PNG', 647, 3, NULL, '2012-10-01 15:59:20.131000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.135000' WHERE "spree_products"."id" = 1075 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1075, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.138000' WHERE "spree_products"."id" = 1075  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3862, 1305) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1075) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3860 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3861 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3862 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1075) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.160000' WHERE "spree_products"."id" = 1075  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3860 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.162000' WHERE "spree_products"."id" = 1075 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.164000' WHERE "spree_products"."id" = 1075  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3861 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.165000' WHERE "spree_products"."id" = 1075 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.167000' WHERE "spree_products"."id" = 1075  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3862 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.168000' WHERE "spree_products"."id" = 1075 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1075) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:59:20.172000' WHERE "spree_products"."id" = 1075 Row org.apache.poi.hssf.usermodel.HSSFRow@fbd19d succesfully SAVED : ID 1075 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (4.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:59:20.184000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:59:20.184000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.188000' WHERE "spree_products"."id" = 1076 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1076, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.191000' WHERE "spree_products"."id" = 1076  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3863 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.195000' WHERE "spree_products"."id" = 1076  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1076  (11.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.213000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:59:20.213000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:20.217000', NULL, 982, '2012-10-01 15:59:20.217000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1076, "updated_at" = '2012-10-01 15:59:20.218000' WHERE "spree_product_properties"."id" = 1194 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1076) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1076 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1076, 2359) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:20.229000', 'Oils', '2012-10-01 15:59:20.229000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1360 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.233000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1360, '2012-10-01 15:59:20.233000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1076, 2362) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2359 AND "spree_taxons"."taxonomy_id" = 1358 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2359 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.242000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2359, 'paintings/nature', 0, 10, 1358, '2012-10-01 15:59:20.242000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2359 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2363 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2363 THEN 2359 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2363 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2363 AND "spree_taxons"."taxonomy_id" = 1358 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2363 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.253000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 2363, 'paintings/nature/seascape', 0, 12, 1358, '2012-10-01 15:59:20.253000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2363 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2364 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2364 THEN 2363 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2363 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2364 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1076, 2363)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1076, 2364) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1076) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1076 AND "spree_option_types"."id" = 647 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1076) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:20.269000', 647, 1, 1076, '2012-10-01 15:59:20.269000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.274000' WHERE "spree_products"."id" = 1076 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1076, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.277000' WHERE "spree_products"."id" = 1076  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3864, 1303) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.283000' WHERE "spree_products"."id" = 1076 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1076, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.285000' WHERE "spree_products"."id" = 1076  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3865, 1304) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.290000' WHERE "spree_products"."id" = 1076 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1076, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.292000' WHERE "spree_products"."id" = 1076  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3866, 1305) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1076) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1076) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3864 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3865 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3866 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1076) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.317000' WHERE "spree_products"."id" = 1076  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3864 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.319000' WHERE "spree_products"."id" = 1076 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.321000' WHERE "spree_products"."id" = 1076  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3865 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.322000' WHERE "spree_products"."id" = 1076 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.324000' WHERE "spree_products"."id" = 1076  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3866 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.325000' WHERE "spree_products"."id" = 1076 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1076) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:59:20.329000' WHERE "spree_products"."id" = 1076 Row org.apache.poi.hssf.usermodel.HSSFRow@1ae80c1 succesfully SAVED : ID 1076 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:20.338000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:59:20.338000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.342000' WHERE "spree_products"."id" = 1077 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1077, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.344000' WHERE "spree_products"."id" = 1077  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3867 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.346000' WHERE "spree_products"."id" = 1077  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1077  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.354000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:59:20.354000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:20.360000', NULL, 983, '2012-10-01 15:59:20.360000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1077, "updated_at" = '2012-10-01 15:59:20.366000' WHERE "spree_product_properties"."id" = 1195 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:20.369000', NULL, 982, '2012-10-01 15:59:20.369000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1077, "updated_at" = '2012-10-01 15:59:20.372000' WHERE "spree_product_properties"."id" = 1196 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.386000', 'yet_another_property', 'Yet another property', '2012-10-01 15:59:20.386000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:20.389000', NULL, 984, '2012-10-01 15:59:20.389000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1077, "updated_at" = '2012-10-01 15:59:20.391000' WHERE "spree_product_properties"."id" = 1197 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1077) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:20.396000', 'Drawings', '2012-10-01 15:59:20.396000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1361 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.401000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1361, '2012-10-01 15:59:20.401000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1077 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1077, 2365) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2359 AND "spree_taxons"."taxonomy_id" = 1358 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1077, 2360)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1077, 2359) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1077) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1077) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1077 AND "spree_option_types"."id" = 647 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1077) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:20.420000', 647, 1, 1077, '2012-10-01 15:59:20.420000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.425000' WHERE "spree_products"."id" = 1077 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1077, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.428000' WHERE "spree_products"."id" = 1077  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3868, 1303) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.435000' WHERE "spree_products"."id" = 1077 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1077, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.437000' WHERE "spree_products"."id" = 1077  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3869, 1304) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 647 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.444000' WHERE "spree_products"."id" = 1077 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1077, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.446000' WHERE "spree_products"."id" = 1077  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3870, 1305) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.451000', 'print_type', 0, 'Print type', '2012-10-01 15:59:20.451000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1077 AND "spree_option_types"."id" = 648 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1077) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:20.458000', 648, 2, 1077, '2012-10-01 15:59:20.458000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 648 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 648) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.461000', 'black_white', 648, 1, NULL, '2012-10-01 15:59:20.461000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.469000' WHERE "spree_products"."id" = 1077 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1077, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.499000' WHERE "spree_products"."id" = 1077  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3871, 1306) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 648 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 648) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.503000', 'colour', 648, 2, NULL, '2012-10-01 15:59:20.503000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.508000' WHERE "spree_products"."id" = 1077 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1077, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.511000' WHERE "spree_products"."id" = 1077  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3872, 1307) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1077) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3868 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3869 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3870 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3871 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3872 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1077) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.550000' WHERE "spree_products"."id" = 1077  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3868 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.552000' WHERE "spree_products"."id" = 1077 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.554000' WHERE "spree_products"."id" = 1077  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3869 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.555000' WHERE "spree_products"."id" = 1077 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.558000' WHERE "spree_products"."id" = 1077  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3870 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.560000' WHERE "spree_products"."id" = 1077 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.562000' WHERE "spree_products"."id" = 1077  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3871 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.564000' WHERE "spree_products"."id" = 1077 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1077 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.567000' WHERE "spree_products"."id" = 1077  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3872 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.569000' WHERE "spree_products"."id" = 1077 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1077) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:59:20.573000' WHERE "spree_products"."id" = 1077 Row org.apache.poi.hssf.usermodel.HSSFRow@da0bed succesfully SAVED : ID 1077 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1075 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1075 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1076 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1076 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1358 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2363 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2363 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2364 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:20.745000', 'Paintings', '2012-10-01 15:59:20.745000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.751000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1362, '2012-10-01 15:59:20.751000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.760000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1362, '2012-10-01 15:59:20.760000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 2366, "updated_at" = '2012-10-01 15:59:20.765000' WHERE "spree_taxons"."id" = 2367 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2366 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2367 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2367 THEN 2366 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2366 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2367 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2366 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:59:20.849000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:59:20.849000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.853000' WHERE "spree_products"."id" = 1078 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1078, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.856000' WHERE "spree_products"."id" = 1078  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3873 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.859000' WHERE "spree_products"."id" = 1078  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1078  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.868000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:59:20.868000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:20.871000', NULL, 985, '2012-10-01 15:59:20.871000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1078, "updated_at" = '2012-10-01 15:59:20.874000' WHERE "spree_product_properties"."id" = 1198 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1078 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1078, 2366) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:20.886000', 'WaterColour', '2012-10-01 15:59:20.886000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1363 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:20.890000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1363, '2012-10-01 15:59:20.890000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1078, 2368) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.902000', 'mime_type', 0, 'Mime type', '2012-10-01 15:59:20.902000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1078 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1078) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:20.908000', 649, 1, 1078, '2012-10-01 15:59:20.908000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 649 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 649) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.912000', 'jpeg', 649, 1, NULL, '2012-10-01 15:59:20.912000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.916000' WHERE "spree_products"."id" = 1078 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1078, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.919000' WHERE "spree_products"."id" = 1078  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3874, 1308) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1078 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 649 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 649) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.956000', 'PDF', 649, 2, NULL, '2012-10-01 15:59:20.956000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.960000' WHERE "spree_products"."id" = 1078 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1078, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.962000' WHERE "spree_products"."id" = 1078  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3875, 1309) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1078 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 649 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 649) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:20.974000', 'PNG', 649, 3, NULL, '2012-10-01 15:59:20.974000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.979000' WHERE "spree_products"."id" = 1078 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1078, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:20.981000' WHERE "spree_products"."id" = 1078  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3876, 1310) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3874 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3875 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3876 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.004000' WHERE "spree_products"."id" = 1078  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3874 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.005000' WHERE "spree_products"."id" = 1078 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.007000' WHERE "spree_products"."id" = 1078  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3875 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.009000' WHERE "spree_products"."id" = 1078 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.011000' WHERE "spree_products"."id" = 1078  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3876 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.013000' WHERE "spree_products"."id" = 1078 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1078) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:59:21.016000' WHERE "spree_products"."id" = 1078 Row org.apache.poi.hssf.usermodel.HSSFRow@55f58b succesfully SAVED : ID 1078 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:59:21.029000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:59:21.029000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.033000' WHERE "spree_products"."id" = 1079 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1079, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.036000' WHERE "spree_products"."id" = 1079  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3877 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.039000' WHERE "spree_products"."id" = 1079  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1079  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.046000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:59:21.046000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:21.084000', NULL, 986, '2012-10-01 15:59:21.084000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1079, "updated_at" = '2012-10-01 15:59:21.085000' WHERE "spree_product_properties"."id" = 1199 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1079 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1079, 2366) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:21.099000', 'Oils', '2012-10-01 15:59:21.099000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1364 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:21.103000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1364, '2012-10-01 15:59:21.103000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1079, 2369) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2366 AND "spree_taxons"."taxonomy_id" = 1362 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2366 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:21.118000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2366, 'paintings/nature', 0, 10, 1362, '2012-10-01 15:59:21.118000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2366 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2370 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2370 THEN 2366 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2366 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2370 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2370 AND "spree_taxons"."taxonomy_id" = 1362 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2370 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:21.128000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 2370, 'paintings/nature/seascape', 0, 12, 1362, '2012-10-01 15:59:21.128000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2370 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2371 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2371 THEN 2370 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2370 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2371 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1079, 2370)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1079, 2371) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1079 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1079) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:21.145000', 649, 1, 1079, '2012-10-01 15:59:21.145000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 649 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.152000' WHERE "spree_products"."id" = 1079 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1079, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.154000' WHERE "spree_products"."id" = 1079  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3878, 1308) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1079 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 649 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.166000' WHERE "spree_products"."id" = 1079 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1079, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.168000' WHERE "spree_products"."id" = 1079  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3879, 1309) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1079 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 649 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.180000' WHERE "spree_products"."id" = 1079 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1079, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.183000' WHERE "spree_products"."id" = 1079  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3880, 1310) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3878 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3879 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3880 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.204000' WHERE "spree_products"."id" = 1079  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3878 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.206000' WHERE "spree_products"."id" = 1079 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.208000' WHERE "spree_products"."id" = 1079  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3879 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.210000' WHERE "spree_products"."id" = 1079 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.212000' WHERE "spree_products"."id" = 1079  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3880 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.213000' WHERE "spree_products"."id" = 1079 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1079) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:59:21.217000' WHERE "spree_products"."id" = 1079 Row org.apache.poi.hssf.usermodel.HSSFRow@18520d succesfully SAVED : ID 1079 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:21.229000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:59:21.229000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.234000' WHERE "spree_products"."id" = 1080 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1080, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.236000' WHERE "spree_products"."id" = 1080  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3881 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.244000' WHERE "spree_products"."id" = 1080  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1080  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.251000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:59:21.251000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:21.254000', NULL, 987, '2012-10-01 15:59:21.254000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1080, "updated_at" = '2012-10-01 15:59:21.256000' WHERE "spree_product_properties"."id" = 1200 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:21.260000', NULL, 986, '2012-10-01 15:59:21.260000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1080, "updated_at" = '2012-10-01 15:59:21.262000' WHERE "spree_product_properties"."id" = 1201 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.266000', 'yet_another_property', 'Yet another property', '2012-10-01 15:59:21.266000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:21.268000', NULL, 988, '2012-10-01 15:59:21.268000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1080, "updated_at" = '2012-10-01 15:59:21.271000' WHERE "spree_product_properties"."id" = 1202 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:21.275000', 'Drawings', '2012-10-01 15:59:21.275000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1365 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:21.280000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1365, '2012-10-01 15:59:21.280000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1080 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1080, 2372) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2366 AND "spree_taxons"."taxonomy_id" = 1362 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1080, 2367)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1080, 2366) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1080 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1080) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:21.300000', 649, 1, 1080, '2012-10-01 15:59:21.300000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 649 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.305000' WHERE "spree_products"."id" = 1080 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1080, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.307000' WHERE "spree_products"."id" = 1080  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3882, 1308) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1080 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 649 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.320000' WHERE "spree_products"."id" = 1080 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1080, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.322000' WHERE "spree_products"."id" = 1080  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3883, 1309) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1080 AND "spree_option_types"."id" = 649 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 649 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.334000' WHERE "spree_products"."id" = 1080 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1080, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.336000' WHERE "spree_products"."id" = 1080  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3884, 1310) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.343000', 'print_type', 0, 'Print type', '2012-10-01 15:59:21.343000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1080 AND "spree_option_types"."id" = 650 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1080) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:21.353000', 650, 2, 1080, '2012-10-01 15:59:21.353000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 650 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 650) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.358000', 'black_white', 650, 1, NULL, '2012-10-01 15:59:21.358000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.362000' WHERE "spree_products"."id" = 1080 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1080, 'DEMO_003_4', NULL, NULL) SQL (29.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.364000' WHERE "spree_products"."id" = 1080  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3885, 1311) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1080 AND "spree_option_types"."id" = 650 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 650 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 650) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.403000', 'colour', 650, 2, NULL, '2012-10-01 15:59:21.403000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.409000' WHERE "spree_products"."id" = 1080 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1080, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.411000' WHERE "spree_products"."id" = 1080  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3886, 1312) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3882 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3883 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3884 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3885 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3886 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.454000' WHERE "spree_products"."id" = 1080  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3882 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.456000' WHERE "spree_products"."id" = 1080 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.458000' WHERE "spree_products"."id" = 1080  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3883 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.460000' WHERE "spree_products"."id" = 1080 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.462000' WHERE "spree_products"."id" = 1080  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3884 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.463000' WHERE "spree_products"."id" = 1080 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.465000' WHERE "spree_products"."id" = 1080  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3885 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.467000' WHERE "spree_products"."id" = 1080 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1080 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.470000' WHERE "spree_products"."id" = 1080  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3886 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.471000' WHERE "spree_products"."id" = 1080 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1080) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:59:21.475000' WHERE "spree_products"."id" = 1080 Row org.apache.poi.hssf.usermodel.HSSFRow@163260a succesfully SAVED : ID 1080 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1078 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1078 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1079 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1079 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1362 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2366 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2370 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2370 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2371 ORDER BY "lft" SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (32.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:21.682000', 'Paintings', '2012-10-01 15:59:21.682000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:21.688000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1366, '2012-10-01 15:59:21.688000')  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:21.699000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1366, '2012-10-01 15:59:21.699000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 2373, "updated_at" = '2012-10-01 15:59:21.705000' WHERE "spree_taxons"."id" = 2374 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2373 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2374 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2374 THEN 2373 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2373 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2374 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2373 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:59:21.733000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:59:21.733000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.737000' WHERE "spree_products"."id" = 1081 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1081, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.740000' WHERE "spree_products"."id" = 1081  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3887 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.742000' WHERE "spree_products"."id" = 1081  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1081  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.777000', 'test_pp_001', 'Test pp 001', '2012-10-01 15:59:21.777000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:21.780000', NULL, 989, '2012-10-01 15:59:21.780000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1081, "updated_at" = '2012-10-01 15:59:21.782000' WHERE "spree_product_properties"."id" = 1203 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1081 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1081, 2373) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:21.802000', 'WaterColour', '2012-10-01 15:59:21.802000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1367 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:21.809000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1367, '2012-10-01 15:59:21.809000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1081, 2375) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.838000', 'mime_type', 0, 'Mime type', '2012-10-01 15:59:21.838000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1081 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1081) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:21.844000', 651, 1, 1081, '2012-10-01 15:59:21.844000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 651 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 651) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.853000', 'jpeg', 651, 1, NULL, '2012-10-01 15:59:21.853000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.888000' WHERE "spree_products"."id" = 1081 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1081, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.891000' WHERE "spree_products"."id" = 1081  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3888, 1313) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1081 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 651 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 651) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.902000', 'PDF', 651, 2, NULL, '2012-10-01 15:59:21.902000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.911000' WHERE "spree_products"."id" = 1081 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1081, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.913000' WHERE "spree_products"."id" = 1081  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3889, 1314) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1081 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 651 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 651) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:21.927000', 'PNG', 651, 3, NULL, '2012-10-01 15:59:21.927000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.932000' WHERE "spree_products"."id" = 1081 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1081, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.933000' WHERE "spree_products"."id" = 1081  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3890, 1315) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3888 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3889 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3890 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.965000' WHERE "spree_products"."id" = 1081  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3888 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.967000' WHERE "spree_products"."id" = 1081 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.969000' WHERE "spree_products"."id" = 1081  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3889 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.970000' WHERE "spree_products"."id" = 1081 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.972000' WHERE "spree_products"."id" = 1081  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3890 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.973000' WHERE "spree_products"."id" = 1081 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1081) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-01 15:59:21.977000' WHERE "spree_products"."id" = 1081 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:59:21.988000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-01 15:59:21.988000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.993000' WHERE "spree_products"."id" = 1082 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1082, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.995000' WHERE "spree_products"."id" = 1082  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3891 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:21.997000' WHERE "spree_products"."id" = 1082  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1082  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:22.004000', 'test_pp_003', 'Test pp 003', '2012-10-01 15:59:22.004000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:22.006000', NULL, 990, '2012-10-01 15:59:22.006000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1082, "updated_at" = '2012-10-01 15:59:22.007000' WHERE "spree_product_properties"."id" = 1204 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1082 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1082, 2373) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:22.034000', 'Oils', '2012-10-01 15:59:22.034000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1368 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.038000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1368, '2012-10-01 15:59:22.038000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1082, 2376) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2373 AND "spree_taxons"."taxonomy_id" = 1366 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2373 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.052000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2373, 'paintings/nature', 0, 10, 1366, '2012-10-01 15:59:22.052000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2373 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2377 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2377 THEN 2373 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2373 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2377 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2377 AND "spree_taxons"."taxonomy_id" = 1366 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2377 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.064000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 2377, 'paintings/nature/seascape', 0, 12, 1366, '2012-10-01 15:59:22.064000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2377 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2378 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2378 THEN 2377 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2377 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2378 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1082, 2377)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1082, 2378) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1082 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1082) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:22.081000', 651, 1, 1082, '2012-10-01 15:59:22.081000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 651 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.086000' WHERE "spree_products"."id" = 1082 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1082, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.088000' WHERE "spree_products"."id" = 1082  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3892, 1313) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1082 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 651 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.102000' WHERE "spree_products"."id" = 1082 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1082, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.104000' WHERE "spree_products"."id" = 1082  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3893, 1314) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1082 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 651 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.157000' WHERE "spree_products"."id" = 1082 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1082, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.159000' WHERE "spree_products"."id" = 1082  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3894, 1315) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3892 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3893 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3894 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.194000' WHERE "spree_products"."id" = 1082  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3892 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.196000' WHERE "spree_products"."id" = 1082 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.197000' WHERE "spree_products"."id" = 1082  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3893 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.199000' WHERE "spree_products"."id" = 1082 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.200000' WHERE "spree_products"."id" = 1082  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3894 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.202000' WHERE "spree_products"."id" = 1082 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1082) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-01 15:59:22.205000' WHERE "spree_products"."id" = 1082 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:22.213000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:59:22.213000') Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.218000' WHERE "spree_products"."id" = 1083 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1083, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.219000' WHERE "spree_products"."id" = 1083  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3895 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.222000' WHERE "spree_products"."id" = 1083  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1083  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:22.229000', 'test_pp_002', 'Test pp 002', '2012-10-01 15:59:22.229000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:22.231000', NULL, 991, '2012-10-01 15:59:22.231000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1083, "updated_at" = '2012-10-01 15:59:22.233000' WHERE "spree_product_properties"."id" = 1205 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:22.238000', NULL, 990, '2012-10-01 15:59:22.238000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1083, "updated_at" = '2012-10-01 15:59:22.240000' WHERE "spree_product_properties"."id" = 1206 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-01 15:59:22.252000', 'yet_another_property', 'Yet another property', '2012-10-01 15:59:22.252000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-01 15:59:22.255000', NULL, 992, '2012-10-01 15:59:22.255000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1083, "updated_at" = '2012-10-01 15:59:22.257000' WHERE "spree_product_properties"."id" = 1207 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:22.260000', 'Drawings', '2012-10-01 15:59:22.260000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1369 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.264000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1369, '2012-10-01 15:59:22.264000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1083 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1083, 2379) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2373 AND "spree_taxons"."taxonomy_id" = 1366 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1083, 2374)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1083, 2373) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1083 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1083) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:22.288000', 651, 1, 1083, '2012-10-01 15:59:22.288000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 651 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.293000' WHERE "spree_products"."id" = 1083 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1083, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.295000' WHERE "spree_products"."id" = 1083  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3896, 1313) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1083 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 651 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.306000' WHERE "spree_products"."id" = 1083 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1083, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.309000' WHERE "spree_products"."id" = 1083  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3897, 1314) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1083 AND "spree_option_types"."id" = 651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 651 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.322000' WHERE "spree_products"."id" = 1083 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1083, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.329000' WHERE "spree_products"."id" = 1083  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3898, 1315) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:22.335000', 'print_type', 0, 'Print type', '2012-10-01 15:59:22.335000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1083 AND "spree_option_types"."id" = 652 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1083) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-01 15:59:22.342000', 652, 2, 1083, '2012-10-01 15:59:22.342000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 652 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 652) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:22.345000', 'black_white', 652, 1, NULL, '2012-10-01 15:59:22.345000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.349000' WHERE "spree_products"."id" = 1083 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1083, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.352000' WHERE "spree_products"."id" = 1083  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3899, 1316) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1083 AND "spree_option_types"."id" = 652 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 652 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 652) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-01 15:59:22.386000', 'colour', 652, 2, NULL, '2012-10-01 15:59:22.386000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.392000' WHERE "spree_products"."id" = 1083 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1083, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.395000' WHERE "spree_products"."id" = 1083  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3900, 1317) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3896 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3897 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3898 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3899 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3900 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.422000' WHERE "spree_products"."id" = 1083  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3896 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.430000' WHERE "spree_products"."id" = 1083 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.436000' WHERE "spree_products"."id" = 1083  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 3897 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.437000' WHERE "spree_products"."id" = 1083 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.440000' WHERE "spree_products"."id" = 1083  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3898 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.441000' WHERE "spree_products"."id" = 1083 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.443000' WHERE "spree_products"."id" = 1083  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 3899 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.445000' WHERE "spree_products"."id" = 1083 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1083 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.448000' WHERE "spree_products"."id" = 1083  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 3900 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.450000' WHERE "spree_products"."id" = 1083 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1083) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-01 15:59:22.454000' WHERE "spree_products"."id" = 1083 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1081 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1081 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1082 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1082 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1366 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2373 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2377 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2377 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2378 ORDER BY "lft" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:59:22.572000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:59:22.572000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1084 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.575000' WHERE "spree_products"."id" = 1084 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1084, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.601000' WHERE "spree_products"."id" = 1084  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3901 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.604000' WHERE "spree_products"."id" = 1084  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1084 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1084  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:22.610000', 'Paintings', '2012-10-01 15:59:22.610000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.615000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1370, '2012-10-01 15:59:22.615000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2380 AND "spree_taxons"."taxonomy_id" = 1370 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2380 LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.622000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 2380, 'paintings/landscape', 0, 4, 1370, '2012-10-01 15:59:22.622000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2380 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2381 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2381 THEN 2380 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2380 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2381 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1084 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1084, 2381)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1084, 2380) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1084) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:22.636000', 'WaterColour', '2012-10-01 15:59:22.636000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1371 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.640000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1371, '2012-10-01 15:59:22.640000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1084, 2382) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1084) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1084) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3901 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1084) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-01 15:59:22.648000' WHERE "spree_products"."id" = 1084  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3901 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.651000' WHERE "spree_products"."id" = 1084 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1084 Row org.apache.poi.hssf.usermodel.HSSFRow@776444 succesfully SAVED : ID 1084 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:59:22.660000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-01 15:59:22.660000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1085 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.663000' WHERE "spree_products"."id" = 1085 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1085, 'test_ct_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.665000' WHERE "spree_products"."id" = 1085  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3902 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.667000' WHERE "spree_products"."id" = 1085  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1085 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1085  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1085 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1085, 2380) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1085) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:22.677000', 'Oils', '2012-10-01 15:59:22.677000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1372 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.681000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1372, '2012-10-01 15:59:22.681000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1085, 2383) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1085) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2380 AND "spree_taxons"."taxonomy_id" = 1370 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2380 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.707000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2380, 'paintings/nature', 0, 10, 1370, '2012-10-01 15:59:22.707000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2380 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 LIMIT 1 SQL (2.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2384 THEN 2380 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2380 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2384 AND "spree_taxons"."taxonomy_id" = 1370 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.719000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 2384, 'paintings/nature/landscape', 0, 12, 1370, '2012-10-01 15:59:22.719000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2385 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2385 THEN 2384 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2385 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1085, 2384)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1085, 2385) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1085) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3902 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1085) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 15:59:22.736000' WHERE "spree_products"."id" = 1085  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3902 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.740000' WHERE "spree_products"."id" = 1085 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1085 Row org.apache.poi.hssf.usermodel.HSSFRow@1eb2cdb succesfully SAVED : ID 1085 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:22.749000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:59:22.749000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1086 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.752000' WHERE "spree_products"."id" = 1086 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1086, 'test_ct_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.754000' WHERE "spree_products"."id" = 1086  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3903 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.758000' WHERE "spree_products"."id" = 1086  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1086 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1086  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:22.764000', 'Drawings', '2012-10-01 15:59:22.764000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1373 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.768000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1373, '2012-10-01 15:59:22.768000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2386 AND "spree_taxons"."taxonomy_id" = 1373 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2386 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.775000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 2386, 'drawings/landscape', 0, 16, 1373, '2012-10-01 15:59:22.775000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2386 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2387 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2387 THEN 2386 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2386 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2387 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1086 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1086, 2387)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1086, 2386) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1086) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:22.787000', 'Landscape', '2012-10-01 15:59:22.787000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.790000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 1374, '2012-10-01 15:59:22.790000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1086, 2388) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1086) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1086) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3903 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1086) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-01 15:59:22.804000' WHERE "spree_products"."id" = 1086  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3903 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.807000' WHERE "spree_products"."id" = 1086 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1086 Row org.apache.poi.hssf.usermodel.HSSFRow@d6157e succesfully SAVED : ID 1086 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:22.821000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-01 15:59:22.821000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1087 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.824000' WHERE "spree_products"."id" = 1087 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1087, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.826000' WHERE "spree_products"."id" = 1087  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3904 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.829000' WHERE "spree_products"."id" = 1087  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1087 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1087  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1373 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2386 AND "spree_taxons"."taxonomy_id" = 1373 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1087 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1087, 2387)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1087, 2386) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1087) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1087) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2380 AND "spree_taxons"."taxonomy_id" = 1370 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2384 AND "spree_taxons"."taxonomy_id" = 1370 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.849000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 2384, 'paintings/nature/seascape', 0, 20, 1370, '2012-10-01 15:59:22.849000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2389 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2389 THEN 2384 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2389 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 2389 AND "spree_taxons"."taxonomy_id" = 1370 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2389 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.859000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 2389, 'paintings/nature/seascape/cliffs', 0, 22, 1370, '2012-10-01 15:59:22.859000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2389 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2390 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2390 THEN 2389 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2389 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2390 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1087, 2384)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1087, 2389)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1087, 2390)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1087, 2380) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1087) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3904 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1087) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 15:59:22.874000' WHERE "spree_products"."id" = 1087  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 3904 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.879000' WHERE "spree_products"."id" = 1087 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1087 Row org.apache.poi.hssf.usermodel.HSSFRow@1991a3c succesfully SAVED : ID 1087 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:22.887000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-01 15:59:22.887000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1088 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.890000' WHERE "spree_products"."id" = 1088 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1088, 'test_ct_005', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.892000' WHERE "spree_products"."id" = 1088  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3905 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.894000' WHERE "spree_products"."id" = 1088  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1088 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1088  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1373 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2386 AND "spree_taxons"."taxonomy_id" = 1373 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 2387 AND "spree_taxons"."taxonomy_id" = 1373 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2387 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:22.904000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 2387, 'drawings/landscape/bristol', 0, 24, 1373, '2012-10-01 15:59:22.904000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2387 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2391 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2391 THEN 2387 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2387 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2391 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1088 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1088, 2387)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1088, 2391)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1088, 2386) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1088) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1372 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1088, 2383) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1088) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1088) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3905 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1088) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 15:59:22.920000' WHERE "spree_products"."id" = 1088  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 3905 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:22.922000' WHERE "spree_products"."id" = 1088 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1088 Row org.apache.poi.hssf.usermodel.HSSFRow@1a98f3b succesfully SAVED : ID 1088 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1371 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1372 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1373 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1370 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2380 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 2380) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2384 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 2384) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 2384) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2380 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2384 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2389 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2390 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 2389) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1373 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1373 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2387 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2387 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2391 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 2391) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1372 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1372 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2383 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1374 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2388 ORDER BY "lft" SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (26.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-01 15:59:23.111000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-01 15:59:23.111000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1089 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.116000' WHERE "spree_products"."id" = 1089 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1089, 'test_ct_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.118000' WHERE "spree_products"."id" = 1089  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3906 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.121000' WHERE "spree_products"."id" = 1089  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1089 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1089  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:23.153000', 'Paintings', '2012-10-01 15:59:23.153000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.157000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1375, '2012-10-01 15:59:23.157000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2392 AND "spree_taxons"."taxonomy_id" = 1375 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2392 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.170000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 2392, 'paintings/landscape', 0, 4, 1375, '2012-10-01 15:59:23.170000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2392 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2393 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2393 THEN 2392 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2392 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2393 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1089 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1089, 2393)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1089, 2392) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1089) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:23.185000', 'WaterColour', '2012-10-01 15:59:23.185000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1376 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.188000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 1376, '2012-10-01 15:59:23.188000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1089, 2394) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1089) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3906 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1089) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-01 15:59:23.202000' WHERE "spree_products"."id" = 1089  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 3906 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.204000' WHERE "spree_products"."id" = 1089 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1089 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-01 15:59:23.211000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-01 15:59:23.211000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1090 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.214000' WHERE "spree_products"."id" = 1090 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1090, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.216000' WHERE "spree_products"."id" = 1090  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3907 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.218000' WHERE "spree_products"."id" = 1090  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1090 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1090  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1090 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1090, 2392) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1090) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:23.230000', 'Oils', '2012-10-01 15:59:23.230000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1377 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.234000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 1377, '2012-10-01 15:59:23.234000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1090, 2395) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1090) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2392 AND "spree_taxons"."taxonomy_id" = 1375 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2392 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.242000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 2392, 'paintings/nature', 0, 10, 1375, '2012-10-01 15:59:23.242000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2392 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2396 THEN 2392 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2392 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2396 AND "spree_taxons"."taxonomy_id" = 1375 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.251000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 2396, 'paintings/nature/landscape', 0, 12, 1375, '2012-10-01 15:59:23.251000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2397 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2397 THEN 2396 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2397 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1090, 2396)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1090, 2397) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1090) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3907 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1090) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 15:59:23.266000' WHERE "spree_products"."id" = 1090  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 3907 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.268000' WHERE "spree_products"."id" = 1090 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1090 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:23.279000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-01 15:59:23.279000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1091 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.282000' WHERE "spree_products"."id" = 1091 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1091, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.284000' WHERE "spree_products"."id" = 1091  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3908 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.287000' WHERE "spree_products"."id" = 1091  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1091 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1091  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:23.303000', 'Drawings', '2012-10-01 15:59:23.303000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.307000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 1378, '2012-10-01 15:59:23.307000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2398 AND "spree_taxons"."taxonomy_id" = 1378 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2398 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.312000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 2398, 'drawings/landscape', 0, 16, 1378, '2012-10-01 15:59:23.312000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2398 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2399 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2399 THEN 2398 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2398 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2399 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1091 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1091, 2399)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1091, 2398) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1091) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-01 15:59:23.324000', 'Landscape', '2012-10-01 15:59:23.324000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1379 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.328000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 1379, '2012-10-01 15:59:23.328000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1091, 2400) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1091) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3908 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1091) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-01 15:59:23.341000' WHERE "spree_products"."id" = 1091  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 3908 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.344000' WHERE "spree_products"."id" = 1091 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1091 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:23.354000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-01 15:59:23.354000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1092 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.357000' WHERE "spree_products"."id" = 1092 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1092, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.360000' WHERE "spree_products"."id" = 1092  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3909 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.362000' WHERE "spree_products"."id" = 1092  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1092 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1092  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2398 AND "spree_taxons"."taxonomy_id" = 1378 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1092 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1092, 2399)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1092, 2398) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1092) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 2392 AND "spree_taxons"."taxonomy_id" = 1375 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 2396 AND "spree_taxons"."taxonomy_id" = 1375 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.384000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 2396, 'paintings/nature/seascape', 0, 20, 1375, '2012-10-01 15:59:23.384000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2401 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2401 THEN 2396 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2401 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 2401 AND "spree_taxons"."taxonomy_id" = 1375 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2401 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.394000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 2401, 'paintings/nature/seascape/cliffs', 0, 22, 1375, '2012-10-01 15:59:23.394000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2401 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2402 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2402 THEN 2401 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2401 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2402 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1092, 2396)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1092, 2401)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1092, 2402)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1092, 2392) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1092) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3909 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1092) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 15:59:23.409000' WHERE "spree_products"."id" = 1092  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 3909 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.412000' WHERE "spree_products"."id" = 1092 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1092 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-01 15:59:23.424000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-01 15:59:23.424000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1093 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.427000' WHERE "spree_products"."id" = 1093 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1093, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.429000' WHERE "spree_products"."id" = 1093  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3910 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.432000' WHERE "spree_products"."id" = 1093  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1093 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1093  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 2398 AND "spree_taxons"."taxonomy_id" = 1378 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 2399 AND "spree_taxons"."taxonomy_id" = 1378 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2399 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-01 15:59:23.444000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 2399, 'drawings/landscape/bristol', 0, 24, 1378, '2012-10-01 15:59:23.444000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2399 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2403 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2403 THEN 2399 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2399 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 2403 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1093 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1093, 2399)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1093, 2403)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1093, 2398) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1093) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1377 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1093, 2395) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1093) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3910 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1093) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 15:59:23.467000' WHERE "spree_products"."id" = 1093  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 3910 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 15:59:23.470000' WHERE "spree_products"."id" = 1093 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1093  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1376 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1377 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1379 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1375 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2392 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 2392) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2396 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 2396) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 2396) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2392 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 2396 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2401 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2402 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 2401) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1378 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1378 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2399 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2399 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2403 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 2403) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1377 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1377 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2395 ORDER BY "lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1379 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1379 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 2400 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (29.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (32.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (29.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (32.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (3.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.5ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (6.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 3 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 3 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 4 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 4 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 5 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 5 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 6 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 6 Current value to assign : Current value to assign :  (2.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (18.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 7 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 8 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 9 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 10  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (17.9ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (19.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500593 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.593570' WHERE "spree_products"."id" = 1060500593 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500593], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.596381' WHERE "spree_products"."id" = 1060500593  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.598603' WHERE "spree_products"."id" = 1060500593  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500593 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500593  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589413 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500593) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500593 AND "spree_option_types"."id" = 935339118 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500593) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["option_type_id", 935339118], ["position", 1], ["product_id", 1060500593], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500593) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:26:41.710266' WHERE "spree_products"."id" = 1060500593  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.712056' WHERE "spree_products"."id" = 1060500593 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500593 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060500593 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500594 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.718554' WHERE "spree_products"."id" = 1060500594 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500594], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.719563' WHERE "spree_products"."id" = 1060500594  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589414 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.720822' WHERE "spree_products"."id" = 1060500594  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500594 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500594  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589414 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500594) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500594 AND "spree_option_types"."id" = 935339118 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500594) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["option_type_id", 935339118], ["position", 1], ["product_id", 1060500594], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500594) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:26:41.731632' WHERE "spree_products"."id" = 1060500594  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589414 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.733068' WHERE "spree_products"."id" = 1060500594 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500594 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060500594 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.739087' WHERE "spree_products"."id" = 1060500595 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500595], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.740118' WHERE "spree_products"."id" = 1060500595  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589415 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.741404' WHERE "spree_products"."id" = 1060500595  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500595 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500595  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589415 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500595) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500595 AND "spree_option_types"."id" = 935339118 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500595) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["option_type_id", 935339118], ["position", 1], ["product_id", 1060500595], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500595 AND "spree_option_types"."id" = 935339119 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500595) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["option_type_id", 935339119], ["position", 2], ["product_id", 1060500595], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500595) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:26:41.755029' WHERE "spree_products"."id" = 1060500595  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589415 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.756249' WHERE "spree_products"."id" = 1060500595 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500595 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060500595 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:26:41.768308')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:26:41.769299')  (17.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500593 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500593 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500595 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (1.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500596 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.907237' WHERE "spree_products"."id" = 1060500596 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500596], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.908698' WHERE "spree_products"."id" = 1060500596  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589416 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.910681' WHERE "spree_products"."id" = 1060500596  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500596 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500596  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589416 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500596) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500596 AND "spree_option_types"."id" = 935339120 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500596) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["option_type_id", 935339120], ["position", 1], ["product_id", 1060500596], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500596) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:26:41.940029' WHERE "spree_products"."id" = 1060500596  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589416 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.941502' WHERE "spree_products"."id" = 1060500596 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500596 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500597 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.949464' WHERE "spree_products"."id" = 1060500597 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500597], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.950435' WHERE "spree_products"."id" = 1060500597  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.951215' WHERE "spree_products"."id" = 1060500597  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500597 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500597  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589417 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500597) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500597 AND "spree_option_types"."id" = 935339120 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500597) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["option_type_id", 935339120], ["position", 1], ["product_id", 1060500597], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500597) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:26:41.977514' WHERE "spree_products"."id" = 1060500597  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.978804' WHERE "spree_products"."id" = 1060500597 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500597 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.985378' WHERE "spree_products"."id" = 1060500598 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500598], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.986642' WHERE "spree_products"."id" = 1060500598  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589418 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:41.987777' WHERE "spree_products"."id" = 1060500598  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500598 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500598  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589418 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500598) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500598 AND "spree_option_types"."id" = 935339120 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500598) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["option_type_id", 935339120], ["position", 1], ["product_id", 1060500598], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:26:41 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500598 AND "spree_option_types"."id" = 935339121 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500598) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339121], ["position", 2], ["product_id", 1060500598], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500598) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:26:42.001804' WHERE "spree_products"."id" = 1060500598  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589418 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.003453' WHERE "spree_products"."id" = 1060500598 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500598  (5.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:26:42.012471')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:26:42.013109')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500596 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500596 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500598 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.8ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:26:42 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500599 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.116646' WHERE "spree_products"."id" = 1060500599 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500599], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.118231' WHERE "spree_products"."id" = 1060500599  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589419 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.119438' WHERE "spree_products"."id" = 1060500599  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500599 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500599  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500599 AND "spree_option_types"."id" = 935339122 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500599) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339122], ["position", 1], ["product_id", 1060500599], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500599) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500599 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:26:42 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500600 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.150899' WHERE "spree_products"."id" = 1060500600 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500600], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.152109' WHERE "spree_products"."id" = 1060500600  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.153218' WHERE "spree_products"."id" = 1060500600  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500600 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500600  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500600 AND "spree_option_types"."id" = 935339122 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500600) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339122], ["position", 1], ["product_id", 1060500600], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500600) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500600 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:26:42 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.184654' WHERE "spree_products"."id" = 1060500601 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500601], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.185562' WHERE "spree_products"."id" = 1060500601  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.186466' WHERE "spree_products"."id" = 1060500601  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500601 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500601  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500601 AND "spree_option_types"."id" = 935339122 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500601) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339122], ["position", 1], ["product_id", 1060500601], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500601 AND "spree_option_types"."id" = 935339123 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500601) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339123], ["position", 2], ["product_id", 1060500601], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500601) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500601 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500599 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.6ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (19.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500602 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.333402' WHERE "spree_products"."id" = 1060500602 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500602], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.335141' WHERE "spree_products"."id" = 1060500602  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.336661' WHERE "spree_products"."id" = 1060500602  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500602 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500602  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (17.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500602 AND "spree_option_types"."id" = 935339124 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500602) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339124], ["position", 1], ["product_id", 1060500602], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500602) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500602 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500603 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.370731' WHERE "spree_products"."id" = 1060500603 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500603], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.371803' WHERE "spree_products"."id" = 1060500603  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.372952' WHERE "spree_products"."id" = 1060500603  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500603 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500603  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (15.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500603 AND "spree_option_types"."id" = 935339124 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500603) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339124], ["position", 1], ["product_id", 1060500603], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500603) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500603 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.402863' WHERE "spree_products"."id" = 1060500604 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500604], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.403809' WHERE "spree_products"."id" = 1060500604  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589424 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.405140' WHERE "spree_products"."id" = 1060500604  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500604 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500604  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500604 AND "spree_option_types"."id" = 935339124 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500604) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339124], ["position", 1], ["product_id", 1060500604], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500604 AND "spree_option_types"."id" = 935339125 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500604) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339125], ["position", 2], ["product_id", 1060500604], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500604) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500604 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500602 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (16.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (21.2ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (1.4ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (1.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500605 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.531092' WHERE "spree_products"."id" = 1060500605 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500605], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.549811' WHERE "spree_products"."id" = 1060500605  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589425 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.551483' WHERE "spree_products"."id" = 1060500605  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500605  (1.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["product_id", nil], ["property_id", 905834903], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500605, "updated_at" = '2012-10-15 15:26:42.613394' WHERE "spree_product_properties"."id" = 1073273137 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500605) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451431 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451431], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500605 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500605, 558398359) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451432 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451432], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500605, 558398360) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500605) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500605 AND "spree_option_types"."id" = 935339126 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500605) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339126], ["position", 1], ["product_id", 1060500605], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339126) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339126], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.696716' WHERE "spree_products"."id" = 1060500605 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500605], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.697986' WHERE "spree_products"."id" = 1060500605  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589426, 979459987) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339126) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339126], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.705572' WHERE "spree_products"."id" = 1060500605 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500605], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.706573' WHERE "spree_products"."id" = 1060500605  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589427, 979459988) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339126) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339126], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500605 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.711346' WHERE "spree_products"."id" = 1060500605 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500605], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.712356' WHERE "spree_products"."id" = 1060500605  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589428, 979459989) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500605]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500605) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589426 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589427 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589428 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500605) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.724325' WHERE "spree_products"."id" = 1060500605  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589426 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.725679' WHERE "spree_products"."id" = 1060500605 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500605 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.727577' WHERE "spree_products"."id" = 1060500605  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589427 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.728790' WHERE "spree_products"."id" = 1060500605 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500605 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.729569' WHERE "spree_products"."id" = 1060500605  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589428 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.730695' WHERE "spree_products"."id" = 1060500605 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500605) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:26:42.732721' WHERE "spree_products"."id" = 1060500605 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500605 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.739164' WHERE "spree_products"."id" = 1060500606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500606], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.740081' WHERE "spree_products"."id" = 1060500606  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589429 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.741213' WHERE "spree_products"."id" = 1060500606  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500606  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["product_id", nil], ["property_id", 905834904], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500606, "updated_at" = '2012-10-15 15:26:42.746598' WHERE "spree_product_properties"."id" = 1073273138 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500606) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451431 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500606 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500606, 558398359) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451433 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451433], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500606, 558398361) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451431 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398359 AND "spree_taxons"."taxonomy_id" = 854451431 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398359]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398359], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451431], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398359]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398362]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398362 THEN 558398359 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398359]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398362]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398362 AND "spree_taxons"."taxonomy_id" = 854451431 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398362]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398362], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451431], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398362]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398363]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398363 THEN 558398362 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398362]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398363]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500606, 558398362)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500606, 558398363) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500606) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500606 AND "spree_option_types"."id" = 935339126 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500606) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339126], ["position", 1], ["product_id", 1060500606], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500606 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.779688' WHERE "spree_products"."id" = 1060500606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500606], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.781174' WHERE "spree_products"."id" = 1060500606  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589430, 979459987) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.783196' WHERE "spree_products"."id" = 1060500606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500606], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.784085' WHERE "spree_products"."id" = 1060500606  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589431, 979459988) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.786910' WHERE "spree_products"."id" = 1060500606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500606], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.787814' WHERE "spree_products"."id" = 1060500606  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589432, 979459989) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500606]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500606) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589430 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589431 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589432 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500606) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.800018' WHERE "spree_products"."id" = 1060500606  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589430 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.800758' WHERE "spree_products"."id" = 1060500606 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500606 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.801593' WHERE "spree_products"."id" = 1060500606  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589431 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.802585' WHERE "spree_products"."id" = 1060500606 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500606 LIMIT 1 SQL (42.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.803592' WHERE "spree_products"."id" = 1060500606  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589432 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.847444' WHERE "spree_products"."id" = 1060500606 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500606) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:26:42.850637' WHERE "spree_products"."id" = 1060500606 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500606 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.857112' WHERE "spree_products"."id" = 1060500607 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500607], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.858113' WHERE "spree_products"."id" = 1060500607  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589433 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.859245' WHERE "spree_products"."id" = 1060500607  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500607  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["product_id", nil], ["property_id", 905834905], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500607, "updated_at" = '2012-10-15 15:26:42.864433' WHERE "spree_product_properties"."id" = 1073273139 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["product_id", nil], ["property_id", 905834904], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500607, "updated_at" = '2012-10-15 15:26:42.866268' WHERE "spree_product_properties"."id" = 1073273140 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["product_id", nil], ["property_id", 905834906], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500607, "updated_at" = '2012-10-15 15:26:42.869551' WHERE "spree_product_properties"."id" = 1073273141 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500607) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451434 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451434], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500607 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500607, 558398364) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451431 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398359 AND "spree_taxons"."taxonomy_id" = 854451431 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398359]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398359], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451431], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398359]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398365]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398365 THEN 558398359 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398359]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398365]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500607, 558398365)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500607, 558398359) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500607) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500607 AND "spree_option_types"."id" = 935339126 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339126], ["position", 1], ["product_id", 1060500607], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.894400' WHERE "spree_products"."id" = 1060500607 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500607], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.895816' WHERE "spree_products"."id" = 1060500607  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589434, 979459987) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.898010' WHERE "spree_products"."id" = 1060500607 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500607], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.899144' WHERE "spree_products"."id" = 1060500607  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589435, 979459988) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339126 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.901785' WHERE "spree_products"."id" = 1060500607 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500607], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.902949' WHERE "spree_products"."id" = 1060500607  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589436, 979459989) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500607]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500607 AND "spree_option_types"."id" = 935339127 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["option_type_id", 935339127], ["position", 2], ["product_id", 1060500607], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339127 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339127) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339127], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.914243' WHERE "spree_products"."id" = 1060500607 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500607], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.915816' WHERE "spree_products"."id" = 1060500607  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589437, 979459990) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339127 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339127) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00], ["name", "colour"], ["option_type_id", 935339127], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.920575' WHERE "spree_products"."id" = 1060500607 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500607], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.921539' WHERE "spree_products"."id" = 1060500607  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589438, 979459991) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500607]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500607) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589434 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589435 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589436 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589437 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589438 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500607) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.952454' WHERE "spree_products"."id" = 1060500607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589434 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.953535' WHERE "spree_products"."id" = 1060500607 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.954678' WHERE "spree_products"."id" = 1060500607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589435 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.955367' WHERE "spree_products"."id" = 1060500607 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.956159' WHERE "spree_products"."id" = 1060500607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589436 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.956997' WHERE "spree_products"."id" = 1060500607 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.958219' WHERE "spree_products"."id" = 1060500607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589437 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.959019' WHERE "spree_products"."id" = 1060500607 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.959863' WHERE "spree_products"."id" = 1060500607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589438 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:42.960685' WHERE "spree_products"."id" = 1060500607 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500607) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:26:42.962943' WHERE "spree_products"."id" = 1060500607 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500607 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (23.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500605 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500607 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500607 SQL (3.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (18.9ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]]  (1.6ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500608 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.142678' WHERE "spree_products"."id" = 1060500608 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500608], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.159299' WHERE "spree_products"."id" = 1060500608  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589439 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.161116' WHERE "spree_products"."id" = 1060500608  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500608  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["product_id", nil], ["property_id", 905834907], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500608, "updated_at" = '2012-10-15 15:26:43.165537' WHERE "spree_product_properties"."id" = 1073273142 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451435 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451435], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500608 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500608, 558398366) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451436 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451436], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500608, 558398367) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500608 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500608) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["option_type_id", 935339128], ["position", 1], ["product_id", 1060500608], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339128) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339128], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.196945' WHERE "spree_products"."id" = 1060500608 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500608], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.198209' WHERE "spree_products"."id" = 1060500608  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589440, 979459992) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500608]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500608 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339128) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339128], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.206109' WHERE "spree_products"."id" = 1060500608 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500608], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.207949' WHERE "spree_products"."id" = 1060500608  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589441, 979459993) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500608]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (16.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500608 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339128) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339128], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500608 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.232532' WHERE "spree_products"."id" = 1060500608 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500608], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.233785' WHERE "spree_products"."id" = 1060500608  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589442, 979459994) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500608]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589440 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589441 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589442 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500608 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.249927' WHERE "spree_products"."id" = 1060500608  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589440 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.250967' WHERE "spree_products"."id" = 1060500608 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.251875' WHERE "spree_products"."id" = 1060500608  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589441 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.252672' WHERE "spree_products"."id" = 1060500608 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.253521' WHERE "spree_products"."id" = 1060500608  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589442 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.254236' WHERE "spree_products"."id" = 1060500608 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500608) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:26:43.256197' WHERE "spree_products"."id" = 1060500608 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500608 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500609 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.263186' WHERE "spree_products"."id" = 1060500609 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500609], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.264121' WHERE "spree_products"."id" = 1060500609  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589443 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.265057' WHERE "spree_products"."id" = 1060500609  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500609  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["product_id", nil], ["property_id", 905834908], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500609, "updated_at" = '2012-10-15 15:26:43.270516' WHERE "spree_product_properties"."id" = 1073273143 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451435 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500609 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500609, 558398366) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451437 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451437], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500609, 558398368) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451435 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398366 AND "spree_taxons"."taxonomy_id" = 854451435 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398366]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398366], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451435], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398366]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398369]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398369 THEN 558398366 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398366]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398369]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398369 AND "spree_taxons"."taxonomy_id" = 854451435 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398369]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398369], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451435], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398369]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398370]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398370 THEN 558398369 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398369]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398370]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500609, 558398369)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500609, 558398370) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500609 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500609) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["option_type_id", 935339128], ["position", 1], ["product_id", 1060500609], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.308903' WHERE "spree_products"."id" = 1060500609 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500609], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.309754' WHERE "spree_products"."id" = 1060500609  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589444, 979459992) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500609]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500609 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.316344' WHERE "spree_products"."id" = 1060500609 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500609], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.317193' WHERE "spree_products"."id" = 1060500609  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589445, 979459993) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500609]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500609 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.322747' WHERE "spree_products"."id" = 1060500609 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500609], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.323784' WHERE "spree_products"."id" = 1060500609  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589446, 979459994) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500609]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589444 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589445 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589446 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.338270' WHERE "spree_products"."id" = 1060500609  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589444 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.339129' WHERE "spree_products"."id" = 1060500609 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.340167' WHERE "spree_products"."id" = 1060500609  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589445 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.340959' WHERE "spree_products"."id" = 1060500609 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.341874' WHERE "spree_products"."id" = 1060500609  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589446 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.342658' WHERE "spree_products"."id" = 1060500609 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500609) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:26:43.344568' WHERE "spree_products"."id" = 1060500609 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500609 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.350821' WHERE "spree_products"."id" = 1060500610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500610], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.351768' WHERE "spree_products"."id" = 1060500610  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589447 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.352821' WHERE "spree_products"."id" = 1060500610  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500610  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["product_id", nil], ["property_id", 905834909], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500610, "updated_at" = '2012-10-15 15:26:43.358471' WHERE "spree_product_properties"."id" = 1073273144 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["product_id", nil], ["property_id", 905834908], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500610, "updated_at" = '2012-10-15 15:26:43.360821' WHERE "spree_product_properties"."id" = 1073273145 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["product_id", nil], ["property_id", 905834910], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500610, "updated_at" = '2012-10-15 15:26:43.364503' WHERE "spree_product_properties"."id" = 1073273146 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451438 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451438], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500610 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500610, 558398371) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451435 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398366 AND "spree_taxons"."taxonomy_id" = 854451435 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398366]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398366], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451435], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398366]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398372]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398372 THEN 558398366 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398366]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398372]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500610, 558398372)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500610, 558398366) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500610 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500610) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["option_type_id", 935339128], ["position", 1], ["product_id", 1060500610], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.387956' WHERE "spree_products"."id" = 1060500610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500610], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.389306' WHERE "spree_products"."id" = 1060500610  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589448, 979459992) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500610]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500610 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.395822' WHERE "spree_products"."id" = 1060500610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500610], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.396983' WHERE "spree_products"."id" = 1060500610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589449, 979459993) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500610]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500610 AND "spree_option_types"."id" = 935339128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339128 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.403404' WHERE "spree_products"."id" = 1060500610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500610], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.404582' WHERE "spree_products"."id" = 1060500610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589450, 979459994) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500610]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (36.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500610 AND "spree_option_types"."id" = 935339129 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500610) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["option_type_id", 935339129], ["position", 2], ["product_id", 1060500610], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339129 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339129) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339129], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.455550' WHERE "spree_products"."id" = 1060500610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500610], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.456823' WHERE "spree_products"."id" = 1060500610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589451, 979459995) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500610]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500610 AND "spree_option_types"."id" = 935339129 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339129 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339129) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00], ["name", "colour"], ["option_type_id", 935339129], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:26:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.483999' WHERE "spree_products"."id" = 1060500610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500610], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.485070' WHERE "spree_products"."id" = 1060500610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589452, 979459996) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500610]] Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589448 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589449 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589450 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589451 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589452 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.500021' WHERE "spree_products"."id" = 1060500610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589448 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.500936' WHERE "spree_products"."id" = 1060500610 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.501786' WHERE "spree_products"."id" = 1060500610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589449 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.502549' WHERE "spree_products"."id" = 1060500610 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.504008' WHERE "spree_products"."id" = 1060500610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589450 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.504658' WHERE "spree_products"."id" = 1060500610 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.505719' WHERE "spree_products"."id" = 1060500610  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589451 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.508043' WHERE "spree_products"."id" = 1060500610 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.509086' WHERE "spree_products"."id" = 1060500610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589452 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:26:43.509823' WHERE "spree_products"."id" = 1060500610 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500610) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:26:43.512666' WHERE "spree_products"."id" = 1060500610 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500610 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (21.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500608 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500610 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.2ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500610 SQL (3.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (18.8ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.9ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (17.4ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (17.1ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (6.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451439 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451439], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451439], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451439], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (1.6ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (15.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451440 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451440], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451440], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (21.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451440], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (2.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451441 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451441], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451441], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451441], ["updated_at", Mon, 15 Oct 2012 15:27:29 UTC +00:00]]  (1.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (4.8ms) DELETE FROM "spree_variants" SQL (67.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.4ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 11 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 11 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.3ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 12 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 12 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 13 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 13 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 14 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 14 Current value to assign : Current value to assign :  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (4.9ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.3ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 15 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 16 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 17 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 18  (5.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (5.4ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.6ms) commit transaction PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.1ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500611 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.547410' WHERE "spree_products"."id" = 1060500611 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500611], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.550674' WHERE "spree_products"."id" = 1060500611  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589453 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.553687' WHERE "spree_products"."id" = 1060500611  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500611 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500611  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589453 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500611) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500611 AND "spree_option_types"."id" = 935339130 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500611) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339130], ["position", 1], ["product_id", 1060500611], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500611) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:27:30.660735' WHERE "spree_products"."id" = 1060500611  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589453 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.663588' WHERE "spree_products"."id" = 1060500611 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500611 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060500611 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500612 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.670934' WHERE "spree_products"."id" = 1060500612 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500612], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.672291' WHERE "spree_products"."id" = 1060500612  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.673323' WHERE "spree_products"."id" = 1060500612  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500612 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500612  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589454 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500612) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500612 AND "spree_option_types"."id" = 935339130 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500612) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339130], ["position", 1], ["product_id", 1060500612], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500612) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:27:30.687489' WHERE "spree_products"."id" = 1060500612  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.688847' WHERE "spree_products"."id" = 1060500612 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500612 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060500612 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.699821' WHERE "spree_products"."id" = 1060500613 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500613], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.701221' WHERE "spree_products"."id" = 1060500613  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589455 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.704306' WHERE "spree_products"."id" = 1060500613  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500613 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500613  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.9ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589455 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500613) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500613 AND "spree_option_types"."id" = 935339130 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500613) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339130], ["position", 1], ["product_id", 1060500613], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500613 AND "spree_option_types"."id" = 935339131 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500613) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339131], ["position", 2], ["product_id", 1060500613], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500613) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:27:30.722735' WHERE "spree_products"."id" = 1060500613  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589455 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.724123' WHERE "spree_products"."id" = 1060500613 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500613 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060500613 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:27:30.739290')  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:27:30.740381')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500611 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500611 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (2.1ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500613 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500614 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.850862' WHERE "spree_products"."id" = 1060500614 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500614], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.852182' WHERE "spree_products"."id" = 1060500614  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.854632' WHERE "spree_products"."id" = 1060500614  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500614 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500614  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589456 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500614) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500614 AND "spree_option_types"."id" = 935339132 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500614) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339132], ["position", 1], ["product_id", 1060500614], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500614) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:27:30.871414' WHERE "spree_products"."id" = 1060500614  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.872893' WHERE "spree_products"."id" = 1060500614 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500614 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (2.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.882571' WHERE "spree_products"."id" = 1060500615 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500615], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.883414' WHERE "spree_products"."id" = 1060500615  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.885053' WHERE "spree_products"."id" = 1060500615  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500615 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500615  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589457 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500615) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500615 AND "spree_option_types"."id" = 935339132 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500615) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339132], ["position", 1], ["product_id", 1060500615], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500615) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:27:30.896415' WHERE "spree_products"."id" = 1060500615  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.897758' WHERE "spree_products"."id" = 1060500615 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500615 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.903973' WHERE "spree_products"."id" = 1060500616 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500616], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.904896' WHERE "spree_products"."id" = 1060500616  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.906021' WHERE "spree_products"."id" = 1060500616  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500616 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500616  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589458 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500616) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500616 AND "spree_option_types"."id" = 935339132 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500616) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339132], ["position", 1], ["product_id", 1060500616], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500616 AND "spree_option_types"."id" = 935339133 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500616) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00], ["option_type_id", 935339133], ["position", 2], ["product_id", 1060500616], ["updated_at", Mon, 15 Oct 2012 15:27:30 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500616) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:27:30.920140' WHERE "spree_products"."id" = 1060500616  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:30.921415' WHERE "spree_products"."id" = 1060500616 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500616  (4.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:27:30.927415')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:27:30.927902')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500614 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500614 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500616 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:27:30 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500617 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.011851' WHERE "spree_products"."id" = 1060500617 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500617], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.013259' WHERE "spree_products"."id" = 1060500617  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.014416' WHERE "spree_products"."id" = 1060500617  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500617 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500617  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500617 AND "spree_option_types"."id" = 935339134 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500617) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339134], ["position", 1], ["product_id", 1060500617], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500617) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500617 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:27:30 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500618 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.029598' WHERE "spree_products"."id" = 1060500618 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500618], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.030836' WHERE "spree_products"."id" = 1060500618  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589460 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.032285' WHERE "spree_products"."id" = 1060500618  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500618 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500618  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500618 AND "spree_option_types"."id" = 935339134 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500618) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339134], ["position", 1], ["product_id", 1060500618], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500618) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500618 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:27:30 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.045812' WHERE "spree_products"."id" = 1060500619 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500619], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.047147' WHERE "spree_products"."id" = 1060500619  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589461 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.048417' WHERE "spree_products"."id" = 1060500619  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500619 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500619  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500619 AND "spree_option_types"."id" = 935339134 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500619) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339134], ["position", 1], ["product_id", 1060500619], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500619 AND "spree_option_types"."id" = 935339135 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500619) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339135], ["position", 2], ["product_id", 1060500619], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500619) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500619 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500617 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500620 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.111598' WHERE "spree_products"."id" = 1060500620 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500620], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.112859' WHERE "spree_products"."id" = 1060500620  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589462 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.113953' WHERE "spree_products"."id" = 1060500620  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500620 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500620  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500620 AND "spree_option_types"."id" = 935339136 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500620) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339136], ["position", 1], ["product_id", 1060500620], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500620) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500620 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500621 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.127961' WHERE "spree_products"."id" = 1060500621 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500621], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.129299' WHERE "spree_products"."id" = 1060500621  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589463 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.130236' WHERE "spree_products"."id" = 1060500621  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500621 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500621  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500621 AND "spree_option_types"."id" = 935339136 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500621) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339136], ["position", 1], ["product_id", 1060500621], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500621) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500621 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500622 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.142286' WHERE "spree_products"."id" = 1060500622 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500622], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.143418' WHERE "spree_products"."id" = 1060500622  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589464 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.144659' WHERE "spree_products"."id" = 1060500622  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500622 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500622  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500622 AND "spree_option_types"."id" = 935339136 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500622) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339136], ["position", 1], ["product_id", 1060500622], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500622 AND "spree_option_types"."id" = 935339137 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500622) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339137], ["position", 2], ["product_id", 1060500622], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500622) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500622 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500620 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500623 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.260333' WHERE "spree_products"."id" = 1060500623 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500623], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.261587' WHERE "spree_products"."id" = 1060500623  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589465 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.262829' WHERE "spree_products"."id" = 1060500623  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500623  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834911], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500623, "updated_at" = '2012-10-15 15:27:31.279800' WHERE "spree_product_properties"."id" = 1073273147 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500623) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451442 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451442], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500623 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500623, 558398382) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451443 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451443], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500623, 558398383) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500623) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500623 AND "spree_option_types"."id" = 935339138 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500623) ORDER BY position DESC LIMIT 1 SQL (34.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339138], ["position", 1], ["product_id", 1060500623], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339138) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339138], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.354420' WHERE "spree_products"."id" = 1060500623 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500623], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.355594' WHERE "spree_products"."id" = 1060500623  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589466, 979459997) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339138) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339138], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.364039' WHERE "spree_products"."id" = 1060500623 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500623], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.365248' WHERE "spree_products"."id" = 1060500623  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589467, 979459998) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339138) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339138], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.369150' WHERE "spree_products"."id" = 1060500623 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500623], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.370293' WHERE "spree_products"."id" = 1060500623  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589468, 979459999) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500623]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500623) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589466 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589467 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589468 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500623) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.383361' WHERE "spree_products"."id" = 1060500623  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589466 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.384320' WHERE "spree_products"."id" = 1060500623 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500623 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.385345' WHERE "spree_products"."id" = 1060500623  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589467 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.386355' WHERE "spree_products"."id" = 1060500623 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500623 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.387206' WHERE "spree_products"."id" = 1060500623  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589468 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.387885' WHERE "spree_products"."id" = 1060500623 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500623) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:31.389819' WHERE "spree_products"."id" = 1060500623 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500623 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.395825' WHERE "spree_products"."id" = 1060500624 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500624], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.397410' WHERE "spree_products"."id" = 1060500624  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589469 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.398546' WHERE "spree_products"."id" = 1060500624  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500624  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834912], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500624, "updated_at" = '2012-10-15 15:27:31.403815' WHERE "spree_product_properties"."id" = 1073273148 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500624) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451442 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500624 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500624, 558398382) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451444 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451444], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500624, 558398384) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451442 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398382 AND "spree_taxons"."taxonomy_id" = 854451442 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398382]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398382], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451442], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398382]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398385]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398385 THEN 558398382 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398382]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398385]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398385 AND "spree_taxons"."taxonomy_id" = 854451442 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398385]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398385], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451442], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398385]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398386]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398386 THEN 558398385 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398385]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398386]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500624, 558398385)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500624, 558398386) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500624) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500624 AND "spree_option_types"."id" = 935339138 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500624) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339138], ["position", 1], ["product_id", 1060500624], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500624 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.435421' WHERE "spree_products"."id" = 1060500624 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500624], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.436832' WHERE "spree_products"."id" = 1060500624  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589470, 979459997) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.440222' WHERE "spree_products"."id" = 1060500624 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500624], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.441421' WHERE "spree_products"."id" = 1060500624  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589471, 979459998) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.443943' WHERE "spree_products"."id" = 1060500624 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500624], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.445159' WHERE "spree_products"."id" = 1060500624  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589472, 979459999) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500624]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500624) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589470 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589471 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589472 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500624) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.457799' WHERE "spree_products"."id" = 1060500624  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589470 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.458991' WHERE "spree_products"."id" = 1060500624 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500624 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.460004' WHERE "spree_products"."id" = 1060500624  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589471 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.461184' WHERE "spree_products"."id" = 1060500624 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.462280' WHERE "spree_products"."id" = 1060500624  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589472 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.462947' WHERE "spree_products"."id" = 1060500624 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500624) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:31.465145' WHERE "spree_products"."id" = 1060500624 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500624 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.471663' WHERE "spree_products"."id" = 1060500625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500625], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.472732' WHERE "spree_products"."id" = 1060500625  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589473 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.473824' WHERE "spree_products"."id" = 1060500625  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500625  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834913], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500625, "updated_at" = '2012-10-15 15:27:31.479992' WHERE "spree_product_properties"."id" = 1073273149 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834912], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500625, "updated_at" = '2012-10-15 15:27:31.481975' WHERE "spree_product_properties"."id" = 1073273150 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834914], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500625, "updated_at" = '2012-10-15 15:27:31.486938' WHERE "spree_product_properties"."id" = 1073273151 Created New ProductProperty # Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500625) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451445 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451445], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500625 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500625, 558398387) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451442 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398382 AND "spree_taxons"."taxonomy_id" = 854451442 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398382]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398382], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451442], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398382]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398388]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398388 THEN 558398382 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398382]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398388]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500625, 558398388)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500625, 558398382) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500625) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500625 AND "spree_option_types"."id" = 935339138 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500625) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339138], ["position", 1], ["product_id", 1060500625], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.509216' WHERE "spree_products"."id" = 1060500625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500625], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.510355' WHERE "spree_products"."id" = 1060500625  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589474, 979459997) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.512321' WHERE "spree_products"."id" = 1060500625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500625], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.513074' WHERE "spree_products"."id" = 1060500625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589475, 979459998) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339138 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.515269' WHERE "spree_products"."id" = 1060500625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500625], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.516245' WHERE "spree_products"."id" = 1060500625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589476, 979459999) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500625]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500625 AND "spree_option_types"."id" = 935339139 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500625) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339139], ["position", 2], ["product_id", 1060500625], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339139 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339139) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339139], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.525647' WHERE "spree_products"."id" = 1060500625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500625], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.526684' WHERE "spree_products"."id" = 1060500625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589477, 979460000) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339139 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339139) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "colour"], ["option_type_id", 935339139], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.530739' WHERE "spree_products"."id" = 1060500625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500625], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.531721' WHERE "spree_products"."id" = 1060500625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589478, 979460001) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500625]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500625) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589474 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589475 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589476 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589477 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589478 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500625) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.544525' WHERE "spree_products"."id" = 1060500625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589474 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.545560' WHERE "spree_products"."id" = 1060500625 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.546309' WHERE "spree_products"."id" = 1060500625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589475 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.546950' WHERE "spree_products"."id" = 1060500625 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.547734' WHERE "spree_products"."id" = 1060500625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589476 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.549125' WHERE "spree_products"."id" = 1060500625 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.549983' WHERE "spree_products"."id" = 1060500625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589477 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.550904' WHERE "spree_products"."id" = 1060500625 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500625 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.551725' WHERE "spree_products"."id" = 1060500625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589478 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.552404' WHERE "spree_products"."id" = 1060500625 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500625) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:31.554293' WHERE "spree_products"."id" = 1060500625 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500625 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500623 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500625 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.5ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500625 SQL (2.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (4.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500626 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.679407' WHERE "spree_products"."id" = 1060500626 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500626], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.681129' WHERE "spree_products"."id" = 1060500626  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589479 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.682119' WHERE "spree_products"."id" = 1060500626  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500626  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834915], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500626, "updated_at" = '2012-10-15 15:27:31.686425' WHERE "spree_product_properties"."id" = 1073273152 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451446 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451446], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500626 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500626, 558398389) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451447 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451447], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500626, 558398390) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500626 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500626) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339140], ["position", 1], ["product_id", 1060500626], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339140) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339140], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500626 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.714369' WHERE "spree_products"."id" = 1060500626 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500626], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.715349' WHERE "spree_products"."id" = 1060500626  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589480, 979460002) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500626]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500626 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339140) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339140], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500626 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.723425' WHERE "spree_products"."id" = 1060500626 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500626], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.724195' WHERE "spree_products"."id" = 1060500626  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589481, 979460003) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500626]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500626 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339140) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339140], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500626 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.731891' WHERE "spree_products"."id" = 1060500626 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500626], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.732818' WHERE "spree_products"."id" = 1060500626  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589482, 979460004) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500626]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589480 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589481 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589482 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500626 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.746810' WHERE "spree_products"."id" = 1060500626  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589480 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.747765' WHERE "spree_products"."id" = 1060500626 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500626 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.748902' WHERE "spree_products"."id" = 1060500626  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589481 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.749642' WHERE "spree_products"."id" = 1060500626 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500626 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.750477' WHERE "spree_products"."id" = 1060500626  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589482 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.751128' WHERE "spree_products"."id" = 1060500626 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500626) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:31.753425' WHERE "spree_products"."id" = 1060500626 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500626 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500627 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.759837' WHERE "spree_products"."id" = 1060500627 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500627], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.760818' WHERE "spree_products"."id" = 1060500627  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589483 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.761993' WHERE "spree_products"."id" = 1060500627  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500627  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834916], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500627, "updated_at" = '2012-10-15 15:27:31.766947' WHERE "spree_product_properties"."id" = 1073273153 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451446 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500627 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500627, 558398389) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451448 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451448], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500627, 558398391) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451446 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398389 AND "spree_taxons"."taxonomy_id" = 854451446 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398389]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398389], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451446], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398389]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398392]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398392 THEN 558398389 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398389]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398392]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398392 AND "spree_taxons"."taxonomy_id" = 854451446 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398392]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398392], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451446], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398392]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398393]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398393 THEN 558398392 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398392]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398393]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500627, 558398392)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500627, 558398393) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500627 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500627) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339140], ["position", 1], ["product_id", 1060500627], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500627 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.841264' WHERE "spree_products"."id" = 1060500627 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500627], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.842329' WHERE "spree_products"."id" = 1060500627  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589484, 979460002) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500627]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500627 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500627 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.848215' WHERE "spree_products"."id" = 1060500627 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500627], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.849414' WHERE "spree_products"."id" = 1060500627  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589485, 979460003) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500627]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500627 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500627 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.855261' WHERE "spree_products"."id" = 1060500627 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500627], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.857050' WHERE "spree_products"."id" = 1060500627  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589486, 979460004) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500627]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589484 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589485 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589486 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500627 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.872028' WHERE "spree_products"."id" = 1060500627  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589484 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.873114' WHERE "spree_products"."id" = 1060500627 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500627 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.874039' WHERE "spree_products"."id" = 1060500627  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589485 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.874644' WHERE "spree_products"."id" = 1060500627 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500627 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.875773' WHERE "spree_products"."id" = 1060500627  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589486 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.876763' WHERE "spree_products"."id" = 1060500627 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500627) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:31.878751' WHERE "spree_products"."id" = 1060500627 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500627 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.886316' WHERE "spree_products"."id" = 1060500628 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500628], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.887275' WHERE "spree_products"."id" = 1060500628  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589487 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.888427' WHERE "spree_products"."id" = 1060500628  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500628  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834917], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500628, "updated_at" = '2012-10-15 15:27:31.893277' WHERE "spree_product_properties"."id" = 1073273154 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834916], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500628, "updated_at" = '2012-10-15 15:27:31.895894' WHERE "spree_product_properties"."id" = 1073273155 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["product_id", nil], ["property_id", 905834918], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500628, "updated_at" = '2012-10-15 15:27:31.898896' WHERE "spree_product_properties"."id" = 1073273156 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451449 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451449], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500628 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500628, 558398394) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451446 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398389 AND "spree_taxons"."taxonomy_id" = 854451446 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398389]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398389], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451446], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398389]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398395]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398395 THEN 558398389 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398389]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398395]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500628, 558398395)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500628, 558398389) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500628 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500628) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339140], ["position", 1], ["product_id", 1060500628], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.922427' WHERE "spree_products"."id" = 1060500628 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500628], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.923418' WHERE "spree_products"."id" = 1060500628  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589488, 979460002) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500628]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500628 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.929956' WHERE "spree_products"."id" = 1060500628 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500628], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.930745' WHERE "spree_products"."id" = 1060500628  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589489, 979460003) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500628]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500628 AND "spree_option_types"."id" = 935339140 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339140 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.937284' WHERE "spree_products"."id" = 1060500628 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500628], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.938148' WHERE "spree_products"."id" = 1060500628  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589490, 979460004) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500628]] Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500628 AND "spree_option_types"."id" = 935339141 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500628) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["option_type_id", 935339141], ["position", 2], ["product_id", 1060500628], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339141 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339141) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339141], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.948827' WHERE "spree_products"."id" = 1060500628 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500628], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.949810' WHERE "spree_products"."id" = 1060500628  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589491, 979460005) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500628]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500628 AND "spree_option_types"."id" = 935339141 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339141 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339141) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00], ["name", "colour"], ["option_type_id", 935339141], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:31 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.959029' WHERE "spree_products"."id" = 1060500628 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500628], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.960014' WHERE "spree_products"."id" = 1060500628  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589492, 979460006) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500628]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589488 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589489 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589490 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589491 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589492 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.974768' WHERE "spree_products"."id" = 1060500628  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589488 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.975757' WHERE "spree_products"."id" = 1060500628 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.977089' WHERE "spree_products"."id" = 1060500628  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589489 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.977969' WHERE "spree_products"."id" = 1060500628 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.978760' WHERE "spree_products"."id" = 1060500628  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589490 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.979408' WHERE "spree_products"."id" = 1060500628 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.980423' WHERE "spree_products"."id" = 1060500628  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589491 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.981185' WHERE "spree_products"."id" = 1060500628 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.982582' WHERE "spree_products"."id" = 1060500628  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589492 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:31.983334' WHERE "spree_products"."id" = 1060500628 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500628) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:31.985681' WHERE "spree_products"."id" = 1060500628 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500628 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500626 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500628 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500628 SQL (2.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451450 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451450], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (4.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451450], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.7ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500629 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.342997' WHERE "spree_products"."id" = 1060500629 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500629], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.344885' WHERE "spree_products"."id" = 1060500629  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589493 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.347137' WHERE "spree_products"."id" = 1060500629  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500629  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834919], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500629, "updated_at" = '2012-10-15 15:27:32.352344' WHERE "spree_product_properties"."id" = 1073273157 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500629) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451450 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500629 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500629, 558398396) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451451 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451451], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500629, 558398398) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500629) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500629 AND "spree_option_types"."id" = 935339142 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500629) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339142], ["position", 1], ["product_id", 1060500629], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339142) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339142], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500629 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.374085' WHERE "spree_products"."id" = 1060500629 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500629], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.375236' WHERE "spree_products"."id" = 1060500629  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589494, 979460007) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339142) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339142], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500629 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.380857' WHERE "spree_products"."id" = 1060500629 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500629], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.381856' WHERE "spree_products"."id" = 1060500629  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589495, 979460008) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339142) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339142], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500629 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.385388' WHERE "spree_products"."id" = 1060500629 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500629], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.386250' WHERE "spree_products"."id" = 1060500629  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589496, 979460009) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500629]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500629) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589494 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589495 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589496 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500629) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500629 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.396941' WHERE "spree_products"."id" = 1060500629  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589494 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.397957' WHERE "spree_products"."id" = 1060500629 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500629 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.398770' WHERE "spree_products"."id" = 1060500629  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589495 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.399352' WHERE "spree_products"."id" = 1060500629 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500629 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.400377' WHERE "spree_products"."id" = 1060500629  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589496 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.401137' WHERE "spree_products"."id" = 1060500629 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500629) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:32.403205' WHERE "spree_products"."id" = 1060500629 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500629 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500630 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.409698' WHERE "spree_products"."id" = 1060500630 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500630], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.411086' WHERE "spree_products"."id" = 1060500630  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589497 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.412335' WHERE "spree_products"."id" = 1060500630  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500630  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834920], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500630, "updated_at" = '2012-10-15 15:27:32.416855' WHERE "spree_product_properties"."id" = 1073273158 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500630) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451450 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500630 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500630, 558398396) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451452 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451452], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500630, 558398399) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451450 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398396 AND "spree_taxons"."taxonomy_id" = 854451450 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398396]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398396], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451450], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398396]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398400]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398400 THEN 558398396 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398396]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398400]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398400 AND "spree_taxons"."taxonomy_id" = 854451450 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398400]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398400], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451450], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398400]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398401]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398401 THEN 558398400 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398400]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398401]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500630, 558398400)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500630, 558398401) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500630) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500630 AND "spree_option_types"."id" = 935339142 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500630) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339142], ["position", 1], ["product_id", 1060500630], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500630 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.444434' WHERE "spree_products"."id" = 1060500630 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500630], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.445841' WHERE "spree_products"."id" = 1060500630  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589498, 979460007) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500630 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.447810' WHERE "spree_products"."id" = 1060500630 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500630], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.448715' WHERE "spree_products"."id" = 1060500630  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589499, 979460008) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500630 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.450809' WHERE "spree_products"."id" = 1060500630 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500630], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.451762' WHERE "spree_products"."id" = 1060500630  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589500, 979460009) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500630]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500630) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589498 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589499 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589500 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500630) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500630 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.465100' WHERE "spree_products"."id" = 1060500630  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589498 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.466177' WHERE "spree_products"."id" = 1060500630 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500630 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.467163' WHERE "spree_products"."id" = 1060500630  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589499 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.467887' WHERE "spree_products"."id" = 1060500630 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500630 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.468784' WHERE "spree_products"."id" = 1060500630  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589500 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.469773' WHERE "spree_products"."id" = 1060500630 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500630) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:32.471847' WHERE "spree_products"."id" = 1060500630 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500630 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.478522' WHERE "spree_products"."id" = 1060500631 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500631], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.479719' WHERE "spree_products"."id" = 1060500631  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589501 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.480630' WHERE "spree_products"."id" = 1060500631  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500631  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834921], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500631, "updated_at" = '2012-10-15 15:27:32.487079' WHERE "spree_product_properties"."id" = 1073273159 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834920], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500631, "updated_at" = '2012-10-15 15:27:32.488803' WHERE "spree_product_properties"."id" = 1073273160 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834922], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500631, "updated_at" = '2012-10-15 15:27:32.491414' WHERE "spree_product_properties"."id" = 1073273161 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500631) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451453 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451453], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500631 Product assigned to Taxons : ["Drawings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500631, 558398402) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451450 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398396 AND "spree_taxons"."taxonomy_id" = 854451450 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398396]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398396], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451450], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398396]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398403]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398403 THEN 558398396 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398396]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398403]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500631, 558398403)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500631, 558398396) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500631) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500631 AND "spree_option_types"."id" = 935339142 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500631) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339142], ["position", 1], ["product_id", 1060500631], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.513294' WHERE "spree_products"."id" = 1060500631 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500631], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.514287' WHERE "spree_products"."id" = 1060500631  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589502, 979460007) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.516940' WHERE "spree_products"."id" = 1060500631 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500631], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.518004' WHERE "spree_products"."id" = 1060500631  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589503, 979460008) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339142 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.520284' WHERE "spree_products"."id" = 1060500631 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500631], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.521351' WHERE "spree_products"."id" = 1060500631  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589504, 979460009) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500631]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500631 AND "spree_option_types"."id" = 935339143 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500631) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339143], ["position", 2], ["product_id", 1060500631], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339143 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339143) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339143], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.531991' WHERE "spree_products"."id" = 1060500631 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500631], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.533041' WHERE "spree_products"."id" = 1060500631  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589505, 979460010) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339143 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339143) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "colour"], ["option_type_id", 935339143], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.537615' WHERE "spree_products"."id" = 1060500631 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500631], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.538795' WHERE "spree_products"."id" = 1060500631  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589506, 979460011) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500631]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500631) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589502 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589503 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589504 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589505 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589506 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500631) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.553310' WHERE "spree_products"."id" = 1060500631  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589502 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.554384' WHERE "spree_products"."id" = 1060500631 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.555323' WHERE "spree_products"."id" = 1060500631  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589503 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.556210' WHERE "spree_products"."id" = 1060500631 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.557305' WHERE "spree_products"."id" = 1060500631  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589504 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.558093' WHERE "spree_products"."id" = 1060500631 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.559074' WHERE "spree_products"."id" = 1060500631  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589505 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.559885' WHERE "spree_products"."id" = 1060500631 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.560776' WHERE "spree_products"."id" = 1060500631  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589506 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.561417' WHERE "spree_products"."id" = 1060500631 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500631) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:32.565822' WHERE "spree_products"."id" = 1060500631 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500631 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500630 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500631 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500629 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589494 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589495 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339142 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589496 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451454 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451454], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451454], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500632 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.700770' WHERE "spree_products"."id" = 1060500632 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500632], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.701770' WHERE "spree_products"."id" = 1060500632  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589507 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.703469' WHERE "spree_products"."id" = 1060500632  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500632  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834923], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500632, "updated_at" = '2012-10-15 15:27:32.708855' WHERE "spree_product_properties"."id" = 1073273162 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451454 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500632 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500632, 558398404) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451455 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451455], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500632, 558398406) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500632 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500632) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339144], ["position", 1], ["product_id", 1060500632], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339144) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339144], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500632 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.734416' WHERE "spree_products"."id" = 1060500632 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500632], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.735764' WHERE "spree_products"."id" = 1060500632  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589508, 979460012) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500632]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500632 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339144) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339144], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500632 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.744647' WHERE "spree_products"."id" = 1060500632 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500632], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.745763' WHERE "spree_products"."id" = 1060500632  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589509, 979460013) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500632]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500632 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339144) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339144], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500632 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.753689' WHERE "spree_products"."id" = 1060500632 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500632], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.754798' WHERE "spree_products"."id" = 1060500632  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589510, 979460014) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500632]] Current value to assign : Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589508 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589509 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589510 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500632 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.769080' WHERE "spree_products"."id" = 1060500632  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589508 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.769976' WHERE "spree_products"."id" = 1060500632 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500632 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.770958' WHERE "spree_products"."id" = 1060500632  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589509 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.772055' WHERE "spree_products"."id" = 1060500632 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500632 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.773017' WHERE "spree_products"."id" = 1060500632  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589510 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.773628' WHERE "spree_products"."id" = 1060500632 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500632) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:32.775649' WHERE "spree_products"."id" = 1060500632 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500632 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500633 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.781374' WHERE "spree_products"."id" = 1060500633 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500633], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.782438' WHERE "spree_products"."id" = 1060500633  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589511 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.783722' WHERE "spree_products"."id" = 1060500633  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500633  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834924], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500633, "updated_at" = '2012-10-15 15:27:32.788409' WHERE "spree_product_properties"."id" = 1073273163 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451454 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500633 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500633, 558398404) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451456 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451456], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500633, 558398407) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451454 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398404 AND "spree_taxons"."taxonomy_id" = 854451454 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398404]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398404], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451454], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398404]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398408]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398408 THEN 558398404 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398404]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398408]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398408 AND "spree_taxons"."taxonomy_id" = 854451454 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398408]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398408], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451454], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398408]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398409]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398409 THEN 558398408 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398408]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398409]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500633, 558398408)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500633, 558398409) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500633 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500633) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339144], ["position", 1], ["product_id", 1060500633], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500633 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.823407' WHERE "spree_products"."id" = 1060500633 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500633], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.824619' WHERE "spree_products"."id" = 1060500633  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589512, 979460012) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500633]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500633 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500633 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.830990' WHERE "spree_products"."id" = 1060500633 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500633], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.832024' WHERE "spree_products"."id" = 1060500633  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589513, 979460013) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500633]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500633 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500633 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.838389' WHERE "spree_products"."id" = 1060500633 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500633], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.839435' WHERE "spree_products"."id" = 1060500633  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589514, 979460014) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500633]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589512 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589513 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589514 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500633 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.854439' WHERE "spree_products"."id" = 1060500633  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589512 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.855541' WHERE "spree_products"."id" = 1060500633 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500633 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.856486' WHERE "spree_products"."id" = 1060500633  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589513 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.857315' WHERE "spree_products"."id" = 1060500633 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500633 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.858439' WHERE "spree_products"."id" = 1060500633  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589514 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.859410' WHERE "spree_products"."id" = 1060500633 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500633) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:32.861350' WHERE "spree_products"."id" = 1060500633 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500633 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.868209' WHERE "spree_products"."id" = 1060500634 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500634], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.869371' WHERE "spree_products"."id" = 1060500634  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589515 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.870579' WHERE "spree_products"."id" = 1060500634  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500634  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834925], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500634, "updated_at" = '2012-10-15 15:27:32.875772' WHERE "spree_product_properties"."id" = 1073273164 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834924], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500634, "updated_at" = '2012-10-15 15:27:32.878427' WHERE "spree_product_properties"."id" = 1073273165 Created New ProductProperty # Spree::Product Exists (2.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["product_id", nil], ["property_id", 905834926], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500634, "updated_at" = '2012-10-15 15:27:32.884062' WHERE "spree_product_properties"."id" = 1073273166 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451457 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451457], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500634 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500634, 558398410) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451454 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398404 AND "spree_taxons"."taxonomy_id" = 854451454 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398404]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398404], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451454], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398404]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398411]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398411 THEN 558398404 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398404]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398411]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500634, 558398411)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500634, 558398404) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500634 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500634) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339144], ["position", 1], ["product_id", 1060500634], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.944437' WHERE "spree_products"."id" = 1060500634 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500634], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.945580' WHERE "spree_products"."id" = 1060500634  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589516, 979460012) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500634]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500634 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.952009' WHERE "spree_products"."id" = 1060500634 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500634], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.952926' WHERE "spree_products"."id" = 1060500634  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589517, 979460013) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500634]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500634 AND "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339144 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.959028' WHERE "spree_products"."id" = 1060500634 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500634], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.960008' WHERE "spree_products"."id" = 1060500634  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589518, 979460014) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500634]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500634 AND "spree_option_types"."id" = 935339145 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500634) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["option_type_id", 935339145], ["position", 2], ["product_id", 1060500634], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339145 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339145) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339145], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.970381' WHERE "spree_products"."id" = 1060500634 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500634], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.971441' WHERE "spree_products"."id" = 1060500634  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589519, 979460015) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500634]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500634 AND "spree_option_types"."id" = 935339145 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339145 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339145) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00], ["name", "colour"], ["option_type_id", 935339145], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:32 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.979059' WHERE "spree_products"."id" = 1060500634 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500634], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.980183' WHERE "spree_products"."id" = 1060500634  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589520, 979460016) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500634]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589516 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589517 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589518 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589519 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589520 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.993245' WHERE "spree_products"."id" = 1060500634  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589516 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.994346' WHERE "spree_products"."id" = 1060500634 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.995357' WHERE "spree_products"."id" = 1060500634  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589517 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.996257' WHERE "spree_products"."id" = 1060500634 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.997087' WHERE "spree_products"."id" = 1060500634  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589518 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.997800' WHERE "spree_products"."id" = 1060500634 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.998638' WHERE "spree_products"."id" = 1060500634  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589519 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:32.999278' WHERE "spree_products"."id" = 1060500634 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.000415' WHERE "spree_products"."id" = 1060500634  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589520 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.001145' WHERE "spree_products"."id" = 1060500634 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500634) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:33.003201' WHERE "spree_products"."id" = 1060500634 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500634 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (33.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500633 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500634 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500632 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589508 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589509 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589510 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451458 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451458], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (4.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451458], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500635 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.128129' WHERE "spree_products"."id" = 1060500635 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500635], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.129390' WHERE "spree_products"."id" = 1060500635  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589521 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.130843' WHERE "spree_products"."id" = 1060500635  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500635  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["product_id", nil], ["property_id", 905834927], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500635, "updated_at" = '2012-10-15 15:27:33.136117' WHERE "spree_product_properties"."id" = 1073273167 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451458 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500635 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500635, 558398412) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451459 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451459], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500635, 558398414) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500635 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500635) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339146], ["position", 1], ["product_id", 1060500635], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339146) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339146], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500635 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.160288' WHERE "spree_products"."id" = 1060500635 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500635], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.161590' WHERE "spree_products"."id" = 1060500635  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589522, 979460017) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500635]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500635 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339146) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339146], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500635 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.171399' WHERE "spree_products"."id" = 1060500635 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500635], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.176049' WHERE "spree_products"."id" = 1060500635  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589523, 979460018) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500635]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500635 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339146) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339146], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500635 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.183580' WHERE "spree_products"."id" = 1060500635 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500635], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.184567' WHERE "spree_products"."id" = 1060500635  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589524, 979460019) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500635]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589522 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589523 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589524 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500635 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.199443' WHERE "spree_products"."id" = 1060500635  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589522 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.200443' WHERE "spree_products"."id" = 1060500635 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500635 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.201691' WHERE "spree_products"."id" = 1060500635  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589523 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.202578' WHERE "spree_products"."id" = 1060500635 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500635 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.203402' WHERE "spree_products"."id" = 1060500635  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589524 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.204059' WHERE "spree_products"."id" = 1060500635 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500635) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:33.206443' WHERE "spree_products"."id" = 1060500635 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500636 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.213908' WHERE "spree_products"."id" = 1060500636 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500636], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.215044' WHERE "spree_products"."id" = 1060500636  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589525 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.216194' WHERE "spree_products"."id" = 1060500636  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500636  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["product_id", nil], ["property_id", 905834928], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500636, "updated_at" = '2012-10-15 15:27:33.221444' WHERE "spree_product_properties"."id" = 1073273168 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451458 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500636 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500636, 558398412) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451460 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451460], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500636, 558398415) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451458 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398412 AND "spree_taxons"."taxonomy_id" = 854451458 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398412]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398412], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451458], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398412]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398416]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398416 THEN 558398412 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398412]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398416]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398416 AND "spree_taxons"."taxonomy_id" = 854451458 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398416]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398416], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451458], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398416]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398417]] SQL (0.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398417 THEN 558398416 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398416]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398417]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500636, 558398416)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500636, 558398417) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500636 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500636) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339146], ["position", 1], ["product_id", 1060500636], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500636 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.294169' WHERE "spree_products"."id" = 1060500636 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500636], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.295445' WHERE "spree_products"."id" = 1060500636  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589526, 979460017) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500636]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500636 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500636 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.302568' WHERE "spree_products"."id" = 1060500636 SQL (2.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500636], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.351311' WHERE "spree_products"."id" = 1060500636  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589527, 979460018) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500636]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500636 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500636 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.359318' WHERE "spree_products"."id" = 1060500636 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500636], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.360605' WHERE "spree_products"."id" = 1060500636  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589528, 979460019) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500636]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589526 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589527 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589528 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500636 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.376314' WHERE "spree_products"."id" = 1060500636  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589526 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.377143' WHERE "spree_products"."id" = 1060500636 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500636 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.377808' WHERE "spree_products"."id" = 1060500636  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589527 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.381042' WHERE "spree_products"."id" = 1060500636 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500636 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.381835' WHERE "spree_products"."id" = 1060500636  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589528 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.382787' WHERE "spree_products"."id" = 1060500636 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500636) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:33.384881' WHERE "spree_products"."id" = 1060500636 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.390638' WHERE "spree_products"."id" = 1060500637 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500637], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.391693' WHERE "spree_products"."id" = 1060500637  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589529 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.392971' WHERE "spree_products"."id" = 1060500637  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500637  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["product_id", nil], ["property_id", 905834929], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500637, "updated_at" = '2012-10-15 15:27:33.397446' WHERE "spree_product_properties"."id" = 1073273169 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["product_id", nil], ["property_id", 905834928], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500637, "updated_at" = '2012-10-15 15:27:33.400661' WHERE "spree_product_properties"."id" = 1073273170 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["product_id", nil], ["property_id", 905834930], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500637, "updated_at" = '2012-10-15 15:27:33.404138' WHERE "spree_product_properties"."id" = 1073273171 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451461 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451461], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500637 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500637, 558398418) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451458 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398412 AND "spree_taxons"."taxonomy_id" = 854451458 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398412]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398412], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451458], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398412]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398419]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398419 THEN 558398412 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398412]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398419]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500637, 558398419)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500637, 558398412) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500637 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500637) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339146], ["position", 1], ["product_id", 1060500637], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.427781' WHERE "spree_products"."id" = 1060500637 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500637], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.428932' WHERE "spree_products"."id" = 1060500637  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589530, 979460017) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500637]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500637 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.434755' WHERE "spree_products"."id" = 1060500637 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500637], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.435656' WHERE "spree_products"."id" = 1060500637  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589531, 979460018) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500637]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500637 AND "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339146 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.441771' WHERE "spree_products"."id" = 1060500637 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500637], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.442655' WHERE "spree_products"."id" = 1060500637  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589532, 979460019) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500637]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500637 AND "spree_option_types"."id" = 935339147 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500637) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339147], ["position", 2], ["product_id", 1060500637], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339147 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339147) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339147], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.452340' WHERE "spree_products"."id" = 1060500637 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500637], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.453447' WHERE "spree_products"."id" = 1060500637  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589533, 979460020) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500637]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500637 AND "spree_option_types"."id" = 935339147 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339147 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339147) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "colour"], ["option_type_id", 935339147], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.461918' WHERE "spree_products"."id" = 1060500637 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500637], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.462967' WHERE "spree_products"."id" = 1060500637  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589534, 979460021) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500637]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589530 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589531 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589532 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589533 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589534 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.477858' WHERE "spree_products"."id" = 1060500637  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589530 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.478851' WHERE "spree_products"."id" = 1060500637 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.480313' WHERE "spree_products"."id" = 1060500637  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589531 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.481007' WHERE "spree_products"."id" = 1060500637 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.481862' WHERE "spree_products"."id" = 1060500637  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589532 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.482648' WHERE "spree_products"."id" = 1060500637 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.483681' WHERE "spree_products"."id" = 1060500637  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589533 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.486078' WHERE "spree_products"."id" = 1060500637 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.487212' WHERE "spree_products"."id" = 1060500637  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589534 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.488068' WHERE "spree_products"."id" = 1060500637 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500637) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:33.491154' WHERE "spree_products"."id" = 1060500637  (5.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500636 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500637 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500635 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589522 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589523 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339146 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589524 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.7ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451462 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451462], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451462], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500638 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.555349' WHERE "spree_products"."id" = 1060500638 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500638], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.557020' WHERE "spree_products"."id" = 1060500638  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589535 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.558131' WHERE "spree_products"."id" = 1060500638  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500638  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500638 AND "spree_option_types"."id" = 935339148 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500638) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339148], ["position", 1], ["product_id", 1060500638], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500638 AND "spree_option_types"."id" = 935339149 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500638) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339149], ["position", 2], ["product_id", 1060500638], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339148) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339148], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339149 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339149) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "colour"], ["option_type_id", 935339149], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.577745' WHERE "spree_products"."id" = 1060500638 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500638], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.578898' WHERE "spree_products"."id" = 1060500638  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589536, 979460022)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589536, 979460023) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339148) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339148], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339149 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.583859' WHERE "spree_products"."id" = 1060500638 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500638], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.584858' WHERE "spree_products"."id" = 1060500638  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589537, 979460024)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589537, 979460023) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500638]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500638) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500638 AND "spree_option_types"."id" = 935339148 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339148) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339148], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.596573' WHERE "spree_products"."id" = 1060500638 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500638], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.597665' WHERE "spree_products"."id" = 1060500638  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589538, 979460025) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500638]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500638) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589536 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589537 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589538 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500638) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500638 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.608318' WHERE "spree_products"."id" = 1060500638  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589536 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.609118' WHERE "spree_products"."id" = 1060500638 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.609840' WHERE "spree_products"."id" = 1060500638  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589537 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.610582' WHERE "spree_products"."id" = 1060500638 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.611662' WHERE "spree_products"."id" = 1060500638  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589538 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.612360' WHERE "spree_products"."id" = 1060500638 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500638) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:33.614598' WHERE "spree_products"."id" = 1060500638 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.620990' WHERE "spree_products"."id" = 1060500639 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500639], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.622137' WHERE "spree_products"."id" = 1060500639  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589539 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.623437' WHERE "spree_products"."id" = 1060500639  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500639  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500639 AND "spree_option_types"."id" = 935339148 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500639) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339148], ["position", 1], ["product_id", 1060500639], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500639 AND "spree_option_types"."id" = 935339149 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500639) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339149], ["position", 2], ["product_id", 1060500639], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339149 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339149) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339149], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500639 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.640113' WHERE "spree_products"."id" = 1060500639 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500639], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.641251' WHERE "spree_products"."id" = 1060500639  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589540, 979460026)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589540, 979460022) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500639]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500639) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500639 AND "spree_option_types"."id" = 935339148 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500639 AND "spree_option_types"."id" = 935339149 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339149 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500639 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.651061' WHERE "spree_products"."id" = 1060500639 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500639], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.652168' WHERE "spree_products"."id" = 1060500639  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589541, 979460026)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589541, 979460025) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500639]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500639) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589540 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589541 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500639) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.661449' WHERE "spree_products"."id" = 1060500639  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589540 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.662375' WHERE "spree_products"."id" = 1060500639 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.663389' WHERE "spree_products"."id" = 1060500639  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589541 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.664215' WHERE "spree_products"."id" = 1060500639 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500639) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-15 15:27:33.666647' WHERE "spree_products"."id" = 1060500639 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.672818' WHERE "spree_products"."id" = 1060500640 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500640], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.673807' WHERE "spree_products"."id" = 1060500640  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589542 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.675096' WHERE "spree_products"."id" = 1060500640  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500640  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500640 AND "spree_option_types"."id" = 935339148 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500640) ORDER BY position DESC LIMIT 1 SQL (43.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339148], ["position", 1], ["product_id", 1060500640], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500640 AND "spree_option_types"."id" = 935339149 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500640) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339149], ["position", 2], ["product_id", 1060500640], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500640 AND "spree_option_types"."id" = 935339150 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500640) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339150], ["position", 3], ["product_id", 1060500640], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339149 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339150 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339150) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "large"], ["option_type_id", 935339150], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.740154' WHERE "spree_products"."id" = 1060500640 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500640], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.741252' WHERE "spree_products"."id" = 1060500640  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589543, 979460023)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589543, 979460027)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589543, 979460022) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339149 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339149) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339149], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339150 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.746173' WHERE "spree_products"."id" = 1060500640 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500640], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.747151' WHERE "spree_products"."id" = 1060500640  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589544, 979460028)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589544, 979460027)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589544, 979460022) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500640]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500640 AND "spree_option_types"."id" = 935339148 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.754779' WHERE "spree_products"."id" = 1060500640 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500640], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.755818' WHERE "spree_products"."id" = 1060500640  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589545, 979460025) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500640]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500640) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500640 AND "spree_option_types"."id" = 935339148 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339148 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500640 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.762236' WHERE "spree_products"."id" = 1060500640 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500640], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.763450' WHERE "spree_products"."id" = 1060500640  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589546, 979460024) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500640]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500640 AND "spree_option_types"."id" = 935339149 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339149 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.768994' WHERE "spree_products"."id" = 1060500640 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500640], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.770032' WHERE "spree_products"."id" = 1060500640  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589547, 979460026) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500640]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500640) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500640) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (4.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500638 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589536 Booted Spree using version 1.1.3 SQL (5.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500641 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.846263' WHERE "spree_products"."id" = 1060500641 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500641], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.847591' WHERE "spree_products"."id" = 1060500641  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589548 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.849387' WHERE "spree_products"."id" = 1060500641  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500641  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["product_id", nil], ["property_id", 905834931], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500641, "updated_at" = '2012-10-15 15:27:33.855001' WHERE "spree_product_properties"."id" = 1073273172 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500641) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451463 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451463], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500641 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500641, 558398422) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451464 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451464], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500641, 558398423) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500641) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500641 AND "spree_option_types"."id" = 935339151 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500641) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["option_type_id", 935339151], ["position", 1], ["product_id", 1060500641], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339151) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339151], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.878452' WHERE "spree_products"."id" = 1060500641 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500641], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.879765' WHERE "spree_products"."id" = 1060500641  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589549, 979460029) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339151) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339151], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500641 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.885295' WHERE "spree_products"."id" = 1060500641 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500641], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.886452' WHERE "spree_products"."id" = 1060500641  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589550, 979460030) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339151) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339151], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.889537' WHERE "spree_products"."id" = 1060500641 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500641], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.890452' WHERE "spree_products"."id" = 1060500641  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589551, 979460031) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500641]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500641) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589549 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589550 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589551 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500641) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.900965' WHERE "spree_products"."id" = 1060500641  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589549 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.902142' WHERE "spree_products"."id" = 1060500641 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.903185' WHERE "spree_products"."id" = 1060500641  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589550 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.903933' WHERE "spree_products"."id" = 1060500641 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.904803' WHERE "spree_products"."id" = 1060500641  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589551 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:33.905582' WHERE "spree_products"."id" = 1060500641 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500641) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589548 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:33 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500641) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:34.494699' WHERE "spree_products"."id" = 1060500641 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.505746' WHERE "spree_products"."id" = 1060500642 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500642], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.507346' WHERE "spree_products"."id" = 1060500642  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589552 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.508732' WHERE "spree_products"."id" = 1060500642  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500642  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["product_id", nil], ["property_id", 905834932], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500642, "updated_at" = '2012-10-15 15:27:34.515203' WHERE "spree_product_properties"."id" = 1073273173 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500642) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451463 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500642 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500642, 558398422) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451465 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451465], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500642, 558398424) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451466 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451466], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500642, 558398425) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500642) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500642 AND "spree_option_types"."id" = 935339151 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500642) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["option_type_id", 935339151], ["position", 1], ["product_id", 1060500642], ["updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.537930' WHERE "spree_products"."id" = 1060500642 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500642], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.538970' WHERE "spree_products"."id" = 1060500642  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589553, 979460029) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.541121' WHERE "spree_products"."id" = 1060500642 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500642], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.542103' WHERE "spree_products"."id" = 1060500642  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589554, 979460030) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.544522' WHERE "spree_products"."id" = 1060500642 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500642], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.545402' WHERE "spree_products"."id" = 1060500642  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589555, 979460031) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500642]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500642) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589553 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589554 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589555 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500642) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.555926' WHERE "spree_products"."id" = 1060500642  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589553 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.556749' WHERE "spree_products"."id" = 1060500642 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.557662' WHERE "spree_products"."id" = 1060500642  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589554 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.558434' WHERE "spree_products"."id" = 1060500642 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.559651' WHERE "spree_products"."id" = 1060500642  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589555 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:34.560625' WHERE "spree_products"."id" = 1060500642 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500642) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589552 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:34 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500642) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:39.970752' WHERE "spree_products"."id" = 1060500642 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:39.983492' WHERE "spree_products"."id" = 1060500643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500643], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:39.985233' WHERE "spree_products"."id" = 1060500643  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589556 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:39.986659' WHERE "spree_products"."id" = 1060500643  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500643  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00], ["product_id", nil], ["property_id", 905834933], ["updated_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500643, "updated_at" = '2012-10-15 15:27:39.994932' WHERE "spree_product_properties"."id" = 1073273174 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00], ["product_id", nil], ["property_id", 905834932], ["updated_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500643, "updated_at" = '2012-10-15 15:27:39.997638' WHERE "spree_product_properties"."id" = 1073273175 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["product_id", nil], ["property_id", 905834934], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500643, "updated_at" = '2012-10-15 15:27:40.000804' WHERE "spree_product_properties"."id" = 1073273176 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500643) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451467 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451467], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500643 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500643, 558398426) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500643) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500643 AND "spree_option_types"."id" = 935339151 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500643) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["option_type_id", 935339151], ["position", 1], ["product_id", 1060500643], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.018858' WHERE "spree_products"."id" = 1060500643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500643], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.019968' WHERE "spree_products"."id" = 1060500643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589557, 979460029) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.022796' WHERE "spree_products"."id" = 1060500643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500643], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.023771' WHERE "spree_products"."id" = 1060500643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589558, 979460030) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339151 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.028520' WHERE "spree_products"."id" = 1060500643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500643], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.029648' WHERE "spree_products"."id" = 1060500643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589559, 979460031) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500643]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500643 AND "spree_option_types"."id" = 935339152 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500643) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["option_type_id", 935339152], ["position", 2], ["product_id", 1060500643], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339152 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339152) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339152], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.040195' WHERE "spree_products"."id" = 1060500643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500643], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.041497' WHERE "spree_products"."id" = 1060500643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589560, 979460032) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339152 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339152) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339152], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.046185' WHERE "spree_products"."id" = 1060500643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500643], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.047286' WHERE "spree_products"."id" = 1060500643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589561, 979460033) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500643]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500643) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589557 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589558 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589559 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589560 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589561 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500643) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.062501' WHERE "spree_products"."id" = 1060500643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589557 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.063484' WHERE "spree_products"."id" = 1060500643 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.064813' WHERE "spree_products"."id" = 1060500643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589558 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.065754' WHERE "spree_products"."id" = 1060500643 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.066813' WHERE "spree_products"."id" = 1060500643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589559 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.067720' WHERE "spree_products"."id" = 1060500643 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.068934' WHERE "spree_products"."id" = 1060500643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589560 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.069760' WHERE "spree_products"."id" = 1060500643 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.070794' WHERE "spree_products"."id" = 1060500643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589561 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:40.071529' WHERE "spree_products"."id" = 1060500643 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500643) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589556 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:40 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500643) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:42.234349' WHERE "spree_products"."id" = 1060500643  (221.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500641 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589548) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500641)) SQL (315.8ms) DELETE FROM "spree_products" SQL (107.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (316.3ms) DELETE FROM "spree_option_types" SQL (317.0ms) DELETE FROM "spree_option_values" SQL (107.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (109.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:43.984767' WHERE "spree_products"."id" = 1060500644 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:43.986229' WHERE "spree_products"."id" = 1060500644  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589562 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.095505' WHERE "spree_products"."id" = 1060500644  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500644  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["product_id", nil], ["property_id", 905834935], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500644, "updated_at" = '2012-10-15 15:27:44.101579' WHERE "spree_product_properties"."id" = 1073273177 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451468], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500644 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500644, 558398427) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451469 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451469], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500644, 558398428) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500644 AND "spree_option_types"."id" = 935339153 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500644) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["option_type_id", 935339153], ["position", 1], ["product_id", 1060500644], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339153) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339153], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.129107' WHERE "spree_products"."id" = 1060500644 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.130275' WHERE "spree_products"."id" = 1060500644  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589563, 979460034) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339153) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339153], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.134537' WHERE "spree_products"."id" = 1060500644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.135386' WHERE "spree_products"."id" = 1060500644  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589564, 979460035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339153) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339153], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.138580' WHERE "spree_products"."id" = 1060500644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.139754' WHERE "spree_products"."id" = 1060500644  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589565, 979460036) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500644]] Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589563 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589564 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589565 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.151580' WHERE "spree_products"."id" = 1060500644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589563 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.152580' WHERE "spree_products"."id" = 1060500644 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.153629' WHERE "spree_products"."id" = 1060500644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589564 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.154397' WHERE "spree_products"."id" = 1060500644 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.155628' WHERE "spree_products"."id" = 1060500644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589565 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:44.156354' WHERE "spree_products"."id" = 1060500644 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589562 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:44 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:45.858778' WHERE "spree_products"."id" = 1060500644 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500644 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.870296' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.871579' WHERE "spree_products"."id" = 1060500645  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589566 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.873304' WHERE "spree_products"."id" = 1060500645  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500645  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["product_id", nil], ["property_id", 905834936], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500645, "updated_at" = '2012-10-15 15:27:45.880246' WHERE "spree_product_properties"."id" = 1073273178 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500645 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500645, 558398427) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451470 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451470], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500645, 558398429) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451471 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451471], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500645, 558398430) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500645 AND "spree_option_types"."id" = 935339153 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500645) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00], ["option_type_id", 935339153], ["position", 1], ["product_id", 1060500645], ["updated_at", Mon, 15 Oct 2012 15:27:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.904555' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.905768' WHERE "spree_products"."id" = 1060500645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589567, 979460034) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.908307' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.909549' WHERE "spree_products"."id" = 1060500645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589568, 979460035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.912119' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:45.913492' WHERE "spree_products"."id" = 1060500645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589569, 979460036) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500645]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589567 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589569 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:46.028206' WHERE "spree_products"."id" = 1060500645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589567 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:46.029255' WHERE "spree_products"."id" = 1060500645 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:46.030420' WHERE "spree_products"."id" = 1060500645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589568 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:46.031405' WHERE "spree_products"."id" = 1060500645 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:46.032526' WHERE "spree_products"."id" = 1060500645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589569 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:46.033346' WHERE "spree_products"."id" = 1060500645 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589566 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:46 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:54.921676' WHERE "spree_products"."id" = 1060500645 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060500645 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.931254' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.932630' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589570 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.934270' WHERE "spree_products"."id" = 1060500646  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500646  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["product_id", nil], ["property_id", 905834937], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500646, "updated_at" = '2012-10-15 15:27:54.940660' WHERE "spree_product_properties"."id" = 1073273179 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["product_id", nil], ["property_id", 905834936], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500646, "updated_at" = '2012-10-15 15:27:54.942952' WHERE "spree_product_properties"."id" = 1073273180 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["product_id", nil], ["property_id", 905834938], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500646, "updated_at" = '2012-10-15 15:27:54.945771' WHERE "spree_product_properties"."id" = 1073273181 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451472 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451472], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500646 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500646, 558398431) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500646 AND "spree_option_types"."id" = 935339153 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500646) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["option_type_id", 935339153], ["position", 1], ["product_id", 1060500646], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.961159' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.962048' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589571, 979460034) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.964457' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.965295' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589572, 979460035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.967676' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.968573' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589573, 979460036) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500646]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500646 AND "spree_option_types"."id" = 935339154 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500646) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["option_type_id", 935339154], ["position", 2], ["product_id", 1060500646], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339154 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339154) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339154], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.978878' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.979848' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589574, 979460037) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339154 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339154) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00], ["name", "colour"], ["option_type_id", 935339154], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.984544' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.985413' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589575, 979460038) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500646]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589571 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589573 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589574 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589575 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:54.999821' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589571 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.000701' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.001440' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589572 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.002221' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.003544' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589573 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.004508' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.005488' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589574 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.007293' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.008461' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589575 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:55.009330' WHERE "spree_products"."id" = 1060500646 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589570 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:55 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:55.862040' WHERE "spree_products"."id" = 1060500646 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500646 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.7ms) rollback transaction SQL (4.8ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.9ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.023996' WHERE "spree_products"."id" = 1060500644 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.025129' WHERE "spree_products"."id" = 1060500644  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589562 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.026596' WHERE "spree_products"."id" = 1060500644  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500644  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834935], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500644, "updated_at" = '2012-10-15 15:27:56.033266' WHERE "spree_product_properties"."id" = 1073273177 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451468], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500644 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500644, 558398427) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451469 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451469], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500644, 558398428) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500644 AND "spree_option_types"."id" = 935339153 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500644) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339153], ["position", 1], ["product_id", 1060500644], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339153) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339153], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.061808' WHERE "spree_products"."id" = 1060500644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.062896' WHERE "spree_products"."id" = 1060500644  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589563, 979460034) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339153) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339153], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.067546' WHERE "spree_products"."id" = 1060500644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.068659' WHERE "spree_products"."id" = 1060500644  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589564, 979460035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339153) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339153], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.072056' WHERE "spree_products"."id" = 1060500644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500644], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.073158' WHERE "spree_products"."id" = 1060500644  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589565, 979460036) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500644]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589563 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589564 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589565 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.084729' WHERE "spree_products"."id" = 1060500644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589563 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.085873' WHERE "spree_products"."id" = 1060500644 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.086923' WHERE "spree_products"."id" = 1060500644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589564 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.087686' WHERE "spree_products"."id" = 1060500644 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.089089' WHERE "spree_products"."id" = 1060500644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589565 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.090225' WHERE "spree_products"."id" = 1060500644 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500644) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:56.092480' WHERE "spree_products"."id" = 1060500644 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500644 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.098923' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.099873' WHERE "spree_products"."id" = 1060500645  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589566 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.100979' WHERE "spree_products"."id" = 1060500645  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500645  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834936], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500645, "updated_at" = '2012-10-15 15:27:56.106117' WHERE "spree_product_properties"."id" = 1073273178 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500645 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500645, 558398427) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451470 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451470], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500645, 558398429) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398427 AND "spree_taxons"."taxonomy_id" = 854451468 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398427]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398427], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451468], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398427]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398430]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398430 THEN 558398427 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398427]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398430]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398430 AND "spree_taxons"."taxonomy_id" = 854451468 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398430]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398430], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451468], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398430]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398431]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398431 THEN 558398430 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398430]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398431]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500645, 558398430)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500645, 558398431) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500645 AND "spree_option_types"."id" = 935339153 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500645) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339153], ["position", 1], ["product_id", 1060500645], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.135505' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.136382' WHERE "spree_products"."id" = 1060500645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589567, 979460034) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.138777' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.139697' WHERE "spree_products"."id" = 1060500645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589568, 979460035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.141865' WHERE "spree_products"."id" = 1060500645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500645], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.142687' WHERE "spree_products"."id" = 1060500645  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589569, 979460036) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500645]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589567 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589569 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.155406' WHERE "spree_products"."id" = 1060500645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589567 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.156570' WHERE "spree_products"."id" = 1060500645 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.157614' WHERE "spree_products"."id" = 1060500645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589568 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.158328' WHERE "spree_products"."id" = 1060500645 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.159143' WHERE "spree_products"."id" = 1060500645  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589569 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.159870' WHERE "spree_products"."id" = 1060500645 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500645) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:56.161874' WHERE "spree_products"."id" = 1060500645 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500645 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.168336' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.169394' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589570 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.170350' WHERE "spree_products"."id" = 1060500646  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500646  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834937], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500646, "updated_at" = '2012-10-15 15:27:56.175148' WHERE "spree_product_properties"."id" = 1073273179 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834936], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500646, "updated_at" = '2012-10-15 15:27:56.177499' WHERE "spree_product_properties"."id" = 1073273180 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834938], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500646, "updated_at" = '2012-10-15 15:27:56.180078' WHERE "spree_product_properties"."id" = 1073273181 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451471 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451471], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500646 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500646, 558398432) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398427 AND "spree_taxons"."taxonomy_id" = 854451468 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398427]] SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398427], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451468], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398427]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398433]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398433 THEN 558398427 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398427]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398433]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500646, 558398433)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500646, 558398427) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500646 AND "spree_option_types"."id" = 935339153 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500646) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339153], ["position", 1], ["product_id", 1060500646], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.203818' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.204731' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589571, 979460034) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.207442' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.208355' WHERE "spree_products"."id" = 1060500646  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589572, 979460035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339153 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.210704' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.212384' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589573, 979460036) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500646]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500646 AND "spree_option_types"."id" = 935339154 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500646) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339154], ["position", 2], ["product_id", 1060500646], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339154 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339154) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339154], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.221548' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.222689' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589574, 979460037) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339154 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339154) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "colour"], ["option_type_id", 935339154], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.226818' WHERE "spree_products"."id" = 1060500646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500646], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.227720' WHERE "spree_products"."id" = 1060500646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589575, 979460038) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500646]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589571 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589573 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589574 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589575 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.240446' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589571 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.241499' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.242605' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589572 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.243307' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.244131' WHERE "spree_products"."id" = 1060500646  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589573 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.244873' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.245700' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589574 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.246731' WHERE "spree_products"."id" = 1060500646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.247439' WHERE "spree_products"."id" = 1060500646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589575 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.248196' WHERE "spree_products"."id" = 1060500646 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500646) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:56.250136' WHERE "spree_products"."id" = 1060500646 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500646 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500646 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589570) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500646)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction SQL (3.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (1.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500647 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.373364' WHERE "spree_products"."id" = 1060500647 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500647], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.374830' WHERE "spree_products"."id" = 1060500647  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589576 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.375994' WHERE "spree_products"."id" = 1060500647  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500647  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834939], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500647, "updated_at" = '2012-10-15 15:27:56.381848' WHERE "spree_product_properties"."id" = 1073273182 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500647) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451472 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451472], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500647 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500647, 558398434) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451473 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451473], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500647, 558398435) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500647) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500647 AND "spree_option_types"."id" = 935339155 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500647) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339155], ["position", 1], ["product_id", 1060500647], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339155) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339155], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500647 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.404512' WHERE "spree_products"."id" = 1060500647 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500647], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.405911' WHERE "spree_products"."id" = 1060500647  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589577, 979460039) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339155) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339155], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.410644' WHERE "spree_products"."id" = 1060500647 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500647], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.411502' WHERE "spree_products"."id" = 1060500647  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589578, 979460040) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339155) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339155], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.417029' WHERE "spree_products"."id" = 1060500647 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500647], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.418199' WHERE "spree_products"."id" = 1060500647  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589579, 979460041) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500647]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500647) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589577 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589578 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589579 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500647) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.428475' WHERE "spree_products"."id" = 1060500647  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589577 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.429298' WHERE "spree_products"."id" = 1060500647 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.466554' WHERE "spree_products"."id" = 1060500647  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589578 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.468919' WHERE "spree_products"."id" = 1060500647 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.469976' WHERE "spree_products"."id" = 1060500647  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589579 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.470734' WHERE "spree_products"."id" = 1060500647 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500647) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:56.472906' WHERE "spree_products"."id" = 1060500647 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500647 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500648 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.479157' WHERE "spree_products"."id" = 1060500648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500648], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.480455' WHERE "spree_products"."id" = 1060500648  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589580 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.481659' WHERE "spree_products"."id" = 1060500648  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500648  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834940], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500648, "updated_at" = '2012-10-15 15:27:56.487262' WHERE "spree_product_properties"."id" = 1073273183 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500648) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451472 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500648 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500648, 558398434) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451474 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451474], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500648, 558398436) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451472 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398434 AND "spree_taxons"."taxonomy_id" = 854451472 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398434]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398434], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451472], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398434]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398437]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398437 THEN 558398434 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398434]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398437]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398437 AND "spree_taxons"."taxonomy_id" = 854451472 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398437]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398437], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451472], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398437]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398438]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398438 THEN 558398437 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398437]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398438]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500648, 558398437)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500648, 558398438) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500648) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500648 AND "spree_option_types"."id" = 935339155 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500648) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339155], ["position", 1], ["product_id", 1060500648], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.516821' WHERE "spree_products"."id" = 1060500648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500648], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.517802' WHERE "spree_products"."id" = 1060500648  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589581, 979460039) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.519786' WHERE "spree_products"."id" = 1060500648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500648], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.520661' WHERE "spree_products"."id" = 1060500648  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589582, 979460040) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500648 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.522725' WHERE "spree_products"."id" = 1060500648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500648], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.524159' WHERE "spree_products"."id" = 1060500648  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589583, 979460041) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500648]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500648) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589581 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589582 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589583 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500648) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.536518' WHERE "spree_products"."id" = 1060500648  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589581 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.537463' WHERE "spree_products"."id" = 1060500648 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.538545' WHERE "spree_products"."id" = 1060500648  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589582 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.539274' WHERE "spree_products"."id" = 1060500648 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.540092' WHERE "spree_products"."id" = 1060500648  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589583 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.540875' WHERE "spree_products"."id" = 1060500648 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500648) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:27:56.542972' WHERE "spree_products"."id" = 1060500648 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500648 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.549457' WHERE "spree_products"."id" = 1060500649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500649], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.550464' WHERE "spree_products"."id" = 1060500649  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589584 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.551435' WHERE "spree_products"."id" = 1060500649  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500649  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834941], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500649, "updated_at" = '2012-10-15 15:27:56.556562' WHERE "spree_product_properties"."id" = 1073273184 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834940], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500649, "updated_at" = '2012-10-15 15:27:56.558899' WHERE "spree_product_properties"."id" = 1073273185 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834942], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500649, "updated_at" = '2012-10-15 15:27:56.561654' WHERE "spree_product_properties"."id" = 1073273186 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500649) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451475 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451475], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500649 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500649, 558398439) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451472 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398434 AND "spree_taxons"."taxonomy_id" = 854451472 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398434]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398434], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451472], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398434]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398440]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398440 THEN 558398434 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398434]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398440]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500649, 558398440)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500649, 558398434) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500649) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500649 AND "spree_option_types"."id" = 935339155 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500649) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339155], ["position", 1], ["product_id", 1060500649], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.589096' WHERE "spree_products"."id" = 1060500649 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500649], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.590342' WHERE "spree_products"."id" = 1060500649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589585, 979460039) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.592512' WHERE "spree_products"."id" = 1060500649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500649], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.593938' WHERE "spree_products"."id" = 1060500649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589586, 979460040) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339155 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.596260' WHERE "spree_products"."id" = 1060500649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500649], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.597236' WHERE "spree_products"."id" = 1060500649  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589587, 979460041) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500649]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500649 AND "spree_option_types"."id" = 935339156 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500649) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339156], ["position", 2], ["product_id", 1060500649], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339156 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339156) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339156], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.607218' WHERE "spree_products"."id" = 1060500649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500649], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.608992' WHERE "spree_products"."id" = 1060500649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589588, 979460042) Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339156 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339156) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "colour"], ["option_type_id", 935339156], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.613104' WHERE "spree_products"."id" = 1060500649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500649], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.614006' WHERE "spree_products"."id" = 1060500649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589589, 979460043) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500649]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500649) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589585 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589586 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589587 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589588 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589589 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500649) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.627413' WHERE "spree_products"."id" = 1060500649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589585 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.628698' WHERE "spree_products"."id" = 1060500649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.629601' WHERE "spree_products"."id" = 1060500649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589586 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.630246' WHERE "spree_products"."id" = 1060500649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.631078' WHERE "spree_products"."id" = 1060500649  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589587 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.632138' WHERE "spree_products"."id" = 1060500649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.633069' WHERE "spree_products"."id" = 1060500649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589588 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.633820' WHERE "spree_products"."id" = 1060500649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.634624' WHERE "spree_products"."id" = 1060500649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589589 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.635455' WHERE "spree_products"."id" = 1060500649 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500649) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:27:56.637543' WHERE "spree_products"."id" = 1060500649 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500649 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.7ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500649 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589584) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500649)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction SQL (4.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.753699' WHERE "spree_products"."id" = 1060500650 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.755048' WHERE "spree_products"."id" = 1060500650  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589590 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.756247' WHERE "spree_products"."id" = 1060500650  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500650  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["product_id", nil], ["property_id", 905834943], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060500650, "updated_at" = '2012-10-15 15:27:56.761443' WHERE "spree_product_properties"."id" = 1073273187 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451476 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451476], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500650 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500650, 558398441) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451477 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451477], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500650, 558398442) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500650 AND "spree_option_types"."id" = 935339157 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500650) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["option_type_id", 935339157], ["position", 1], ["product_id", 1060500650], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339157) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339157], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.782738' WHERE "spree_products"."id" = 1060500650 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.783993' WHERE "spree_products"."id" = 1060500650  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589591, 979460044) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339157) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339157], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.788046' WHERE "spree_products"."id" = 1060500650 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.789126' WHERE "spree_products"."id" = 1060500650  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589592, 979460045) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339157) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339157], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.792538' WHERE "spree_products"."id" = 1060500650 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.793531' WHERE "spree_products"."id" = 1060500650  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589593, 979460046) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500650]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589591 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589592 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589593 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.804605' WHERE "spree_products"."id" = 1060500650  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589591 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.805654' WHERE "spree_products"."id" = 1060500650 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.806347' WHERE "spree_products"."id" = 1060500650  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589592 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.807738' WHERE "spree_products"."id" = 1060500650 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.809246' WHERE "spree_products"."id" = 1060500650  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589593 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:56.810125' WHERE "spree_products"."id" = 1060500650 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589590 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:56 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:57 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:58 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:27:59.172716' WHERE "spree_products"."id" = 1060500650 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500650 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.186101' WHERE "spree_products"."id" = 1060500651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.187636' WHERE "spree_products"."id" = 1060500651  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589594 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.189198' WHERE "spree_products"."id" = 1060500651  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500651  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["product_id", nil], ["property_id", 905834944], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500651, "updated_at" = '2012-10-15 15:27:59.197242' WHERE "spree_product_properties"."id" = 1073273188 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451476 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500651 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500651, 558398441) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451478], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500651, 558398443) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451479 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451479], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500651, 558398444) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500651 AND "spree_option_types"."id" = 935339157 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500651) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["option_type_id", 935339157], ["position", 1], ["product_id", 1060500651], ["updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.222227' WHERE "spree_products"."id" = 1060500651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.223806' WHERE "spree_products"."id" = 1060500651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589595, 979460044) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.226277' WHERE "spree_products"."id" = 1060500651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.227374' WHERE "spree_products"."id" = 1060500651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589596, 979460045) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.230345' WHERE "spree_products"."id" = 1060500651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.231369' WHERE "spree_products"."id" = 1060500651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589597, 979460046) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500651]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589595 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589596 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589597 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.243548' WHERE "spree_products"."id" = 1060500651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589595 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.244569' WHERE "spree_products"."id" = 1060500651 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.245581' WHERE "spree_products"."id" = 1060500651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589596 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.246383' WHERE "spree_products"."id" = 1060500651 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.247459' WHERE "spree_products"."id" = 1060500651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589597 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:27:59.249869' WHERE "spree_products"."id" = 1060500651 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589594 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:27:59 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:28:06 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign :  (0.9ms) rollback transaction Booted Spree using version 1.1.3 SQL (10.5ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (3.7ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (3.6ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451476 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451476], ["updated_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00]]  (1.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451476], ["updated_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451476], ["updated_at", Mon, 15 Oct 2012 15:28:07 UTC +00:00]]  (1.9ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (73.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451477 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451477], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451477], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451477], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]]  (1.8ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451477 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451477 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451477 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451478], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]]  (10.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451478], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "spree_taxons" SET "parent_id" = 558398447, "updated_at" = '2012-10-15 15:28:08.369349' WHERE "spree_taxons"."id" = 558398448 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398447]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398448]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398448 THEN 558398447 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398447]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398448]]  (2.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398447 ORDER BY "lft" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.410581' WHERE "spree_products"."id" = 1060500650 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.411883' WHERE "spree_products"."id" = 1060500650  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589590 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.414313' WHERE "spree_products"."id" = 1060500650  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500650  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["product_id", nil], ["property_id", 905834943], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500650, "updated_at" = '2012-10-15 15:28:08.420883' WHERE "spree_product_properties"."id" = 1073273187 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500650 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500650, 558398447) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451479 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451479], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500650, 558398449) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500650 AND "spree_option_types"."id" = 935339157 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (96.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500650) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["option_type_id", 935339157], ["position", 1], ["product_id", 1060500650], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339157) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339157], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.547826' WHERE "spree_products"."id" = 1060500650 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.549080' WHERE "spree_products"."id" = 1060500650  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589591, 979460044) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339157) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339157], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.553212' WHERE "spree_products"."id" = 1060500650 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.554449' WHERE "spree_products"."id" = 1060500650  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589592, 979460045) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339157) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339157], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.558465' WHERE "spree_products"."id" = 1060500650 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500650], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.559885' WHERE "spree_products"."id" = 1060500650  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589593, 979460046) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500650]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589591 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589592 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589593 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.574885' WHERE "spree_products"."id" = 1060500650  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589591 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.576215' WHERE "spree_products"."id" = 1060500650 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.577626' WHERE "spree_products"."id" = 1060500650  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589592 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.578872' WHERE "spree_products"."id" = 1060500650 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.580035' WHERE "spree_products"."id" = 1060500650  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589593 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.580885' WHERE "spree_products"."id" = 1060500650 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500650) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:28:08.583833' WHERE "spree_products"."id" = 1060500650 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500650 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.683456' WHERE "spree_products"."id" = 1060500651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.685215' WHERE "spree_products"."id" = 1060500651  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589594 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.686701' WHERE "spree_products"."id" = 1060500651  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500651  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["product_id", nil], ["property_id", 905834944], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["value", nil]]  (13.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500651, "updated_at" = '2012-10-15 15:28:08.697683' WHERE "spree_product_properties"."id" = 1073273188 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500651 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500651, 558398447) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451480 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451480], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500651, 558398450) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398447 AND "spree_taxons"."taxonomy_id" = 854451478 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398447]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398447], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451478], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398447]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398451]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398451 THEN 558398447 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398447]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398451]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398451 AND "spree_taxons"."taxonomy_id" = 854451478 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398451]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398451], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451478], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398451]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398452]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398452 THEN 558398451 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398451]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398452]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500651, 558398451)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500651, 558398452) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500651 AND "spree_option_types"."id" = 935339157 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500651) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["option_type_id", 935339157], ["position", 1], ["product_id", 1060500651], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.852452' WHERE "spree_products"."id" = 1060500651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.853660' WHERE "spree_products"."id" = 1060500651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589595, 979460044) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.858346' WHERE "spree_products"."id" = 1060500651 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.860341' WHERE "spree_products"."id" = 1060500651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589596, 979460045) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.862674' WHERE "spree_products"."id" = 1060500651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500651], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.863707' WHERE "spree_products"."id" = 1060500651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589597, 979460046) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500651]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589595 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589596 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589597 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.878491' WHERE "spree_products"."id" = 1060500651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589595 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.879693' WHERE "spree_products"."id" = 1060500651 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.880942' WHERE "spree_products"."id" = 1060500651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589596 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.881717' WHERE "spree_products"."id" = 1060500651 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.882526' WHERE "spree_products"."id" = 1060500651  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589597 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.883617' WHERE "spree_products"."id" = 1060500651 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500651) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:28:08.885607' WHERE "spree_products"."id" = 1060500651 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500651 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.973981' WHERE "spree_products"."id" = 1060500652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500652], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.974890' WHERE "spree_products"."id" = 1060500652  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589598 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:08.976515' WHERE "spree_products"."id" = 1060500652  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500652  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["product_id", nil], ["property_id", 905834945], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500652, "updated_at" = '2012-10-15 15:28:08.981890' WHERE "spree_product_properties"."id" = 1073273189 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["product_id", nil], ["property_id", 905834944], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500652, "updated_at" = '2012-10-15 15:28:08.983890' WHERE "spree_product_properties"."id" = 1073273190 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["product_id", nil], ["property_id", 905834946], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500652, "updated_at" = '2012-10-15 15:28:08.986794' WHERE "spree_product_properties"."id" = 1073273191 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500652) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451481 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451481], ["updated_at", Mon, 15 Oct 2012 15:28:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500652 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500652, 558398453) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398447 AND "spree_taxons"."taxonomy_id" = 854451478 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500652, 558398448)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500652, 558398447) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500652) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500652 AND "spree_option_types"."id" = 935339157 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500652) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["option_type_id", 935339157], ["position", 1], ["product_id", 1060500652], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.006515' WHERE "spree_products"."id" = 1060500652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500652], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.007799' WHERE "spree_products"."id" = 1060500652  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589599, 979460044) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.009712' WHERE "spree_products"."id" = 1060500652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500652], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.011048' WHERE "spree_products"."id" = 1060500652  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589600, 979460045) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339157 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.013554' WHERE "spree_products"."id" = 1060500652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500652], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.014718' WHERE "spree_products"."id" = 1060500652  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589601, 979460046) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500652]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500652 AND "spree_option_types"."id" = 935339158 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500652) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["option_type_id", 935339158], ["position", 2], ["product_id", 1060500652], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339158 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339158) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339158], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.029705' WHERE "spree_products"."id" = 1060500652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500652], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.030715' WHERE "spree_products"."id" = 1060500652  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589602, 979460047) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339158 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339158) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "colour"], ["option_type_id", 935339158], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.034440' WHERE "spree_products"."id" = 1060500652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500652], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.035506' WHERE "spree_products"."id" = 1060500652  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589603, 979460048) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500652]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500652) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589599 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589600 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589601 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589602 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589603 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500652) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.048479' WHERE "spree_products"."id" = 1060500652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589599 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.049756' WHERE "spree_products"."id" = 1060500652 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.050661' WHERE "spree_products"."id" = 1060500652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589600 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.051376' WHERE "spree_products"."id" = 1060500652 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.052206' WHERE "spree_products"."id" = 1060500652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589601 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.052891' WHERE "spree_products"."id" = 1060500652 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.053799' WHERE "spree_products"."id" = 1060500652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589602 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.055181' WHERE "spree_products"."id" = 1060500652 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.056211' WHERE "spree_products"."id" = 1060500652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589603 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.057036' WHERE "spree_products"."id" = 1060500652 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500652) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:28:09.058891' WHERE "spree_products"."id" = 1060500652 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500652 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (332.3ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500650 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500650 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500651 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500651 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398447 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398451 LIMIT 1 Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398451 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398452 ORDER BY "lft" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451482], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451482], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558398454, "updated_at" = '2012-10-15 15:28:09.459309' WHERE "spree_taxons"."id" = 558398455 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398454]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398455]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398455 THEN 558398454 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398454]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398455]]  (6.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398454 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.607078' WHERE "spree_products"."id" = 1060500653 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500653], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.608734' WHERE "spree_products"."id" = 1060500653  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589604 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.610249' WHERE "spree_products"."id" = 1060500653  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500653  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["product_id", nil], ["property_id", 905834947], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500653, "updated_at" = '2012-10-15 15:28:09.616146' WHERE "spree_product_properties"."id" = 1073273192 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500653 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500653, 558398454) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451483 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (48.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451483], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500653, 558398456) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500653 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500653) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["option_type_id", 935339159], ["position", 1], ["product_id", 1060500653], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339159) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339159], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.694733' WHERE "spree_products"."id" = 1060500653 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500653], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.695869' WHERE "spree_products"."id" = 1060500653  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589605, 979460049) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500653]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500653 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339159) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339159], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.704783' WHERE "spree_products"."id" = 1060500653 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500653], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.705744' WHERE "spree_products"."id" = 1060500653  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589606, 979460050) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500653]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500653 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339159) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339159], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.713402' WHERE "spree_products"."id" = 1060500653 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500653], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.714390' WHERE "spree_products"."id" = 1060500653  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589607, 979460051) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500653]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589605 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589606 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589607 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.778352' WHERE "spree_products"."id" = 1060500653  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589605 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.779587' WHERE "spree_products"."id" = 1060500653 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.780627' WHERE "spree_products"."id" = 1060500653  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589606 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.781651' WHERE "spree_products"."id" = 1060500653 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.782607' WHERE "spree_products"."id" = 1060500653  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589607 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.783478' WHERE "spree_products"."id" = 1060500653 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500653) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:28:09.785515' WHERE "spree_products"."id" = 1060500653 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500653 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.792169' WHERE "spree_products"."id" = 1060500654 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500654], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.793280' WHERE "spree_products"."id" = 1060500654  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589608 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.794391' WHERE "spree_products"."id" = 1060500654  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500654  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["product_id", nil], ["property_id", 905834948], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500654, "updated_at" = '2012-10-15 15:28:09.801286' WHERE "spree_product_properties"."id" = 1073273193 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500654 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500654, 558398454) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451484 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451484], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500654, 558398457) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398454 AND "spree_taxons"."taxonomy_id" = 854451482 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398454]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398454], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451482], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398454]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398458]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398458 THEN 558398454 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398454]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398458]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398458 AND "spree_taxons"."taxonomy_id" = 854451482 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398458]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398458], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451482], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398458]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398459]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398459 THEN 558398458 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398458]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398459]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500654, 558398458)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500654, 558398459) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500654 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500654) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00], ["option_type_id", 935339159], ["position", 1], ["product_id", 1060500654], ["updated_at", Mon, 15 Oct 2012 15:28:09 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.839893' WHERE "spree_products"."id" = 1060500654 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500654], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.842623' WHERE "spree_products"."id" = 1060500654  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589609, 979460049) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500654]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1 Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500654 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.852074' WHERE "spree_products"."id" = 1060500654 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500654], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.853149' WHERE "spree_products"."id" = 1060500654  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589610, 979460050) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500654]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1 Spree::OptionType Load (111.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500654 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.974397' WHERE "spree_products"."id" = 1060500654 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500654], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.975598' WHERE "spree_products"."id" = 1060500654  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589611, 979460051) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500654]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589609 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589610 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589611 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.991105' WHERE "spree_products"."id" = 1060500654  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589609 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.992197' WHERE "spree_products"."id" = 1060500654 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.993206' WHERE "spree_products"."id" = 1060500654  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589610 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.994322' WHERE "spree_products"."id" = 1060500654 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.995308' WHERE "spree_products"."id" = 1060500654  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589611 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:09.996262' WHERE "spree_products"."id" = 1060500654 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500654) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:28:09.998519' WHERE "spree_products"."id" = 1060500654 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500654 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.006450' WHERE "spree_products"."id" = 1060500655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500655], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.008390' WHERE "spree_products"."id" = 1060500655  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589612 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.009615' WHERE "spree_products"."id" = 1060500655  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500655  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834949], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500655, "updated_at" = '2012-10-15 15:28:10.014984' WHERE "spree_product_properties"."id" = 1073273194 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834948], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500655, "updated_at" = '2012-10-15 15:28:10.017652' WHERE "spree_product_properties"."id" = 1073273195 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834950], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500655, "updated_at" = '2012-10-15 15:28:10.021007' WHERE "spree_product_properties"."id" = 1073273196 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451485 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451485], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500655 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500655, 558398460) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398454 AND "spree_taxons"."taxonomy_id" = 854451482 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500655, 558398455)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500655, 558398454) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500655 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500655) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["option_type_id", 935339159], ["position", 1], ["product_id", 1060500655], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.039141' WHERE "spree_products"."id" = 1060500655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500655], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.040242' WHERE "spree_products"."id" = 1060500655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589613, 979460049) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500655]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500655 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.046588' WHERE "spree_products"."id" = 1060500655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500655], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.047884' WHERE "spree_products"."id" = 1060500655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589614, 979460050) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500655]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500655 AND "spree_option_types"."id" = 935339159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339159 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.053812' WHERE "spree_products"."id" = 1060500655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500655], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.054793' WHERE "spree_products"."id" = 1060500655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589615, 979460051) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500655]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500655 AND "spree_option_types"."id" = 935339160 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500655) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["option_type_id", 935339160], ["position", 2], ["product_id", 1060500655], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339160 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339160) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339160], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.066576' WHERE "spree_products"."id" = 1060500655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500655], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.067703' WHERE "spree_products"."id" = 1060500655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589616, 979460052) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500655]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500655 AND "spree_option_types"."id" = 935339160 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339160 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339160) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "colour"], ["option_type_id", 935339160], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.186755' WHERE "spree_products"."id" = 1060500655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500655], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.188842' WHERE "spree_products"."id" = 1060500655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589617, 979460053) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500655]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589613 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589614 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589615 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589616 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589617 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.204260' WHERE "spree_products"."id" = 1060500655  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589613 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.205722' WHERE "spree_products"."id" = 1060500655 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.206770' WHERE "spree_products"."id" = 1060500655  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589614 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.207581' WHERE "spree_products"."id" = 1060500655 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.209038' WHERE "spree_products"."id" = 1060500655  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589615 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.209824' WHERE "spree_products"."id" = 1060500655 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.211038' WHERE "spree_products"."id" = 1060500655  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589616 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.211927' WHERE "spree_products"."id" = 1060500655 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.212845' WHERE "spree_products"."id" = 1060500655  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589617 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.213556' WHERE "spree_products"."id" = 1060500655 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500655) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:28:10.215620' WHERE "spree_products"."id" = 1060500655 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500655 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.5ms) commit transaction Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500653 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500653 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500654 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500654 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451482 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398454 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398458 LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398458 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398459 ORDER BY "lft" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451486], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]]  (4.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451486], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558398461, "updated_at" = '2012-10-15 15:28:10.496611' WHERE "spree_taxons"."id" = 558398462 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398461]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398462]] SQL (1.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398462 THEN 558398461 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398461]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398462]]  (5.8ms) commit transaction  (1.3ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398461 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 SQL (2.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.535941' WHERE "spree_products"."id" = 1060500656 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500656], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.541171' WHERE "spree_products"."id" = 1060500656  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589618 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.543068' WHERE "spree_products"."id" = 1060500656  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500656  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (7.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834951], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500656, "updated_at" = '2012-10-15 15:28:10.559632' WHERE "spree_product_properties"."id" = 1073273197 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500656 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500656, 558398461) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451487 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451487], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500656, 558398463) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500656 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500656) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["option_type_id", 935339161], ["position", 1], ["product_id", 1060500656], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339161) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339161], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.590167' WHERE "spree_products"."id" = 1060500656 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500656], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.591242' WHERE "spree_products"."id" = 1060500656  (0.8ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589619, 979460054) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500656]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500656 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339161) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339161], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.601444' WHERE "spree_products"."id" = 1060500656 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500656], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.604121' WHERE "spree_products"."id" = 1060500656  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589620, 979460055) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500656]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500656 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339161) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339161], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.614693' WHERE "spree_products"."id" = 1060500656 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500656], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.615726' WHERE "spree_products"."id" = 1060500656  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589621, 979460056) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500656]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589619 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589620 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589621 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.634000' WHERE "spree_products"."id" = 1060500656  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589619 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.635023' WHERE "spree_products"."id" = 1060500656 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.637725' WHERE "spree_products"."id" = 1060500656  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589620 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.638511' WHERE "spree_products"."id" = 1060500656 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.639397' WHERE "spree_products"."id" = 1060500656  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589621 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.640212' WHERE "spree_products"."id" = 1060500656 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500656) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:28:10.642849' WHERE "spree_products"."id" = 1060500656 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.648658' WHERE "spree_products"."id" = 1060500657 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500657], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.649962' WHERE "spree_products"."id" = 1060500657  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589622 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.651101' WHERE "spree_products"."id" = 1060500657  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500657  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834952], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500657, "updated_at" = '2012-10-15 15:28:10.656290' WHERE "spree_product_properties"."id" = 1073273198 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500657 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500657, 558398461) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451488 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451488], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500657, 558398464) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398461 AND "spree_taxons"."taxonomy_id" = 854451486 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398461]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398461], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451486], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398461]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398465]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398465 THEN 558398461 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398461]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398465]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398465 AND "spree_taxons"."taxonomy_id" = 854451486 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398465]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398465], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451486], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398465]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398466]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398466 THEN 558398465 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398465]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398466]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500657, 558398465)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500657, 558398466) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500657 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500657) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["option_type_id", 935339161], ["position", 1], ["product_id", 1060500657], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.690219' WHERE "spree_products"."id" = 1060500657 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500657], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.691222' WHERE "spree_products"."id" = 1060500657  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589623, 979460054) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500657]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500657 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.697477' WHERE "spree_products"."id" = 1060500657 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500657], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.698555' WHERE "spree_products"."id" = 1060500657  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589624, 979460055) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500657]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500657 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.705239' WHERE "spree_products"."id" = 1060500657 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500657], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.706188' WHERE "spree_products"."id" = 1060500657  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589625, 979460056) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500657]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589623 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589624 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589625 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.721525' WHERE "spree_products"."id" = 1060500657  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589623 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.722552' WHERE "spree_products"."id" = 1060500657 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.723612' WHERE "spree_products"."id" = 1060500657  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589624 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.724618' WHERE "spree_products"."id" = 1060500657 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.725597' WHERE "spree_products"."id" = 1060500657  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589625 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.726408' WHERE "spree_products"."id" = 1060500657 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500657) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:28:10.728603' WHERE "spree_products"."id" = 1060500657 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.734588' WHERE "spree_products"."id" = 1060500658 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500658], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.735677' WHERE "spree_products"."id" = 1060500658  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589626 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.736810' WHERE "spree_products"."id" = 1060500658  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500658  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834953], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500658, "updated_at" = '2012-10-15 15:28:10.742620' WHERE "spree_product_properties"."id" = 1073273199 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834952], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500658, "updated_at" = '2012-10-15 15:28:10.745434' WHERE "spree_product_properties"."id" = 1073273200 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["product_id", nil], ["property_id", 905834954], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500658, "updated_at" = '2012-10-15 15:28:10.748400' WHERE "spree_product_properties"."id" = 1073273201 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451489 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451489], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500658 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500658, 558398467) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398461 AND "spree_taxons"."taxonomy_id" = 854451486 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500658, 558398462)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500658, 558398461) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500658 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500658) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["option_type_id", 935339161], ["position", 1], ["product_id", 1060500658], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.767147' WHERE "spree_products"."id" = 1060500658 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500658], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.769451' WHERE "spree_products"."id" = 1060500658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589627, 979460054) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500658]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500658 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.775976' WHERE "spree_products"."id" = 1060500658 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500658], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.776985' WHERE "spree_products"."id" = 1060500658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589628, 979460055) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500658]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500658 AND "spree_option_types"."id" = 935339161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339161 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.785636' WHERE "spree_products"."id" = 1060500658 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500658], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:10.786641' WHERE "spree_products"."id" = 1060500658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589629, 979460056) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500658]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:28:10 UTC +00:00]] Spree::OptionType Exists (188.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500658 AND "spree_option_types"."id" = 935339162 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500658) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["option_type_id", 935339162], ["position", 2], ["product_id", 1060500658], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339162 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339162) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339162], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.103557' WHERE "spree_products"."id" = 1060500658 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500658], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.104609' WHERE "spree_products"."id" = 1060500658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589630, 979460057) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500658]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500658 AND "spree_option_types"."id" = 935339162 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339162 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339162) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "colour"], ["option_type_id", 935339162], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.114349' WHERE "spree_products"."id" = 1060500658 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500658], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.115222' WHERE "spree_products"."id" = 1060500658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589631, 979460058) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500658]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (18.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589627 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589628 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589629 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589630 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589631 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.151769' WHERE "spree_products"."id" = 1060500658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589627 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.152629' WHERE "spree_products"."id" = 1060500658 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.183306' WHERE "spree_products"."id" = 1060500658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589628 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.184395' WHERE "spree_products"."id" = 1060500658 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.185562' WHERE "spree_products"."id" = 1060500658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589629 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.186423' WHERE "spree_products"."id" = 1060500658 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.187106' WHERE "spree_products"."id" = 1060500658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589630 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.187918' WHERE "spree_products"."id" = 1060500658 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.189182' WHERE "spree_products"."id" = 1060500658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589631 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.189918' WHERE "spree_products"."id" = 1060500658 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500658) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:28:11.192320' WHERE "spree_products"."id" = 1060500658  (8.3ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500656 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500656 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500657 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500657 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451486 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398461 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398465 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398465 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398466 ORDER BY "lft" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (3.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500659 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.267641' WHERE "spree_products"."id" = 1060500659 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500659], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.268916' WHERE "spree_products"."id" = 1060500659  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589632 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.271075' WHERE "spree_products"."id" = 1060500659  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500659 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500659  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451490 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451490], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398468 AND "spree_taxons"."taxonomy_id" = 854451490 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398468]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398468], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451490], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398468]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398469]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398469 THEN 558398468 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398468]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398469]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500659 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500659, 558398469)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500659, 558398468) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500659) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451491 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451491], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500659, 558398470) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500659) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589632 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500659) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-15 15:28:11.345124' WHERE "spree_products"."id" = 1060500659  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589632 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.346766' WHERE "spree_products"."id" = 1060500659 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500659 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060500659 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500660 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.353147' WHERE "spree_products"."id" = 1060500660 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500660], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.354224' WHERE "spree_products"."id" = 1060500660  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589633 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.355153' WHERE "spree_products"."id" = 1060500660  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500660 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500660  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451490 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500660 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500660, 558398468) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500660) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451492 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451492], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500660, 558398471) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500660) LIMIT 1 Spree::Taxonomy Load (0.9ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451490 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398468 AND "spree_taxons"."taxonomy_id" = 854451490 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398468]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398468], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451490], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398468]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398472]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398472 THEN 558398468 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398468]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398472]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398472 AND "spree_taxons"."taxonomy_id" = 854451490 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398472]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398472], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451490], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398473]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398473 THEN 558398472 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398473]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500660, 558398472)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500660, 558398473) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500660) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589633 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500660) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:28:11.390139' WHERE "spree_products"."id" = 1060500660  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589633 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.394230' WHERE "spree_products"."id" = 1060500660 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500660 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060500660 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.402981' WHERE "spree_products"."id" = 1060500661 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500661], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.403920' WHERE "spree_products"."id" = 1060500661  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589634 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.404920' WHERE "spree_products"."id" = 1060500661  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500661 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500661  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451493 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451493], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398474 AND "spree_taxons"."taxonomy_id" = 854451493 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398474]] SQL (7.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398474], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451493], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398474]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398475]] SQL (2.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398475 THEN 558398474 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398474]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398475]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500661 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500661, 558398475)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500661, 558398474) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500661) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451494 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451494], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500661, 558398476) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500661) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500661) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-15 15:28:11.538357' WHERE "spree_products"."id" = 1060500661  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589634 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.540112' WHERE "spree_products"."id" = 1060500661 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500661 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060500661 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500662 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.547141' WHERE "spree_products"."id" = 1060500662 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500662], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.548431' WHERE "spree_products"."id" = 1060500662  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589635 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.549896' WHERE "spree_products"."id" = 1060500662  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500662 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500662  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451493 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398474 AND "spree_taxons"."taxonomy_id" = 854451493 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500662 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500662, 558398475)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500662, 558398474) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500662) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451490 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398468 AND "spree_taxons"."taxonomy_id" = 854451490 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398472 AND "spree_taxons"."taxonomy_id" = 854451490 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398472]] SQL (1.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398472], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451490], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398477]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398477 THEN 558398472 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398477]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398477 AND "spree_taxons"."taxonomy_id" = 854451490 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398477]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398477], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451490], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398477]] Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398478]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398478 THEN 558398477 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398477]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398478]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500662, 558398472)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500662, 558398477)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500662, 558398478)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500662, 558398468) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500662) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589635 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500662) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:28:11.653923' WHERE "spree_products"."id" = 1060500662  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589635 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.656112' WHERE "spree_products"."id" = 1060500662 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500662 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060500662 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500663 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.662387' WHERE "spree_products"."id" = 1060500663 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500663], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.663923' WHERE "spree_products"."id" = 1060500663  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589636 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.664899' WHERE "spree_products"."id" = 1060500663  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500663 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500663  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451493 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398474 AND "spree_taxons"."taxonomy_id" = 854451493 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398475 AND "spree_taxons"."taxonomy_id" = 854451493 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398475]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398475], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451493], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398475]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398479]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398479 THEN 558398475 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398475]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398479]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500663 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500663, 558398475)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500663, 558398479)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500663, 558398474) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500663) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451492 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500663, 558398471) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500663) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589636 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500663) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:28:11.685146' WHERE "spree_products"."id" = 1060500663  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589636 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.686895' WHERE "spree_products"."id" = 1060500663 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500663 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060500663 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (13.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451490 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451491 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451492 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451493 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451494 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451490 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451490 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398468 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398468) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398472 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398472) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398472) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398468 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398472 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398477 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398478 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398477) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451493 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451493 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398475 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398475 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398479 ORDER BY "lft" Spree::Taxon Load (1.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398479) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451492 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451492 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398471 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451494 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451494 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398476 ORDER BY "lft" SQL (4.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500664 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.915634' WHERE "spree_products"."id" = 1060500664 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500664], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.917927' WHERE "spree_products"."id" = 1060500664  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589637 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:11.919103' WHERE "spree_products"."id" = 1060500664  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500664 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500664  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (63.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451495], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398480 AND "spree_taxons"."taxonomy_id" = 854451495 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398480]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398480], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451495], ["updated_at", Mon, 15 Oct 2012 15:28:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398480]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398481]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398481 THEN 558398480 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398480]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398481]] Spree::Taxon Load (2.7ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500664 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500664, 558398481)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500664, 558398480) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500664) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451496 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451496], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500664, 558398482) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500664) LIMIT 1 Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589637 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500664) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-15 15:28:12.017501' WHERE "spree_products"."id" = 1060500664  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589637 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.019424' WHERE "spree_products"."id" = 1060500664 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500664 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500665 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.027087' WHERE "spree_products"."id" = 1060500665 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500665], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.029519' WHERE "spree_products"."id" = 1060500665  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589638 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.030732' WHERE "spree_products"."id" = 1060500665  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500665 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500665  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500665 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500665, 558398480) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500665) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451497 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451497], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500665, 558398483) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500665) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398480 AND "spree_taxons"."taxonomy_id" = 854451495 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398480]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398480], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451495], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398480]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398484]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398484 THEN 558398480 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398480]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398484]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398484 AND "spree_taxons"."taxonomy_id" = 854451495 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398484]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398484], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451495], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398484]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398485]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398485 THEN 558398484 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398484]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398485]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500665, 558398484)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500665, 558398485) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500665) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589638 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500665) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:28:12.062928' WHERE "spree_products"."id" = 1060500665  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589638 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.064873' WHERE "spree_products"."id" = 1060500665 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500665 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500666 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.071372' WHERE "spree_products"."id" = 1060500666 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500666], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.072603' WHERE "spree_products"."id" = 1060500666  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589639 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.073565' WHERE "spree_products"."id" = 1060500666  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500666 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500666  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451498 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451498], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398486 AND "spree_taxons"."taxonomy_id" = 854451498 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398486]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398486], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451498], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398486]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398487]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398487 THEN 558398486 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398486]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398487]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500666 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500666, 558398487)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500666, 558398486) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500666) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451499 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451499], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500666, 558398488) Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500666) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589639 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500666) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-15 15:28:12.211687' WHERE "spree_products"."id" = 1060500666  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589639 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.213176' WHERE "spree_products"."id" = 1060500666 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500666 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.219332' WHERE "spree_products"."id" = 1060500667 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500667], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.220548' WHERE "spree_products"."id" = 1060500667  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589640 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.222766' WHERE "spree_products"."id" = 1060500667  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500667 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500667  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451498 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398486 AND "spree_taxons"."taxonomy_id" = 854451498 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500667 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500667, 558398487)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500667, 558398486) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500667) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398480 AND "spree_taxons"."taxonomy_id" = 854451495 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398484 AND "spree_taxons"."taxonomy_id" = 854451495 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398484]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398484], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451495], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398484]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398489]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398489 THEN 558398484 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398484]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398489]] Spree::Taxon Load (55.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398489 AND "spree_taxons"."taxonomy_id" = 854451495 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398489]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398489], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451495], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398489]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398490]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398490 THEN 558398489 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398489]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398490]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500667, 558398484)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500667, 558398489)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500667, 558398490)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500667, 558398480) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500667) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589640 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500667) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:28:12.353932' WHERE "spree_products"."id" = 1060500667  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589640 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.355047' WHERE "spree_products"."id" = 1060500667 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500667 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500668 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.591313' WHERE "spree_products"."id" = 1060500668 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500668], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.594724' WHERE "spree_products"."id" = 1060500668  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589641 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.596583' WHERE "spree_products"."id" = 1060500668  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500668 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500668  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451498 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398486 AND "spree_taxons"."taxonomy_id" = 854451498 LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398487 AND "spree_taxons"."taxonomy_id" = 854451498 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398487]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398487], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451498], ["updated_at", Mon, 15 Oct 2012 15:28:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398487]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398491]] SQL (1.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398491 THEN 558398487 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398487]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398491]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500668 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500668, 558398487)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500668, 558398491)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500668, 558398486) Spree::Product Exists (2.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500668) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451497 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500668, 558398483) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500668) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589641 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500668) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:28:12.625917' WHERE "spree_products"."id" = 1060500668  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589641 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:28:12.627935' WHERE "spree_products"."id" = 1060500668 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500668  (14.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451496 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451497 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451498 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451499 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451495 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398480 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398480) Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398484 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398484) Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398484) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398480 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398484 LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398489 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398490 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398489) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451498 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451498 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398487 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398487 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398491 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398491) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451497 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451497 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398483 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451499 Spree::Taxon Load (1.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451499 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398488 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (6.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (1.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" SQL (4.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (43.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (32.9ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (4.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (7.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:34 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451500 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451500], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.4ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451500], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (3.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451500], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (5.5ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451501 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451501], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451501], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451501], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (20.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451502 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451502], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451502], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451502], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00]]  (2.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (16.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.3ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.7ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.7ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:45:35 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 19 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 19 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 20 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 20 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 21 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 21 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 22 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 22 Current value to assign : Current value to assign :  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (5.1ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (20.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 23 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 24 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 25 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 26  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (5.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (18.2ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500669 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.344524' WHERE "spree_products"."id" = 1060500669 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500669], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.346961' WHERE "spree_products"."id" = 1060500669  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589642 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.349286' WHERE "spree_products"."id" = 1060500669  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500669 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500669  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589642 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500669) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500669 AND "spree_option_types"."id" = 935339163 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500669) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339163], ["position", 1], ["product_id", 1060500669], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500669) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:45:36.475593' WHERE "spree_products"."id" = 1060500669  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589642 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.477239' WHERE "spree_products"."id" = 1060500669 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500669 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060500669 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500670 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.484714' WHERE "spree_products"."id" = 1060500670 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500670], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.486299' WHERE "spree_products"."id" = 1060500670  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589643 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.487202' WHERE "spree_products"."id" = 1060500670  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500670 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500670  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589643 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500670) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500670 AND "spree_option_types"."id" = 935339163 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500670) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339163], ["position", 1], ["product_id", 1060500670], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500670) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:45:36.497167' WHERE "spree_products"."id" = 1060500670  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589643 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.498574' WHERE "spree_products"."id" = 1060500670 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500670 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060500670 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500671 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.506201' WHERE "spree_products"."id" = 1060500671 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500671], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.507271' WHERE "spree_products"."id" = 1060500671  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589644 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.508199' WHERE "spree_products"."id" = 1060500671  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500671 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500671  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589644 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500671) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500671 AND "spree_option_types"."id" = 935339163 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500671) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339163], ["position", 1], ["product_id", 1060500671], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500671 AND "spree_option_types"."id" = 935339164 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500671) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339164], ["position", 2], ["product_id", 1060500671], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500671) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:45:36.522851' WHERE "spree_products"."id" = 1060500671  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589644 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.524219' WHERE "spree_products"."id" = 1060500671 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500671 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060500671 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:45:36.533407')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:45:36.534169')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500669 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500669 ORDER BY spree_option_types.position  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500671 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500672 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.713511' WHERE "spree_products"."id" = 1060500672 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500672], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.715183' WHERE "spree_products"."id" = 1060500672  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589645 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.716966' WHERE "spree_products"."id" = 1060500672  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500672 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500672  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589645 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500672) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500672 AND "spree_option_types"."id" = 935339165 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500672) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339165], ["position", 1], ["product_id", 1060500672], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500672) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:45:36.750742' WHERE "spree_products"."id" = 1060500672  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589645 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.752336' WHERE "spree_products"."id" = 1060500672 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500672 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500673 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.759514' WHERE "spree_products"."id" = 1060500673 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500673], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.760375' WHERE "spree_products"."id" = 1060500673  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589646 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.761521' WHERE "spree_products"."id" = 1060500673  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500673 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500673  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589646 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500673) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500673 AND "spree_option_types"."id" = 935339165 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500673) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339165], ["position", 1], ["product_id", 1060500673], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500673) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:45:36.794967' WHERE "spree_products"."id" = 1060500673  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589646 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.796613' WHERE "spree_products"."id" = 1060500673 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500673 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500674 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.804783' WHERE "spree_products"."id" = 1060500674 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500674], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.805873' WHERE "spree_products"."id" = 1060500674  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589647 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.806931' WHERE "spree_products"."id" = 1060500674  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500674 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500674  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589647 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500674) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500674 AND "spree_option_types"."id" = 935339165 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500674) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339165], ["position", 1], ["product_id", 1060500674], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500674 AND "spree_option_types"."id" = 935339166 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500674) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339166], ["position", 2], ["product_id", 1060500674], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500674) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:45:36.822967' WHERE "spree_products"."id" = 1060500674  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589647 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.824330' WHERE "spree_products"."id" = 1060500674 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500674  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:45:36.828828')  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:45:36.829812')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500672 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500672 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500674 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (25.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.6ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:45:36 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500675 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.960686' WHERE "spree_products"."id" = 1060500675 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500675], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.962359' WHERE "spree_products"."id" = 1060500675  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589648 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.963919' WHERE "spree_products"."id" = 1060500675  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500675 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500675  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500675 AND "spree_option_types"."id" = 935339167 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500675) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339167], ["position", 1], ["product_id", 1060500675], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500675) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500675 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:45:36 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500676 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.980729' WHERE "spree_products"."id" = 1060500676 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500676], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.982378' WHERE "spree_products"."id" = 1060500676  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589649 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.983539' WHERE "spree_products"."id" = 1060500676  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500676 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500676  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500676 AND "spree_option_types"."id" = 935339167 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500676) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["option_type_id", 935339167], ["position", 1], ["product_id", 1060500676], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500676) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500676 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:45:36 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:36 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.997726' WHERE "spree_products"."id" = 1060500677 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500677], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.998756' WHERE "spree_products"."id" = 1060500677  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589650 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:36.999791' WHERE "spree_products"."id" = 1060500677  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500677 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500677  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500677 AND "spree_option_types"."id" = 935339167 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500677) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339167], ["position", 1], ["product_id", 1060500677], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500677 AND "spree_option_types"."id" = 935339168 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500677) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339168], ["position", 2], ["product_id", 1060500677], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500677) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500677 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500675 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (19.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500678 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.121192' WHERE "spree_products"."id" = 1060500678 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500678], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.122971' WHERE "spree_products"."id" = 1060500678  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589651 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.123952' WHERE "spree_products"."id" = 1060500678  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500678 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500678  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500678 AND "spree_option_types"."id" = 935339169 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500678) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339169], ["position", 1], ["product_id", 1060500678], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500678) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500678 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500679 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.203424' WHERE "spree_products"."id" = 1060500679 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500679], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.205506' WHERE "spree_products"."id" = 1060500679  (0.6ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589652 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.207735' WHERE "spree_products"."id" = 1060500679  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500679 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500679  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500679 AND "spree_option_types"."id" = 935339169 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500679) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339169], ["position", 1], ["product_id", 1060500679], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500679) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500679 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.224951' WHERE "spree_products"."id" = 1060500680 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500680], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.225856' WHERE "spree_products"."id" = 1060500680  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589653 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.226972' WHERE "spree_products"."id" = 1060500680  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500680 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500680  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500680 AND "spree_option_types"."id" = 935339169 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500680) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339169], ["position", 1], ["product_id", 1060500680], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500680 AND "spree_option_types"."id" = 935339170 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500680) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339170], ["position", 2], ["product_id", 1060500680], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500680) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500680 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500678 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (20.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.4ms) begin transaction SQL (1.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500681 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.371510' WHERE "spree_products"."id" = 1060500681 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500681], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.372873' WHERE "spree_products"."id" = 1060500681  (19.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589654 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.393266' WHERE "spree_products"."id" = 1060500681  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500681  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["product_id", nil], ["property_id", 905834955], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500681, "updated_at" = '2012-10-15 15:45:37.413265' WHERE "spree_product_properties"."id" = 1073273202 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500681) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451503 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451503], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500681 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500681, 558398501) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451504 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451504], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500681, 558398502) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500681) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500681 AND "spree_option_types"."id" = 935339171 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (54.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500681) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339171], ["position", 1], ["product_id", 1060500681], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339171) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339171], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.515954' WHERE "spree_products"."id" = 1060500681 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500681], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.517153' WHERE "spree_products"."id" = 1060500681  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589655, 979460059) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339171) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339171], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.526728' WHERE "spree_products"."id" = 1060500681 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500681], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.527876' WHERE "spree_products"."id" = 1060500681  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589656, 979460060) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339171) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339171], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.531562' WHERE "spree_products"."id" = 1060500681 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500681], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.532972' WHERE "spree_products"."id" = 1060500681  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589657, 979460061) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500681]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500681) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589655 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589656 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589657 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500681) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500681 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.544275' WHERE "spree_products"."id" = 1060500681  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589655 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.545324' WHERE "spree_products"."id" = 1060500681 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.546316' WHERE "spree_products"."id" = 1060500681  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589656 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.546976' WHERE "spree_products"."id" = 1060500681 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.548954' WHERE "spree_products"."id" = 1060500681  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589657 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.549807' WHERE "spree_products"."id" = 1060500681 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500681) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:37.552201' WHERE "spree_products"."id" = 1060500681 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500681 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500682 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.559433' WHERE "spree_products"."id" = 1060500682 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500682], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.560364' WHERE "spree_products"."id" = 1060500682  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589658 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.561490' WHERE "spree_products"."id" = 1060500682  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500682  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["product_id", nil], ["property_id", 905834956], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500682, "updated_at" = '2012-10-15 15:45:37.567450' WHERE "spree_product_properties"."id" = 1073273203 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500682) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451503 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500682 Product assigned to Taxons : ["Paintings"]  (1.7ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500682, 558398501) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451505 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451505], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500682, 558398503) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451503 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398501 AND "spree_taxons"."taxonomy_id" = 854451503 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398501]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398501], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451503], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398501]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398504]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398504 THEN 558398501 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398501]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398504]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398504 AND "spree_taxons"."taxonomy_id" = 854451503 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398504]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398504], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451503], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398504]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398505]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398505 THEN 558398504 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398504]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398505]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500682, 558398504)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500682, 558398505) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500682) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500682 AND "spree_option_types"."id" = 935339171 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500682) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339171], ["position", 1], ["product_id", 1060500682], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500682 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.603370' WHERE "spree_products"."id" = 1060500682 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500682], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.605444' WHERE "spree_products"."id" = 1060500682  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589659, 979460059) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500682 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.608377' WHERE "spree_products"."id" = 1060500682 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500682], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.609399' WHERE "spree_products"."id" = 1060500682  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589660, 979460060) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500682 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.660804' WHERE "spree_products"."id" = 1060500682 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500682], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.661895' WHERE "spree_products"."id" = 1060500682  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589661, 979460061) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500682]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500682) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589659 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589660 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589661 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500682) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500682 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.679529' WHERE "spree_products"."id" = 1060500682  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589659 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.680657' WHERE "spree_products"."id" = 1060500682 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500682 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.681655' WHERE "spree_products"."id" = 1060500682  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589660 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.682610' WHERE "spree_products"."id" = 1060500682 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500682 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.684036' WHERE "spree_products"."id" = 1060500682  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589661 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.685212' WHERE "spree_products"."id" = 1060500682 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500682) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:37.687958' WHERE "spree_products"."id" = 1060500682 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500682 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.695838' WHERE "spree_products"."id" = 1060500683 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500683], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.696923' WHERE "spree_products"."id" = 1060500683  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589662 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.698978' WHERE "spree_products"."id" = 1060500683  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500683  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["product_id", nil], ["property_id", 905834957], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500683, "updated_at" = '2012-10-15 15:45:37.703978' WHERE "spree_product_properties"."id" = 1073273204 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["product_id", nil], ["property_id", 905834956], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500683, "updated_at" = '2012-10-15 15:45:37.706278' WHERE "spree_product_properties"."id" = 1073273205 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["product_id", nil], ["property_id", 905834958], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500683, "updated_at" = '2012-10-15 15:45:37.708978' WHERE "spree_product_properties"."id" = 1073273206 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500683) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451506 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451506], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500683 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500683, 558398506) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451503 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398501 AND "spree_taxons"."taxonomy_id" = 854451503 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398501]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398501], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451503], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398501]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398507]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398507 THEN 558398501 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398501]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398507]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500683, 558398507)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500683, 558398501) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500683) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500683 AND "spree_option_types"."id" = 935339171 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500683) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339171], ["position", 1], ["product_id", 1060500683], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.733113' WHERE "spree_products"."id" = 1060500683 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500683], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.734381' WHERE "spree_products"."id" = 1060500683  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589663, 979460059) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.736349' WHERE "spree_products"."id" = 1060500683 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500683], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.737632' WHERE "spree_products"."id" = 1060500683  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589664, 979460060) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339171 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.739633' WHERE "spree_products"."id" = 1060500683 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500683], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.740623' WHERE "spree_products"."id" = 1060500683  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589665, 979460061) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500683]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500683 AND "spree_option_types"."id" = 935339172 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500683) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["option_type_id", 935339172], ["position", 2], ["product_id", 1060500683], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339172 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339172) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339172], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.750979' WHERE "spree_products"."id" = 1060500683 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500683], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.752113' WHERE "spree_products"."id" = 1060500683  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589666, 979460062) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339172 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339172) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "colour"], ["option_type_id", 935339172], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.756515' WHERE "spree_products"."id" = 1060500683 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500683], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.757541' WHERE "spree_products"."id" = 1060500683  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589667, 979460063) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500683]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500683) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589663 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589664 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589665 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589666 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589667 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500683) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.791718' WHERE "spree_products"."id" = 1060500683  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589663 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.792722' WHERE "spree_products"."id" = 1060500683 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.793779' WHERE "spree_products"."id" = 1060500683  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589664 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.794654' WHERE "spree_products"."id" = 1060500683 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.795974' WHERE "spree_products"."id" = 1060500683  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589665 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.796659' WHERE "spree_products"."id" = 1060500683 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.797936' WHERE "spree_products"."id" = 1060500683  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589666 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.798630' WHERE "spree_products"."id" = 1060500683 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.799893' WHERE "spree_products"."id" = 1060500683  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589667 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.800770' WHERE "spree_products"."id" = 1060500683 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500683) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:37.803528' WHERE "spree_products"."id" = 1060500683 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500683 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500681 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500683 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500683 SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.8ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]]  (1.4ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500684 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.952171' WHERE "spree_products"."id" = 1060500684 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500684], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.970775' WHERE "spree_products"."id" = 1060500684  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589668 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:37.972733' WHERE "spree_products"."id" = 1060500684  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500684  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["product_id", nil], ["property_id", 905834959], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500684, "updated_at" = '2012-10-15 15:45:37.978414' WHERE "spree_product_properties"."id" = 1073273207 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451507 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451507], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500684 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500684, 558398508) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451508 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451508], ["updated_at", Mon, 15 Oct 2012 15:45:37 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500684, 558398509) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500684 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500684) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["option_type_id", 935339173], ["position", 1], ["product_id", 1060500684], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339173) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339173], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500684 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.013098' WHERE "spree_products"."id" = 1060500684 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500684], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.014951' WHERE "spree_products"."id" = 1060500684  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589669, 979460064) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500684]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500684 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339173) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339173], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500684 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.023611' WHERE "spree_products"."id" = 1060500684 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500684], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.045466' WHERE "spree_products"."id" = 1060500684  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589670, 979460065) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500684]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500684 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339173) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339173], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500684 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.054771' WHERE "spree_products"."id" = 1060500684 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500684], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.055965' WHERE "spree_products"."id" = 1060500684  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589671, 979460066) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500684]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589669 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589670 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589671 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500684 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.074100' WHERE "spree_products"."id" = 1060500684  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589669 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.075334' WHERE "spree_products"."id" = 1060500684 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500684 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.076119' WHERE "spree_products"."id" = 1060500684  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589670 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.076855' WHERE "spree_products"."id" = 1060500684 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500684 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.077693' WHERE "spree_products"."id" = 1060500684  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589671 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.078465' WHERE "spree_products"."id" = 1060500684 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500684) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:38.080724' WHERE "spree_products"."id" = 1060500684 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500684 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500685 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.087946' WHERE "spree_products"."id" = 1060500685 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500685], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.089116' WHERE "spree_products"."id" = 1060500685  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589672 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.090200' WHERE "spree_products"."id" = 1060500685  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500685  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["product_id", nil], ["property_id", 905834960], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500685, "updated_at" = '2012-10-15 15:45:38.094983' WHERE "spree_product_properties"."id" = 1073273208 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451507 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500685 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500685, 558398508) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451509 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451509], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500685, 558398510) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451507 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398508 AND "spree_taxons"."taxonomy_id" = 854451507 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398508]] SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398508], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451507], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398508]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398511]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398511 THEN 558398508 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398508]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398511]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398511 AND "spree_taxons"."taxonomy_id" = 854451507 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398511]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398511], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451507], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398511]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398512]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398512 THEN 558398511 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398511]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398512]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500685, 558398511)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500685, 558398512) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500685 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500685) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["option_type_id", 935339173], ["position", 1], ["product_id", 1060500685], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500685 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.172683' WHERE "spree_products"."id" = 1060500685 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500685], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.173749' WHERE "spree_products"."id" = 1060500685  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589673, 979460064) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500685]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500685 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1  (2.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500685 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.183681' WHERE "spree_products"."id" = 1060500685 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500685], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.184856' WHERE "spree_products"."id" = 1060500685  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589674, 979460065) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500685]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500685 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500685 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.192956' WHERE "spree_products"."id" = 1060500685 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500685], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.193984' WHERE "spree_products"."id" = 1060500685  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589675, 979460066) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500685]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589673 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589674 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589675 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500685 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.212046' WHERE "spree_products"."id" = 1060500685  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589673 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.213167' WHERE "spree_products"."id" = 1060500685 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500685 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.214136' WHERE "spree_products"."id" = 1060500685  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589674 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.214985' WHERE "spree_products"."id" = 1060500685 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500685 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.215880' WHERE "spree_products"."id" = 1060500685  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589675 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.216591' WHERE "spree_products"."id" = 1060500685 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500685) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:38.219526' WHERE "spree_products"."id" = 1060500685 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500685 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.226577' WHERE "spree_products"."id" = 1060500686 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500686], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.227750' WHERE "spree_products"."id" = 1060500686  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589676 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.228952' WHERE "spree_products"."id" = 1060500686  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500686  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["product_id", nil], ["property_id", 905834961], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500686, "updated_at" = '2012-10-15 15:45:38.234891' WHERE "spree_product_properties"."id" = 1073273209 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["product_id", nil], ["property_id", 905834960], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500686, "updated_at" = '2012-10-15 15:45:38.237470' WHERE "spree_product_properties"."id" = 1073273210 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["product_id", nil], ["property_id", 905834962], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500686, "updated_at" = '2012-10-15 15:45:38.241373' WHERE "spree_product_properties"."id" = 1073273211 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451510 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451510], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500686 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500686, 558398513) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451507 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398508 AND "spree_taxons"."taxonomy_id" = 854451507 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398508]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398508], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451507], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398508]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398514]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398514 THEN 558398508 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398508]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398514]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500686, 558398514)  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500686, 558398508) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500686 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500686) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["option_type_id", 935339173], ["position", 1], ["product_id", 1060500686], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.265670' WHERE "spree_products"."id" = 1060500686 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500686], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.266793' WHERE "spree_products"."id" = 1060500686  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589677, 979460064) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500686]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500686 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.273454' WHERE "spree_products"."id" = 1060500686 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500686], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.274473' WHERE "spree_products"."id" = 1060500686  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589678, 979460065) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500686]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500686 AND "spree_option_types"."id" = 935339173 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339173 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.279985' WHERE "spree_products"."id" = 1060500686 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500686], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.281118' WHERE "spree_products"."id" = 1060500686  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589679, 979460066) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500686]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500686 AND "spree_option_types"."id" = 935339174 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500686) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["option_type_id", 935339174], ["position", 2], ["product_id", 1060500686], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339174 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339174) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339174], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.291968' WHERE "spree_products"."id" = 1060500686 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500686], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.292986' WHERE "spree_products"."id" = 1060500686  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589680, 979460067) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500686]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500686 AND "spree_option_types"."id" = 935339174 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339174 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339174) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "colour"], ["option_type_id", 935339174], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.300796' WHERE "spree_products"."id" = 1060500686 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500686], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.302277' WHERE "spree_products"."id" = 1060500686  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589681, 979460068) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500686]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589677 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589678 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589679 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589680 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589681 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.336775' WHERE "spree_products"."id" = 1060500686  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589677 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.337986' WHERE "spree_products"."id" = 1060500686 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.338986' WHERE "spree_products"."id" = 1060500686  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589678 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.339768' WHERE "spree_products"."id" = 1060500686 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.340868' WHERE "spree_products"."id" = 1060500686  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589679 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.342225' WHERE "spree_products"."id" = 1060500686 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.343775' WHERE "spree_products"."id" = 1060500686  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589680 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.344542' WHERE "spree_products"."id" = 1060500686 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.345735' WHERE "spree_products"."id" = 1060500686  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589681 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.346549' WHERE "spree_products"."id" = 1060500686 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500686) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:38.348602' WHERE "spree_products"."id" = 1060500686 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500686 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500684 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500686 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500686 SQL (2.1ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (21.2ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (19.9ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (19.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (19.5ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451511 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451511], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451511], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (18.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500687 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.866305' WHERE "spree_products"."id" = 1060500687 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500687], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.867993' WHERE "spree_products"."id" = 1060500687  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589682 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.870227' WHERE "spree_products"."id" = 1060500687  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500687  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["product_id", nil], ["property_id", 905834963], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500687, "updated_at" = '2012-10-15 15:45:38.877991' WHERE "spree_product_properties"."id" = 1073273212 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500687) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451511 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500687 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500687, 558398515) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451512 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451512], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500687, 558398517) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500687) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500687 AND "spree_option_types"."id" = 935339175 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500687) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["option_type_id", 935339175], ["position", 1], ["product_id", 1060500687], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339175) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339175], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500687 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.900993' WHERE "spree_products"."id" = 1060500687 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500687], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.903136' WHERE "spree_products"."id" = 1060500687  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589683, 979460069) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339175) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339175], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500687 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.906938' WHERE "spree_products"."id" = 1060500687 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500687], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.908188' WHERE "spree_products"."id" = 1060500687  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589684, 979460070) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339175) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339175], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500687 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.911654' WHERE "spree_products"."id" = 1060500687 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500687], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.929994' WHERE "spree_products"."id" = 1060500687  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589685, 979460071) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500687]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500687) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589683 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589684 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589685 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500687) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500687 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.942725' WHERE "spree_products"."id" = 1060500687  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589683 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.944266' WHERE "spree_products"."id" = 1060500687 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500687 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.945347' WHERE "spree_products"."id" = 1060500687  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589684 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.946144' WHERE "spree_products"."id" = 1060500687 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500687 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.946975' WHERE "spree_products"."id" = 1060500687  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589685 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.947985' WHERE "spree_products"."id" = 1060500687 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500687) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:38.950308' WHERE "spree_products"."id" = 1060500687 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500687 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500688 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.957601' WHERE "spree_products"."id" = 1060500688 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500688], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.959089' WHERE "spree_products"."id" = 1060500688  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589686 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.960160' WHERE "spree_products"."id" = 1060500688  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500688  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["product_id", nil], ["property_id", 905834964], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500688, "updated_at" = '2012-10-15 15:45:38.965332' WHERE "spree_product_properties"."id" = 1073273213 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500688) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451511 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500688 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500688, 558398515) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451513 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451513], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500688, 558398518) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451511 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398515 AND "spree_taxons"."taxonomy_id" = 854451511 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398515]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398515], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451511], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398515]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398519]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398519 THEN 558398515 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398515]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398519]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398519 AND "spree_taxons"."taxonomy_id" = 854451511 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398519]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398519], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451511], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398519]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398520]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398520 THEN 558398519 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398519]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398520]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500688, 558398519)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500688, 558398520) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500688) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500688 AND "spree_option_types"."id" = 935339175 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500688) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00], ["option_type_id", 935339175], ["position", 1], ["product_id", 1060500688], ["updated_at", Mon, 15 Oct 2012 15:45:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500688 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.997507' WHERE "spree_products"."id" = 1060500688 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500688], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:38.998267' WHERE "spree_products"."id" = 1060500688  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589687, 979460069) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500688 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.000575' WHERE "spree_products"."id" = 1060500688 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500688], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.001500' WHERE "spree_products"."id" = 1060500688  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589688, 979460070) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500688 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.006075' WHERE "spree_products"."id" = 1060500688 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500688], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.006910' WHERE "spree_products"."id" = 1060500688  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589689, 979460071) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500688]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500688) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589687 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589688 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589689 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500688) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500688 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.018931' WHERE "spree_products"."id" = 1060500688  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589687 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.019989' WHERE "spree_products"."id" = 1060500688 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500688 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.021107' WHERE "spree_products"."id" = 1060500688  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589688 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.021768' WHERE "spree_products"."id" = 1060500688 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500688 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.022549' WHERE "spree_products"."id" = 1060500688  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589689 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.023484' WHERE "spree_products"."id" = 1060500688 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500688) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:39.025618' WHERE "spree_products"."id" = 1060500688 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500688 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.032173' WHERE "spree_products"."id" = 1060500689 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500689], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.032995' WHERE "spree_products"."id" = 1060500689  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589690 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.034305' WHERE "spree_products"."id" = 1060500689  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500689  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834965], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500689, "updated_at" = '2012-10-15 15:45:39.039431' WHERE "spree_product_properties"."id" = 1073273214 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834964], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500689, "updated_at" = '2012-10-15 15:45:39.041916' WHERE "spree_product_properties"."id" = 1073273215 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834966], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500689, "updated_at" = '2012-10-15 15:45:39.045216' WHERE "spree_product_properties"."id" = 1073273216 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500689) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451514 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451514], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500689 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500689, 558398521) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451511 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398515 AND "spree_taxons"."taxonomy_id" = 854451511 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398515]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398515], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451511], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398515]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398522]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398522 THEN 558398515 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398515]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398522]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500689, 558398522)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500689, 558398515) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500689) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500689 AND "spree_option_types"."id" = 935339175 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500689) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339175], ["position", 1], ["product_id", 1060500689], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.069111' WHERE "spree_products"."id" = 1060500689 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500689], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.070243' WHERE "spree_products"."id" = 1060500689  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589691, 979460069) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.072625' WHERE "spree_products"."id" = 1060500689 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500689], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.073683' WHERE "spree_products"."id" = 1060500689  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589692, 979460070) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339175 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.075790' WHERE "spree_products"."id" = 1060500689 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500689], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.077161' WHERE "spree_products"."id" = 1060500689  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589693, 979460071) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500689]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500689 AND "spree_option_types"."id" = 935339176 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500689) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339176], ["position", 2], ["product_id", 1060500689], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339176 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339176) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339176], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.087660' WHERE "spree_products"."id" = 1060500689 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500689], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.088747' WHERE "spree_products"."id" = 1060500689  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589694, 979460072) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339176 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339176) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "colour"], ["option_type_id", 935339176], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.092996' WHERE "spree_products"."id" = 1060500689 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500689], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.094139' WHERE "spree_products"."id" = 1060500689  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589695, 979460073) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500689]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500689) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (16.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589691 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589692 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589693 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589694 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589695 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500689) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.124749' WHERE "spree_products"."id" = 1060500689  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589691 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.126205' WHERE "spree_products"."id" = 1060500689 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.127091' WHERE "spree_products"."id" = 1060500689  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589692 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.127757' WHERE "spree_products"."id" = 1060500689 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.128785' WHERE "spree_products"."id" = 1060500689  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589693 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.129773' WHERE "spree_products"."id" = 1060500689 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.130565' WHERE "spree_products"."id" = 1060500689  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589694 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.131489' WHERE "spree_products"."id" = 1060500689 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.132548' WHERE "spree_products"."id" = 1060500689  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589695 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.133578' WHERE "spree_products"."id" = 1060500689 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500689) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:39.135402' WHERE "spree_products"."id" = 1060500689 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500689 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (25.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500688 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500689 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500687 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589683 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589684 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339175 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589685 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (22.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451515 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451515], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (2.7ms) commit transaction  (0.9ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451515], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (3.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500690 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.320914' WHERE "spree_products"."id" = 1060500690 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500690], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.322248' WHERE "spree_products"."id" = 1060500690  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589696 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.340403' WHERE "spree_products"."id" = 1060500690  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500690  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834967], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500690, "updated_at" = '2012-10-15 15:45:39.346848' WHERE "spree_product_properties"."id" = 1073273217 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451515 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500690 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500690, 558398523) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451516 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451516], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500690, 558398525) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500690 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500690) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339177], ["position", 1], ["product_id", 1060500690], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339177) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339177], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500690 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.377519' WHERE "spree_products"."id" = 1060500690 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500690], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.378999' WHERE "spree_products"."id" = 1060500690  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589697, 979460074) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500690]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500690 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339177) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339177], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500690 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.387726' WHERE "spree_products"."id" = 1060500690 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500690], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.388792' WHERE "spree_products"."id" = 1060500690  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589698, 979460075) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500690]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500690 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339177) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339177], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500690 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.396864' WHERE "spree_products"."id" = 1060500690 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500690], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.398579' WHERE "spree_products"."id" = 1060500690  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589699, 979460076) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500690]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589697 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589698 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589699 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500690 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.435285' WHERE "spree_products"."id" = 1060500690  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589697 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.436378' WHERE "spree_products"."id" = 1060500690 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500690 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.437385' WHERE "spree_products"."id" = 1060500690  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589698 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.438340' WHERE "spree_products"."id" = 1060500690 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500690 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.439719' WHERE "spree_products"."id" = 1060500690  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589699 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.440637' WHERE "spree_products"."id" = 1060500690 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500690) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:39.443901' WHERE "spree_products"."id" = 1060500690 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500690 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500691 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.452916' WHERE "spree_products"."id" = 1060500691 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500691], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.454153' WHERE "spree_products"."id" = 1060500691  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589700 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.455287' WHERE "spree_products"."id" = 1060500691  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500691  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834968], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500691, "updated_at" = '2012-10-15 15:45:39.460527' WHERE "spree_product_properties"."id" = 1073273218 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451515 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500691 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500691, 558398523) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451517 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451517], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500691, 558398526) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451515 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398523 AND "spree_taxons"."taxonomy_id" = 854451515 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398523]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398523], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451515], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398523]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398527]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398527 THEN 558398523 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398523]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398527]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398527 AND "spree_taxons"."taxonomy_id" = 854451515 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398527]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398527], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451515], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398527]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398528]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398528 THEN 558398527 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398527]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398528]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500691, 558398527)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500691, 558398528) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500691 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500691) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339177], ["position", 1], ["product_id", 1060500691], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500691 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.496950' WHERE "spree_products"."id" = 1060500691 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500691], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.498118' WHERE "spree_products"."id" = 1060500691  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589701, 979460074) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500691]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500691 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500691 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.505771' WHERE "spree_products"."id" = 1060500691 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500691], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.507392' WHERE "spree_products"."id" = 1060500691  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589702, 979460075) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500691]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500691 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500691 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.513830' WHERE "spree_products"."id" = 1060500691 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500691], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.514986' WHERE "spree_products"."id" = 1060500691  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589703, 979460076) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500691]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589701 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589702 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589703 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500691 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.530715' WHERE "spree_products"."id" = 1060500691  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589701 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.531884' WHERE "spree_products"."id" = 1060500691 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500691 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.533061' WHERE "spree_products"."id" = 1060500691  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589702 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.533771' WHERE "spree_products"."id" = 1060500691 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500691 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.534810' WHERE "spree_products"."id" = 1060500691  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589703 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.535609' WHERE "spree_products"."id" = 1060500691 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500691) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:39.537966' WHERE "spree_products"."id" = 1060500691 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500691 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.544562' WHERE "spree_products"."id" = 1060500692 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500692], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.546001' WHERE "spree_products"."id" = 1060500692  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589704 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.547226' WHERE "spree_products"."id" = 1060500692  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500692  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834969], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500692, "updated_at" = '2012-10-15 15:45:39.552638' WHERE "spree_product_properties"."id" = 1073273219 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834968], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500692, "updated_at" = '2012-10-15 15:45:39.556066' WHERE "spree_product_properties"."id" = 1073273220 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834970], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500692, "updated_at" = '2012-10-15 15:45:39.559968' WHERE "spree_product_properties"."id" = 1073273221 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451518 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (3.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451518], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500692 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500692, 558398529) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451515 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398523 AND "spree_taxons"."taxonomy_id" = 854451515 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398523]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398523], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451515], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398523]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398530]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398530 THEN 558398523 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398523]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398530]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500692, 558398530)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500692, 558398523) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500692 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500692) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339177], ["position", 1], ["product_id", 1060500692], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.626361' WHERE "spree_products"."id" = 1060500692 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500692], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.627447' WHERE "spree_products"."id" = 1060500692  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589705, 979460074) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500692]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500692 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.634986' WHERE "spree_products"."id" = 1060500692 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500692], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.636155' WHERE "spree_products"."id" = 1060500692  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589706, 979460075) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500692]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500692 AND "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339177 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.642106' WHERE "spree_products"."id" = 1060500692 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500692], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.643162' WHERE "spree_products"."id" = 1060500692  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589707, 979460076) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500692]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500692 AND "spree_option_types"."id" = 935339178 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500692) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339178], ["position", 2], ["product_id", 1060500692], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339178 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339178) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339178], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.655093' WHERE "spree_products"."id" = 1060500692 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500692], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.655914' WHERE "spree_products"."id" = 1060500692  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589708, 979460077) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500692]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500692 AND "spree_option_types"."id" = 935339178 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339178 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339178) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "colour"], ["option_type_id", 935339178], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.664598' WHERE "spree_products"."id" = 1060500692 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500692], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.665786' WHERE "spree_products"."id" = 1060500692  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589709, 979460078) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500692]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589705 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589706 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589707 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589708 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589709 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.699121' WHERE "spree_products"."id" = 1060500692  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589705 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.700279' WHERE "spree_products"."id" = 1060500692 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.701486' WHERE "spree_products"."id" = 1060500692  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589706 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.702380' WHERE "spree_products"."id" = 1060500692 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.703816' WHERE "spree_products"."id" = 1060500692  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589707 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.704989' WHERE "spree_products"."id" = 1060500692 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.706301' WHERE "spree_products"."id" = 1060500692  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589708 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.707216' WHERE "spree_products"."id" = 1060500692 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500692 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.708272' WHERE "spree_products"."id" = 1060500692  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589709 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.709272' WHERE "spree_products"."id" = 1060500692 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500692) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:39.712831' WHERE "spree_products"."id" = 1060500692 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500692 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500691 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500692 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500690 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589697 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589698 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339177 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589699 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.6ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451519 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451519], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451519], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500693 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.830901' WHERE "spree_products"."id" = 1060500693 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500693], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.832465' WHERE "spree_products"."id" = 1060500693  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589710 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.833966' WHERE "spree_products"."id" = 1060500693  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500693  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834971], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500693, "updated_at" = '2012-10-15 15:45:39.840108' WHERE "spree_product_properties"."id" = 1073273222 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451519 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500693 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500693, 558398531) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451520 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451520], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500693, 558398533) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500693 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500693) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339179], ["position", 1], ["product_id", 1060500693], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339179) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339179], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500693 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.882126' WHERE "spree_products"."id" = 1060500693 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500693], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.883601' WHERE "spree_products"."id" = 1060500693  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589711, 979460079) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500693]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500693 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339179) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339179], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500693 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.909634' WHERE "spree_products"."id" = 1060500693 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500693], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.911094' WHERE "spree_products"."id" = 1060500693  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589712, 979460080) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500693]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500693 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339179) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339179], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500693 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.920423' WHERE "spree_products"."id" = 1060500693 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500693], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.921654' WHERE "spree_products"."id" = 1060500693  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589713, 979460081) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500693]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589711 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589712 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589713 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500693 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.938277' WHERE "spree_products"."id" = 1060500693  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589711 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.939234' WHERE "spree_products"."id" = 1060500693 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500693 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.940216' WHERE "spree_products"."id" = 1060500693  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589712 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.940978' WHERE "spree_products"."id" = 1060500693 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500693 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.941808' WHERE "spree_products"."id" = 1060500693  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589713 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.942642' WHERE "spree_products"."id" = 1060500693 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500693) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:39.944912' WHERE "spree_products"."id" = 1060500693 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.951154' WHERE "spree_products"."id" = 1060500694 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500694], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.952128' WHERE "spree_products"."id" = 1060500694  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589714 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.953235' WHERE "spree_products"."id" = 1060500694  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500694  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["product_id", nil], ["property_id", 905834972], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500694, "updated_at" = '2012-10-15 15:45:39.958178' WHERE "spree_product_properties"."id" = 1073273223 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451519 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500694 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500694, 558398531) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451521 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451521], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500694, 558398534) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451519 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398531 AND "spree_taxons"."taxonomy_id" = 854451519 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398531]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398531], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451519], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398531]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398535]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398535 THEN 558398531 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398531]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398535]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398535 AND "spree_taxons"."taxonomy_id" = 854451519 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398535]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398535], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451519], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398535]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398536]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398536 THEN 558398535 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398535]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398536]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500694, 558398535)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500694, 558398536) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500694 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500694) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00], ["option_type_id", 935339179], ["position", 1], ["product_id", 1060500694], ["updated_at", Mon, 15 Oct 2012 15:45:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.994519' WHERE "spree_products"."id" = 1060500694 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500694], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:39.995667' WHERE "spree_products"."id" = 1060500694  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589715, 979460079) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500694]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500694 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (6.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.049863' WHERE "spree_products"."id" = 1060500694 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500694], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.051422' WHERE "spree_products"."id" = 1060500694  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589716, 979460080) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500694]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500694 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.058587' WHERE "spree_products"."id" = 1060500694 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500694], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.059559' WHERE "spree_products"."id" = 1060500694  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589717, 979460081) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500694]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589715 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589716 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589717 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.073658' WHERE "spree_products"."id" = 1060500694  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589715 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.074605' WHERE "spree_products"."id" = 1060500694 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.075735' WHERE "spree_products"."id" = 1060500694  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589716 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.076576' WHERE "spree_products"."id" = 1060500694 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.077588' WHERE "spree_products"."id" = 1060500694  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589717 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.078443' WHERE "spree_products"."id" = 1060500694 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500694) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:40.080690' WHERE "spree_products"."id" = 1060500694 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.088538' WHERE "spree_products"."id" = 1060500695 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500695], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.089688' WHERE "spree_products"."id" = 1060500695  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589718 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.091224' WHERE "spree_products"."id" = 1060500695  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500695  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["product_id", nil], ["property_id", 905834973], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500695, "updated_at" = '2012-10-15 15:45:40.096968' WHERE "spree_product_properties"."id" = 1073273224 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["product_id", nil], ["property_id", 905834972], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500695, "updated_at" = '2012-10-15 15:45:40.099558' WHERE "spree_product_properties"."id" = 1073273225 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["product_id", nil], ["property_id", 905834974], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500695, "updated_at" = '2012-10-15 15:45:40.102712' WHERE "spree_product_properties"."id" = 1073273226 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451522 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451522], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500695 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500695, 558398537) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451519 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398531 AND "spree_taxons"."taxonomy_id" = 854451519 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398531]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398531], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451519], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398531]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398538]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398538 THEN 558398531 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398531]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398538]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500695, 558398538)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500695, 558398531) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500695 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500695) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339179], ["position", 1], ["product_id", 1060500695], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.126759' WHERE "spree_products"."id" = 1060500695 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500695], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.127986' WHERE "spree_products"."id" = 1060500695  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589719, 979460079) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500695]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500695 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.134255' WHERE "spree_products"."id" = 1060500695 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500695], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.135263' WHERE "spree_products"."id" = 1060500695  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589720, 979460080) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500695]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500695 AND "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339179 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.141662' WHERE "spree_products"."id" = 1060500695 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500695], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.142651' WHERE "spree_products"."id" = 1060500695  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589721, 979460081) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500695]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500695 AND "spree_option_types"."id" = 935339180 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500695) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339180], ["position", 2], ["product_id", 1060500695], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339180 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339180) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339180], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.154637' WHERE "spree_products"."id" = 1060500695 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500695], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.155797' WHERE "spree_products"."id" = 1060500695  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589722, 979460082) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500695]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500695 AND "spree_option_types"."id" = 935339180 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339180 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339180) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339180], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.163835' WHERE "spree_products"."id" = 1060500695 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500695], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.164810' WHERE "spree_products"."id" = 1060500695  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589723, 979460083) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500695]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589719 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589720 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589721 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589722 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589723 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.202599' WHERE "spree_products"."id" = 1060500695  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589719 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.203633' WHERE "spree_products"."id" = 1060500695 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.204798' WHERE "spree_products"."id" = 1060500695  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589720 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.205596' WHERE "spree_products"."id" = 1060500695 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.208286' WHERE "spree_products"."id" = 1060500695  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589721 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.209183' WHERE "spree_products"."id" = 1060500695 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.210578' WHERE "spree_products"."id" = 1060500695  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589722 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.211956' WHERE "spree_products"."id" = 1060500695 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500695 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.214422' WHERE "spree_products"."id" = 1060500695  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589723 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.215260' WHERE "spree_products"."id" = 1060500695 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500695) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:40.218464' WHERE "spree_products"."id" = 1060500695  (4.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500694 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500695 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500693 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589711 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589712 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339179 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589713 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451523 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451523], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451523], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]]  (3.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500696 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.292777' WHERE "spree_products"."id" = 1060500696 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500696], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.294527' WHERE "spree_products"."id" = 1060500696  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589724 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.296239' WHERE "spree_products"."id" = 1060500696  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500696  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500696 AND "spree_option_types"."id" = 935339181 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500696) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339181], ["position", 1], ["product_id", 1060500696], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500696 AND "spree_option_types"."id" = 935339182 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500696) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339182], ["position", 2], ["product_id", 1060500696], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339181) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339181], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339182 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339182) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339182], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500696 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.347600' WHERE "spree_products"."id" = 1060500696 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500696], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.348711' WHERE "spree_products"."id" = 1060500696  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589725, 979460084)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589725, 979460085) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339181) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339181], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339182 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500696 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.371564' WHERE "spree_products"."id" = 1060500696 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500696], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.372791' WHERE "spree_products"."id" = 1060500696  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589726, 979460086)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589726, 979460085) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500696]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500696) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500696 AND "spree_option_types"."id" = 935339181 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339181) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339181], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500696 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.384490' WHERE "spree_products"."id" = 1060500696 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500696], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.385558' WHERE "spree_products"."id" = 1060500696  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589727, 979460087) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500696]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500696) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589725 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589726 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589727 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500696) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500696 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.396779' WHERE "spree_products"."id" = 1060500696  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589725 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.398714' WHERE "spree_products"."id" = 1060500696 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500696 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.399743' WHERE "spree_products"."id" = 1060500696  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589726 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.400556' WHERE "spree_products"."id" = 1060500696 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500696 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.401445' WHERE "spree_products"."id" = 1060500696  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589727 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.402267' WHERE "spree_products"."id" = 1060500696 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500696) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:40.404988' WHERE "spree_products"."id" = 1060500696 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500697 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.413178' WHERE "spree_products"."id" = 1060500697 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500697], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.414172' WHERE "spree_products"."id" = 1060500697  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589728 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.415596' WHERE "spree_products"."id" = 1060500697  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500697  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500697 AND "spree_option_types"."id" = 935339181 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500697) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339181], ["position", 1], ["product_id", 1060500697], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500697 AND "spree_option_types"."id" = 935339182 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500697) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339182], ["position", 2], ["product_id", 1060500697], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339182 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339182) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339182], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500697 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.428863' WHERE "spree_products"."id" = 1060500697 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500697], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.429832' WHERE "spree_products"."id" = 1060500697  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589729, 979460088)  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589729, 979460084) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500697]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500697) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500697 AND "spree_option_types"."id" = 935339181 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500697 AND "spree_option_types"."id" = 935339182 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339182 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500697 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.442671' WHERE "spree_products"."id" = 1060500697 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500697], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.443891' WHERE "spree_products"."id" = 1060500697  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589730, 979460088)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589730, 979460087) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500697]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500697) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589729 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589730 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500697) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500697 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.453952' WHERE "spree_products"."id" = 1060500697  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589729 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.455209' WHERE "spree_products"."id" = 1060500697 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500697 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.456223' WHERE "spree_products"."id" = 1060500697  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589730 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.457173' WHERE "spree_products"."id" = 1060500697 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500697) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-15 15:45:40.459633' WHERE "spree_products"."id" = 1060500697 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500698 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.465647' WHERE "spree_products"."id" = 1060500698 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500698], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.467341' WHERE "spree_products"."id" = 1060500698  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589731 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.468638' WHERE "spree_products"."id" = 1060500698  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500698  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500698 AND "spree_option_types"."id" = 935339181 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500698) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339181], ["position", 1], ["product_id", 1060500698], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500698 AND "spree_option_types"."id" = 935339182 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500698) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339182], ["position", 2], ["product_id", 1060500698], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500698 AND "spree_option_types"."id" = 935339183 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500698) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339183], ["position", 3], ["product_id", 1060500698], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339182 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339183 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339183) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "large"], ["option_type_id", 935339183], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500698 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.536204' WHERE "spree_products"."id" = 1060500698 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500698], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.537540' WHERE "spree_products"."id" = 1060500698  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589732, 979460085)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589732, 979460089)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589732, 979460084) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339182 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339182) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339182], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339183 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500698 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.542651' WHERE "spree_products"."id" = 1060500698 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500698], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.543789' WHERE "spree_products"."id" = 1060500698  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589733, 979460090)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589733, 979460089)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589733, 979460084) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500698]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500698 AND "spree_option_types"."id" = 935339181 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (16.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500698 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.567091' WHERE "spree_products"."id" = 1060500698 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500698], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.568166' WHERE "spree_products"."id" = 1060500698  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589734, 979460087) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500698]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500698) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500698 AND "spree_option_types"."id" = 935339181 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339181 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500698 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.575930' WHERE "spree_products"."id" = 1060500698 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500698], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.577141' WHERE "spree_products"."id" = 1060500698  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589735, 979460086) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500698]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500698 AND "spree_option_types"."id" = 935339182 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339182 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500698 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.583105' WHERE "spree_products"."id" = 1060500698 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500698], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.584143' WHERE "spree_products"."id" = 1060500698  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589736, 979460088) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500698]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500698) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500698) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (5.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (1.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500696 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589725 Booted Spree using version 1.1.3 SQL (23.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500699 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.709698' WHERE "spree_products"."id" = 1060500699 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500699], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.711459' WHERE "spree_products"."id" = 1060500699  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589737 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.713197' WHERE "spree_products"."id" = 1060500699  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500699  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["product_id", nil], ["property_id", 905834975], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500699, "updated_at" = '2012-10-15 15:45:40.719065' WHERE "spree_product_properties"."id" = 1073273227 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500699) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451524 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451524], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500699 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500699, 558398541) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451525 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451525], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500699, 558398542) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500699) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500699 AND "spree_option_types"."id" = 935339184 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500699) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["option_type_id", 935339184], ["position", 1], ["product_id", 1060500699], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339184) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339184], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500699 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.761870' WHERE "spree_products"."id" = 1060500699 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500699], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.763195' WHERE "spree_products"."id" = 1060500699  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589738, 979460091) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339184) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339184], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500699 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.768328' WHERE "spree_products"."id" = 1060500699 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500699], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.769363' WHERE "spree_products"."id" = 1060500699  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589739, 979460092) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339184) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339184], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500699 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.792489' WHERE "spree_products"."id" = 1060500699 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500699], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.793833' WHERE "spree_products"."id" = 1060500699  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589740, 979460093) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500699]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500699) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589738 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589739 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589740 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500699) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500699 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.809445' WHERE "spree_products"."id" = 1060500699  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589738 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.810479' WHERE "spree_products"."id" = 1060500699 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500699 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.811638' WHERE "spree_products"."id" = 1060500699  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589739 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.812567' WHERE "spree_products"."id" = 1060500699 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500699 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.813718' WHERE "spree_products"."id" = 1060500699  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589740 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:40.814532' WHERE "spree_products"."id" = 1060500699 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500699) LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589737 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (4.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:40 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500699) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:41.861364' WHERE "spree_products"."id" = 1060500699 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500700 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.921855' WHERE "spree_products"."id" = 1060500700 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500700], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.923273' WHERE "spree_products"."id" = 1060500700  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589741 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.925031' WHERE "spree_products"."id" = 1060500700  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500700  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["product_id", nil], ["property_id", 905834976], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500700, "updated_at" = '2012-10-15 15:45:41.933371' WHERE "spree_product_properties"."id" = 1073273228 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500700) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451524 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500700 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500700, 558398541) Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451526 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451526], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500700, 558398543) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451527 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451527], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500700, 558398544) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500700) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500700 AND "spree_option_types"."id" = 935339184 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500700) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00], ["option_type_id", 935339184], ["position", 1], ["product_id", 1060500700], ["updated_at", Mon, 15 Oct 2012 15:45:41 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500700 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.964797' WHERE "spree_products"."id" = 1060500700 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500700], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.966031' WHERE "spree_products"."id" = 1060500700  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589742, 979460091) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500700 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.968571' WHERE "spree_products"."id" = 1060500700 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500700], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.969962' WHERE "spree_products"."id" = 1060500700  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589743, 979460092) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500700 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.972329' WHERE "spree_products"."id" = 1060500700 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500700], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.973253' WHERE "spree_products"."id" = 1060500700  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589744, 979460093) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500700]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500700) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589742 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589743 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589744 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500700) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500700 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.986425' WHERE "spree_products"."id" = 1060500700  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589742 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.987701' WHERE "spree_products"."id" = 1060500700 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500700 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.988764' WHERE "spree_products"."id" = 1060500700  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589743 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.989528' WHERE "spree_products"."id" = 1060500700 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500700 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.990757' WHERE "spree_products"."id" = 1060500700  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589744 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:41.991543' WHERE "spree_products"."id" = 1060500700 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500700) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589741 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:42 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500700) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:46.097692' WHERE "spree_products"."id" = 1060500700 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.131639' WHERE "spree_products"."id" = 1060500701 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500701], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.133166' WHERE "spree_products"."id" = 1060500701  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589745 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.134774' WHERE "spree_products"."id" = 1060500701  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500701  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["product_id", nil], ["property_id", 905834977], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060500701, "updated_at" = '2012-10-15 15:45:46.142840' WHERE "spree_product_properties"."id" = 1073273229 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["product_id", nil], ["property_id", 905834976], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500701, "updated_at" = '2012-10-15 15:45:46.145552' WHERE "spree_product_properties"."id" = 1073273230 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["product_id", nil], ["property_id", 905834978], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500701, "updated_at" = '2012-10-15 15:45:46.149017' WHERE "spree_product_properties"."id" = 1073273231 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500701) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451528 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451528], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500701 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500701, 558398545) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500701) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500701 AND "spree_option_types"."id" = 935339184 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500701) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["option_type_id", 935339184], ["position", 1], ["product_id", 1060500701], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.172267' WHERE "spree_products"."id" = 1060500701 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500701], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.174316' WHERE "spree_products"."id" = 1060500701  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589746, 979460091) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.177050' WHERE "spree_products"."id" = 1060500701 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500701], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.178113' WHERE "spree_products"."id" = 1060500701  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589747, 979460092) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339184 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.180787' WHERE "spree_products"."id" = 1060500701 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500701], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.181779' WHERE "spree_products"."id" = 1060500701  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589748, 979460093) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500701]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500701 AND "spree_option_types"."id" = 935339185 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500701) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["option_type_id", 935339185], ["position", 2], ["product_id", 1060500701], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339185 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339185) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339185], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.195405' WHERE "spree_products"."id" = 1060500701 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500701], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.196775' WHERE "spree_products"."id" = 1060500701  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589749, 979460094) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339185 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339185) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["name", "colour"], ["option_type_id", 935339185], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.201782' WHERE "spree_products"."id" = 1060500701 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500701], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.202801' WHERE "spree_products"."id" = 1060500701  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589750, 979460095) Spree::Product Load (18.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500701]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500701) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589746 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589747 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589748 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589749 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589750 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500701) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.237793' WHERE "spree_products"."id" = 1060500701  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589746 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.238781' WHERE "spree_products"."id" = 1060500701 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.239835' WHERE "spree_products"."id" = 1060500701  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589747 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.240720' WHERE "spree_products"."id" = 1060500701 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.241511' WHERE "spree_products"."id" = 1060500701  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589748 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.242335' WHERE "spree_products"."id" = 1060500701 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.243814' WHERE "spree_products"."id" = 1060500701  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589749 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.244767' WHERE "spree_products"."id" = 1060500701 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500701 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.245758' WHERE "spree_products"."id" = 1060500701  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589750 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:46.246617' WHERE "spree_products"."id" = 1060500701 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500701) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589745 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:46 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500701) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:46.905438' WHERE "spree_products"."id" = 1060500701  (5.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500699 AND ("spree_variants".is_master = 't') LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589737) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500699)) SQL (3.5ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.098079' WHERE "spree_products"."id" = 1060500702 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.099419' WHERE "spree_products"."id" = 1060500702  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589751 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.100731' WHERE "spree_products"."id" = 1060500702  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500702  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["product_id", nil], ["property_id", 905834979], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500702, "updated_at" = '2012-10-15 15:45:47.123096' WHERE "spree_product_properties"."id" = 1073273232 Created New ProductProperty # Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451529], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500702 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500702, 558398546) Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451530 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451530], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500702, 558398547) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500702 AND "spree_option_types"."id" = 935339186 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500702) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["option_type_id", 935339186], ["position", 1], ["product_id", 1060500702], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339186) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339186], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.150582' WHERE "spree_products"."id" = 1060500702 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.152240' WHERE "spree_products"."id" = 1060500702  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589752, 979460096) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339186) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339186], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.157565' WHERE "spree_products"."id" = 1060500702 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.158424' WHERE "spree_products"."id" = 1060500702  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589753, 979460097) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::OptionValue Load (15.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339186) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339186], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.178096' WHERE "spree_products"."id" = 1060500702 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.179565' WHERE "spree_products"."id" = 1060500702  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589754, 979460098) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500702]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589752 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589753 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589754 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.193094' WHERE "spree_products"."id" = 1060500702  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589752 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.194097' WHERE "spree_products"."id" = 1060500702 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.195290' WHERE "spree_products"."id" = 1060500702  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589753 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.196373' WHERE "spree_products"."id" = 1060500702 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.197984' WHERE "spree_products"."id" = 1060500702  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589754 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.199173' WHERE "spree_products"."id" = 1060500702 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589751 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1  (0.9ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (17.4ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:47.832441' WHERE "spree_products"."id" = 1060500702 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500702 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.892769' WHERE "spree_products"."id" = 1060500703 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.894394' WHERE "spree_products"."id" = 1060500703  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589755 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.897244' WHERE "spree_products"."id" = 1060500703  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500703  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["product_id", nil], ["property_id", 905834980], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500703, "updated_at" = '2012-10-15 15:45:47.904461' WHERE "spree_product_properties"."id" = 1073273233 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500703 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500703, 558398546) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451531 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451531], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500703, 558398548) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451532 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451532], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500703, 558398549) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500703 AND "spree_option_types"."id" = 935339186 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500703) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["option_type_id", 935339186], ["position", 1], ["product_id", 1060500703], ["updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.929535' WHERE "spree_products"."id" = 1060500703 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.930880' WHERE "spree_products"."id" = 1060500703  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589756, 979460096) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.933175' WHERE "spree_products"."id" = 1060500703 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.934170' WHERE "spree_products"."id" = 1060500703  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589757, 979460097) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.936513' WHERE "spree_products"."id" = 1060500703 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.937463' WHERE "spree_products"."id" = 1060500703  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589758, 979460098) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500703]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589756 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589757 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589758 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.951000' WHERE "spree_products"."id" = 1060500703  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589756 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.952106' WHERE "spree_products"."id" = 1060500703 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.953376' WHERE "spree_products"."id" = 1060500703  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589757 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.954271' WHERE "spree_products"."id" = 1060500703 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.955219' WHERE "spree_products"."id" = 1060500703  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589758 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:47.955951' WHERE "spree_products"."id" = 1060500703 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589755 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:47 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:52.161523' WHERE "spree_products"."id" = 1060500703 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060500703 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.199366' WHERE "spree_products"."id" = 1060500704 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.201685' WHERE "spree_products"."id" = 1060500704  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589759 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.203340' WHERE "spree_products"."id" = 1060500704  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500704  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (85.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["product_id", nil], ["property_id", 905834981], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500704, "updated_at" = '2012-10-15 15:45:52.298888' WHERE "spree_product_properties"."id" = 1073273234 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["product_id", nil], ["property_id", 905834980], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500704, "updated_at" = '2012-10-15 15:45:52.301899' WHERE "spree_product_properties"."id" = 1073273235 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["product_id", nil], ["property_id", 905834982], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500704, "updated_at" = '2012-10-15 15:45:52.304993' WHERE "spree_product_properties"."id" = 1073273236 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451533], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500704 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500704, 558398550) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500704 AND "spree_option_types"."id" = 935339186 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500704) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["option_type_id", 935339186], ["position", 1], ["product_id", 1060500704], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.320745' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.321967' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589760, 979460096) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.324219' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.325108' WHERE "spree_products"."id" = 1060500704  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589761, 979460097) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.327099' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.328097' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589762, 979460098) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500704]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500704 AND "spree_option_types"."id" = 935339187 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500704) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["option_type_id", 935339187], ["position", 2], ["product_id", 1060500704], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339187 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339187) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339187], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.339575' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.340689' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589763, 979460099) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339187 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339187) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["name", "colour"], ["option_type_id", 935339187], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.345017' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.346023' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589764, 979460100) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500704]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589760 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589761 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589762 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589763 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589764 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.381242' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589760 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.382403' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.383551' WHERE "spree_products"."id" = 1060500704  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589761 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.385404' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.386519' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589762 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.387701' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.388691' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589763 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.389492' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.390412' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589764 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:52.391214' WHERE "spree_products"."id" = 1060500704 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589759 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (4.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:52 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:53.154143' WHERE "spree_products"."id" = 1060500704 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500704 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) rollback transaction SQL (7.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.280173' WHERE "spree_products"."id" = 1060500702 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.298140' WHERE "spree_products"."id" = 1060500702  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589751 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.300173' WHERE "spree_products"."id" = 1060500702  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500702  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["product_id", nil], ["property_id", 905834979], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500702, "updated_at" = '2012-10-15 15:45:53.308743' WHERE "spree_product_properties"."id" = 1073273232 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451529], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500702 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500702, 558398546) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451530 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451530], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500702, 558398547) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500702 AND "spree_option_types"."id" = 935339186 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500702) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["option_type_id", 935339186], ["position", 1], ["product_id", 1060500702], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339186) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339186], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.496515' WHERE "spree_products"."id" = 1060500702 SQL (1.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.498701' WHERE "spree_products"."id" = 1060500702  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589752, 979460096) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339186) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339186], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.503900' WHERE "spree_products"."id" = 1060500702 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.506092' WHERE "spree_products"."id" = 1060500702  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589753, 979460097) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339186) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339186], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.513176' WHERE "spree_products"."id" = 1060500702 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500702], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.514167' WHERE "spree_products"."id" = 1060500702  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589754, 979460098) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500702]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589752 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589753 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589754 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.525642' WHERE "spree_products"."id" = 1060500702  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589752 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.526775' WHERE "spree_products"."id" = 1060500702 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.527817' WHERE "spree_products"."id" = 1060500702  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589753 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.528452' WHERE "spree_products"."id" = 1060500702 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.529584' WHERE "spree_products"."id" = 1060500702  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589754 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.531060' WHERE "spree_products"."id" = 1060500702 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500702) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:53.534140' WHERE "spree_products"."id" = 1060500702 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500702 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.541348' WHERE "spree_products"."id" = 1060500703 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.542390' WHERE "spree_products"."id" = 1060500703  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589755 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.543329' WHERE "spree_products"."id" = 1060500703  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500703  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["product_id", nil], ["property_id", 905834980], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500703, "updated_at" = '2012-10-15 15:45:53.548580' WHERE "spree_product_properties"."id" = 1073273233 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500703 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500703, 558398546) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (2.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451531 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451531], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500703, 558398548) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398546 AND "spree_taxons"."taxonomy_id" = 854451529 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398546]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398546], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451529], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398546]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398549]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398549 THEN 558398546 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398546]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398549]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398549 AND "spree_taxons"."taxonomy_id" = 854451529 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398549]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398549], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451529], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398549]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398550]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398550 THEN 558398549 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398549]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398550]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500703, 558398549)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500703, 558398550) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500703 AND "spree_option_types"."id" = 935339186 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500703) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["option_type_id", 935339186], ["position", 1], ["product_id", 1060500703], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.582590' WHERE "spree_products"."id" = 1060500703 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.583905' WHERE "spree_products"."id" = 1060500703  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589756, 979460096) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.586098' WHERE "spree_products"."id" = 1060500703 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.586948' WHERE "spree_products"."id" = 1060500703  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589757, 979460097) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.590242' WHERE "spree_products"."id" = 1060500703 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500703], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.591176' WHERE "spree_products"."id" = 1060500703  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589758, 979460098) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500703]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589756 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589757 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589758 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1  (1.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.604345' WHERE "spree_products"."id" = 1060500703  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589756 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.606037' WHERE "spree_products"."id" = 1060500703 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.606902' WHERE "spree_products"."id" = 1060500703  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589757 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.608026' WHERE "spree_products"."id" = 1060500703 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.608881' WHERE "spree_products"."id" = 1060500703  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589758 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.609379' WHERE "spree_products"."id" = 1060500703 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500703) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:53.611920' WHERE "spree_products"."id" = 1060500703 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500703 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.619254' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.620177' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589759 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.622078' WHERE "spree_products"."id" = 1060500704  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500704  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["product_id", nil], ["property_id", 905834981], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500704, "updated_at" = '2012-10-15 15:45:53.627177' WHERE "spree_product_properties"."id" = 1073273234 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["product_id", nil], ["property_id", 905834980], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500704, "updated_at" = '2012-10-15 15:45:53.630391' WHERE "spree_product_properties"."id" = 1073273235 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["product_id", nil], ["property_id", 905834982], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500704, "updated_at" = '2012-10-15 15:45:53.632977' WHERE "spree_product_properties"."id" = 1073273236 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451532 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451532], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500704 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500704, 558398551) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398546 AND "spree_taxons"."taxonomy_id" = 854451529 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398546]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398546], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451529], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398546]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398552]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398552 THEN 558398546 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398546]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398552]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500704, 558398552)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500704, 558398546) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500704 AND "spree_option_types"."id" = 935339186 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500704) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["option_type_id", 935339186], ["position", 1], ["product_id", 1060500704], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.663671' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.664935' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589760, 979460096) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.667043' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.667843' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589761, 979460097) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339186 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.670837' WHERE "spree_products"."id" = 1060500704 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.671963' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589762, 979460098) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500704]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500704 AND "spree_option_types"."id" = 935339187 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500704) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["option_type_id", 935339187], ["position", 2], ["product_id", 1060500704], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339187 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339187) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339187], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.682178' WHERE "spree_products"."id" = 1060500704 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.683150' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589763, 979460099) Spree::OptionValue Load (1.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339187 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339187) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "colour"], ["option_type_id", 935339187], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.688633' WHERE "spree_products"."id" = 1060500704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500704], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.689480' WHERE "spree_products"."id" = 1060500704  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589764, 979460100) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500704]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589760 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589761 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589762 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589763 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589764 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.704596' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589760 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.705411' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.706225' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589761 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.707178' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.708496' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589762 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.709159' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.709961' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589763 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.710712' WHERE "spree_products"."id" = 1060500704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.711504' WHERE "spree_products"."id" = 1060500704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589764 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.712533' WHERE "spree_products"."id" = 1060500704 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500704) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:53.715323' WHERE "spree_products"."id" = 1060500704 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500704 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500704 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589759) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500704)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (4.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (3.9ms) DELETE FROM "spree_taxonomies" SQL (4.6ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500705 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.858685' WHERE "spree_products"."id" = 1060500705 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500705], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.860094' WHERE "spree_products"."id" = 1060500705  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589765 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.863947' WHERE "spree_products"."id" = 1060500705  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500705  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["product_id", nil], ["property_id", 905834983], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500705, "updated_at" = '2012-10-15 15:45:53.870532' WHERE "spree_product_properties"."id" = 1073273237 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500705) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451533], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500705 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500705, 558398553) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451534 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451534], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500705, 558398554) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500705) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500705 AND "spree_option_types"."id" = 935339188 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500705) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["option_type_id", 935339188], ["position", 1], ["product_id", 1060500705], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339188) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339188], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.895666' WHERE "spree_products"."id" = 1060500705 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500705], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.896882' WHERE "spree_products"."id" = 1060500705  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589766, 979460101) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339188) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339188], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.902898' WHERE "spree_products"."id" = 1060500705 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500705], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.904087' WHERE "spree_products"."id" = 1060500705  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589767, 979460102) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339188) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339188], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.908012' WHERE "spree_products"."id" = 1060500705 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500705], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.910442' WHERE "spree_products"."id" = 1060500705  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589768, 979460103) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500705]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500705) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589766 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589767 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589768 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500705) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.924667' WHERE "spree_products"."id" = 1060500705  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589766 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.928162' WHERE "spree_products"."id" = 1060500705 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500705 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.929893' WHERE "spree_products"."id" = 1060500705  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589767 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.930786' WHERE "spree_products"."id" = 1060500705 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.931579' WHERE "spree_products"."id" = 1060500705  (2.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589768 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.934439' WHERE "spree_products"."id" = 1060500705 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500705) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:53.937119' WHERE "spree_products"."id" = 1060500705 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500705 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.946791' WHERE "spree_products"."id" = 1060500706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500706], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.947923' WHERE "spree_products"."id" = 1060500706  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589769 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:53.951506' WHERE "spree_products"."id" = 1060500706  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500706  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["product_id", nil], ["property_id", 905834984], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500706, "updated_at" = '2012-10-15 15:45:53.959181' WHERE "spree_product_properties"."id" = 1073273238 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500706) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500706 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500706, 558398553) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451535 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451535], ["updated_at", Mon, 15 Oct 2012 15:45:53 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500706, 558398555) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398553 AND "spree_taxons"."taxonomy_id" = 854451533 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398553]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398553], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451533], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398553]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398556]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398556 THEN 558398553 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398553]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398556]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398556 AND "spree_taxons"."taxonomy_id" = 854451533 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398556]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398556], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451533], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398556]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398557]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398557 THEN 558398556 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398556]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398557]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500706, 558398556)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500706, 558398557) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500706) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500706 AND "spree_option_types"."id" = 935339188 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500706) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["option_type_id", 935339188], ["position", 1], ["product_id", 1060500706], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.035175' WHERE "spree_products"."id" = 1060500706 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500706], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.037388' WHERE "spree_products"."id" = 1060500706  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589770, 979460101) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.040684' WHERE "spree_products"."id" = 1060500706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500706], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.041483' WHERE "spree_products"."id" = 1060500706  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589771, 979460102) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.043825' WHERE "spree_products"."id" = 1060500706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500706], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.044909' WHERE "spree_products"."id" = 1060500706  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589772, 979460103) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500706]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500706) LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589770 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589771 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589772 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500706) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.058418' WHERE "spree_products"."id" = 1060500706  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589770 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.059344' WHERE "spree_products"."id" = 1060500706 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.060182' WHERE "spree_products"."id" = 1060500706  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589771 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.061059' WHERE "spree_products"."id" = 1060500706 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500706 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.061907' WHERE "spree_products"."id" = 1060500706  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589772 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.062753' WHERE "spree_products"."id" = 1060500706 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500706) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:45:54.064855' WHERE "spree_products"."id" = 1060500706 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500706 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.071759' WHERE "spree_products"."id" = 1060500707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500707], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.072959' WHERE "spree_products"."id" = 1060500707  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589773 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.074002' WHERE "spree_products"."id" = 1060500707  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500707  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["product_id", nil], ["property_id", 905834985], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500707, "updated_at" = '2012-10-15 15:45:54.079565' WHERE "spree_product_properties"."id" = 1073273239 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["product_id", nil], ["property_id", 905834984], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500707, "updated_at" = '2012-10-15 15:45:54.081870' WHERE "spree_product_properties"."id" = 1073273240 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["product_id", nil], ["property_id", 905834986], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500707, "updated_at" = '2012-10-15 15:45:54.084310' WHERE "spree_product_properties"."id" = 1073273241 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500707) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451536 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451536], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500707 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500707, 558398558) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398553 AND "spree_taxons"."taxonomy_id" = 854451533 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398553]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398553], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451533], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398553]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398559]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398559 THEN 558398553 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398553]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398559]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500707, 558398559)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500707, 558398553) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500707) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500707 AND "spree_option_types"."id" = 935339188 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500707) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["option_type_id", 935339188], ["position", 1], ["product_id", 1060500707], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.110641' WHERE "spree_products"."id" = 1060500707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500707], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.111625' WHERE "spree_products"."id" = 1060500707  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589774, 979460101) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.113820' WHERE "spree_products"."id" = 1060500707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500707], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.114904' WHERE "spree_products"."id" = 1060500707  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589775, 979460102) Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339188 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.118811' WHERE "spree_products"."id" = 1060500707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500707], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.119988' WHERE "spree_products"."id" = 1060500707  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589776, 979460103) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500707]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500707 AND "spree_option_types"."id" = 935339189 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500707) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["option_type_id", 935339189], ["position", 2], ["product_id", 1060500707], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339189 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339189) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339189], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.131109' WHERE "spree_products"."id" = 1060500707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500707], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.132189' WHERE "spree_products"."id" = 1060500707  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589777, 979460104) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339189 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339189) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "colour"], ["option_type_id", 935339189], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.138018' WHERE "spree_products"."id" = 1060500707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500707], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.138984' WHERE "spree_products"."id" = 1060500707  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589778, 979460105) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500707]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500707) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589774 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589775 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589776 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589777 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589778 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500707) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.153676' WHERE "spree_products"."id" = 1060500707  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589774 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.154775' WHERE "spree_products"."id" = 1060500707 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.155808' WHERE "spree_products"."id" = 1060500707  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589775 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.156682' WHERE "spree_products"."id" = 1060500707 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.157562' WHERE "spree_products"."id" = 1060500707  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589776 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.158942' WHERE "spree_products"."id" = 1060500707 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.159818' WHERE "spree_products"."id" = 1060500707  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589777 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.160385' WHERE "spree_products"."id" = 1060500707 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.161539' WHERE "spree_products"."id" = 1060500707  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589778 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.162514' WHERE "spree_products"."id" = 1060500707 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500707) LIMIT 1  (0.9ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:45:54.165702' WHERE "spree_products"."id" = 1060500707 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500707 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.7ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500707 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589773) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500707)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (5.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (3.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.314777' WHERE "spree_products"."id" = 1060500708 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.316513' WHERE "spree_products"."id" = 1060500708  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589779 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.317960' WHERE "spree_products"."id" = 1060500708  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500708  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["product_id", nil], ["property_id", 905834987], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500708, "updated_at" = '2012-10-15 15:45:54.324832' WHERE "spree_product_properties"."id" = 1073273242 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451537], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500708 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500708, 558398560) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451538 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451538], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500708, 558398561) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500708 AND "spree_option_types"."id" = 935339190 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500708) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["option_type_id", 935339190], ["position", 1], ["product_id", 1060500708], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339190) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339190], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.350649' WHERE "spree_products"."id" = 1060500708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.351863' WHERE "spree_products"."id" = 1060500708  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589780, 979460106) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339190) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339190], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.355586' WHERE "spree_products"."id" = 1060500708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.356704' WHERE "spree_products"."id" = 1060500708  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589781, 979460107) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339190) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339190], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.360049' WHERE "spree_products"."id" = 1060500708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.361176' WHERE "spree_products"."id" = 1060500708  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589782, 979460108) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500708]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589780 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589781 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589782 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.371141' WHERE "spree_products"."id" = 1060500708  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589780 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.372186' WHERE "spree_products"."id" = 1060500708 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.373274' WHERE "spree_products"."id" = 1060500708  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589781 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.374085' WHERE "spree_products"."id" = 1060500708 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.374859' WHERE "spree_products"."id" = 1060500708  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589782 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:54.375566' WHERE "spree_products"."id" = 1060500708 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589779 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:54 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:55 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:45:56.114993' WHERE "spree_products"."id" = 1060500708 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500708 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.228288' WHERE "spree_products"."id" = 1060500709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.230203' WHERE "spree_products"."id" = 1060500709  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589783 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.231330' WHERE "spree_products"."id" = 1060500709  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500709  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["product_id", nil], ["property_id", 905834988], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500709, "updated_at" = '2012-10-15 15:45:56.237624' WHERE "spree_product_properties"."id" = 1073273243 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500709 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500709, 558398560) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451539], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500709, 558398562) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451540 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451540], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500709, 558398563) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500709 AND "spree_option_types"."id" = 935339190 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500709) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["option_type_id", 935339190], ["position", 1], ["product_id", 1060500709], ["updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.263067' WHERE "spree_products"."id" = 1060500709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.264438' WHERE "spree_products"."id" = 1060500709  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589784, 979460106) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.267327' WHERE "spree_products"."id" = 1060500709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.268473' WHERE "spree_products"."id" = 1060500709  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589785, 979460107) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.271152' WHERE "spree_products"."id" = 1060500709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.272177' WHERE "spree_products"."id" = 1060500709  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589786, 979460108) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500709]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589784 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589785 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589786 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.285585' WHERE "spree_products"."id" = 1060500709  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589784 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.286665' WHERE "spree_products"."id" = 1060500709 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.287941' WHERE "spree_products"."id" = 1060500709  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589785 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.288754' WHERE "spree_products"."id" = 1060500709 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.289561' WHERE "spree_products"."id" = 1060500709  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589786 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:45:56.290210' WHERE "spree_products"."id" = 1060500709 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589783 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (4.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:45:56 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:46:00 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign :  (1.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (7.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451537], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (4.4ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451537], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (3.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451537], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (2.4ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451538 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451538], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (4.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451538], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (1.9ms) commit transaction  (0.9ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451538], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (2.1ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451538 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451538 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451538 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451539], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451539], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 558398566, "updated_at" = '2012-10-15 15:46:01.805674' WHERE "spree_taxons"."id" = 558398567 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398566]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398567]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398567 THEN 558398566 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398566]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398567]]  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.5ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398566 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.906890' WHERE "spree_products"."id" = 1060500708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.909032' WHERE "spree_products"."id" = 1060500708  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589779 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.912280' WHERE "spree_products"."id" = 1060500708  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500708  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["product_id", nil], ["property_id", 905834987], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500708, "updated_at" = '2012-10-15 15:46:01.920280' WHERE "spree_product_properties"."id" = 1073273242 Created New ProductProperty # Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500708 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500708, 558398566) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451540 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451540], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500708, 558398568) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::OptionType Exists (2.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500708 AND "spree_option_types"."id" = 935339190 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500708) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["option_type_id", 935339190], ["position", 1], ["product_id", 1060500708], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339190) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339190], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.953941' WHERE "spree_products"."id" = 1060500708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.955281' WHERE "spree_products"."id" = 1060500708  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589780, 979460106) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339190) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339190], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.963430' WHERE "spree_products"."id" = 1060500708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.965275' WHERE "spree_products"."id" = 1060500708  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589781, 979460107) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339190) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339190], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.970281' WHERE "spree_products"."id" = 1060500708 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500708], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.972140' WHERE "spree_products"."id" = 1060500708  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589782, 979460108) Spree::Product Load (1.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500708]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589780 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589781 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589782 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.987171' WHERE "spree_products"."id" = 1060500708  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589780 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.988757' WHERE "spree_products"."id" = 1060500708 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.989615' WHERE "spree_products"."id" = 1060500708  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589781 SQL (2.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.990182' WHERE "spree_products"."id" = 1060500708 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.993636' WHERE "spree_products"."id" = 1060500708  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589782 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:01.994568' WHERE "spree_products"."id" = 1060500708 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500708) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:46:01.997142' WHERE "spree_products"."id" = 1060500708 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500708 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.004176' WHERE "spree_products"."id" = 1060500709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.006141' WHERE "spree_products"."id" = 1060500709  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589783 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.007482' WHERE "spree_products"."id" = 1060500709  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500709  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834988], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500709, "updated_at" = '2012-10-15 15:46:02.014606' WHERE "spree_product_properties"."id" = 1073273243 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500709 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500709, 558398566) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451541 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451541], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500709, 558398569) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398566 AND "spree_taxons"."taxonomy_id" = 854451539 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398566]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398566], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451539], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398566]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398570]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398570 THEN 558398566 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398566]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398570]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398570 AND "spree_taxons"."taxonomy_id" = 854451539 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398570]] SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398570], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451539], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398570]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398571]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398571 THEN 558398570 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398570]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398571]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500709, 558398570)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500709, 558398571) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500709 AND "spree_option_types"."id" = 935339190 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500709) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["option_type_id", 935339190], ["position", 1], ["product_id", 1060500709], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.051908' WHERE "spree_products"."id" = 1060500709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.052913' WHERE "spree_products"."id" = 1060500709  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589784, 979460106) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.056670' WHERE "spree_products"."id" = 1060500709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.057958' WHERE "spree_products"."id" = 1060500709  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589785, 979460107) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.061809' WHERE "spree_products"."id" = 1060500709 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500709], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.116283' WHERE "spree_products"."id" = 1060500709  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589786, 979460108) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500709]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589784 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589785 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589786 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.133004' WHERE "spree_products"."id" = 1060500709  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589784 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.134824' WHERE "spree_products"."id" = 1060500709 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.135907' WHERE "spree_products"."id" = 1060500709  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589785 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.136807' WHERE "spree_products"."id" = 1060500709 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.137613' WHERE "spree_products"."id" = 1060500709  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589786 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.138283' WHERE "spree_products"."id" = 1060500709 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500709) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:46:02.140644' WHERE "spree_products"."id" = 1060500709 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500709 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.147847' WHERE "spree_products"."id" = 1060500710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500710], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.148727' WHERE "spree_products"."id" = 1060500710  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589787 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.149958' WHERE "spree_products"."id" = 1060500710  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500710  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834989], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500710, "updated_at" = '2012-10-15 15:46:02.155163' WHERE "spree_product_properties"."id" = 1073273244 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834988], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500710, "updated_at" = '2012-10-15 15:46:02.156956' WHERE "spree_product_properties"."id" = 1073273245 Created New ProductProperty # Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834990], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500710, "updated_at" = '2012-10-15 15:46:02.160622' WHERE "spree_product_properties"."id" = 1073273246 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500710) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451542 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451542], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500710 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500710, 558398572) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398566 AND "spree_taxons"."taxonomy_id" = 854451539 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500710, 558398567)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500710, 558398566) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500710) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500710 AND "spree_option_types"."id" = 935339190 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500710) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["option_type_id", 935339190], ["position", 1], ["product_id", 1060500710], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.180511' WHERE "spree_products"."id" = 1060500710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500710], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.181639' WHERE "spree_products"."id" = 1060500710  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589788, 979460106) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.183983' WHERE "spree_products"."id" = 1060500710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500710], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.185284' WHERE "spree_products"."id" = 1060500710  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589789, 979460107) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339190 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.188262' WHERE "spree_products"."id" = 1060500710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500710], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.189167' WHERE "spree_products"."id" = 1060500710  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589790, 979460108) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500710]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500710 AND "spree_option_types"."id" = 935339191 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500710) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["option_type_id", 935339191], ["position", 2], ["product_id", 1060500710], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339191 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339191) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339191], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.198869' WHERE "spree_products"."id" = 1060500710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500710], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.200149' WHERE "spree_products"."id" = 1060500710  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589791, 979460109) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339191 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339191) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339191], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.215727' WHERE "spree_products"."id" = 1060500710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500710], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.219894' WHERE "spree_products"."id" = 1060500710  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589792, 979460110) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500710]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500710) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589788 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589789 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589790 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589791 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589792 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500710) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.235142' WHERE "spree_products"."id" = 1060500710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589788 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.236601' WHERE "spree_products"."id" = 1060500710 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.237523' WHERE "spree_products"."id" = 1060500710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589789 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.238701' WHERE "spree_products"."id" = 1060500710 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.239877' WHERE "spree_products"."id" = 1060500710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589790 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.240597' WHERE "spree_products"."id" = 1060500710 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.241450' WHERE "spree_products"."id" = 1060500710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589791 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.242115' WHERE "spree_products"."id" = 1060500710 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.243396' WHERE "spree_products"."id" = 1060500710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589792 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.244119' WHERE "spree_products"."id" = 1060500710 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500710) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:46:02.246891' WHERE "spree_products"."id" = 1060500710 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500710 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.4ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500708 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500708 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500709 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500709 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398566 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398570 LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398570 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398571 ORDER BY "lft" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451543 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451543], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (4.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451543], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558398573, "updated_at" = '2012-10-15 15:46:02.336439' WHERE "spree_taxons"."id" = 558398574 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398573]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398574]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398574 THEN 558398573 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398573]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398574]]  (1.8ms) commit transaction  (1.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398573 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.436951' WHERE "spree_products"."id" = 1060500711 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500711], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.439566' WHERE "spree_products"."id" = 1060500711  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589793 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.440927' WHERE "spree_products"."id" = 1060500711  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500711  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834991], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500711, "updated_at" = '2012-10-15 15:46:02.448287' WHERE "spree_product_properties"."id" = 1073273247 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451543 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500711 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500711, 558398573) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451544 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (3.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451544], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500711, 558398575) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500711 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500711) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["option_type_id", 935339192], ["position", 1], ["product_id", 1060500711], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339192) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339192], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.482111' WHERE "spree_products"."id" = 1060500711 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500711], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.485256' WHERE "spree_products"."id" = 1060500711  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589794, 979460111) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500711]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500711 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339192) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339192], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.496728' WHERE "spree_products"."id" = 1060500711 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500711], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.501481' WHERE "spree_products"."id" = 1060500711  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589795, 979460112) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500711]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500711 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339192) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339192], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.515524' WHERE "spree_products"."id" = 1060500711 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500711], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.516850' WHERE "spree_products"."id" = 1060500711  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589796, 979460113) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500711]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589794 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589795 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589796 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.534516' WHERE "spree_products"."id" = 1060500711  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589794 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.535428' WHERE "spree_products"."id" = 1060500711 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.536656' WHERE "spree_products"."id" = 1060500711  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589795 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.537826' WHERE "spree_products"."id" = 1060500711 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.539002' WHERE "spree_products"."id" = 1060500711  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589796 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.541159' WHERE "spree_products"."id" = 1060500711 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500711) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:46:02.544268' WHERE "spree_products"."id" = 1060500711 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500711 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.553389' WHERE "spree_products"."id" = 1060500712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500712], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.554495' WHERE "spree_products"."id" = 1060500712  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589797 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.556164' WHERE "spree_products"."id" = 1060500712  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500712  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834992], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500712, "updated_at" = '2012-10-15 15:46:02.562894' WHERE "spree_product_properties"."id" = 1073273248 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451543 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500712 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500712, 558398573) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451545 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451545], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500712, 558398576) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451543 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398573 AND "spree_taxons"."taxonomy_id" = 854451543 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398573]] SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398573], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451543], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398573]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398577]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398577 THEN 558398573 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398573]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398577]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398577 AND "spree_taxons"."taxonomy_id" = 854451543 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398577]] SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398577], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451543], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398577]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398578]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398578 THEN 558398577 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398577]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398578]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500712, 558398577)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500712, 558398578) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500712 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500712) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["option_type_id", 935339192], ["position", 1], ["product_id", 1060500712], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.609685' WHERE "spree_products"."id" = 1060500712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500712], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.610940' WHERE "spree_products"."id" = 1060500712  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589798, 979460111) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500712]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500712 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.620127' WHERE "spree_products"."id" = 1060500712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500712], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.621289' WHERE "spree_products"."id" = 1060500712  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589799, 979460112) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500712]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500712 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.629081' WHERE "spree_products"."id" = 1060500712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500712], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.630044' WHERE "spree_products"."id" = 1060500712  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589800, 979460113) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500712]] Current value to assign : Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589798 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589799 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589800 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.645400' WHERE "spree_products"."id" = 1060500712  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589798 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.646421' WHERE "spree_products"."id" = 1060500712 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.648642' WHERE "spree_products"."id" = 1060500712  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589799 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.649435' WHERE "spree_products"."id" = 1060500712 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.650338' WHERE "spree_products"."id" = 1060500712  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589800 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.651452' WHERE "spree_products"."id" = 1060500712 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500712) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:46:02.654772' WHERE "spree_products"."id" = 1060500712 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500712 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (2.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.665859' WHERE "spree_products"."id" = 1060500713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500713], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.667025' WHERE "spree_products"."id" = 1060500713  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589801 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.668427' WHERE "spree_products"."id" = 1060500713  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500713  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834993], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500713, "updated_at" = '2012-10-15 15:46:02.675290' WHERE "spree_product_properties"."id" = 1073273249 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834992], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500713, "updated_at" = '2012-10-15 15:46:02.678563' WHERE "spree_product_properties"."id" = 1073273250 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834994], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500713, "updated_at" = '2012-10-15 15:46:02.682567' WHERE "spree_product_properties"."id" = 1073273251 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451546 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451546], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500713 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500713, 558398579) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451543 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398573 AND "spree_taxons"."taxonomy_id" = 854451543 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500713, 558398574)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500713, 558398573) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500713 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500713) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["option_type_id", 935339192], ["position", 1], ["product_id", 1060500713], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.706122' WHERE "spree_products"."id" = 1060500713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500713], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.707279' WHERE "spree_products"."id" = 1060500713  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589802, 979460111) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500713]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500713 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.712872' WHERE "spree_products"."id" = 1060500713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500713], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.713964' WHERE "spree_products"."id" = 1060500713  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589803, 979460112) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500713]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500713 AND "spree_option_types"."id" = 935339192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339192 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.721802' WHERE "spree_products"."id" = 1060500713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500713], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.722910' WHERE "spree_products"."id" = 1060500713  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589804, 979460113) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500713]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500713 AND "spree_option_types"."id" = 935339193 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500713) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["option_type_id", 935339193], ["position", 2], ["product_id", 1060500713], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339193 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339193) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339193], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.734902' WHERE "spree_products"."id" = 1060500713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500713], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.736107' WHERE "spree_products"."id" = 1060500713  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589805, 979460114) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500713]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500713 AND "spree_option_types"."id" = 935339193 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339193 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339193) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339193], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.745291' WHERE "spree_products"."id" = 1060500713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500713], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.746430' WHERE "spree_products"."id" = 1060500713  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589806, 979460115) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500713]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589802 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589803 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589804 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589805 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589806 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.759648' WHERE "spree_products"."id" = 1060500713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589802 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.760744' WHERE "spree_products"."id" = 1060500713 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.761613' WHERE "spree_products"."id" = 1060500713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589803 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.762291' WHERE "spree_products"."id" = 1060500713 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.763697' WHERE "spree_products"."id" = 1060500713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589804 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.764498' WHERE "spree_products"."id" = 1060500713 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.765609' WHERE "spree_products"."id" = 1060500713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589805 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.766487' WHERE "spree_products"."id" = 1060500713 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.767339' WHERE "spree_products"."id" = 1060500713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589806 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.768041' WHERE "spree_products"."id" = 1060500713 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500713) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:46:02.770478' WHERE "spree_products"."id" = 1060500713 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500713 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.0ms) commit transaction Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (57.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500711 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500711 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500712 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500712 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451543 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398573 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451543 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398577 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398577 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398578 ORDER BY "lft" SQL (5.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451547 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451547], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (2.8ms) commit transaction  (0.3ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451547], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]]  (2.1ms) commit transaction  (0.4ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "parent_id" = 558398580, "updated_at" = '2012-10-15 15:46:02.933012' WHERE "spree_taxons"."id" = 558398581 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398580]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398581]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398581 THEN 558398580 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398580]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398581]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.3ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398580 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.968839' WHERE "spree_products"."id" = 1060500714 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500714], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.970241' WHERE "spree_products"."id" = 1060500714  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589807 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:02.971294' WHERE "spree_products"."id" = 1060500714  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500714  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905834995], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500714, "updated_at" = '2012-10-15 15:46:02.978190' WHERE "spree_product_properties"."id" = 1073273252 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451547 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500714 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500714, 558398580) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451548 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451548], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500714, 558398582) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:46:02 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500714 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500714) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["option_type_id", 935339194], ["position", 1], ["product_id", 1060500714], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339194) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339194], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.004430' WHERE "spree_products"."id" = 1060500714 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500714], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.006226' WHERE "spree_products"."id" = 1060500714  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589808, 979460116) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500714]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (3.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500714 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339194) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339194], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.018145' WHERE "spree_products"."id" = 1060500714 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500714], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.019294' WHERE "spree_products"."id" = 1060500714  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589809, 979460117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500714]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500714 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339194) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339194], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.029587' WHERE "spree_products"."id" = 1060500714 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500714], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.030691' WHERE "spree_products"."id" = 1060500714  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589810, 979460118) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500714]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589808 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589809 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589810 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.047172' WHERE "spree_products"."id" = 1060500714  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589808 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.048245' WHERE "spree_products"."id" = 1060500714 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.049372' WHERE "spree_products"."id" = 1060500714  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589809 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.050165' WHERE "spree_products"."id" = 1060500714 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.051079' WHERE "spree_products"."id" = 1060500714  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589810 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.051933' WHERE "spree_products"."id" = 1060500714 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500714) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:46:03.055114' WHERE "spree_products"."id" = 1060500714 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.062684' WHERE "spree_products"."id" = 1060500715 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500715], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.148876' WHERE "spree_products"."id" = 1060500715  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589811 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.151404' WHERE "spree_products"."id" = 1060500715  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500715  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["product_id", nil], ["property_id", 905834996], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500715, "updated_at" = '2012-10-15 15:46:03.158673' WHERE "spree_product_properties"."id" = 1073273253 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451547 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500715 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500715, 558398580) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451549 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451549], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500715, 558398583) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451547 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398580 AND "spree_taxons"."taxonomy_id" = 854451547 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398580]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398580], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451547], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398580]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398584]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398584 THEN 558398580 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398580]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398584]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398584 AND "spree_taxons"."taxonomy_id" = 854451547 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398584]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398584], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451547], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398584]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398585]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398585 THEN 558398584 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398584]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398585]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500715, 558398584)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500715, 558398585) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500715 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500715) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["option_type_id", 935339194], ["position", 1], ["product_id", 1060500715], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.198653' WHERE "spree_products"."id" = 1060500715 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500715], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.199560' WHERE "spree_products"."id" = 1060500715  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589812, 979460116) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500715]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500715 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 SQL (3.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.206250' WHERE "spree_products"."id" = 1060500715 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500715], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.211689' WHERE "spree_products"."id" = 1060500715  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589813, 979460117) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500715]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500715 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.222297' WHERE "spree_products"."id" = 1060500715 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500715], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.223491' WHERE "spree_products"."id" = 1060500715  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589814, 979460118) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500715]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589812 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589813 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589814 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.245563' WHERE "spree_products"."id" = 1060500715  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589812 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.246639' WHERE "spree_products"."id" = 1060500715 Spree::Product Load (67.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.315094' WHERE "spree_products"."id" = 1060500715  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589813 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.316048' WHERE "spree_products"."id" = 1060500715 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.317084' WHERE "spree_products"."id" = 1060500715  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589814 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.317981' WHERE "spree_products"."id" = 1060500715 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500715) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:46:03.321039' WHERE "spree_products"."id" = 1060500715 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.329539' WHERE "spree_products"."id" = 1060500716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500716], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.330629' WHERE "spree_products"."id" = 1060500716  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589815 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.332298' WHERE "spree_products"."id" = 1060500716  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500716  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["product_id", nil], ["property_id", 905834997], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500716, "updated_at" = '2012-10-15 15:46:03.337841' WHERE "spree_product_properties"."id" = 1073273254 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["product_id", nil], ["property_id", 905834996], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500716, "updated_at" = '2012-10-15 15:46:03.340652' WHERE "spree_product_properties"."id" = 1073273255 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["product_id", nil], ["property_id", 905834998], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500716, "updated_at" = '2012-10-15 15:46:03.343813' WHERE "spree_product_properties"."id" = 1073273256 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451550 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451550], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500716 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500716, 558398586) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451547 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398580 AND "spree_taxons"."taxonomy_id" = 854451547 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500716, 558398581)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500716, 558398580) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500716 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500716) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["option_type_id", 935339194], ["position", 1], ["product_id", 1060500716], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.364138' WHERE "spree_products"."id" = 1060500716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500716], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.365848' WHERE "spree_products"."id" = 1060500716  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589816, 979460116) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500716]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500716 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.372697' WHERE "spree_products"."id" = 1060500716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500716], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.373700' WHERE "spree_products"."id" = 1060500716  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589817, 979460117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500716]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::OptionType Load (2.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500716 AND "spree_option_types"."id" = 935339194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339194 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.382082' WHERE "spree_products"."id" = 1060500716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500716], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.383283' WHERE "spree_products"."id" = 1060500716  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589818, 979460118) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500716]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500716 AND "spree_option_types"."id" = 935339195 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500716) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["option_type_id", 935339195], ["position", 2], ["product_id", 1060500716], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339195 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339195) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339195], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.394134' WHERE "spree_products"."id" = 1060500716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500716], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.395269' WHERE "spree_products"."id" = 1060500716  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589819, 979460119) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500716]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500716 AND "spree_option_types"."id" = 935339195 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339195 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339195) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00], ["name", "colour"], ["option_type_id", 935339195], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:46:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.404020' WHERE "spree_products"."id" = 1060500716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500716], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.405250' WHERE "spree_products"."id" = 1060500716  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589820, 979460120) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500716]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589816 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589817 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589818 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589819 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589820 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.562185' WHERE "spree_products"."id" = 1060500716  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589816 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.563230' WHERE "spree_products"."id" = 1060500716 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.564261' WHERE "spree_products"."id" = 1060500716  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589817 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.565479' WHERE "spree_products"."id" = 1060500716 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.566529' WHERE "spree_products"."id" = 1060500716  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589818 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.567397' WHERE "spree_products"."id" = 1060500716 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.568858' WHERE "spree_products"."id" = 1060500716  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589819 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.569952' WHERE "spree_products"."id" = 1060500716 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.571568' WHERE "spree_products"."id" = 1060500716  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589820 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:03.572561' WHERE "spree_products"."id" = 1060500716 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500716) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:46:03.575109' WHERE "spree_products"."id" = 1060500716  (829.2ms) commit transaction Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.7ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.7ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500714 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500714 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500715 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500715 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451547 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398580 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451547 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398584 LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398584 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398585 ORDER BY "lft" SQL (4.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500717 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.626310' WHERE "spree_products"."id" = 1060500717 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500717], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.627709' WHERE "spree_products"."id" = 1060500717  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589821 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.628947' WHERE "spree_products"."id" = 1060500717  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500717 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500717  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451551], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398587 AND "spree_taxons"."taxonomy_id" = 854451551 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398587]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398587], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451551], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398587]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398588]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398588 THEN 558398587 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398587]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398588]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500717 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500717, 558398588)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500717, 558398587) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500717) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451552 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451552], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500717, 558398589) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500717) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589821 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500717) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-15 15:46:04.667021' WHERE "spree_products"."id" = 1060500717  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589821 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.668821' WHERE "spree_products"."id" = 1060500717 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500717 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060500717 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.676119' WHERE "spree_products"."id" = 1060500718 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500718], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.677315' WHERE "spree_products"."id" = 1060500718  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589822 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.681587' WHERE "spree_products"."id" = 1060500718  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500718 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500718  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500718 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500718, 558398587) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500718) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451553 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451553], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500718, 558398590) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500718) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398587 AND "spree_taxons"."taxonomy_id" = 854451551 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398587]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398587], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451551], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398587]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398591]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398591 THEN 558398587 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398587]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398591]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398591 AND "spree_taxons"."taxonomy_id" = 854451551 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398591]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398591], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451551], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398591]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398592]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398592 THEN 558398591 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398591]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398592]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500718, 558398591)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500718, 558398592) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500718) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589822 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500718) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:46:04.719609' WHERE "spree_products"."id" = 1060500718  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589822 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.720806' WHERE "spree_products"."id" = 1060500718 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500718 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060500718 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500719 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.819902' WHERE "spree_products"."id" = 1060500719 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500719], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.820984' WHERE "spree_products"."id" = 1060500719  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589823 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.822576' WHERE "spree_products"."id" = 1060500719  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500719 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500719  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451554 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451554], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398593 AND "spree_taxons"."taxonomy_id" = 854451554 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398593]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398593], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451554], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398593]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398594]] SQL (1.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398594 THEN 558398593 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398593]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398594]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500719 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500719, 558398594)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500719, 558398593) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500719) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451555], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500719, 558398595) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500719) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589823 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500719) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-15 15:46:04.899713' WHERE "spree_products"."id" = 1060500719  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589823 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.901660' WHERE "spree_products"."id" = 1060500719 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500719 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060500719 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500720 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.909601' WHERE "spree_products"."id" = 1060500720 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500720], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.910721' WHERE "spree_products"."id" = 1060500720  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589824 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:04.912179' WHERE "spree_products"."id" = 1060500720  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500720 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500720  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451554 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398593 AND "spree_taxons"."taxonomy_id" = 854451554 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500720 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500720, 558398594)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500720, 558398593) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500720) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398587 AND "spree_taxons"."taxonomy_id" = 854451551 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398591 AND "spree_taxons"."taxonomy_id" = 854451551 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398591]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398591], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451551], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398591]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398596]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398596 THEN 558398591 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398591]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398596]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398596 AND "spree_taxons"."taxonomy_id" = 854451551 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398596]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398596], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451551], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398596]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398597]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398597 THEN 558398596 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398596]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398597]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500720, 558398591)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500720, 558398596)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500720, 558398597)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500720, 558398587) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500720) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589824 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500720) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:46:05.033748' WHERE "spree_products"."id" = 1060500720  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589824 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.035319' WHERE "spree_products"."id" = 1060500720 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500720 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060500720 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500721 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.042264' WHERE "spree_products"."id" = 1060500721 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500721], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.043820' WHERE "spree_products"."id" = 1060500721  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589825 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.045377' WHERE "spree_products"."id" = 1060500721  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500721 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500721  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451554 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398593 AND "spree_taxons"."taxonomy_id" = 854451554 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398594 AND "spree_taxons"."taxonomy_id" = 854451554 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398594]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398594], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451554], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398594]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398598]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398598 THEN 558398594 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398594]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398598]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500721 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500721, 558398594)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500721, 558398598)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500721, 558398593) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500721) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451553 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500721, 558398590) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500721) LIMIT 1 Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589825 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500721) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:46:05.069156' WHERE "spree_products"."id" = 1060500721  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589825 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.070751' WHERE "spree_products"."id" = 1060500721 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500721 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060500721 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451552 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451553 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451554 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451551 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398587 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398587) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398591 ORDER BY "lft"  (0.3ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398591) Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398591) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398587 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398591 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398596 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398597 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398596) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (99.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451554 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451554 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398594 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398594 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398598 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398598) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451553 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451553 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398590 ORDER BY "lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451555 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398595 ORDER BY "lft" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500722 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.270876' WHERE "spree_products"."id" = 1060500722 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500722], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.272087' WHERE "spree_products"."id" = 1060500722  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589826 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.273214' WHERE "spree_products"."id" = 1060500722  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500722 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500722  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451556 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451556], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398599 AND "spree_taxons"."taxonomy_id" = 854451556 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398599]] SQL (1.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398599], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451556], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398599]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398600]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398600 THEN 558398599 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398599]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398600]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500722 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500722, 558398600)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500722, 558398599) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500722) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451557 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451557], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500722, 558398601) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500722) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589826 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500722) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-15 15:46:05.302804' WHERE "spree_products"."id" = 1060500722  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589826 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.304500' WHERE "spree_products"."id" = 1060500722 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500722 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.310792' WHERE "spree_products"."id" = 1060500723 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500723], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.339309' WHERE "spree_products"."id" = 1060500723  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589827 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.340770' WHERE "spree_products"."id" = 1060500723  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500723 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500723  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451556 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500723 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500723, 558398599) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500723) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451558 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451558], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500723, 558398602) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500723) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451556 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398599 AND "spree_taxons"."taxonomy_id" = 854451556 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398599]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398599], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451556], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398599]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398603]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398603 THEN 558398599 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398599]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398603]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398603 AND "spree_taxons"."taxonomy_id" = 854451556 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398603]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398603], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451556], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398603]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398604]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398604 THEN 558398603 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398603]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398604]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500723, 558398603)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500723, 558398604) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500723) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589827 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500723) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:46:05.371628' WHERE "spree_products"."id" = 1060500723  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589827 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.373324' WHERE "spree_products"."id" = 1060500723 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500723 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.379936' WHERE "spree_products"."id" = 1060500724 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500724], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.381462' WHERE "spree_products"."id" = 1060500724  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589828 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.384213' WHERE "spree_products"."id" = 1060500724  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500724 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500724  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451559], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398605 AND "spree_taxons"."taxonomy_id" = 854451559 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398605]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398605], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451559], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398605]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398606]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398606 THEN 558398605 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398605]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398606]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500724 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500724, 558398606)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500724, 558398605) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500724) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451560 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451560], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500724, 558398607) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500724) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589828 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500724) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-15 15:46:05.418739' WHERE "spree_products"."id" = 1060500724  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589828 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.420139' WHERE "spree_products"."id" = 1060500724 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500724 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500725 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.428001' WHERE "spree_products"."id" = 1060500725 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500725], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.429302' WHERE "spree_products"."id" = 1060500725  (1.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589829 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.431788' WHERE "spree_products"."id" = 1060500725  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500725 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500725  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398605 AND "spree_taxons"."taxonomy_id" = 854451559 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500725 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500725, 558398606)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500725, 558398605) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500725) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451556 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398599 AND "spree_taxons"."taxonomy_id" = 854451556 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398603 AND "spree_taxons"."taxonomy_id" = 854451556 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398603]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398603], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451556], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398603]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398608]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398608 THEN 558398603 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398603]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398608]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398608 AND "spree_taxons"."taxonomy_id" = 854451556 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398608]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398608], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451556], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398608]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398609]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398609 THEN 558398608 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398608]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398609]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500725, 558398603)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500725, 558398608)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500725, 558398609)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500725, 558398599) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500725) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589829 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500725) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:46:05.525832' WHERE "spree_products"."id" = 1060500725  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589829 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.527325' WHERE "spree_products"."id" = 1060500725 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500725 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500726 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.533610' WHERE "spree_products"."id" = 1060500726 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500726], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.534643' WHERE "spree_products"."id" = 1060500726  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589830 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.535714' WHERE "spree_products"."id" = 1060500726  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500726 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500726  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (183.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398605 AND "spree_taxons"."taxonomy_id" = 854451559 LIMIT 1 Spree::Taxon Load (1.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398606 AND "spree_taxons"."taxonomy_id" = 854451559 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398606]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398606], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451559], ["updated_at", Mon, 15 Oct 2012 15:46:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398606]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398610]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398610 THEN 558398606 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398606]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398610]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500726 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500726, 558398606)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500726, 558398610)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500726, 558398605) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500726) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451558 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500726, 558398602) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500726) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589830 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500726) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:46:05.747660' WHERE "spree_products"."id" = 1060500726  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013589830 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:46:05.750048' WHERE "spree_products"."id" = 1060500726 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500726  (9.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451556 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451557 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451558 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451560 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451556 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451556 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398599 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398599) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398603 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398603) Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398603) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398599 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398603 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398608 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398609 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398608) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451559 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451559 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398606 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398606 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398610 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398610) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451558 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451558 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398602 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451560 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451560 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398607 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (8.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (3.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (3.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (74.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (5.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (43.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451561 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451561], ["updated_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451561], ["updated_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00]]  (4.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451561], ["updated_at", Mon, 15 Oct 2012 15:54:25 UTC +00:00]]  (1.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (36.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451562 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451562], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451562], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451562], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]]  (3.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.4ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (21.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451563 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451563], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451563], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]]  (3.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451563], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00]]  (2.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (24.2ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.1ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.8ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 27 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 27 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 28 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 28 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 29 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 29 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:54:26 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 30 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 30 Current value to assign : Current value to assign :  (4.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (23.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 31 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 32 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 33 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 34  (5.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (21.2ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500727 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.304983' WHERE "spree_products"."id" = 1060500727 SQL (1.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500727], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.308767' WHERE "spree_products"."id" = 1060500727  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589831 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.311501' WHERE "spree_products"."id" = 1060500727  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500727 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500727  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589831 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500727) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Exists (2.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500727 AND "spree_option_types"."id" = 935339196 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500727) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339196], ["position", 1], ["product_id", 1060500727], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500727) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:54:27.431842' WHERE "spree_products"."id" = 1060500727  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589831 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.433752' WHERE "spree_products"."id" = 1060500727 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500727 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060500727 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500728 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.440419' WHERE "spree_products"."id" = 1060500728 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500728], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.441946' WHERE "spree_products"."id" = 1060500728  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589832 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.443310' WHERE "spree_products"."id" = 1060500728  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500728 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500728  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589832 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500728) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500728 AND "spree_option_types"."id" = 935339196 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500728) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339196], ["position", 1], ["product_id", 1060500728], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500728) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:54:27.454041' WHERE "spree_products"."id" = 1060500728  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589832 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.456018' WHERE "spree_products"."id" = 1060500728 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500728 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060500728 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.462180' WHERE "spree_products"."id" = 1060500729 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500729], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.463069' WHERE "spree_products"."id" = 1060500729  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589833 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.464778' WHERE "spree_products"."id" = 1060500729  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500729 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500729  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589833 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500729) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500729 AND "spree_option_types"."id" = 935339196 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500729) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339196], ["position", 1], ["product_id", 1060500729], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500729 AND "spree_option_types"."id" = 935339197 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500729) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339197], ["position", 2], ["product_id", 1060500729], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500729) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:54:27.479651' WHERE "spree_products"."id" = 1060500729  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589833 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.481103' WHERE "spree_products"."id" = 1060500729 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500729 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060500729 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (2.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:54:27.491544')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:54:27.492035')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500727 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500727 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500729 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500730 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.628742' WHERE "spree_products"."id" = 1060500730 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500730], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.630577' WHERE "spree_products"."id" = 1060500730  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589834 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.632172' WHERE "spree_products"."id" = 1060500730  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500730 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500730  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589834 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500730) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Exists (3.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500730 AND "spree_option_types"."id" = 935339198 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500730) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339198], ["position", 1], ["product_id", 1060500730], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500730) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-15 15:54:27.670019' WHERE "spree_products"."id" = 1060500730  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589834 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.672483' WHERE "spree_products"."id" = 1060500730 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500730 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.703310' WHERE "spree_products"."id" = 1060500731 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500731], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.704589' WHERE "spree_products"."id" = 1060500731  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589835 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.706174' WHERE "spree_products"."id" = 1060500731  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500731 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500731  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589835 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500731) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500731 AND "spree_option_types"."id" = 935339198 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500731) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339198], ["position", 1], ["product_id", 1060500731], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500731) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:54:27.718117' WHERE "spree_products"."id" = 1060500731  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589835 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.719731' WHERE "spree_products"."id" = 1060500731 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500731 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500732 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.726907' WHERE "spree_products"."id" = 1060500732 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500732], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.728400' WHERE "spree_products"."id" = 1060500732  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589836 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.729899' WHERE "spree_products"."id" = 1060500732  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500732 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500732  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589836 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500732) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500732 AND "spree_option_types"."id" = 935339198 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500732) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339198], ["position", 1], ["product_id", 1060500732], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500732 AND "spree_option_types"."id" = 935339199 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500732) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339199], ["position", 2], ["product_id", 1060500732], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500732) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-15 15:54:27.748139' WHERE "spree_products"."id" = 1060500732  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013589836 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.749720' WHERE "spree_products"."id" = 1060500732 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500732  (5.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-15 15:54:27.758268')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-15 15:54:27.758849')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500730 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.6ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500730 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500732 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:54:27 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500733 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.873194' WHERE "spree_products"."id" = 1060500733 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500733], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.874532' WHERE "spree_products"."id" = 1060500733  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589837 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.875851' WHERE "spree_products"."id" = 1060500733  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500733 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500733  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500733 AND "spree_option_types"."id" = 935339200 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500733) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339200], ["position", 1], ["product_id", 1060500733], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500733) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500733 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:54:27 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.911958' WHERE "spree_products"."id" = 1060500734 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500734], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.913195' WHERE "spree_products"."id" = 1060500734  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589838 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.914365' WHERE "spree_products"."id" = 1060500734  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500734 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500734  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500734 AND "spree_option_types"."id" = 935339200 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500734) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339200], ["position", 1], ["product_id", 1060500734], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500734) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500734 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 15 Oct 2012 16:54:27 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.948681' WHERE "spree_products"."id" = 1060500735 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500735], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.949844' WHERE "spree_products"."id" = 1060500735  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589839 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:27.951199' WHERE "spree_products"."id" = 1060500735  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500735 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500735  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500735 AND "spree_option_types"."id" = 935339200 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500735) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339200], ["position", 1], ["product_id", 1060500735], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500735 AND "spree_option_types"."id" = 935339201 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500735) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00], ["option_type_id", 935339201], ["position", 2], ["product_id", 1060500735], ["updated_at", Mon, 15 Oct 2012 15:54:27 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500735) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500735 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500733 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (21.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (23.9ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500736 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.066337' WHERE "spree_products"."id" = 1060500736 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500736], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.067657' WHERE "spree_products"."id" = 1060500736  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589840 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.068982' WHERE "spree_products"."id" = 1060500736  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500736 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500736  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500736 AND "spree_option_types"."id" = 935339202 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500736) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339202], ["position", 1], ["product_id", 1060500736], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500736) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500736 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.107364' WHERE "spree_products"."id" = 1060500737 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500737], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.108462' WHERE "spree_products"."id" = 1060500737  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589841 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.109591' WHERE "spree_products"."id" = 1060500737  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500737 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500737  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (20.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500737 AND "spree_option_types"."id" = 935339202 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500737) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339202], ["position", 1], ["product_id", 1060500737], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500737) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500737 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.144407' WHERE "spree_products"."id" = 1060500738 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500738], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.145588' WHERE "spree_products"."id" = 1060500738  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589842 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.146919' WHERE "spree_products"."id" = 1060500738  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500738 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500738  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500738 AND "spree_option_types"."id" = 935339202 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500738) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339202], ["position", 1], ["product_id", 1060500738], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500738 AND "spree_option_types"."id" = 935339203 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500738) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339203], ["position", 2], ["product_id", 1060500738], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500738) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500738 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500736 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.7ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500739 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.309279' WHERE "spree_products"."id" = 1060500739 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500739], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.311037' WHERE "spree_products"."id" = 1060500739  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589843 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.332988' WHERE "spree_products"."id" = 1060500739  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500739  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["product_id", nil], ["property_id", 905834999], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500739, "updated_at" = '2012-10-15 15:54:28.352834' WHERE "spree_product_properties"."id" = 1073273257 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500739) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451564 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451564], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500739 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500739, 558398620) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451565 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451565], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500739, 558398621) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500739) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500739 AND "spree_option_types"."id" = 935339204 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500739) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339204], ["position", 1], ["product_id", 1060500739], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339204) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339204], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.436433' WHERE "spree_products"."id" = 1060500739 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500739], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.437702' WHERE "spree_products"."id" = 1060500739  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589844, 979460121) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339204) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339204], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.465547' WHERE "spree_products"."id" = 1060500739 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500739], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.466724' WHERE "spree_products"."id" = 1060500739  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589845, 979460122) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339204) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339204], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.470478' WHERE "spree_products"."id" = 1060500739 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500739], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.471656' WHERE "spree_products"."id" = 1060500739  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589846, 979460123) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500739]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500739) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589844 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589845 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589846 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500739) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.484328' WHERE "spree_products"."id" = 1060500739  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589844 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.485296' WHERE "spree_products"."id" = 1060500739 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.486624' WHERE "spree_products"."id" = 1060500739  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589845 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.487432' WHERE "spree_products"."id" = 1060500739 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.488367' WHERE "spree_products"."id" = 1060500739  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589846 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.489348' WHERE "spree_products"."id" = 1060500739 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500739) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:28.491559' WHERE "spree_products"."id" = 1060500739 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500739 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.499399' WHERE "spree_products"."id" = 1060500740 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500740], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.500413' WHERE "spree_products"."id" = 1060500740  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589847 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.501624' WHERE "spree_products"."id" = 1060500740  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500740  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["product_id", nil], ["property_id", 905835000], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500740, "updated_at" = '2012-10-15 15:54:28.507064' WHERE "spree_product_properties"."id" = 1073273258 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500740) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451564 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500740 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500740, 558398620) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451566 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451566], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500740, 558398622) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451564 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398620 AND "spree_taxons"."taxonomy_id" = 854451564 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398620]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398620], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451564], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398620]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398623]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398623 THEN 558398620 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398620]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398623]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398623 AND "spree_taxons"."taxonomy_id" = 854451564 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398623]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398623], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451564], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398623]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398624]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398624 THEN 558398623 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398623]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398624]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500740, 558398623)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500740, 558398624) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500740) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500740 AND "spree_option_types"."id" = 935339204 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500740) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339204], ["position", 1], ["product_id", 1060500740], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.538033' WHERE "spree_products"."id" = 1060500740 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500740], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.539055' WHERE "spree_products"."id" = 1060500740  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589848, 979460121) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.541128' WHERE "spree_products"."id" = 1060500740 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500740], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.542303' WHERE "spree_products"."id" = 1060500740  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589849, 979460122) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.544552' WHERE "spree_products"."id" = 1060500740 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500740], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.545627' WHERE "spree_products"."id" = 1060500740  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589850, 979460123) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500740]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500740) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589848 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589849 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589850 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500740) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.560973' WHERE "spree_products"."id" = 1060500740  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589848 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.562369' WHERE "spree_products"."id" = 1060500740 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.563440' WHERE "spree_products"."id" = 1060500740  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589849 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.564211' WHERE "spree_products"."id" = 1060500740 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.565044' WHERE "spree_products"."id" = 1060500740  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589850 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.565932' WHERE "spree_products"."id" = 1060500740 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500740) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:28.568062' WHERE "spree_products"."id" = 1060500740 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500740 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.574306' WHERE "spree_products"."id" = 1060500741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500741], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.575729' WHERE "spree_products"."id" = 1060500741  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589851 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.577637' WHERE "spree_products"."id" = 1060500741  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500741  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["product_id", nil], ["property_id", 905835001], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500741, "updated_at" = '2012-10-15 15:54:28.583147' WHERE "spree_product_properties"."id" = 1073273259 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["product_id", nil], ["property_id", 905835000], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500741, "updated_at" = '2012-10-15 15:54:28.585257' WHERE "spree_product_properties"."id" = 1073273260 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["product_id", nil], ["property_id", 905835002], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500741, "updated_at" = '2012-10-15 15:54:28.588090' WHERE "spree_product_properties"."id" = 1073273261 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500741) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451567 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451567], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500741 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500741, 558398625) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451564 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398620 AND "spree_taxons"."taxonomy_id" = 854451564 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398620]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398620], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451564], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398620]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398626]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398626 THEN 558398620 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398620]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398626]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500741, 558398626)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500741, 558398620) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500741) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500741 AND "spree_option_types"."id" = 935339204 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500741) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339204], ["position", 1], ["product_id", 1060500741], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.613405' WHERE "spree_products"."id" = 1060500741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500741], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.614683' WHERE "spree_products"."id" = 1060500741  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589852, 979460121) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.616784' WHERE "spree_products"."id" = 1060500741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500741], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.617756' WHERE "spree_products"."id" = 1060500741  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589853, 979460122) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339204 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.619788' WHERE "spree_products"."id" = 1060500741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500741], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.620641' WHERE "spree_products"."id" = 1060500741  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589854, 979460123) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500741]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500741 AND "spree_option_types"."id" = 935339205 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500741) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339205], ["position", 2], ["product_id", 1060500741], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339205 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339205) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339205], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.631030' WHERE "spree_products"."id" = 1060500741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500741], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.632043' WHERE "spree_products"."id" = 1060500741  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589855, 979460124) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339205 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339205) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "colour"], ["option_type_id", 935339205], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.636871' WHERE "spree_products"."id" = 1060500741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500741], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.637921' WHERE "spree_products"."id" = 1060500741  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589856, 979460125) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500741]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500741) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589852 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589853 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589854 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589855 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589856 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500741) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.671915' WHERE "spree_products"."id" = 1060500741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589852 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.672841' WHERE "spree_products"."id" = 1060500741 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.673958' WHERE "spree_products"."id" = 1060500741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589853 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.674840' WHERE "spree_products"."id" = 1060500741 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.675878' WHERE "spree_products"."id" = 1060500741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589854 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.676849' WHERE "spree_products"."id" = 1060500741 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.677865' WHERE "spree_products"."id" = 1060500741  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589855 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.679159' WHERE "spree_products"."id" = 1060500741 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.679974' WHERE "spree_products"."id" = 1060500741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589856 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.680835' WHERE "spree_products"."id" = 1060500741 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500741) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:28.683348' WHERE "spree_products"."id" = 1060500741 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500741 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500739 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500741 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.5ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500741 SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]]  (1.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500742 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.842045' WHERE "spree_products"."id" = 1060500742 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500742], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.843630' WHERE "spree_products"."id" = 1060500742  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589857 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.864111' WHERE "spree_products"."id" = 1060500742  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500742  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["product_id", nil], ["property_id", 905835003], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500742, "updated_at" = '2012-10-15 15:54:28.869628' WHERE "spree_product_properties"."id" = 1073273262 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451568], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500742 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500742, 558398627) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451569 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451569], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500742, 558398628) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500742 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500742) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["option_type_id", 935339206], ["position", 1], ["product_id", 1060500742], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339206) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339206], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.902230' WHERE "spree_products"."id" = 1060500742 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500742], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.904052' WHERE "spree_products"."id" = 1060500742  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589858, 979460126) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500742]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500742 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339206) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339206], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.912079' WHERE "spree_products"."id" = 1060500742 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500742], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.913277' WHERE "spree_products"."id" = 1060500742  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589859, 979460127) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500742]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500742 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1 Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339206) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339206], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.941039' WHERE "spree_products"."id" = 1060500742 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500742], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.941933' WHERE "spree_products"."id" = 1060500742  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589860, 979460128) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500742]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589858 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589859 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589860 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1  (1.8ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:28.999717' WHERE "spree_products"."id" = 1060500742  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589858 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.000989' WHERE "spree_products"."id" = 1060500742 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.002003' WHERE "spree_products"."id" = 1060500742  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589859 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.002823' WHERE "spree_products"."id" = 1060500742 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.003787' WHERE "spree_products"."id" = 1060500742  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589860 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.005994' WHERE "spree_products"."id" = 1060500742 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500742) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:29.008501' WHERE "spree_products"."id" = 1060500742 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500742 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.015919' WHERE "spree_products"."id" = 1060500743 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500743], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.017150' WHERE "spree_products"."id" = 1060500743  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589861 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.018176' WHERE "spree_products"."id" = 1060500743  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500743  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835004], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500743, "updated_at" = '2012-10-15 15:54:29.024082' WHERE "spree_product_properties"."id" = 1073273263 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500743 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500743, 558398627) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451570 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451570], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500743, 558398629) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398627 AND "spree_taxons"."taxonomy_id" = 854451568 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398627]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398627], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451568], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398627]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398630]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398630 THEN 558398627 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398627]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398630]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398630 AND "spree_taxons"."taxonomy_id" = 854451568 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398630]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398630], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451568], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398630]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398631]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398631 THEN 558398630 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398630]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398631]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500743, 558398630)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500743, 558398631) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500743 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500743) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["option_type_id", 935339206], ["position", 1], ["product_id", 1060500743], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500743 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.058235' WHERE "spree_products"."id" = 1060500743 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500743], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.059522' WHERE "spree_products"."id" = 1060500743  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589862, 979460126) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500743]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500743 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.066029' WHERE "spree_products"."id" = 1060500743 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500743], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.067023' WHERE "spree_products"."id" = 1060500743  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589863, 979460127) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500743]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500743 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.073492' WHERE "spree_products"."id" = 1060500743 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500743], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.074378' WHERE "spree_products"."id" = 1060500743  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589864, 979460128) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500743]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589862 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589863 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589864 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500743 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.088448' WHERE "spree_products"."id" = 1060500743  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589862 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.089516' WHERE "spree_products"."id" = 1060500743 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.090849' WHERE "spree_products"."id" = 1060500743  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589863 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.091610' WHERE "spree_products"."id" = 1060500743 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.092610' WHERE "spree_products"."id" = 1060500743  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589864 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.093395' WHERE "spree_products"."id" = 1060500743 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500743) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:29.095338' WHERE "spree_products"."id" = 1060500743 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500743 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.102016' WHERE "spree_products"."id" = 1060500744 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500744], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.103048' WHERE "spree_products"."id" = 1060500744  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589865 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.104610' WHERE "spree_products"."id" = 1060500744  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500744  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835005], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500744, "updated_at" = '2012-10-15 15:54:29.109870' WHERE "spree_product_properties"."id" = 1073273264 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835004], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500744, "updated_at" = '2012-10-15 15:54:29.112486' WHERE "spree_product_properties"."id" = 1073273265 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835006], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500744, "updated_at" = '2012-10-15 15:54:29.116074' WHERE "spree_product_properties"."id" = 1073273266 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451571 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451571], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500744 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500744, 558398632) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398627 AND "spree_taxons"."taxonomy_id" = 854451568 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398627]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398627], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451568], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398627]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398633]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398633 THEN 558398627 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398627]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398633]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500744, 558398633)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500744, 558398627) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500744 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500744) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["option_type_id", 935339206], ["position", 1], ["product_id", 1060500744], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.140033' WHERE "spree_products"."id" = 1060500744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500744], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.141143' WHERE "spree_products"."id" = 1060500744  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589866, 979460126) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500744]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500744 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.147075' WHERE "spree_products"."id" = 1060500744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500744], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.148215' WHERE "spree_products"."id" = 1060500744  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589867, 979460127) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500744]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500744 AND "spree_option_types"."id" = 935339206 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339206 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.154013' WHERE "spree_products"."id" = 1060500744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500744], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.154906' WHERE "spree_products"."id" = 1060500744  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589868, 979460128) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500744]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500744 AND "spree_option_types"."id" = 935339207 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500744) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["option_type_id", 935339207], ["position", 2], ["product_id", 1060500744], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339207 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339207) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339207], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.165215' WHERE "spree_products"."id" = 1060500744 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500744], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.166611' WHERE "spree_products"."id" = 1060500744  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589869, 979460129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500744]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500744 AND "spree_option_types"."id" = 935339207 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339207 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339207) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "colour"], ["option_type_id", 935339207], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.174358' WHERE "spree_products"."id" = 1060500744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500744], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.175790' WHERE "spree_products"."id" = 1060500744  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589870, 979460130) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500744]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1  (18.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589866 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589867 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589868 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589869 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589870 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.210936' WHERE "spree_products"."id" = 1060500744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589866 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.211896' WHERE "spree_products"."id" = 1060500744 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.212868' WHERE "spree_products"."id" = 1060500744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589867 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.214051' WHERE "spree_products"."id" = 1060500744 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.215251' WHERE "spree_products"."id" = 1060500744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589868 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.216220' WHERE "spree_products"."id" = 1060500744 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.217253' WHERE "spree_products"."id" = 1060500744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589869 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.218120' WHERE "spree_products"."id" = 1060500744 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.219045' WHERE "spree_products"."id" = 1060500744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589870 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.220279' WHERE "spree_products"."id" = 1060500744 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500744) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:29.222350' WHERE "spree_products"."id" = 1060500744 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500744 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500742 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500744 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500744 SQL (3.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (22.2ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (24.3ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (22.6ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (18.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.9ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (24.9ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.2ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451572], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]]  (5.0ms) commit transaction  (0.1ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451572], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500745 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.747098' WHERE "spree_products"."id" = 1060500745 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500745], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.748618' WHERE "spree_products"."id" = 1060500745  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589871 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.770081' WHERE "spree_products"."id" = 1060500745  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500745  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835007], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500745, "updated_at" = '2012-10-15 15:54:29.776581' WHERE "spree_product_properties"."id" = 1073273267 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500745) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500745 Product assigned to Taxons : ["Paintings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500745, 558398634) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451573 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451573], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500745, 558398636) Current value to assign : Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500745) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500745 AND "spree_option_types"."id" = 935339208 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500745) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["option_type_id", 935339208], ["position", 1], ["product_id", 1060500745], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339208) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339208], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.804598' WHERE "spree_products"."id" = 1060500745 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500745], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.807105' WHERE "spree_products"."id" = 1060500745  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589872, 979460131) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339208) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339208], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.811545' WHERE "spree_products"."id" = 1060500745 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500745], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.812619' WHERE "spree_products"."id" = 1060500745  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589873, 979460132) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339208) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339208], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.835736' WHERE "spree_products"."id" = 1060500745 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500745], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.837373' WHERE "spree_products"."id" = 1060500745  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589874, 979460133) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500745]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500745) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589872 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589873 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589874 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500745) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500745 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.850314' WHERE "spree_products"."id" = 1060500745  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589872 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.851619' WHERE "spree_products"."id" = 1060500745 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500745 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.852865' WHERE "spree_products"."id" = 1060500745  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589873 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.854190' WHERE "spree_products"."id" = 1060500745 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500745 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.855862' WHERE "spree_products"."id" = 1060500745  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589874 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.856901' WHERE "spree_products"."id" = 1060500745 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500745) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:29.859153' WHERE "spree_products"."id" = 1060500745 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500745 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.866327' WHERE "spree_products"."id" = 1060500746 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500746], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.867394' WHERE "spree_products"."id" = 1060500746  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589875 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.868620' WHERE "spree_products"."id" = 1060500746  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500746  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835008], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500746, "updated_at" = '2012-10-15 15:54:29.874097' WHERE "spree_product_properties"."id" = 1073273268 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500746) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500746 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500746, 558398634) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451574 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451574], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500746, 558398637) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398634 AND "spree_taxons"."taxonomy_id" = 854451572 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398634]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398634], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451572], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398634]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398638]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398638 THEN 558398634 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398634]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398638]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398638 AND "spree_taxons"."taxonomy_id" = 854451572 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398638]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398638], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451572], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398638]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398639]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398639 THEN 558398638 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398638]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398639]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500746, 558398638)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500746, 558398639) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500746) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500746 AND "spree_option_types"."id" = 935339208 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500746) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["option_type_id", 935339208], ["position", 1], ["product_id", 1060500746], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.906028' WHERE "spree_products"."id" = 1060500746 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500746], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.907313' WHERE "spree_products"."id" = 1060500746  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589876, 979460131) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.909292' WHERE "spree_products"."id" = 1060500746 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500746], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.910403' WHERE "spree_products"."id" = 1060500746  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589877, 979460132) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.913125' WHERE "spree_products"."id" = 1060500746 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500746], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.914212' WHERE "spree_products"."id" = 1060500746  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589878, 979460133) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500746]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500746) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589876 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589877 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589878 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500746) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.927079' WHERE "spree_products"."id" = 1060500746  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589876 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.928174' WHERE "spree_products"."id" = 1060500746 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.928980' WHERE "spree_products"."id" = 1060500746  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589877 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.929726' WHERE "spree_products"."id" = 1060500746 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500746 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.930593' WHERE "spree_products"."id" = 1060500746  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589878 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.931780' WHERE "spree_products"."id" = 1060500746 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500746) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:29.933621' WHERE "spree_products"."id" = 1060500746 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500746 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.939957' WHERE "spree_products"."id" = 1060500747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500747], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.941573' WHERE "spree_products"."id" = 1060500747  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589879 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.943580' WHERE "spree_products"."id" = 1060500747  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500747  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835009], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500747, "updated_at" = '2012-10-15 15:54:29.948621' WHERE "spree_product_properties"."id" = 1073273269 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835008], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500747, "updated_at" = '2012-10-15 15:54:29.951141' WHERE "spree_product_properties"."id" = 1073273270 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["product_id", nil], ["property_id", 905835010], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500747, "updated_at" = '2012-10-15 15:54:29.953980' WHERE "spree_product_properties"."id" = 1073273271 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500747) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451575 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451575], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500747 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500747, 558398640) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398634 AND "spree_taxons"."taxonomy_id" = 854451572 LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398634]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398634], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451572], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398634]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398641]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398641 THEN 558398634 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398634]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398641]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500747, 558398641)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500747, 558398634) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500747) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500747 AND "spree_option_types"."id" = 935339208 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500747) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["option_type_id", 935339208], ["position", 1], ["product_id", 1060500747], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.978301' WHERE "spree_products"."id" = 1060500747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500747], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.979559' WHERE "spree_products"."id" = 1060500747  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589880, 979460131) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.981614' WHERE "spree_products"."id" = 1060500747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500747], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.982621' WHERE "spree_products"."id" = 1060500747  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589881, 979460132) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339208 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.984668' WHERE "spree_products"."id" = 1060500747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500747], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.985605' WHERE "spree_products"."id" = 1060500747  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589882, 979460133) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500747]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500747 AND "spree_option_types"."id" = 935339209 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500747) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["option_type_id", 935339209], ["position", 2], ["product_id", 1060500747], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339209 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339209) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339209], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.996008' WHERE "spree_products"."id" = 1060500747 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500747], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:29.997152' WHERE "spree_products"."id" = 1060500747  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589883, 979460134) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339209 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339209) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00], ["name", "colour"], ["option_type_id", 935339209], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.003020' WHERE "spree_products"."id" = 1060500747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500747], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.003901' WHERE "spree_products"."id" = 1060500747  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589884, 979460135) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500747]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500747) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (17.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589880 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589881 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589882 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589883 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589884 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500747) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.036017' WHERE "spree_products"."id" = 1060500747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589880 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.037188' WHERE "spree_products"."id" = 1060500747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.038132' WHERE "spree_products"."id" = 1060500747  (1.4ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589881 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.040274' WHERE "spree_products"."id" = 1060500747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.041380' WHERE "spree_products"."id" = 1060500747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589882 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.042341' WHERE "spree_products"."id" = 1060500747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.043354' WHERE "spree_products"."id" = 1060500747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589883 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.044128' WHERE "spree_products"."id" = 1060500747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500747 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.045669' WHERE "spree_products"."id" = 1060500747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589884 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.046561' WHERE "spree_products"."id" = 1060500747 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500747) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:30.048774' WHERE "spree_products"."id" = 1060500747 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500747 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500746 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500745 ORDER BY spree_option_types.position Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589872 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589873 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339208 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589874 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (21.0ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451576], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451576], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500748 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.243209' WHERE "spree_products"."id" = 1060500748 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500748], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.244374' WHERE "spree_products"."id" = 1060500748  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589885 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.247021' WHERE "spree_products"."id" = 1060500748  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500748  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["product_id", nil], ["property_id", 905835011], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500748, "updated_at" = '2012-10-15 15:54:30.253876' WHERE "spree_product_properties"."id" = 1073273272 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500748 Product assigned to Taxons : ["Paintings"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500748, 558398642) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451577 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451577], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500748, 558398644) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500748 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500748) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["option_type_id", 935339210], ["position", 1], ["product_id", 1060500748], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339210) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339210], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500748 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.283950' WHERE "spree_products"."id" = 1060500748 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500748], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.284959' WHERE "spree_products"."id" = 1060500748  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589886, 979460136) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500748]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500748 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339210) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339210], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500748 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.293447' WHERE "spree_products"."id" = 1060500748 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500748], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.294625' WHERE "spree_products"."id" = 1060500748  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589887, 979460137) Spree::Product Load (18.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500748]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500748 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339210) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339210], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500748 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.324495' WHERE "spree_products"."id" = 1060500748 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500748], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.325460' WHERE "spree_products"."id" = 1060500748  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589888, 979460138) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500748]] Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589886 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589887 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589888 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500748 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.341714' WHERE "spree_products"."id" = 1060500748  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589886 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.342532' WHERE "spree_products"."id" = 1060500748 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500748 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.343482' WHERE "spree_products"."id" = 1060500748  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589887 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.344868' WHERE "spree_products"."id" = 1060500748 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500748 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.345674' WHERE "spree_products"."id" = 1060500748  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589888 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.346584' WHERE "spree_products"."id" = 1060500748 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500748) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:30.349532' WHERE "spree_products"."id" = 1060500748 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500748 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500749 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.356678' WHERE "spree_products"."id" = 1060500749 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500749], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.357588' WHERE "spree_products"."id" = 1060500749  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589889 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.358515' WHERE "spree_products"."id" = 1060500749  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500749  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Created New Property # SQL (0.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["product_id", nil], ["property_id", 905835012], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500749, "updated_at" = '2012-10-15 15:54:30.365626' WHERE "spree_product_properties"."id" = 1073273273 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500749 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500749, 558398642) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451578 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451578], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500749, 558398645) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398642 AND "spree_taxons"."taxonomy_id" = 854451576 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398642]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398642], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451576], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398642]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398646]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398646 THEN 558398642 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398642]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398646]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398646 AND "spree_taxons"."taxonomy_id" = 854451576 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398646]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398646], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451576], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398646]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398647]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398647 THEN 558398646 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398646]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398647]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500749, 558398646)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500749, 558398647) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500749 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500749) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["option_type_id", 935339210], ["position", 1], ["product_id", 1060500749], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500749 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.401822' WHERE "spree_products"."id" = 1060500749 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500749], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.403215' WHERE "spree_products"."id" = 1060500749  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589890, 979460136) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500749]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500749 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500749 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.411067' WHERE "spree_products"."id" = 1060500749 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500749], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.412283' WHERE "spree_products"."id" = 1060500749  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589891, 979460137) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500749]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500749 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500749 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.418627' WHERE "spree_products"."id" = 1060500749 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500749], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.420016' WHERE "spree_products"."id" = 1060500749  (1.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589892, 979460138) Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500749]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589890 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589891 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589892 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500749 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.479711' WHERE "spree_products"."id" = 1060500749  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589890 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.480506' WHERE "spree_products"."id" = 1060500749 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500749 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.481575' WHERE "spree_products"."id" = 1060500749  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589891 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.482627' WHERE "spree_products"."id" = 1060500749 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500749 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.483815' WHERE "spree_products"."id" = 1060500749  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589892 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.484745' WHERE "spree_products"."id" = 1060500749 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500749) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:30.487300' WHERE "spree_products"."id" = 1060500749 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500749 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.494213' WHERE "spree_products"."id" = 1060500750 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500750], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.495628' WHERE "spree_products"."id" = 1060500750  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589893 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.497364' WHERE "spree_products"."id" = 1060500750  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500750  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["product_id", nil], ["property_id", 905835013], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500750, "updated_at" = '2012-10-15 15:54:30.505489' WHERE "spree_product_properties"."id" = 1073273274 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["product_id", nil], ["property_id", 905835012], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500750, "updated_at" = '2012-10-15 15:54:30.508594' WHERE "spree_product_properties"."id" = 1073273275 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["product_id", nil], ["property_id", 905835014], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500750, "updated_at" = '2012-10-15 15:54:30.512335' WHERE "spree_product_properties"."id" = 1073273276 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451579 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451579], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500750 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500750, 558398648) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398642 AND "spree_taxons"."taxonomy_id" = 854451576 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398642]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398642], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451576], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398642]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398649]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398649 THEN 558398642 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398642]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398649]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500750, 558398649)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500750, 558398642) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500750 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500750) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["option_type_id", 935339210], ["position", 1], ["product_id", 1060500750], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.537628' WHERE "spree_products"."id" = 1060500750 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500750], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.538921' WHERE "spree_products"."id" = 1060500750  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589894, 979460136) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500750]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500750 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.545084' WHERE "spree_products"."id" = 1060500750 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500750], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.546291' WHERE "spree_products"."id" = 1060500750  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589895, 979460137) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500750]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500750 AND "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339210 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.552877' WHERE "spree_products"."id" = 1060500750 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500750], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.553791' WHERE "spree_products"."id" = 1060500750  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589896, 979460138) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500750]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500750 AND "spree_option_types"."id" = 935339211 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500750) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["option_type_id", 935339211], ["position", 2], ["product_id", 1060500750], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339211 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339211) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339211], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.566009' WHERE "spree_products"."id" = 1060500750 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500750], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.567286' WHERE "spree_products"."id" = 1060500750  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589897, 979460139) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500750]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500750 AND "spree_option_types"."id" = 935339211 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339211 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339211) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "colour"], ["option_type_id", 935339211], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.576469' WHERE "spree_products"."id" = 1060500750 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500750], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.598081' WHERE "spree_products"."id" = 1060500750  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589898, 979460140) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500750]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589894 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589895 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589896 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589897 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589898 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.617155' WHERE "spree_products"."id" = 1060500750  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589894 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.618251' WHERE "spree_products"."id" = 1060500750 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.619608' WHERE "spree_products"."id" = 1060500750  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589895 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.620859' WHERE "spree_products"."id" = 1060500750 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.621694' WHERE "spree_products"."id" = 1060500750  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589896 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.622629' WHERE "spree_products"."id" = 1060500750 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.624076' WHERE "spree_products"."id" = 1060500750  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589897 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.624875' WHERE "spree_products"."id" = 1060500750 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.625598' WHERE "spree_products"."id" = 1060500750  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589898 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.626887' WHERE "spree_products"."id" = 1060500750 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500750) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:30.628891' WHERE "spree_products"."id" = 1060500750 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500750 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500749 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500750 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500748 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589886 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589887 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339210 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589888 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451580], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451580], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500751 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.755096' WHERE "spree_products"."id" = 1060500751 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500751], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.756980' WHERE "spree_products"."id" = 1060500751  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589899 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.758087' WHERE "spree_products"."id" = 1060500751  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500751  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["product_id", nil], ["property_id", 905835015], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500751, "updated_at" = '2012-10-15 15:54:30.764228' WHERE "spree_product_properties"."id" = 1073273277 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500751 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500751, 558398650) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451581 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451581], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500751, 558398652) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500751 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500751) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["option_type_id", 935339212], ["position", 1], ["product_id", 1060500751], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339212) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339212], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500751 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.812727' WHERE "spree_products"."id" = 1060500751 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500751], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.814029' WHERE "spree_products"."id" = 1060500751  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589900, 979460141) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500751]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500751 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (18.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339212) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339212], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500751 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.843265' WHERE "spree_products"."id" = 1060500751 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500751], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.844217' WHERE "spree_products"."id" = 1060500751  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589901, 979460142) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500751]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500751 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339212) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339212], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500751 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.852729' WHERE "spree_products"."id" = 1060500751 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500751], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.854234' WHERE "spree_products"."id" = 1060500751  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589902, 979460143) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500751]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589900 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589901 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589902 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500751 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.871271' WHERE "spree_products"."id" = 1060500751  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589900 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.872333' WHERE "spree_products"."id" = 1060500751 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500751 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.873445' WHERE "spree_products"."id" = 1060500751  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589901 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.874436' WHERE "spree_products"."id" = 1060500751 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500751 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.876631' WHERE "spree_products"."id" = 1060500751  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589902 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.877632' WHERE "spree_products"."id" = 1060500751 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500751) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:30.880590' WHERE "spree_products"."id" = 1060500751 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.886801' WHERE "spree_products"."id" = 1060500752 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500752], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.887819' WHERE "spree_products"."id" = 1060500752  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589903 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.929633' WHERE "spree_products"."id" = 1060500752  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500752  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["product_id", nil], ["property_id", 905835016], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500752, "updated_at" = '2012-10-15 15:54:30.937020' WHERE "spree_product_properties"."id" = 1073273278 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500752 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500752, 558398650) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451582 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451582], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500752, 558398653) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398650 AND "spree_taxons"."taxonomy_id" = 854451580 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398650]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398650], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451580], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398650]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398654]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398654 THEN 558398650 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398650]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398654]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398654 AND "spree_taxons"."taxonomy_id" = 854451580 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398654]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398654], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451580], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398654]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398655]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398655 THEN 558398654 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398654]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398655]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500752, 558398654)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500752, 558398655) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500752 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500752) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00], ["option_type_id", 935339212], ["position", 1], ["product_id", 1060500752], ["updated_at", Mon, 15 Oct 2012 15:54:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.972505' WHERE "spree_products"."id" = 1060500752 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500752], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.973476' WHERE "spree_products"."id" = 1060500752  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589904, 979460141) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500752]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500752 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.979370' WHERE "spree_products"."id" = 1060500752 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500752], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.980566' WHERE "spree_products"."id" = 1060500752  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589905, 979460142) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500752]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500752 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.986528' WHERE "spree_products"."id" = 1060500752 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500752], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:30.987463' WHERE "spree_products"."id" = 1060500752  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589906, 979460143) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500752]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589904 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589905 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589906 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.001226' WHERE "spree_products"."id" = 1060500752  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589904 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.002348' WHERE "spree_products"."id" = 1060500752 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.003292' WHERE "spree_products"."id" = 1060500752  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589905 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.004007' WHERE "spree_products"."id" = 1060500752 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.004862' WHERE "spree_products"."id" = 1060500752  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589906 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.007896' WHERE "spree_products"."id" = 1060500752 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500752) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:31.010963' WHERE "spree_products"."id" = 1060500752 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.018068' WHERE "spree_products"."id" = 1060500753 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500753], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.019220' WHERE "spree_products"."id" = 1060500753  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589907 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.020521' WHERE "spree_products"."id" = 1060500753  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500753  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["product_id", nil], ["property_id", 905835017], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500753, "updated_at" = '2012-10-15 15:54:31.026231' WHERE "spree_product_properties"."id" = 1073273279 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["product_id", nil], ["property_id", 905835016], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500753, "updated_at" = '2012-10-15 15:54:31.029571' WHERE "spree_product_properties"."id" = 1073273280 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["product_id", nil], ["property_id", 905835018], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500753, "updated_at" = '2012-10-15 15:54:31.033103' WHERE "spree_product_properties"."id" = 1073273281 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451583 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451583], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500753 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500753, 558398656) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398650 AND "spree_taxons"."taxonomy_id" = 854451580 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398650]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398650], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451580], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398650]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398657]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398657 THEN 558398650 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398650]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398657]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500753, 558398657)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500753, 558398650) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500753 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500753) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339212], ["position", 1], ["product_id", 1060500753], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.059365' WHERE "spree_products"."id" = 1060500753 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500753], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.060511' WHERE "spree_products"."id" = 1060500753  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589908, 979460141) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500753]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500753 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.067731' WHERE "spree_products"."id" = 1060500753 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500753], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.068883' WHERE "spree_products"."id" = 1060500753  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589909, 979460142) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500753]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500753 AND "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339212 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.075561' WHERE "spree_products"."id" = 1060500753 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500753], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.076453' WHERE "spree_products"."id" = 1060500753  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589910, 979460143) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500753]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500753 AND "spree_option_types"."id" = 935339213 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500753) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339213], ["position", 2], ["product_id", 1060500753], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339213 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339213) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339213], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.086928' WHERE "spree_products"."id" = 1060500753 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500753], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.087937' WHERE "spree_products"."id" = 1060500753  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589911, 979460144) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500753]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500753 AND "spree_option_types"."id" = 935339213 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339213 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339213) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "colour"], ["option_type_id", 935339213], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.095526' WHERE "spree_products"."id" = 1060500753 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500753], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.096593' WHERE "spree_products"."id" = 1060500753  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589912, 979460145) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500753]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589908 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589909 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589910 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589911 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589912 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.128367' WHERE "spree_products"."id" = 1060500753  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589908 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.129281' WHERE "spree_products"."id" = 1060500753 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.130270' WHERE "spree_products"."id" = 1060500753  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589909 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.131188' WHERE "spree_products"."id" = 1060500753 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.132079' WHERE "spree_products"."id" = 1060500753  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589910 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.133172' WHERE "spree_products"."id" = 1060500753 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.134213' WHERE "spree_products"."id" = 1060500753  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589911 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.135281' WHERE "spree_products"."id" = 1060500753 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500753 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.136468' WHERE "spree_products"."id" = 1060500753  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589912 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.137498' WHERE "spree_products"."id" = 1060500753 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500753) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:31.139597' WHERE "spree_products"."id" = 1060500753  (6.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500752 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500753 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.7ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500751 ORDER BY spree_option_types.position Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589900 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589901 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339212 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589902 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.5ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451584 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451584], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451584], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500754 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.220068' WHERE "spree_products"."id" = 1060500754 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500754], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.222309' WHERE "spree_products"."id" = 1060500754  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589913 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.223409' WHERE "spree_products"."id" = 1060500754  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500754  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500754 AND "spree_option_types"."id" = 935339214 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500754) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339214], ["position", 1], ["product_id", 1060500754], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500754 AND "spree_option_types"."id" = 935339215 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500754) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339215], ["position", 2], ["product_id", 1060500754], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339214) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339214], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339215 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339215) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "colour"], ["option_type_id", 935339215], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500754 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.303638' WHERE "spree_products"."id" = 1060500754 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500754], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.305078' WHERE "spree_products"."id" = 1060500754  (0.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589914, 979460146)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589914, 979460147) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339214) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339214], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339215 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500754 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.310356' WHERE "spree_products"."id" = 1060500754 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500754], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.311552' WHERE "spree_products"."id" = 1060500754  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589915, 979460148)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589915, 979460147) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500754]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500754) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500754 AND "spree_option_types"."id" = 935339214 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339214) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339214], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500754 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.323449' WHERE "spree_products"."id" = 1060500754 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500754], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.324571' WHERE "spree_products"."id" = 1060500754  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589916, 979460149) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500754]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500754) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589914 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589915 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589916 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500754) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500754 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.338957' WHERE "spree_products"."id" = 1060500754  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589914 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.340049' WHERE "spree_products"."id" = 1060500754 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500754 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.341554' WHERE "spree_products"."id" = 1060500754  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589915 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.343598' WHERE "spree_products"."id" = 1060500754 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500754 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.345146' WHERE "spree_products"."id" = 1060500754  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589916 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.346183' WHERE "spree_products"."id" = 1060500754 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500754) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:31.349026' WHERE "spree_products"."id" = 1060500754 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500755 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.356778' WHERE "spree_products"."id" = 1060500755 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500755], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.357922' WHERE "spree_products"."id" = 1060500755  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589917 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.359193' WHERE "spree_products"."id" = 1060500755  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500755  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500755 AND "spree_option_types"."id" = 935339214 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500755) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339214], ["position", 1], ["product_id", 1060500755], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500755 AND "spree_option_types"."id" = 935339215 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500755) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339215], ["position", 2], ["product_id", 1060500755], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339215 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339215) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339215], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500755 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.426264' WHERE "spree_products"."id" = 1060500755 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500755], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.429006' WHERE "spree_products"."id" = 1060500755  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589918, 979460150)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589918, 979460146) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500755]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500755) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500755 AND "spree_option_types"."id" = 935339214 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500755 AND "spree_option_types"."id" = 935339215 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339215 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500755 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.441939' WHERE "spree_products"."id" = 1060500755 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500755], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.443350' WHERE "spree_products"."id" = 1060500755  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589919, 979460150)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589919, 979460149) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500755]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500755) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589918 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589919 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500755) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500755 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.453306' WHERE "spree_products"."id" = 1060500755  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589918 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.454241' WHERE "spree_products"."id" = 1060500755 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500755 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.455356' WHERE "spree_products"."id" = 1060500755  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589919 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.456215' WHERE "spree_products"."id" = 1060500755 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500755) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-15 15:54:31.458513' WHERE "spree_products"."id" = 1060500755 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500756 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.466223' WHERE "spree_products"."id" = 1060500756 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500756], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.467118' WHERE "spree_products"."id" = 1060500756  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589920 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.468471' WHERE "spree_products"."id" = 1060500756  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500756  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500756 AND "spree_option_types"."id" = 935339214 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500756) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339214], ["position", 1], ["product_id", 1060500756], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500756 AND "spree_option_types"."id" = 935339215 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500756) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339215], ["position", 2], ["product_id", 1060500756], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500756 AND "spree_option_types"."id" = 935339216 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500756) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339216], ["position", 3], ["product_id", 1060500756], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339215 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339216 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339216) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "large"], ["option_type_id", 935339216], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500756 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.488756' WHERE "spree_products"."id" = 1060500756 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500756], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.489902' WHERE "spree_products"."id" = 1060500756  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589921, 979460147)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589921, 979460151)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589921, 979460146) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339215 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339215) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339215], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339216 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500756 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.496550' WHERE "spree_products"."id" = 1060500756 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500756], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.497640' WHERE "spree_products"."id" = 1060500756  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589922, 979460152)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589922, 979460151)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589922, 979460146) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500756]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500756 AND "spree_option_types"."id" = 935339214 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500756 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.526427' WHERE "spree_products"."id" = 1060500756 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500756], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.527432' WHERE "spree_products"."id" = 1060500756  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589923, 979460149) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500756]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500756) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500756 AND "spree_option_types"."id" = 935339214 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339214 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500756 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.533989' WHERE "spree_products"."id" = 1060500756 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500756], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.535123' WHERE "spree_products"."id" = 1060500756  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589924, 979460148) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500756]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500756 AND "spree_option_types"."id" = 935339215 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339215 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500756 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.541331' WHERE "spree_products"."id" = 1060500756 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500756], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.542326' WHERE "spree_products"."id" = 1060500756  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589925, 979460150) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500756]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500756) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500756) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (4.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500754 ORDER BY spree_option_types.position Spree::OptionValue Load (18.5ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013589914 Booted Spree using version 1.1.3 SQL (24.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500757 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.691415' WHERE "spree_products"."id" = 1060500757 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500757], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.692703' WHERE "spree_products"."id" = 1060500757  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589926 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.694752' WHERE "spree_products"."id" = 1060500757  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500757  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["product_id", nil], ["property_id", 905835019], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500757, "updated_at" = '2012-10-15 15:54:31.722992' WHERE "spree_product_properties"."id" = 1073273282 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500757) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451585 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451585], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500757 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500757, 558398660) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451586 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451586], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500757, 558398661) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500757) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500757 AND "spree_option_types"."id" = 935339217 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500757) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["option_type_id", 935339217], ["position", 1], ["product_id", 1060500757], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339217) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339217], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500757 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.752993' WHERE "spree_products"."id" = 1060500757 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500757], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.755260' WHERE "spree_products"."id" = 1060500757  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589927, 979460153) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339217) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339217], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500757 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.760815' WHERE "spree_products"."id" = 1060500757 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500757], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.762203' WHERE "spree_products"."id" = 1060500757  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589928, 979460154) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339217) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339217], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500757 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.784761' WHERE "spree_products"."id" = 1060500757 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500757], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.830953' WHERE "spree_products"."id" = 1060500757  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589929, 979460155) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500757]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500757) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589927 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589928 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589929 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500757) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500757 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.843785' WHERE "spree_products"."id" = 1060500757  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589927 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.845263' WHERE "spree_products"."id" = 1060500757 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500757 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.846153' WHERE "spree_products"."id" = 1060500757  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589928 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.847059' WHERE "spree_products"."id" = 1060500757 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500757 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.848035' WHERE "spree_products"."id" = 1060500757  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589929 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:31.848644' WHERE "spree_products"."id" = 1060500757 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500757) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589926 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500757) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:32.688513' WHERE "spree_products"."id" = 1060500757 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500758 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.728369' WHERE "spree_products"."id" = 1060500758 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500758], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.729738' WHERE "spree_products"."id" = 1060500758  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589930 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.731118' WHERE "spree_products"."id" = 1060500758  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500758  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["product_id", nil], ["property_id", 905835020], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500758, "updated_at" = '2012-10-15 15:54:32.739835' WHERE "spree_product_properties"."id" = 1073273283 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500758) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451585 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500758 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500758, 558398660) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451587 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451587], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500758, 558398662) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451588 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451588], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500758, 558398663) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500758) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500758 AND "spree_option_types"."id" = 935339217 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500758) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["option_type_id", 935339217], ["position", 1], ["product_id", 1060500758], ["updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500758 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.768869' WHERE "spree_products"."id" = 1060500758 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500758], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.770216' WHERE "spree_products"."id" = 1060500758  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589931, 979460153) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500758 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.773060' WHERE "spree_products"."id" = 1060500758 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500758], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.774025' WHERE "spree_products"."id" = 1060500758  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589932, 979460154) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500758 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.776843' WHERE "spree_products"."id" = 1060500758 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500758], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.777628' WHERE "spree_products"."id" = 1060500758  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589933, 979460155) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500758]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500758) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.9ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589931 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589932 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589933 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500758) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500758 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.791577' WHERE "spree_products"."id" = 1060500758  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589931 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.792656' WHERE "spree_products"."id" = 1060500758 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500758 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.793651' WHERE "spree_products"."id" = 1060500758  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589932 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.794531' WHERE "spree_products"."id" = 1060500758 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500758 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.795384' WHERE "spree_products"."id" = 1060500758  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589933 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:32.796582' WHERE "spree_products"."id" = 1060500758 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500758) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589930 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:32 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500758) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:39.279419' WHERE "spree_products"."id" = 1060500758 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.315927' WHERE "spree_products"."id" = 1060500759 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500759], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.317797' WHERE "spree_products"."id" = 1060500759  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589934 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.319437' WHERE "spree_products"."id" = 1060500759  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500759  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["product_id", nil], ["property_id", 905835021], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500759, "updated_at" = '2012-10-15 15:54:39.327563' WHERE "spree_product_properties"."id" = 1073273284 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["product_id", nil], ["property_id", 905835020], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500759, "updated_at" = '2012-10-15 15:54:39.330028' WHERE "spree_product_properties"."id" = 1073273285 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["product_id", nil], ["property_id", 905835022], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500759, "updated_at" = '2012-10-15 15:54:39.334087' WHERE "spree_product_properties"."id" = 1073273286 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500759) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451589 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451589], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500759 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500759, 558398664) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500759) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500759 AND "spree_option_types"."id" = 935339217 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500759) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["option_type_id", 935339217], ["position", 1], ["product_id", 1060500759], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.354359' WHERE "spree_products"."id" = 1060500759 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500759], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.355663' WHERE "spree_products"."id" = 1060500759  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589935, 979460153) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.358453' WHERE "spree_products"."id" = 1060500759 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500759], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.359607' WHERE "spree_products"."id" = 1060500759  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589936, 979460154) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339217 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.362186' WHERE "spree_products"."id" = 1060500759 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500759], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.363738' WHERE "spree_products"."id" = 1060500759  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589937, 979460155) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500759]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500759 AND "spree_option_types"."id" = 935339218 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500759) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["option_type_id", 935339218], ["position", 2], ["product_id", 1060500759], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339218 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339218) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339218], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.375914' WHERE "spree_products"."id" = 1060500759 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500759], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.377584' WHERE "spree_products"."id" = 1060500759  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589938, 979460156) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339218 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339218) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["name", "colour"], ["option_type_id", 935339218], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.382296' WHERE "spree_products"."id" = 1060500759 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500759], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.383202' WHERE "spree_products"."id" = 1060500759  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589939, 979460157) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500759]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500759) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589935 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589936 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589937 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589938 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589939 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500759) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.424460' WHERE "spree_products"."id" = 1060500759  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589935 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.425588' WHERE "spree_products"."id" = 1060500759 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.426560' WHERE "spree_products"."id" = 1060500759  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589936 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.427739' WHERE "spree_products"."id" = 1060500759 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.428875' WHERE "spree_products"."id" = 1060500759  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589937 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.429739' WHERE "spree_products"."id" = 1060500759 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.430666' WHERE "spree_products"."id" = 1060500759  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589938 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.431739' WHERE "spree_products"."id" = 1060500759 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500759 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.432647' WHERE "spree_products"."id" = 1060500759  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589939 SQL (1.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:39.433565' WHERE "spree_products"."id" = 1060500759 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500759) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589934 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:39 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500759) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:40.295535' WHERE "spree_products"."id" = 1060500759  (31.8ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500757 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589926) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500757)) SQL (4.1ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500760 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.499859' WHERE "spree_products"."id" = 1060500760 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500760], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.501254' WHERE "spree_products"."id" = 1060500760  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589940 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.502679' WHERE "spree_products"."id" = 1060500760  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500760  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["product_id", nil], ["property_id", 905835023], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500760, "updated_at" = '2012-10-15 15:54:40.531136' WHERE "spree_product_properties"."id" = 1073273287 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500760) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451590 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451590], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500760 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500760, 558398665) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451591 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451591], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500760, 558398666) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500760) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500760 AND "spree_option_types"."id" = 935339219 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500760) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["option_type_id", 935339219], ["position", 1], ["product_id", 1060500760], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339219) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339219], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500760 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.555532' WHERE "spree_products"."id" = 1060500760 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500760], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.558816' WHERE "spree_products"."id" = 1060500760  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589941, 979460158) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339219) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339219], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500760 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.562985' WHERE "spree_products"."id" = 1060500760 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500760], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.564014' WHERE "spree_products"."id" = 1060500760  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589942, 979460159) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339219) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339219], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500760 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.590305' WHERE "spree_products"."id" = 1060500760 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500760], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.591780' WHERE "spree_products"."id" = 1060500760  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589943, 979460160) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500760]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500760) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589941 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589942 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589943 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500760) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500760 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.603839' WHERE "spree_products"."id" = 1060500760  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589941 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.605541' WHERE "spree_products"."id" = 1060500760 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500760 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.606615' WHERE "spree_products"."id" = 1060500760  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589942 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.607596' WHERE "spree_products"."id" = 1060500760 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500760 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.608597' WHERE "spree_products"."id" = 1060500760  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589943 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:40.609610' WHERE "spree_products"."id" = 1060500760 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500760) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589940 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:40 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500760) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:41.545372' WHERE "spree_products"."id" = 1060500760 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500760 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500761 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.585228' WHERE "spree_products"."id" = 1060500761 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500761], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.587052' WHERE "spree_products"."id" = 1060500761  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589944 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.589042' WHERE "spree_products"."id" = 1060500761  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500761  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["product_id", nil], ["property_id", 905835024], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500761, "updated_at" = '2012-10-15 15:54:41.598537' WHERE "spree_product_properties"."id" = 1073273288 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500761) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451590 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500761 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500761, 558398665) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451592 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451592], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500761, 558398667) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451593 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451593], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500761, 558398668) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500761) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500761 AND "spree_option_types"."id" = 935339219 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500761) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["option_type_id", 935339219], ["position", 1], ["product_id", 1060500761], ["updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500761 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.625586' WHERE "spree_products"."id" = 1060500761 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500761], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.626766' WHERE "spree_products"."id" = 1060500761  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589945, 979460158) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500761 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.629670' WHERE "spree_products"."id" = 1060500761 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500761], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.630700' WHERE "spree_products"."id" = 1060500761  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589946, 979460159) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500761 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.633656' WHERE "spree_products"."id" = 1060500761 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500761], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.634749' WHERE "spree_products"."id" = 1060500761  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589947, 979460160) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500761]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500761) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (85.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589945 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589946 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589947 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500761) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500761 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.737751' WHERE "spree_products"."id" = 1060500761  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589945 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.742294' WHERE "spree_products"."id" = 1060500761 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500761 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.743650' WHERE "spree_products"."id" = 1060500761  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589946 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.744461' WHERE "spree_products"."id" = 1060500761 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500761 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.745299' WHERE "spree_products"."id" = 1060500761  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589947 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:41.746131' WHERE "spree_products"."id" = 1060500761 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500761) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589944 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:41 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500761) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:47.852255' WHERE "spree_products"."id" = 1060500761 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060500761 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.889102' WHERE "spree_products"."id" = 1060500762 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500762], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.891423' WHERE "spree_products"."id" = 1060500762  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589948 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.892995' WHERE "spree_products"."id" = 1060500762  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500762  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["product_id", nil], ["property_id", 905835025], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500762, "updated_at" = '2012-10-15 15:54:47.900845' WHERE "spree_product_properties"."id" = 1073273289 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["product_id", nil], ["property_id", 905835024], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500762, "updated_at" = '2012-10-15 15:54:47.903204' WHERE "spree_product_properties"."id" = 1073273290 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["product_id", nil], ["property_id", 905835026], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500762, "updated_at" = '2012-10-15 15:54:47.906601' WHERE "spree_product_properties"."id" = 1073273291 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500762) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451594 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451594], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500762 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500762, 558398669) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500762) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500762 AND "spree_option_types"."id" = 935339219 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500762) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["option_type_id", 935339219], ["position", 1], ["product_id", 1060500762], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.926200' WHERE "spree_products"."id" = 1060500762 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500762], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.927393' WHERE "spree_products"."id" = 1060500762  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589949, 979460158) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.929845' WHERE "spree_products"."id" = 1060500762 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500762], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.932186' WHERE "spree_products"."id" = 1060500762  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589950, 979460159) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339219 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.935034' WHERE "spree_products"."id" = 1060500762 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500762], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.935845' WHERE "spree_products"."id" = 1060500762  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589951, 979460160) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500762]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500762 AND "spree_option_types"."id" = 935339220 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500762) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["option_type_id", 935339220], ["position", 2], ["product_id", 1060500762], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339220 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339220) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339220], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.948058' WHERE "spree_products"."id" = 1060500762 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500762], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.949845' WHERE "spree_products"."id" = 1060500762  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589952, 979460161) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339220 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339220) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00], ["name", "colour"], ["option_type_id", 935339220], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.954271' WHERE "spree_products"."id" = 1060500762 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500762], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.955180' WHERE "spree_products"."id" = 1060500762  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589953, 979460162) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500762]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500762) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589949 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589950 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589951 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589952 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589953 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500762) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.995663' WHERE "spree_products"."id" = 1060500762  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589949 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.996846' WHERE "spree_products"."id" = 1060500762 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.998176' WHERE "spree_products"."id" = 1060500762  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589950 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:47.999095' WHERE "spree_products"."id" = 1060500762 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:48.000022' WHERE "spree_products"."id" = 1060500762  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589951 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:48.000846' WHERE "spree_products"."id" = 1060500762 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:48.002425' WHERE "spree_products"."id" = 1060500762  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589952 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:48.005537' WHERE "spree_products"."id" = 1060500762 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500762 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:48.006724' WHERE "spree_products"."id" = 1060500762  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589953 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:48.007846' WHERE "spree_products"."id" = 1060500762 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500762) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589948 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:48 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500762) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:48.866665' WHERE "spree_products"."id" = 1060500762 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500762 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (13.2ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500760 AND ("spree_variants".is_master = 't') LIMIT 1  (1.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589940) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500760)) SQL (4.4ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500763 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.132468' WHERE "spree_products"."id" = 1060500763 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500763], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.133798' WHERE "spree_products"."id" = 1060500763  (21.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589954 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.156358' WHERE "spree_products"."id" = 1060500763  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500763  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835027], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500763, "updated_at" = '2012-10-15 15:54:49.163861' WHERE "spree_product_properties"."id" = 1073273292 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500763) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451595 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451595], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500763 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500763, 558398670) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451596 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451596], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500763, 558398671) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500763) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500763 AND "spree_option_types"."id" = 935339221 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500763) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339221], ["position", 1], ["product_id", 1060500763], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339221) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339221], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500763 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.192196' WHERE "spree_products"."id" = 1060500763 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500763], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.193316' WHERE "spree_products"."id" = 1060500763  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589955, 979460163) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339221) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339221], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500763 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.197837' WHERE "spree_products"."id" = 1060500763 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500763], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.198853' WHERE "spree_products"."id" = 1060500763  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589956, 979460164) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339221) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339221], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500763 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.203158' WHERE "spree_products"."id" = 1060500763 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500763], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.204252' WHERE "spree_products"."id" = 1060500763  (22.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589957, 979460165) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500763]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500763) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589955 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589956 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589957 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500763) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500763 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.238571' WHERE "spree_products"."id" = 1060500763  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589955 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.239582' WHERE "spree_products"."id" = 1060500763 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500763 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.240515' WHERE "spree_products"."id" = 1060500763  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589956 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.241344' WHERE "spree_products"."id" = 1060500763 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500763 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.242188' WHERE "spree_products"."id" = 1060500763  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589957 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.242862' WHERE "spree_products"."id" = 1060500763 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500763) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:49.245423' WHERE "spree_products"."id" = 1060500763 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500763 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500764 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.252343' WHERE "spree_products"."id" = 1060500764 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500764], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.253374' WHERE "spree_products"."id" = 1060500764  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589958 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.254601' WHERE "spree_products"."id" = 1060500764  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500764  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835028], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500764, "updated_at" = '2012-10-15 15:54:49.261289' WHERE "spree_product_properties"."id" = 1073273293 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500764) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451595 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500764 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500764, 558398670) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451597 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451597], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500764, 558398672) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451595 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398670 AND "spree_taxons"."taxonomy_id" = 854451595 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398670]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398670], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451595], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398670]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398673]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398673 THEN 558398670 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398670]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398673]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398673 AND "spree_taxons"."taxonomy_id" = 854451595 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398673]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398673], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451595], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398673]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398674]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398674 THEN 558398673 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398673]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398674]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500764, 558398673)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500764, 558398674) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500764) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500764 AND "spree_option_types"."id" = 935339221 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500764) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339221], ["position", 1], ["product_id", 1060500764], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500764 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.291633' WHERE "spree_products"."id" = 1060500764 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500764], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.292637' WHERE "spree_products"."id" = 1060500764  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589959, 979460163) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500764 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.294728' WHERE "spree_products"."id" = 1060500764 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500764], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.295862' WHERE "spree_products"."id" = 1060500764  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589960, 979460164) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500764 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.297945' WHERE "spree_products"."id" = 1060500764 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500764], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.299007' WHERE "spree_products"."id" = 1060500764  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589961, 979460165) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500764]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500764) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589959 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589960 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589961 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500764) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500764 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.312373' WHERE "spree_products"."id" = 1060500764  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589959 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.313582' WHERE "spree_products"."id" = 1060500764 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500764 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.314502' WHERE "spree_products"."id" = 1060500764  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589960 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.315250' WHERE "spree_products"."id" = 1060500764 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500764 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.316260' WHERE "spree_products"."id" = 1060500764  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589961 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.317116' WHERE "spree_products"."id" = 1060500764 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500764) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:49.319079' WHERE "spree_products"."id" = 1060500764 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500764 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.325188' WHERE "spree_products"."id" = 1060500765 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500765], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.326372' WHERE "spree_products"."id" = 1060500765  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589962 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.327520' WHERE "spree_products"."id" = 1060500765  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500765  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835029], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500765, "updated_at" = '2012-10-15 15:54:49.333116' WHERE "spree_product_properties"."id" = 1073273294 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835028], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500765, "updated_at" = '2012-10-15 15:54:49.334863' WHERE "spree_product_properties"."id" = 1073273295 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835030], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500765, "updated_at" = '2012-10-15 15:54:49.338763' WHERE "spree_product_properties"."id" = 1073273296 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500765) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451598 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451598], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500765 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500765, 558398675) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451595 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398670 AND "spree_taxons"."taxonomy_id" = 854451595 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398670]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398670], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451595], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398670]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398676]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398676 THEN 558398670 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398670]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398676]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500765, 558398676)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500765, 558398670) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500765) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500765 AND "spree_option_types"."id" = 935339221 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500765) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339221], ["position", 1], ["product_id", 1060500765], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.363024' WHERE "spree_products"."id" = 1060500765 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500765], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.364373' WHERE "spree_products"."id" = 1060500765  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589963, 979460163) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.367642' WHERE "spree_products"."id" = 1060500765 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500765], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.368658' WHERE "spree_products"."id" = 1060500765  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589964, 979460164) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339221 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.371270' WHERE "spree_products"."id" = 1060500765 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500765], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.372351' WHERE "spree_products"."id" = 1060500765  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589965, 979460165) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500765]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500765 AND "spree_option_types"."id" = 935339222 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500765) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339222], ["position", 2], ["product_id", 1060500765], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339222 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339222) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339222], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.383464' WHERE "spree_products"."id" = 1060500765 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500765], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.384798' WHERE "spree_products"."id" = 1060500765  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589966, 979460166) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339222 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339222) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "colour"], ["option_type_id", 935339222], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.389700' WHERE "spree_products"."id" = 1060500765 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500765], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.390600' WHERE "spree_products"."id" = 1060500765  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589967, 979460167) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500765]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500765) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589963 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589964 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589965 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589966 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589967 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500765) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.428265' WHERE "spree_products"."id" = 1060500765  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589963 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.429316' WHERE "spree_products"."id" = 1060500765 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.430206' WHERE "spree_products"."id" = 1060500765  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589964 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.431315' WHERE "spree_products"."id" = 1060500765 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.432268' WHERE "spree_products"."id" = 1060500765  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589965 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.433183' WHERE "spree_products"."id" = 1060500765 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.434296' WHERE "spree_products"."id" = 1060500765  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589966 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.435314' WHERE "spree_products"."id" = 1060500765 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500765 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.436482' WHERE "spree_products"."id" = 1060500765  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589967 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.437322' WHERE "spree_products"."id" = 1060500765 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500765) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:49.440120' WHERE "spree_products"."id" = 1060500765 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500765 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.8ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500765 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589962) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500765)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.2ms) rollback transaction SQL (4.3ms) DELETE FROM "spree_products" SQL (1.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (22.7ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500766 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.624754' WHERE "spree_products"."id" = 1060500766 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500766], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.626115' WHERE "spree_products"."id" = 1060500766  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589968 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.627426' WHERE "spree_products"."id" = 1060500766  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500766  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835031], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500766, "updated_at" = '2012-10-15 15:54:49.653760' WHERE "spree_product_properties"."id" = 1073273297 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500766) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451599 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451599], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500766 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500766, 558398677) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451600 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451600], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500766, 558398678) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500766) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500766 AND "spree_option_types"."id" = 935339223 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500766) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339223], ["position", 1], ["product_id", 1060500766], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339223) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339223], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500766 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.723210' WHERE "spree_products"."id" = 1060500766 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500766], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.724449' WHERE "spree_products"."id" = 1060500766  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589969, 979460168) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339223) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339223], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500766 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.728448' WHERE "spree_products"."id" = 1060500766 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500766], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.729581' WHERE "spree_products"."id" = 1060500766  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589970, 979460169) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339223) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339223], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500766 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.733438' WHERE "spree_products"."id" = 1060500766 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500766], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.734487' WHERE "spree_products"."id" = 1060500766  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589971, 979460170) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500766]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500766) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589969 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589970 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589971 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500766) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500766 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.767830' WHERE "spree_products"."id" = 1060500766  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589969 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.768836' WHERE "spree_products"."id" = 1060500766 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500766 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.770043' WHERE "spree_products"."id" = 1060500766  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589970 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.770847' WHERE "spree_products"."id" = 1060500766 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500766 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.771681' WHERE "spree_products"."id" = 1060500766  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589971 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.772798' WHERE "spree_products"."id" = 1060500766 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500766) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:49.774984' WHERE "spree_products"."id" = 1060500766 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500766 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500767 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.783178' WHERE "spree_products"."id" = 1060500767 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500767], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.784392' WHERE "spree_products"."id" = 1060500767  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589972 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.785548' WHERE "spree_products"."id" = 1060500767  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500767  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835032], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500767, "updated_at" = '2012-10-15 15:54:49.791868' WHERE "spree_product_properties"."id" = 1073273298 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500767) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451599 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500767 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500767, 558398677) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451601 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451601], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500767, 558398679) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451599 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398677 AND "spree_taxons"."taxonomy_id" = 854451599 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398677]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398677], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451599], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398677]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398680]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398680 THEN 558398677 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398677]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398680]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398680 AND "spree_taxons"."taxonomy_id" = 854451599 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398680]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398680], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451599], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398680]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398681]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398681 THEN 558398680 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398680]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398681]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500767, 558398680)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500767, 558398681) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500767) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500767 AND "spree_option_types"."id" = 935339223 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500767) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339223], ["position", 1], ["product_id", 1060500767], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500767 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.828305' WHERE "spree_products"."id" = 1060500767 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500767], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.829252' WHERE "spree_products"."id" = 1060500767  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589973, 979460168) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500767 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.831706' WHERE "spree_products"."id" = 1060500767 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500767], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.832658' WHERE "spree_products"."id" = 1060500767  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589974, 979460169) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500767 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.834605' WHERE "spree_products"."id" = 1060500767 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500767], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.835526' WHERE "spree_products"."id" = 1060500767  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589975, 979460170) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500767]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500767) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589973 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589974 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589975 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500767) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500767 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.849298' WHERE "spree_products"."id" = 1060500767  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589973 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.850759' WHERE "spree_products"."id" = 1060500767 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500767 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.851869' WHERE "spree_products"."id" = 1060500767  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589974 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.852869' WHERE "spree_products"."id" = 1060500767 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500767 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.854292' WHERE "spree_products"."id" = 1060500767  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589975 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.855765' WHERE "spree_products"."id" = 1060500767 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500767) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:49.858206' WHERE "spree_products"."id" = 1060500767 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500767 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.864587' WHERE "spree_products"."id" = 1060500768 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500768], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.865540' WHERE "spree_products"."id" = 1060500768  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589976 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.866661' WHERE "spree_products"."id" = 1060500768  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500768  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835033], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500768, "updated_at" = '2012-10-15 15:54:49.871869' WHERE "spree_product_properties"."id" = 1073273299 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835032], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500768, "updated_at" = '2012-10-15 15:54:49.873625' WHERE "spree_product_properties"."id" = 1073273300 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835034], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500768, "updated_at" = '2012-10-15 15:54:49.876599' WHERE "spree_product_properties"."id" = 1073273301 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500768) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451602 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451602], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500768 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500768, 558398682) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451599 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398677 AND "spree_taxons"."taxonomy_id" = 854451599 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398677]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398677], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451599], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398677]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398683]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398683 THEN 558398677 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398677]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398683]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500768, 558398683)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500768, 558398677) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500768) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500768 AND "spree_option_types"."id" = 935339223 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500768) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339223], ["position", 1], ["product_id", 1060500768], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.900077' WHERE "spree_products"."id" = 1060500768 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500768], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.901194' WHERE "spree_products"."id" = 1060500768  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589977, 979460168) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.903344' WHERE "spree_products"."id" = 1060500768 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500768], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.904372' WHERE "spree_products"."id" = 1060500768  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589978, 979460169) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339223 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.906506' WHERE "spree_products"."id" = 1060500768 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500768], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.907737' WHERE "spree_products"."id" = 1060500768  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589979, 979460170) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500768]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500768 AND "spree_option_types"."id" = 935339224 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500768) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["option_type_id", 935339224], ["position", 2], ["product_id", 1060500768], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339224 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339224) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339224], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.918434' WHERE "spree_products"."id" = 1060500768 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500768], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.919793' WHERE "spree_products"."id" = 1060500768  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589980, 979460171) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339224 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339224) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00], ["name", "colour"], ["option_type_id", 935339224], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.924441' WHERE "spree_products"."id" = 1060500768 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500768], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.925438' WHERE "spree_products"."id" = 1060500768  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589981, 979460172) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500768]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500768) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589977 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589978 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589979 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589980 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589981 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500768) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.959371' WHERE "spree_products"."id" = 1060500768  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589977 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.960576' WHERE "spree_products"."id" = 1060500768 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.961570' WHERE "spree_products"."id" = 1060500768  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589978 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.962709' WHERE "spree_products"."id" = 1060500768 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.963563' WHERE "spree_products"."id" = 1060500768  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589979 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.964438' WHERE "spree_products"."id" = 1060500768 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.965232' WHERE "spree_products"."id" = 1060500768  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589980 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.966196' WHERE "spree_products"."id" = 1060500768 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500768 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.967268' WHERE "spree_products"."id" = 1060500768  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013589981 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:49.968077' WHERE "spree_products"."id" = 1060500768 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500768) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.4ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:54:49.970618' WHERE "spree_products"."id" = 1060500768 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500768 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (20.1ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500768 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013589976) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500768)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction SQL (3.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (22.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (1.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500769 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.151751' WHERE "spree_products"."id" = 1060500769 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500769], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.153405' WHERE "spree_products"."id" = 1060500769  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589982 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.154672' WHERE "spree_products"."id" = 1060500769  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500769  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["product_id", nil], ["property_id", 905835035], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500769, "updated_at" = '2012-10-15 15:54:50.181873' WHERE "spree_product_properties"."id" = 1073273302 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451603 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451603], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500769 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500769, 558398684) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451604 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451604], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500769, 558398685) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500769 AND "spree_option_types"."id" = 935339225 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500769) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["option_type_id", 935339225], ["position", 1], ["product_id", 1060500769], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339225 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339225) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339225], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500769 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.207874' WHERE "spree_products"."id" = 1060500769 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500769], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.209349' WHERE "spree_products"."id" = 1060500769  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589983, 979460173) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339225 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339225) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339225], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500769 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.213808' WHERE "spree_products"."id" = 1060500769 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500769], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.215056' WHERE "spree_products"."id" = 1060500769  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589984, 979460174) Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339225 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339225) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339225], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500769 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.219488' WHERE "spree_products"."id" = 1060500769 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500769], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.240062' WHERE "spree_products"."id" = 1060500769  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589985, 979460175) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500769]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589983 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589984 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589985 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500769 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.251319' WHERE "spree_products"."id" = 1060500769  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589983 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.252511' WHERE "spree_products"."id" = 1060500769 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500769 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.253401' WHERE "spree_products"."id" = 1060500769  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589984 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.254322' WHERE "spree_products"."id" = 1060500769 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500769 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.255379' WHERE "spree_products"."id" = 1060500769  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589985 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:50.256129' WHERE "spree_products"."id" = 1060500769 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589982 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (4.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:50 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1 Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:51 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1 Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500769) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:54:52.924631' WHERE "spree_products"."id" = 1060500769 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500769 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500770 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:52.964460' WHERE "spree_products"."id" = 1060500770 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500770], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:52.966792' WHERE "spree_products"."id" = 1060500770  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589986 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:52.968562' WHERE "spree_products"."id" = 1060500770  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500770  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["product_id", nil], ["property_id", 905835036], ["updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500770, "updated_at" = '2012-10-15 15:54:52.979895' WHERE "spree_product_properties"."id" = 1073273303 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500770) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451603 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500770 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500770, 558398684) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451605 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451605], ["updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500770, 558398686) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451606 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451606], ["updated_at", Mon, 15 Oct 2012 15:54:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500770, 558398687) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500770) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500770 AND "spree_option_types"."id" = 935339225 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500770) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:54:53 UTC +00:00], ["option_type_id", 935339225], ["position", 1], ["product_id", 1060500770], ["updated_at", Mon, 15 Oct 2012 15:54:53 UTC +00:00]] Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339225 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500770 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.012161' WHERE "spree_products"."id" = 1060500770 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500770], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.013264' WHERE "spree_products"."id" = 1060500770  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589987, 979460173) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339225 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500770 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.016336' WHERE "spree_products"."id" = 1060500770 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500770], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.017435' WHERE "spree_products"."id" = 1060500770  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589988, 979460174) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339225 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500770 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.020090' WHERE "spree_products"."id" = 1060500770 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500770], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.021401' WHERE "spree_products"."id" = 1060500770  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589989, 979460175) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500770]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500770) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589987 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589988 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589989 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500770) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500770 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.035040' WHERE "spree_products"."id" = 1060500770  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589987 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.036314' WHERE "spree_products"."id" = 1060500770 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500770 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.037591' WHERE "spree_products"."id" = 1060500770  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589988 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.038464' WHERE "spree_products"."id" = 1060500770 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500770 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.039660' WHERE "spree_products"."id" = 1060500770  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589989 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:54:53.040753' WHERE "spree_products"."id" = 1060500770 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500770) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589986 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (3.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:53 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 15 Oct 2012 15:54:58 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500770) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:54:59.869478' WHERE "spree_products"."id" = 1060500770 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500770 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (45.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500769 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013589982 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451607 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451607], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451607], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451607], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.0ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451608 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451608], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451608], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451608], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (1.7ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451608 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451608 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451608 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (23.0ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451609 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451609], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) begin transaction  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451609], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.7ms) UPDATE "spree_taxons" SET "parent_id" = 558398694, "updated_at" = '2012-10-15 15:55:00.488760' WHERE "spree_taxons"."id" = 558398695 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398694]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398695]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398695 THEN 558398694 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398694]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398695]]  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398694 ORDER BY "lft" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.531721' WHERE "spree_products"."id" = 1060500771 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500771], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.533002' WHERE "spree_products"."id" = 1060500771  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589990 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.556335' WHERE "spree_products"."id" = 1060500771  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500771  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (39.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["product_id", nil], ["property_id", 905835037], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["value", nil]]  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500771, "updated_at" = '2012-10-15 15:55:00.603537' WHERE "spree_product_properties"."id" = 1073273304 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500771) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451609 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500771 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500771, 558398694) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451610 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451610], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500771, 558398696) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500771) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500771 AND "spree_option_types"."id" = 935339226 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500771) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["option_type_id", 935339226], ["position", 1], ["product_id", 1060500771], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339226) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339226], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.629380' WHERE "spree_products"."id" = 1060500771 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500771], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.631004' WHERE "spree_products"."id" = 1060500771  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589991, 979460176) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339226) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339226], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.635426' WHERE "spree_products"."id" = 1060500771 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500771], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.636790' WHERE "spree_products"."id" = 1060500771  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589992, 979460177) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339226) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339226], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Product Load (21.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.661347' WHERE "spree_products"."id" = 1060500771 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500771], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.662604' WHERE "spree_products"."id" = 1060500771  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589993, 979460178) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500771]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500771) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589991 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589992 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589993 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500771) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.676269' WHERE "spree_products"."id" = 1060500771  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589991 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.677332' WHERE "spree_products"."id" = 1060500771 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.678282' WHERE "spree_products"."id" = 1060500771  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013589992 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.679131' WHERE "spree_products"."id" = 1060500771 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.680275' WHERE "spree_products"."id" = 1060500771  (2.4ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013589993 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.683559' WHERE "spree_products"."id" = 1060500771 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500771) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:55:00.686004' WHERE "spree_products"."id" = 1060500771 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500771 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.693417' WHERE "spree_products"."id" = 1060500772 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500772], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.694596' WHERE "spree_products"."id" = 1060500772  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589994 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.696264' WHERE "spree_products"."id" = 1060500772  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500772  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["product_id", nil], ["property_id", 905835038], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500772, "updated_at" = '2012-10-15 15:55:00.703590' WHERE "spree_product_properties"."id" = 1073273305 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500772) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451609 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500772 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500772, 558398694) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451611 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451611], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500772, 558398697) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451609 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398694 AND "spree_taxons"."taxonomy_id" = 854451609 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398694]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398694], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451609], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398694]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398698]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398698 THEN 558398694 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398694]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398698]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398698 AND "spree_taxons"."taxonomy_id" = 854451609 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398698]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398698], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451609], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398698]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398699]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398699 THEN 558398698 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398698]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398699]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500772, 558398698)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500772, 558398699) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500772) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500772 AND "spree_option_types"."id" = 935339226 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500772) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["option_type_id", 935339226], ["position", 1], ["product_id", 1060500772], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.737173' WHERE "spree_products"."id" = 1060500772 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500772], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.738252' WHERE "spree_products"."id" = 1060500772  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589995, 979460176) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.740670' WHERE "spree_products"."id" = 1060500772 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500772], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.741849' WHERE "spree_products"."id" = 1060500772  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589996, 979460177) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.744091' WHERE "spree_products"."id" = 1060500772 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500772], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.745219' WHERE "spree_products"."id" = 1060500772  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589997, 979460178) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500772]] Current value to assign : Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500772) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589995 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589996 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589997 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500772) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.759838' WHERE "spree_products"."id" = 1060500772  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013589995 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.761734' WHERE "spree_products"."id" = 1060500772 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.762720' WHERE "spree_products"."id" = 1060500772  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013589996 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.763524' WHERE "spree_products"."id" = 1060500772 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.765487' WHERE "spree_products"."id" = 1060500772  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013589997 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.766764' WHERE "spree_products"."id" = 1060500772 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500772) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:55:00.768928' WHERE "spree_products"."id" = 1060500772 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500772 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.775680' WHERE "spree_products"."id" = 1060500773 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500773], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.776965' WHERE "spree_products"."id" = 1060500773  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013589998 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.778005' WHERE "spree_products"."id" = 1060500773  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500773  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["product_id", nil], ["property_id", 905835039], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500773, "updated_at" = '2012-10-15 15:55:00.783785' WHERE "spree_product_properties"."id" = 1073273306 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["product_id", nil], ["property_id", 905835038], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500773, "updated_at" = '2012-10-15 15:55:00.785582' WHERE "spree_product_properties"."id" = 1073273307 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["product_id", nil], ["property_id", 905835040], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500773, "updated_at" = '2012-10-15 15:55:00.791896' WHERE "spree_product_properties"."id" = 1073273308 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500773) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451612 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451612], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500773 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500773, 558398700) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451609 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398694 AND "spree_taxons"."taxonomy_id" = 854451609 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500773, 558398695)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500773, 558398694) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500773) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500773 AND "spree_option_types"."id" = 935339226 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500773) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["option_type_id", 935339226], ["position", 1], ["product_id", 1060500773], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.812006' WHERE "spree_products"."id" = 1060500773 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500773], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.813915' WHERE "spree_products"."id" = 1060500773  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013589999, 979460176) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.815894' WHERE "spree_products"."id" = 1060500773 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500773], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.816960' WHERE "spree_products"."id" = 1060500773  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590000, 979460177) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339226 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.819088' WHERE "spree_products"."id" = 1060500773 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500773], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.820149' WHERE "spree_products"."id" = 1060500773  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590001, 979460178) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500773]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500773 AND "spree_option_types"."id" = 935339227 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500773) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["option_type_id", 935339227], ["position", 2], ["product_id", 1060500773], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339227 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339227) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339227], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.830099' WHERE "spree_products"."id" = 1060500773 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500773], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.831301' WHERE "spree_products"."id" = 1060500773  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590002, 979460179) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339227 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339227) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "colour"], ["option_type_id", 935339227], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.835903' WHERE "spree_products"."id" = 1060500773 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500773], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.836968' WHERE "spree_products"."id" = 1060500773  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590003, 979460180) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500773]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500773) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013589999 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590000 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590001 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590002 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590003 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500773) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.873007' WHERE "spree_products"."id" = 1060500773  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013589999 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.873971' WHERE "spree_products"."id" = 1060500773 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.874853' WHERE "spree_products"."id" = 1060500773  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590000 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.875529' WHERE "spree_products"."id" = 1060500773 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.876355' WHERE "spree_products"."id" = 1060500773  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590001 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.877596' WHERE "spree_products"."id" = 1060500773 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.878565' WHERE "spree_products"."id" = 1060500773  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590002 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.879270' WHERE "spree_products"."id" = 1060500773 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500773 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.880253' WHERE "spree_products"."id" = 1060500773  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590003 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:00.881007' WHERE "spree_products"."id" = 1060500773 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500773) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:55:00.883758' WHERE "spree_products"."id" = 1060500773 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500773 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.9ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500771 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500771 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500772 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500772 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451609 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398694 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451609 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398698 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398698 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398699 ORDER BY "lft" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451613 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451613], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451613], ["updated_at", Mon, 15 Oct 2012 15:55:00 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) UPDATE "spree_taxons" SET "parent_id" = 558398701, "updated_at" = '2012-10-15 15:55:00.978656' WHERE "spree_taxons"."id" = 558398702 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398701]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398702]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398702 THEN 558398701 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398701]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398702]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398701 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.055080' WHERE "spree_products"."id" = 1060500774 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500774], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.056295' WHERE "spree_products"."id" = 1060500774  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590004 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.078444' WHERE "spree_products"."id" = 1060500774  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500774  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835041], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500774, "updated_at" = '2012-10-15 15:55:01.085409' WHERE "spree_product_properties"."id" = 1073273309 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451613 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500774 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500774, 558398701) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451614 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451614], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500774, 558398703) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500774 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500774) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339228], ["position", 1], ["product_id", 1060500774], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339228) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339228], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.114269' WHERE "spree_products"."id" = 1060500774 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500774], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.115248' WHERE "spree_products"."id" = 1060500774  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590005, 979460181) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500774]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500774 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339228) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339228], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.123704' WHERE "spree_products"."id" = 1060500774 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500774], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.124702' WHERE "spree_products"."id" = 1060500774  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590006, 979460182) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500774]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500774 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339228) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339228], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.153325' WHERE "spree_products"."id" = 1060500774 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500774], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.154386' WHERE "spree_products"."id" = 1060500774  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590007, 979460183) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500774]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590005 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590006 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590007 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.169444' WHERE "spree_products"."id" = 1060500774  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590005 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.170773' WHERE "spree_products"."id" = 1060500774 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.171855' WHERE "spree_products"."id" = 1060500774  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590006 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.172648' WHERE "spree_products"."id" = 1060500774 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.173362' WHERE "spree_products"."id" = 1060500774  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590007 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.174168' WHERE "spree_products"."id" = 1060500774 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500774) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:55:01.177290' WHERE "spree_products"."id" = 1060500774 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500774 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.184374' WHERE "spree_products"."id" = 1060500775 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500775], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.185781' WHERE "spree_products"."id" = 1060500775  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590008 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.186918' WHERE "spree_products"."id" = 1060500775  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500775  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835042], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500775, "updated_at" = '2012-10-15 15:55:01.192011' WHERE "spree_product_properties"."id" = 1073273310 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451613 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500775 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500775, 558398701) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451615 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451615], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500775, 558398704) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451613 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398701 AND "spree_taxons"."taxonomy_id" = 854451613 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398701]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398701], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451613], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398701]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398705]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398705 THEN 558398701 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398701]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398705]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398705 AND "spree_taxons"."taxonomy_id" = 854451613 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398705]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398705], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451613], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398706]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398706 THEN 558398705 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398706]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500775, 558398705)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500775, 558398706) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500775 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500775) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339228], ["position", 1], ["product_id", 1060500775], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.227676' WHERE "spree_products"."id" = 1060500775 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500775], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.228827' WHERE "spree_products"."id" = 1060500775  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590009, 979460181) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500775]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500775 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.234892' WHERE "spree_products"."id" = 1060500775 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500775], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.235729' WHERE "spree_products"."id" = 1060500775  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590010, 979460182) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500775]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500775 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.242292' WHERE "spree_products"."id" = 1060500775 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500775], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.243153' WHERE "spree_products"."id" = 1060500775  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590011, 979460183) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500775]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590009 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590010 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590011 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.256882' WHERE "spree_products"."id" = 1060500775  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590009 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.258011' WHERE "spree_products"."id" = 1060500775 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.258802' WHERE "spree_products"."id" = 1060500775  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590010 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.260049' WHERE "spree_products"."id" = 1060500775 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.260822' WHERE "spree_products"."id" = 1060500775  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590011 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.261694' WHERE "spree_products"."id" = 1060500775 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500775) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:55:01.263845' WHERE "spree_products"."id" = 1060500775 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500775 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.270064' WHERE "spree_products"."id" = 1060500776 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500776], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.271012' WHERE "spree_products"."id" = 1060500776  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590012 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.272466' WHERE "spree_products"."id" = 1060500776  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500776  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835043], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500776, "updated_at" = '2012-10-15 15:55:01.278043' WHERE "spree_product_properties"."id" = 1073273311 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835042], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500776, "updated_at" = '2012-10-15 15:55:01.280465' WHERE "spree_product_properties"."id" = 1073273312 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835044], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500776, "updated_at" = '2012-10-15 15:55:01.284012' WHERE "spree_product_properties"."id" = 1073273313 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451616 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451616], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500776 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500776, 558398707) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451613 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398701 AND "spree_taxons"."taxonomy_id" = 854451613 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500776, 558398702)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500776, 558398701) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500776 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500776) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339228], ["position", 1], ["product_id", 1060500776], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.344117' WHERE "spree_products"."id" = 1060500776 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500776], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.345410' WHERE "spree_products"."id" = 1060500776  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590013, 979460181) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500776]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500776 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.352134' WHERE "spree_products"."id" = 1060500776 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500776], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.353417' WHERE "spree_products"."id" = 1060500776  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590014, 979460182) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500776]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500776 AND "spree_option_types"."id" = 935339228 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339228 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.359899' WHERE "spree_products"."id" = 1060500776 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500776], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.360902' WHERE "spree_products"."id" = 1060500776  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590015, 979460183) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500776]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500776 AND "spree_option_types"."id" = 935339229 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500776) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339229], ["position", 2], ["product_id", 1060500776], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339229 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339229) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339229], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.372279' WHERE "spree_products"."id" = 1060500776 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500776], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.373229' WHERE "spree_products"."id" = 1060500776  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590016, 979460184) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500776]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500776 AND "spree_option_types"."id" = 935339229 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339229 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339229) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "colour"], ["option_type_id", 935339229], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.381915' WHERE "spree_products"."id" = 1060500776 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500776], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.382955' WHERE "spree_products"."id" = 1060500776  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590017, 979460185) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500776]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590013 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590014 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590015 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590016 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590017 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.474463' WHERE "spree_products"."id" = 1060500776  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590013 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.476143' WHERE "spree_products"."id" = 1060500776 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.477185' WHERE "spree_products"."id" = 1060500776  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590014 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.478014' WHERE "spree_products"."id" = 1060500776 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.480096' WHERE "spree_products"."id" = 1060500776  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590015 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.481185' WHERE "spree_products"."id" = 1060500776 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.482472' WHERE "spree_products"."id" = 1060500776  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590016 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.483243' WHERE "spree_products"."id" = 1060500776 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500776 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.484176' WHERE "spree_products"."id" = 1060500776  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590017 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.484944' WHERE "spree_products"."id" = 1060500776 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500776) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:55:01.487822' WHERE "spree_products"."id" = 1060500776 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500776 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.4ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500774 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500774 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500775 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500775 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451613 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398701 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451613 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398705 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398705 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398706 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (21.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451617 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451617], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (2.6ms) commit transaction  (0.3ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451617], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) UPDATE "spree_taxons" SET "parent_id" = 558398708, "updated_at" = '2012-10-15 15:55:01.598233' WHERE "spree_taxons"."id" = 558398709 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398708]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398709]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398709 THEN 558398708 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398708]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398709]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398708 ORDER BY "lft"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.621944' WHERE "spree_products"."id" = 1060500777 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500777], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.623205' WHERE "spree_products"."id" = 1060500777  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590018 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.624980' WHERE "spree_products"."id" = 1060500777  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500777  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835045], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500777, "updated_at" = '2012-10-15 15:55:01.630016' WHERE "spree_product_properties"."id" = 1073273314 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (20.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451617 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500777 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500777, 558398708) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451618 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451618], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500777, 558398710) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500777 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500777) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339230], ["position", 1], ["product_id", 1060500777], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339230) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339230], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.676703' WHERE "spree_products"."id" = 1060500777 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500777], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.678017' WHERE "spree_products"."id" = 1060500777  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590019, 979460186) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500777]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500777 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339230) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339230], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.687000' WHERE "spree_products"."id" = 1060500777 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500777], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (21.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.687859' WHERE "spree_products"."id" = 1060500777  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590020, 979460187) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500777]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500777 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339230) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339230], ["position", 3], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.717780' WHERE "spree_products"."id" = 1060500777 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500777], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.718914' WHERE "spree_products"."id" = 1060500777  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590021, 979460188) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500777]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590019 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590020 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590021 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.736017' WHERE "spree_products"."id" = 1060500777  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590019 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.737343' WHERE "spree_products"."id" = 1060500777 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.738828' WHERE "spree_products"."id" = 1060500777  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590020 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.739903' WHERE "spree_products"."id" = 1060500777 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.741186' WHERE "spree_products"."id" = 1060500777  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590021 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.742140' WHERE "spree_products"."id" = 1060500777 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500777) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-15 15:55:01.744272' WHERE "spree_products"."id" = 1060500777 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.750622' WHERE "spree_products"."id" = 1060500778 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500778], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.751914' WHERE "spree_products"."id" = 1060500778  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590022 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.753113' WHERE "spree_products"."id" = 1060500778  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500778  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835046], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500778, "updated_at" = '2012-10-15 15:55:01.758018' WHERE "spree_product_properties"."id" = 1073273315 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451617 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500778 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500778, 558398708) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451619 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451619], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500778, 558398711) Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451617 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398708 AND "spree_taxons"."taxonomy_id" = 854451617 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398708]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398708], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451617], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398708]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398712]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398712 THEN 558398708 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398708]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398712]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398712 AND "spree_taxons"."taxonomy_id" = 854451617 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398712]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398712], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451617], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398712]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398713]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398713 THEN 558398712 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398712]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398713]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500778, 558398712)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500778, 558398713) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500778 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500778) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339230], ["position", 1], ["product_id", 1060500778], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.793018' WHERE "spree_products"."id" = 1060500778 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500778], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.794238' WHERE "spree_products"."id" = 1060500778  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590023, 979460186) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500778]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500778 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.799979' WHERE "spree_products"."id" = 1060500778 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500778], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.801236' WHERE "spree_products"."id" = 1060500778  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590024, 979460187) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500778]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500778 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.807842' WHERE "spree_products"."id" = 1060500778 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500778], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.808825' WHERE "spree_products"."id" = 1060500778  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590025, 979460188) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500778]] Current value to assign : Current value to assign : Spree::Variant Load (2.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590023 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590024 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590025 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.869899' WHERE "spree_products"."id" = 1060500778  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590023 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.871019' WHERE "spree_products"."id" = 1060500778 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.872357' WHERE "spree_products"."id" = 1060500778  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590024 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.873222' WHERE "spree_products"."id" = 1060500778 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.874186' WHERE "spree_products"."id" = 1060500778  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590025 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.874947' WHERE "spree_products"."id" = 1060500778 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500778) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-15 15:55:01.878943' WHERE "spree_products"."id" = 1060500778 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.885605' WHERE "spree_products"."id" = 1060500779 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500779], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.886720' WHERE "spree_products"."id" = 1060500779  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590026 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.887803' WHERE "spree_products"."id" = 1060500779  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500779  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835047], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500779, "updated_at" = '2012-10-15 15:55:01.893019' WHERE "spree_product_properties"."id" = 1073273316 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835046], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500779, "updated_at" = '2012-10-15 15:55:01.895857' WHERE "spree_product_properties"."id" = 1073273317 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["product_id", nil], ["property_id", 905835048], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500779, "updated_at" = '2012-10-15 15:55:01.899535' WHERE "spree_product_properties"."id" = 1073273318 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451620 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451620], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500779 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500779, 558398714) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451617 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398708 AND "spree_taxons"."taxonomy_id" = 854451617 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500779, 558398709)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500779, 558398708) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500779 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500779) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339230], ["position", 1], ["product_id", 1060500779], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.918366' WHERE "spree_products"."id" = 1060500779 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500779], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.919365' WHERE "spree_products"."id" = 1060500779  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590027, 979460186) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500779]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500779 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.925695' WHERE "spree_products"."id" = 1060500779 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500779], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.927007' WHERE "spree_products"."id" = 1060500779  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590028, 979460187) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500779]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500779 AND "spree_option_types"."id" = 935339230 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339230 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.933601' WHERE "spree_products"."id" = 1060500779 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500779], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.934852' WHERE "spree_products"."id" = 1060500779  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590029, 979460188) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500779]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500779 AND "spree_option_types"."id" = 935339231 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500779) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["option_type_id", 935339231], ["position", 2], ["product_id", 1060500779], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339231 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339231) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339231], ["position", 1], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.945002' WHERE "spree_products"."id" = 1060500779 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500779], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.946020' WHERE "spree_products"."id" = 1060500779  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590030, 979460189) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500779]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500779 AND "spree_option_types"."id" = 935339231 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339231 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339231) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00], ["name", "colour"], ["option_type_id", 935339231], ["position", 2], ["presentation", nil], ["updated_at", Mon, 15 Oct 2012 15:55:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.954455' WHERE "spree_products"."id" = 1060500779 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500779], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.955360' WHERE "spree_products"."id" = 1060500779  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590031, 979460190) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500779]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (19.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590027 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590028 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590029 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590030 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590031 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.989500' WHERE "spree_products"."id" = 1060500779  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590027 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.990752' WHERE "spree_products"."id" = 1060500779 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.991724' WHERE "spree_products"."id" = 1060500779  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590028 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.993186' WHERE "spree_products"."id" = 1060500779 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.994151' WHERE "spree_products"."id" = 1060500779  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590029 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.994956' WHERE "spree_products"."id" = 1060500779 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.996290' WHERE "spree_products"."id" = 1060500779  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590030 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.996999' WHERE "spree_products"."id" = 1060500779 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500779 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.998602' WHERE "spree_products"."id" = 1060500779  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590031 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:01.999990' WHERE "spree_products"."id" = 1060500779 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500779) LIMIT 1  (2.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-15 15:55:02.004596' WHERE "spree_products"."id" = 1060500779  (5.7ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500777 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500777 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500778 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500778 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451617 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398708 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451617 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398712 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398712 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398713 ORDER BY "lft" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500780 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.084549' WHERE "spree_products"."id" = 1060500780 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500780], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (22.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.085925' WHERE "spree_products"."id" = 1060500780  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590032 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.110022' WHERE "spree_products"."id" = 1060500780  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500780 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500780  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (38.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451621], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398715 AND "spree_taxons"."taxonomy_id" = 854451621 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398715]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398715], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451621], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398715]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398716]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398716 THEN 558398715 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398715]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398716]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500780 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500780, 558398716)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500780, 558398715) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500780) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451622 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451622], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500780, 558398717) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500780) LIMIT 1 Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590032 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500780) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-15 15:55:02.177377' WHERE "spree_products"."id" = 1060500780  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590032 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.179008' WHERE "spree_products"."id" = 1060500780 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500780 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060500780 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500781 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.186500' WHERE "spree_products"."id" = 1060500781 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500781], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.187450' WHERE "spree_products"."id" = 1060500781  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590033 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.188443' WHERE "spree_products"."id" = 1060500781  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500781 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500781  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500781 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500781, 558398715) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500781) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451623 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451623], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500781, 558398718) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500781) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398715 AND "spree_taxons"."taxonomy_id" = 854451621 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398715]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398715], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451621], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398715]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398719]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398719 THEN 558398715 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398715]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398719]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398719 AND "spree_taxons"."taxonomy_id" = 854451621 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398719]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398719], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451621], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398719]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398720]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398720 THEN 558398719 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398719]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398720]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500781, 558398719)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500781, 558398720) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500781) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590033 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500781) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:55:02.217235' WHERE "spree_products"."id" = 1060500781  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590033 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.218608' WHERE "spree_products"."id" = 1060500781 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500781 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060500781 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500782 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.224837' WHERE "spree_products"."id" = 1060500782 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500782], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.225890' WHERE "spree_products"."id" = 1060500782  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590034 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.227244' WHERE "spree_products"."id" = 1060500782  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500782 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500782  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451624 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451624], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398721 AND "spree_taxons"."taxonomy_id" = 854451624 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398721]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398721], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451624], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398721]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398722]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398722 THEN 558398721 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398721]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398722]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500782 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500782, 558398722)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500782, 558398721) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500782) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451625], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500782, 558398723) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500782) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590034 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500782) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-15 15:55:02.253313' WHERE "spree_products"."id" = 1060500782  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590034 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.254856' WHERE "spree_products"."id" = 1060500782 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500782 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060500782 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500783 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.261142' WHERE "spree_products"."id" = 1060500783 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500783], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.262555' WHERE "spree_products"."id" = 1060500783  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590035 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.263719' WHERE "spree_products"."id" = 1060500783  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500783 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500783  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451624 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398721 AND "spree_taxons"."taxonomy_id" = 854451624 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500783 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500783, 558398722)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500783, 558398721) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500783) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398715 AND "spree_taxons"."taxonomy_id" = 854451621 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398719 AND "spree_taxons"."taxonomy_id" = 854451621 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398719]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398719], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451621], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398719]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398724]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398724 THEN 558398719 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398719]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398724]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398724 AND "spree_taxons"."taxonomy_id" = 854451621 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398724]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398724], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451621], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398724]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398725]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398725 THEN 558398724 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398724]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398725]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500783, 558398719)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500783, 558398724)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500783, 558398725)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500783, 558398715) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500783) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590035 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500783) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:55:02.291341' WHERE "spree_products"."id" = 1060500783  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590035 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.292742' WHERE "spree_products"."id" = 1060500783 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500783 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060500783 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500784 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.299024' WHERE "spree_products"."id" = 1060500784 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500784], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.300250' WHERE "spree_products"."id" = 1060500784  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590036 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.301187' WHERE "spree_products"."id" = 1060500784  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500784 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500784  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451624 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398721 AND "spree_taxons"."taxonomy_id" = 854451624 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398722 AND "spree_taxons"."taxonomy_id" = 854451624 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398722]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398722], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451624], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398722]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398726]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398726 THEN 558398722 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398722]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398726]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500784 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500784, 558398722)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500784, 558398726)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500784, 558398721) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500784) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451623 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500784, 558398718) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500784) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590036 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500784) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:55:02.319746' WHERE "spree_products"."id" = 1060500784  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590036 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.321269' WHERE "spree_products"."id" = 1060500784 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500784 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060500784 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (20.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451622 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451623 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451624 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451621 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398715 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398715) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398719 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398719) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398719) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398715 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398719 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398724 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398725 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398724) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451624 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451624 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398722 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398722 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398726 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398726) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451623 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451623 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398718 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451625 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398723 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500785 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.447563' WHERE "spree_products"."id" = 1060500785 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500785], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.449283' WHERE "spree_products"."id" = 1060500785  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590037 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.450433' WHERE "spree_products"."id" = 1060500785  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500785 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500785  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451626 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (21.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451626], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398727 AND "spree_taxons"."taxonomy_id" = 854451626 LIMIT 1  (0.8ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398727]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398727], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451626], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398727]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398728]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398728 THEN 558398727 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398727]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398728]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500785 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500785, 558398728)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500785, 558398727) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500785) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451627 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451627], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500785, 558398729) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500785) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590037 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500785) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-15 15:55:02.506274' WHERE "spree_products"."id" = 1060500785  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590037 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.507526' WHERE "spree_products"."id" = 1060500785 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500785 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500786 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.513867' WHERE "spree_products"."id" = 1060500786 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500786], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.515015' WHERE "spree_products"."id" = 1060500786  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590038 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.516134' WHERE "spree_products"."id" = 1060500786  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500786 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500786  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451626 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500786 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500786, 558398727) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500786) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451628 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451628], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500786, 558398730) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500786) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451626 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398727 AND "spree_taxons"."taxonomy_id" = 854451626 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398727]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398727], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451626], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398727]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398731]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398731 THEN 558398727 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398727]] Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398731]] Spree::Taxon Load (3.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398731 AND "spree_taxons"."taxonomy_id" = 854451626 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398731]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398731], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451626], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398731]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398732]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398732 THEN 558398731 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398731]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398732]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500786, 558398731)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500786, 558398732) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500786) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590038 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500786) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-15 15:55:02.590467' WHERE "spree_products"."id" = 1060500786  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590038 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.593028' WHERE "spree_products"."id" = 1060500786 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500786 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500787 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.600822' WHERE "spree_products"."id" = 1060500787 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500787], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.602166' WHERE "spree_products"."id" = 1060500787  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590039 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.603720' WHERE "spree_products"."id" = 1060500787  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500787 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500787  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451629], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398733 AND "spree_taxons"."taxonomy_id" = 854451629 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398733]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398733], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451629], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398733]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398734]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398734 THEN 558398733 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398733]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398734]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500787 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500787, 558398734)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500787, 558398733) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500787) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451630 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451630], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500787, 558398735) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500787) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590039 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500787) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-15 15:55:02.629621' WHERE "spree_products"."id" = 1060500787  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590039 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.631289' WHERE "spree_products"."id" = 1060500787 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500787 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500788 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.637646' WHERE "spree_products"."id" = 1060500788 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500788], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.638556' WHERE "spree_products"."id" = 1060500788  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590040 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.639722' WHERE "spree_products"."id" = 1060500788  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500788 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500788  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398733 AND "spree_taxons"."taxonomy_id" = 854451629 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500788 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500788, 558398734)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500788, 558398733) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500788) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451626 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398727 AND "spree_taxons"."taxonomy_id" = 854451626 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398731 AND "spree_taxons"."taxonomy_id" = 854451626 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398731]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398731], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451626], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398731]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398736]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398736 THEN 558398731 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398731]] Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398736]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398736 AND "spree_taxons"."taxonomy_id" = 854451626 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398736]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398736], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451626], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398736]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398737]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398737 THEN 558398736 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398736]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398737]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500788, 558398731)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500788, 558398736)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500788, 558398737)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500788, 558398727) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500788) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590040 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500788) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:55:02.668222' WHERE "spree_products"."id" = 1060500788  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590040 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.669925' WHERE "spree_products"."id" = 1060500788 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500788 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500789 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.675753' WHERE "spree_products"."id" = 1060500789 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500789], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.677012' WHERE "spree_products"."id" = 1060500789  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590041 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.678441' WHERE "spree_products"."id" = 1060500789  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500789 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500789  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398733 AND "spree_taxons"."taxonomy_id" = 854451629 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398734 AND "spree_taxons"."taxonomy_id" = 854451629 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398734]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398734], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451629], ["updated_at", Mon, 15 Oct 2012 15:55:02 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398734]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398738]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398738 THEN 558398734 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398734]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398738]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500789 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500789, 558398734)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500789, 558398738)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500789, 558398733) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500789) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451628 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500789, 558398730) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500789) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590041 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500789) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-15 15:55:02.696851' WHERE "spree_products"."id" = 1060500789  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590041 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-15 15:55:02.698456' WHERE "spree_products"."id" = 1060500789 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500789  (17.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451626 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451627 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451628 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451630 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451626 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451626 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398727 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398727) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398731 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398731) Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398731) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398727 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398731 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398736 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398737 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398736) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451629 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451629 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398734 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398734 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398738 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398738) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451628 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451628 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398730 ORDER BY "lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451630 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451630 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398735 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (24.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.7ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (24.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (59.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451631 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451631], ["updated_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00]]  (29.2ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451631], ["updated_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00]]  (35.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451631], ["updated_at", Sat, 20 Oct 2012 09:32:44 UTC +00:00]]  (20.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (53.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451632 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451632], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]]  (17.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451632], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451632], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]]  (2.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (3.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451633 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451633], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]]  (1.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451633], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451633], ["updated_at", Sat, 20 Oct 2012 09:32:45 UTC +00:00]]  (2.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (6.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (5.3ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.1ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.6ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (21.5ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 35 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 35 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 36 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 36 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 37 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 37 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 38 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 38 Current value to assign : Current value to assign :  (4.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (28.2ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (7.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 39 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 40 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 41 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 42  (15.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (4.3ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500790 LIMIT 1 SQL (13.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.528230' WHERE "spree_products"."id" = 1060500790 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500790], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.544747' WHERE "spree_products"."id" = 1060500790  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590042 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.548085' WHERE "spree_products"."id" = 1060500790  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500790 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500790  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590042 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500790) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::OptionType Exists (7.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500790 AND "spree_option_types"."id" = 935339232 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500790) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339232], ["position", 1], ["product_id", 1060500790], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500790) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-20 09:32:46.652787' WHERE "spree_products"."id" = 1060500790  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590042 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.654430' WHERE "spree_products"."id" = 1060500790 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500790 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060500790 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500791 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.661520' WHERE "spree_products"."id" = 1060500791 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500791], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.663001' WHERE "spree_products"."id" = 1060500791  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590043 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.664074' WHERE "spree_products"."id" = 1060500791  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500791 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500791  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590043 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500791) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500791 AND "spree_option_types"."id" = 935339232 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500791) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339232], ["position", 1], ["product_id", 1060500791], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500791) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-20 09:32:46.674301' WHERE "spree_products"."id" = 1060500791  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590043 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.676023' WHERE "spree_products"."id" = 1060500791 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500791 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060500791 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (36.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500792 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.723483' WHERE "spree_products"."id" = 1060500792 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500792], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.724810' WHERE "spree_products"."id" = 1060500792  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590044 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.727470' WHERE "spree_products"."id" = 1060500792  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500792 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500792  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590044 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500792) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500792 AND "spree_option_types"."id" = 935339232 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500792) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339232], ["position", 1], ["product_id", 1060500792], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500792 AND "spree_option_types"."id" = 935339233 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500792) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339233], ["position", 2], ["product_id", 1060500792], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500792) LIMIT 1  (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-20 09:32:46.744521' WHERE "spree_products"."id" = 1060500792  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013590044 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.746521' WHERE "spree_products"."id" = 1060500792 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500792 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060500792 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (45.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-20 09:32:46.799978')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-20 09:32:46.800619')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500790 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500790 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500792 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (31.1ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500793 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.885383' WHERE "spree_products"."id" = 1060500793 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500793], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.886702' WHERE "spree_products"."id" = 1060500793  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590045 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.887870' WHERE "spree_products"."id" = 1060500793  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500793 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500793  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590045 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500793) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500793 AND "spree_option_types"."id" = 935339234 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500793) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339234], ["position", 1], ["product_id", 1060500793], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500793) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-20 09:32:46.899523' WHERE "spree_products"."id" = 1060500793  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590045 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.901123' WHERE "spree_products"."id" = 1060500793 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500793 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500794 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.908231' WHERE "spree_products"."id" = 1060500794 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500794], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.909271' WHERE "spree_products"."id" = 1060500794  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590046 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.910111' WHERE "spree_products"."id" = 1060500794  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500794 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500794  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590046 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500794) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500794 AND "spree_option_types"."id" = 935339234 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500794) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339234], ["position", 1], ["product_id", 1060500794], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500794) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-20 09:32:46.920190' WHERE "spree_products"."id" = 1060500794  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590046 SQL (2.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.921389' WHERE "spree_products"."id" = 1060500794 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500794 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500795 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.930787' WHERE "spree_products"."id" = 1060500795 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500795], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.932070' WHERE "spree_products"."id" = 1060500795  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590047 SQL (4.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.933173' WHERE "spree_products"."id" = 1060500795  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500795 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500795  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590047 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500795) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500795 AND "spree_option_types"."id" = 935339234 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500795) ORDER BY position DESC LIMIT 1 SQL (37.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339234], ["position", 1], ["product_id", 1060500795], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500795 AND "spree_option_types"."id" = 935339235 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500795) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00], ["option_type_id", 935339235], ["position", 2], ["product_id", 1060500795], ["updated_at", Sat, 20 Oct 2012 09:32:46 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500795) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-20 09:32:46.991316' WHERE "spree_products"."id" = 1060500795  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013590047 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:46.992965' WHERE "spree_products"."id" = 1060500795 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500795  (6.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-20 09:32:47.001455')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-20 09:32:47.002017')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500793 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500793 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500795 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5.5ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 20 Oct 2012 10:32:47 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500796 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.072172' WHERE "spree_products"."id" = 1060500796 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500796], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.073673' WHERE "spree_products"."id" = 1060500796  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590048 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.078442' WHERE "spree_products"."id" = 1060500796  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500796 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500796  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500796 AND "spree_option_types"."id" = 935339236 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500796) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339236], ["position", 1], ["product_id", 1060500796], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500796) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500796 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 20 Oct 2012 10:32:47 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.094158' WHERE "spree_products"."id" = 1060500797 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500797], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.095910' WHERE "spree_products"."id" = 1060500797  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590049 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.096904' WHERE "spree_products"."id" = 1060500797  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500797 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500797  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500797 AND "spree_option_types"."id" = 935339236 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500797) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339236], ["position", 1], ["product_id", 1060500797], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500797) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500797 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 20 Oct 2012 10:32:47 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500798 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.108741' WHERE "spree_products"."id" = 1060500798 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500798], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.109931' WHERE "spree_products"."id" = 1060500798  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590050 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.111042' WHERE "spree_products"."id" = 1060500798  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500798 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500798  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500798 AND "spree_option_types"."id" = 935339236 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500798) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339236], ["position", 1], ["product_id", 1060500798], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500798 AND "spree_option_types"."id" = 935339237 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500798) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339237], ["position", 2], ["product_id", 1060500798], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500798) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500798 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (21.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500796 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500799 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.227814' WHERE "spree_products"."id" = 1060500799 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500799], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.229065' WHERE "spree_products"."id" = 1060500799  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590051 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.230078' WHERE "spree_products"."id" = 1060500799  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500799 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500799  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500799 AND "spree_option_types"."id" = 935339238 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500799) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339238], ["position", 1], ["product_id", 1060500799], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500799) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500799 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500800 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.248144' WHERE "spree_products"."id" = 1060500800 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500800], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.249349' WHERE "spree_products"."id" = 1060500800  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590052 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.250426' WHERE "spree_products"."id" = 1060500800  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500800 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500800  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500800 AND "spree_option_types"."id" = 935339238 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500800) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339238], ["position", 1], ["product_id", 1060500800], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500800) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500800 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500801 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.262932' WHERE "spree_products"."id" = 1060500801 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500801], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.264012' WHERE "spree_products"."id" = 1060500801  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590053 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.265103' WHERE "spree_products"."id" = 1060500801  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500801 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500801  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500801 AND "spree_option_types"."id" = 935339238 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500801) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339238], ["position", 1], ["product_id", 1060500801], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500801 AND "spree_option_types"."id" = 935339239 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500801) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339239], ["position", 2], ["product_id", 1060500801], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500801) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500801 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500799 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]]  (3.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500802 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.432162' WHERE "spree_products"."id" = 1060500802 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500802], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.434070' WHERE "spree_products"."id" = 1060500802  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590054 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.435429' WHERE "spree_products"."id" = 1060500802  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500802  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["product_id", nil], ["property_id", 905835049], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060500802, "updated_at" = '2012-10-20 09:32:47.454895' WHERE "spree_product_properties"."id" = 1073273319 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500802) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451634 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451634], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500802 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500802, 558398748) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451635 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451635], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500802, 558398749) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500802) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500802 AND "spree_option_types"."id" = 935339240 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500802) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339240], ["position", 1], ["product_id", 1060500802], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339240) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339240], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500802 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.495256' WHERE "spree_products"."id" = 1060500802 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500802], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.496601' WHERE "spree_products"."id" = 1060500802  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590055, 979460191) Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339240) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339240], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500802 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.503702' WHERE "spree_products"."id" = 1060500802 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500802], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.504876' WHERE "spree_products"."id" = 1060500802  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590056, 979460192) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339240) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339240], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500802 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.508456' WHERE "spree_products"."id" = 1060500802 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500802], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.509682' WHERE "spree_products"."id" = 1060500802  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590057, 979460193) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500802]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500802) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590055 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590056 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590057 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500802) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500802 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.520215' WHERE "spree_products"."id" = 1060500802  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590055 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.521372' WHERE "spree_products"."id" = 1060500802 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.522293' WHERE "spree_products"."id" = 1060500802  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590056 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.523015' WHERE "spree_products"."id" = 1060500802 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500802 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.523863' WHERE "spree_products"."id" = 1060500802  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590057 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.524633' WHERE "spree_products"."id" = 1060500802 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500802) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:32:47.527130' WHERE "spree_products"."id" = 1060500802 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500802 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500803 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.534609' WHERE "spree_products"."id" = 1060500803 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500803], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.535394' WHERE "spree_products"."id" = 1060500803  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590058 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.536432' WHERE "spree_products"."id" = 1060500803  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500803  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["product_id", nil], ["property_id", 905835050], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500803, "updated_at" = '2012-10-20 09:32:47.541646' WHERE "spree_product_properties"."id" = 1073273320 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500803) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451634 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500803 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500803, 558398748) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451636 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451636], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500803, 558398750) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451634 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398748 AND "spree_taxons"."taxonomy_id" = 854451634 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398748]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398748], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451634], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398748]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398751]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398751 THEN 558398748 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398748]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398751]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398751 AND "spree_taxons"."taxonomy_id" = 854451634 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398751]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398751], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451634], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398751]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398752]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398752 THEN 558398751 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398751]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398752]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500803, 558398751)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500803, 558398752) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500803) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500803 AND "spree_option_types"."id" = 935339240 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500803) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339240], ["position", 1], ["product_id", 1060500803], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500803 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.575299' WHERE "spree_products"."id" = 1060500803 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500803], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.577004' WHERE "spree_products"."id" = 1060500803  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590059, 979460191) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500803 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.578999' WHERE "spree_products"."id" = 1060500803 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500803], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.579945' WHERE "spree_products"."id" = 1060500803  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590060, 979460192) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500803 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.582094' WHERE "spree_products"."id" = 1060500803 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500803], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.583061' WHERE "spree_products"."id" = 1060500803  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590061, 979460193) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500803]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500803) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590059 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590060 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590061 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500803) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500803 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.596099' WHERE "spree_products"."id" = 1060500803  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590059 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.597128' WHERE "spree_products"."id" = 1060500803 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500803 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.598024' WHERE "spree_products"."id" = 1060500803  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590060 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.598854' WHERE "spree_products"."id" = 1060500803 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500803 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.599794' WHERE "spree_products"."id" = 1060500803  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590061 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.600644' WHERE "spree_products"."id" = 1060500803 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500803) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:32:47.602479' WHERE "spree_products"."id" = 1060500803 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500803 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.608432' WHERE "spree_products"."id" = 1060500804 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500804], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.609642' WHERE "spree_products"."id" = 1060500804  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590062 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.610779' WHERE "spree_products"."id" = 1060500804  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500804  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["product_id", nil], ["property_id", 905835051], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500804, "updated_at" = '2012-10-20 09:32:47.656803' WHERE "spree_product_properties"."id" = 1073273321 Created New ProductProperty # Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["product_id", nil], ["property_id", 905835050], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500804, "updated_at" = '2012-10-20 09:32:47.659222' WHERE "spree_product_properties"."id" = 1073273322 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["product_id", nil], ["property_id", 905835052], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500804, "updated_at" = '2012-10-20 09:32:47.662134' WHERE "spree_product_properties"."id" = 1073273323 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500804) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451637 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451637], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500804 Product assigned to Taxons : ["Drawings"]  (0.9ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500804, 558398753) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451634 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398748 AND "spree_taxons"."taxonomy_id" = 854451634 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398748]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398748], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451634], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398748]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398754]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398754 THEN 558398748 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398748]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398754]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500804, 558398754)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500804, 558398748) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500804) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500804 AND "spree_option_types"."id" = 935339240 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500804) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339240], ["position", 1], ["product_id", 1060500804], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.689154' WHERE "spree_products"."id" = 1060500804 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500804], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.690361' WHERE "spree_products"."id" = 1060500804  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590063, 979460191) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.693063' WHERE "spree_products"."id" = 1060500804 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500804], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.695636' WHERE "spree_products"."id" = 1060500804  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590064, 979460192) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339240 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.697884' WHERE "spree_products"."id" = 1060500804 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500804], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.698840' WHERE "spree_products"."id" = 1060500804  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590065, 979460193) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500804]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500804 AND "spree_option_types"."id" = 935339241 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500804) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339241], ["position", 2], ["product_id", 1060500804], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339241 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339241) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339241], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.708498' WHERE "spree_products"."id" = 1060500804 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500804], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.709477' WHERE "spree_products"."id" = 1060500804  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590066, 979460194) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339241 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339241) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "colour"], ["option_type_id", 935339241], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.713764' WHERE "spree_products"."id" = 1060500804 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500804], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.714824' WHERE "spree_products"."id" = 1060500804  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590067, 979460195) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500804]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500804) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590063 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590064 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590065 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590066 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590067 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500804) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.727936' WHERE "spree_products"."id" = 1060500804  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590063 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.728904' WHERE "spree_products"."id" = 1060500804 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.729975' WHERE "spree_products"."id" = 1060500804  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590064 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.730840' WHERE "spree_products"."id" = 1060500804 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.731779' WHERE "spree_products"."id" = 1060500804  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590065 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.732617' WHERE "spree_products"."id" = 1060500804 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (2.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.733497' WHERE "spree_products"."id" = 1060500804  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590066 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.736383' WHERE "spree_products"."id" = 1060500804 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500804 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.737394' WHERE "spree_products"."id" = 1060500804  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590067 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.738190' WHERE "spree_products"."id" = 1060500804 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500804) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:32:47.743503' WHERE "spree_products"."id" = 1060500804 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500804 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.1ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500802 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500804 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500804 SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500805 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.875343' WHERE "spree_products"."id" = 1060500805 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500805], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.876645' WHERE "spree_products"."id" = 1060500805  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590068 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.877833' WHERE "spree_products"."id" = 1060500805  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500805  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["product_id", nil], ["property_id", 905835053], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500805, "updated_at" = '2012-10-20 09:32:47.882493' WHERE "spree_product_properties"."id" = 1073273324 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451638], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500805 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500805, 558398755) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451639 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451639], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500805, 558398756) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500805 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500805) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["option_type_id", 935339242], ["position", 1], ["product_id", 1060500805], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339242) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339242], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500805 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.911184' WHERE "spree_products"."id" = 1060500805 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500805], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.913021' WHERE "spree_products"."id" = 1060500805  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590069, 979460196) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500805]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500805 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339242) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339242], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500805 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.921180' WHERE "spree_products"."id" = 1060500805 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500805], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.922175' WHERE "spree_products"."id" = 1060500805  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590070, 979460197) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500805]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500805 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339242) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339242], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500805 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.929726' WHERE "spree_products"."id" = 1060500805 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500805], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.930733' WHERE "spree_products"."id" = 1060500805  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590071, 979460198) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500805]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590069 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590070 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590071 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500805 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.949624' WHERE "spree_products"."id" = 1060500805  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590069 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.950616' WHERE "spree_products"."id" = 1060500805 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500805 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.951513' WHERE "spree_products"."id" = 1060500805  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590070 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.952336' WHERE "spree_products"."id" = 1060500805 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500805 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.953250' WHERE "spree_products"."id" = 1060500805  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590071 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.954134' WHERE "spree_products"."id" = 1060500805 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500805) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:32:47.956433' WHERE "spree_products"."id" = 1060500805 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500805 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500806 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.962661' WHERE "spree_products"."id" = 1060500806 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500806], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.963680' WHERE "spree_products"."id" = 1060500806  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590072 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:47.965038' WHERE "spree_products"."id" = 1060500806  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500806  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["product_id", nil], ["property_id", 905835054], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500806, "updated_at" = '2012-10-20 09:32:47.970649' WHERE "spree_product_properties"."id" = 1073273325 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500806 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500806, 558398755) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451640 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451640], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500806, 558398757) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398755 AND "spree_taxons"."taxonomy_id" = 854451638 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398755]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398755], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451638], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398755]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398758]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398758 THEN 558398755 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398755]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398758]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398758 AND "spree_taxons"."taxonomy_id" = 854451638 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398758]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398758], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451638], ["updated_at", Sat, 20 Oct 2012 09:32:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398758]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398759]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398759 THEN 558398758 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398758]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398759]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500806, 558398758)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500806, 558398759) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500806 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500806) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["option_type_id", 935339242], ["position", 1], ["product_id", 1060500806], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500806 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.003194' WHERE "spree_products"."id" = 1060500806 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500806], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.004201' WHERE "spree_products"."id" = 1060500806  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590073, 979460196) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500806]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500806 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500806 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.010357' WHERE "spree_products"."id" = 1060500806 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500806], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.011433' WHERE "spree_products"."id" = 1060500806  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590074, 979460197) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500806]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500806 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500806 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.017738' WHERE "spree_products"."id" = 1060500806 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500806], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.018811' WHERE "spree_products"."id" = 1060500806  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590075, 979460198) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500806]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590073 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590074 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590075 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500806 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.034742' WHERE "spree_products"."id" = 1060500806  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590073 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.035656' WHERE "spree_products"."id" = 1060500806 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500806 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.036595' WHERE "spree_products"."id" = 1060500806  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590074 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.037379' WHERE "spree_products"."id" = 1060500806 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500806 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.038299' WHERE "spree_products"."id" = 1060500806  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590075 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.039137' WHERE "spree_products"."id" = 1060500806 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500806) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:32:48.041101' WHERE "spree_products"."id" = 1060500806 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500806 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.051415' WHERE "spree_products"."id" = 1060500807 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500807], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.052523' WHERE "spree_products"."id" = 1060500807  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590076 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.053882' WHERE "spree_products"."id" = 1060500807  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500807  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835055], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500807, "updated_at" = '2012-10-20 09:32:48.059151' WHERE "spree_product_properties"."id" = 1073273326 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835054], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500807, "updated_at" = '2012-10-20 09:32:48.062066' WHERE "spree_product_properties"."id" = 1073273327 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835056], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500807, "updated_at" = '2012-10-20 09:32:48.065943' WHERE "spree_product_properties"."id" = 1073273328 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451641 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451641], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500807 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500807, 558398760) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398755 AND "spree_taxons"."taxonomy_id" = 854451638 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398755]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398755], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451638], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398755]] Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398761]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398761 THEN 558398755 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398755]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398761]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500807, 558398761)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500807, 558398755) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500807 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500807) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["option_type_id", 935339242], ["position", 1], ["product_id", 1060500807], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.094354' WHERE "spree_products"."id" = 1060500807 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500807], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.095315' WHERE "spree_products"."id" = 1060500807  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590077, 979460196) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500807]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500807 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.102497' WHERE "spree_products"."id" = 1060500807 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500807], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.103339' WHERE "spree_products"."id" = 1060500807  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590078, 979460197) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500807]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500807 AND "spree_option_types"."id" = 935339242 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339242 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.110747' WHERE "spree_products"."id" = 1060500807 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500807], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.111764' WHERE "spree_products"."id" = 1060500807  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590079, 979460198) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500807]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500807 AND "spree_option_types"."id" = 935339243 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500807) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["option_type_id", 935339243], ["position", 2], ["product_id", 1060500807], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339243 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339243) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339243], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.123325' WHERE "spree_products"."id" = 1060500807 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500807], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.124445' WHERE "spree_products"."id" = 1060500807  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590080, 979460199) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500807]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500807 AND "spree_option_types"."id" = 935339243 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339243 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339243) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339243], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (1.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.180142' WHERE "spree_products"."id" = 1060500807 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500807], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.181308' WHERE "spree_products"."id" = 1060500807  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590081, 979460200) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500807]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590077 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590078 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590079 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590080 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590081 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.195618' WHERE "spree_products"."id" = 1060500807  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590077 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.196680' WHERE "spree_products"."id" = 1060500807 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.197597' WHERE "spree_products"."id" = 1060500807  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590078 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.198394' WHERE "spree_products"."id" = 1060500807 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.199318' WHERE "spree_products"."id" = 1060500807  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590079 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.200174' WHERE "spree_products"."id" = 1060500807 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.201115' WHERE "spree_products"."id" = 1060500807  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590080 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.201917' WHERE "spree_products"."id" = 1060500807 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500807 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.202870' WHERE "spree_products"."id" = 1060500807  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590081 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.203691' WHERE "spree_products"."id" = 1060500807 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500807) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:32:48.205834' WHERE "spree_products"."id" = 1060500807 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500807 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500805 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500807 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500807 SQL (3.5ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (13.7ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (12.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451642], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451642], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (13.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500808 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.621849' WHERE "spree_products"."id" = 1060500808 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500808], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.623115' WHERE "spree_products"."id" = 1060500808  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590082 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.624930' WHERE "spree_products"."id" = 1060500808  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500808  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835057], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500808, "updated_at" = '2012-10-20 09:32:48.630993' WHERE "spree_product_properties"."id" = 1073273329 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500808) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500808 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500808, 558398762) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451643 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451643], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500808, 558398764) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500808) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500808 AND "spree_option_types"."id" = 935339244 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500808) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["option_type_id", 935339244], ["position", 1], ["product_id", 1060500808], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339244) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339244], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500808 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.652138' WHERE "spree_products"."id" = 1060500808 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500808], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.653344' WHERE "spree_products"."id" = 1060500808  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590083, 979460201) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::OptionValue Load (3.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339244) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339244], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500808 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.660939' WHERE "spree_products"."id" = 1060500808 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500808], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.661849' WHERE "spree_products"."id" = 1060500808  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590084, 979460202) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339244) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339244], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500808 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.665714' WHERE "spree_products"."id" = 1060500808 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500808], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.666762' WHERE "spree_products"."id" = 1060500808  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590085, 979460203) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500808]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500808) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590083 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590084 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590085 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500808) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500808 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.678119' WHERE "spree_products"."id" = 1060500808  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590083 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.679115' WHERE "spree_products"."id" = 1060500808 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500808 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.680166' WHERE "spree_products"."id" = 1060500808  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590084 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.680993' WHERE "spree_products"."id" = 1060500808 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500808 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.681884' WHERE "spree_products"."id" = 1060500808  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590085 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.682710' WHERE "spree_products"."id" = 1060500808 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500808) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:32:48.684798' WHERE "spree_products"."id" = 1060500808 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500808 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500809 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.691152' WHERE "spree_products"."id" = 1060500809 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500809], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.692173' WHERE "spree_products"."id" = 1060500809  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590086 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.693341' WHERE "spree_products"."id" = 1060500809  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500809  (1.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835058], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500809, "updated_at" = '2012-10-20 09:32:48.700040' WHERE "spree_product_properties"."id" = 1073273330 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500809) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500809 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500809, 558398762) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451644 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451644], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500809, 558398765) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398762 AND "spree_taxons"."taxonomy_id" = 854451642 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398762]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398762], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451642], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398762]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398766]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398766 THEN 558398762 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398762]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398766]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398766 AND "spree_taxons"."taxonomy_id" = 854451642 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398766]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398766], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451642], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398766]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398767]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398767 THEN 558398766 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398766]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398767]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500809, 558398766)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500809, 558398767) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500809) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500809 AND "spree_option_types"."id" = 935339244 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500809) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["option_type_id", 935339244], ["position", 1], ["product_id", 1060500809], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500809 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.726873' WHERE "spree_products"."id" = 1060500809 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500809], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.727846' WHERE "spree_products"."id" = 1060500809  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590087, 979460201) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500809 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.729906' WHERE "spree_products"."id" = 1060500809 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500809], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.730695' WHERE "spree_products"."id" = 1060500809  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590088, 979460202) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500809 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.732546' WHERE "spree_products"."id" = 1060500809 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500809], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.733425' WHERE "spree_products"."id" = 1060500809  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590089, 979460203) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500809]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500809) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590087 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590088 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590089 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500809) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500809 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.745788' WHERE "spree_products"."id" = 1060500809  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590087 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.746665' WHERE "spree_products"."id" = 1060500809 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500809 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.747496' WHERE "spree_products"."id" = 1060500809  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590088 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.748211' WHERE "spree_products"."id" = 1060500809 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500809 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.749230' WHERE "spree_products"."id" = 1060500809  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590089 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.749961' WHERE "spree_products"."id" = 1060500809 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500809) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:32:48.751776' WHERE "spree_products"."id" = 1060500809 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500809 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.800839' WHERE "spree_products"."id" = 1060500810 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500810], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.801828' WHERE "spree_products"."id" = 1060500810  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590090 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.803166' WHERE "spree_products"."id" = 1060500810  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500810  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835059], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500810, "updated_at" = '2012-10-20 09:32:48.808274' WHERE "spree_product_properties"."id" = 1073273331 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835058], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500810, "updated_at" = '2012-10-20 09:32:48.810609' WHERE "spree_product_properties"."id" = 1073273332 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835060], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500810, "updated_at" = '2012-10-20 09:32:48.813104' WHERE "spree_product_properties"."id" = 1073273333 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500810) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451645 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451645], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500810 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500810, 558398768) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398762 AND "spree_taxons"."taxonomy_id" = 854451642 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398762]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398762], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451642], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398762]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398769]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398769 THEN 558398762 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398762]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398769]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500810, 558398769)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500810, 558398762) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500810) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500810 AND "spree_option_types"."id" = 935339244 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500810) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["option_type_id", 935339244], ["position", 1], ["product_id", 1060500810], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.835228' WHERE "spree_products"."id" = 1060500810 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500810], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.836397' WHERE "spree_products"."id" = 1060500810  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590091, 979460201) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.838208' WHERE "spree_products"."id" = 1060500810 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500810], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.841443' WHERE "spree_products"."id" = 1060500810  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590092, 979460202) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339244 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.843599' WHERE "spree_products"."id" = 1060500810 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500810], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.844500' WHERE "spree_products"."id" = 1060500810  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590093, 979460203) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500810]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500810 AND "spree_option_types"."id" = 935339245 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500810) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["option_type_id", 935339245], ["position", 2], ["product_id", 1060500810], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339245 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339245) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339245], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.856536' WHERE "spree_products"."id" = 1060500810 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500810], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.862248' WHERE "spree_products"."id" = 1060500810  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590094, 979460204) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339245 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339245) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339245], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.866901' WHERE "spree_products"."id" = 1060500810 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500810], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.867979' WHERE "spree_products"."id" = 1060500810  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590095, 979460205) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500810]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500810) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590091 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590092 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590093 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590094 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590095 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500810) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.883668' WHERE "spree_products"."id" = 1060500810  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590091 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.885005' WHERE "spree_products"."id" = 1060500810 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.886232' WHERE "spree_products"."id" = 1060500810  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590092 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.887680' WHERE "spree_products"."id" = 1060500810 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.888695' WHERE "spree_products"."id" = 1060500810  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590093 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.889436' WHERE "spree_products"."id" = 1060500810 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.890311' WHERE "spree_products"."id" = 1060500810  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590094 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.890931' WHERE "spree_products"."id" = 1060500810 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500810 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.892105' WHERE "spree_products"."id" = 1060500810  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590095 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:48.892854' WHERE "spree_products"."id" = 1060500810 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500810) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:32:48.895352' WHERE "spree_products"."id" = 1060500810 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500810 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (36.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500809 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500810 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500808 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590083 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590084 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339244 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590085 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.4ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451646 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451646], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (3.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451646], ["updated_at", Sat, 20 Oct 2012 09:32:48 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (2.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500811 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.076527' WHERE "spree_products"."id" = 1060500811 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500811], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.077933' WHERE "spree_products"."id" = 1060500811  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590096 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.079290' WHERE "spree_products"."id" = 1060500811  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500811  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835061], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500811, "updated_at" = '2012-10-20 09:32:49.086439' WHERE "spree_product_properties"."id" = 1073273334 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451646 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500811 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500811, 558398770) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451647 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451647], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500811, 558398772) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500811 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500811) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339246], ["position", 1], ["product_id", 1060500811], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339246) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339246], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500811 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.114001' WHERE "spree_products"."id" = 1060500811 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500811], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.115314' WHERE "spree_products"."id" = 1060500811  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590097, 979460206) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500811]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500811 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339246) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339246], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500811 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.122931' WHERE "spree_products"."id" = 1060500811 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500811], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.123872' WHERE "spree_products"."id" = 1060500811  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590098, 979460207) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500811]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500811 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339246) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339246], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500811 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.131702' WHERE "spree_products"."id" = 1060500811 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500811], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.132933' WHERE "spree_products"."id" = 1060500811  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590099, 979460208) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500811]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590097 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590098 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590099 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500811 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.148000' WHERE "spree_products"."id" = 1060500811  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590097 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.149168' WHERE "spree_products"."id" = 1060500811 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500811 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.149879' WHERE "spree_products"."id" = 1060500811  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590098 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.150551' WHERE "spree_products"."id" = 1060500811 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500811 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.152077' WHERE "spree_products"."id" = 1060500811  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590099 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.152776' WHERE "spree_products"."id" = 1060500811 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500811) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:32:49.154622' WHERE "spree_products"."id" = 1060500811 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500811 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (5.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500812 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.165551' WHERE "spree_products"."id" = 1060500812 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500812], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.166393' WHERE "spree_products"."id" = 1060500812  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590100 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.167551' WHERE "spree_products"."id" = 1060500812  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500812  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835062], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500812, "updated_at" = '2012-10-20 09:32:49.173710' WHERE "spree_product_properties"."id" = 1073273335 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451646 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500812 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500812, 558398770) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451648 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451648], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500812, 558398773) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451646 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398770 AND "spree_taxons"."taxonomy_id" = 854451646 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398770]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398770], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451646], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398770]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398774]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398774 THEN 558398770 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398770]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398774]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398774 AND "spree_taxons"."taxonomy_id" = 854451646 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398774]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398774], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451646], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398774]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398775]] SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398775 THEN 558398774 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398774]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398775]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500812, 558398774)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500812, 558398775) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500812 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500812) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339246], ["position", 1], ["product_id", 1060500812], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500812 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.208437' WHERE "spree_products"."id" = 1060500812 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500812], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.209551' WHERE "spree_products"."id" = 1060500812  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590101, 979460206) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500812]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500812 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500812 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.215621' WHERE "spree_products"."id" = 1060500812 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500812], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.216552' WHERE "spree_products"."id" = 1060500812  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590102, 979460207) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500812]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500812 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500812 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.222131' WHERE "spree_products"."id" = 1060500812 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500812], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.223024' WHERE "spree_products"."id" = 1060500812  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590103, 979460208) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500812]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590101 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590102 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590103 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500812 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.236219' WHERE "spree_products"."id" = 1060500812  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590101 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.237409' WHERE "spree_products"."id" = 1060500812 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500812 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.238414' WHERE "spree_products"."id" = 1060500812  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590102 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.239064' WHERE "spree_products"."id" = 1060500812 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500812 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.239695' WHERE "spree_products"."id" = 1060500812  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590103 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.240381' WHERE "spree_products"."id" = 1060500812 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500812) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:32:49.242412' WHERE "spree_products"."id" = 1060500812 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500812 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.248380' WHERE "spree_products"."id" = 1060500813 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500813], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.249244' WHERE "spree_products"."id" = 1060500813  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590104 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.250206' WHERE "spree_products"."id" = 1060500813  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500813  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835063], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500813, "updated_at" = '2012-10-20 09:32:49.254831' WHERE "spree_product_properties"."id" = 1073273336 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835062], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500813, "updated_at" = '2012-10-20 09:32:49.257296' WHERE "spree_product_properties"."id" = 1073273337 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::Property Load (3.9ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835064], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500813, "updated_at" = '2012-10-20 09:32:49.264031' WHERE "spree_product_properties"."id" = 1073273338 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451649 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451649], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500813 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500813, 558398776) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451646 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398770 AND "spree_taxons"."taxonomy_id" = 854451646 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398770]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398770], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451646], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398770]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398777]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398777 THEN 558398770 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398770]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398777]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500813, 558398777)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500813, 558398770) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500813 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500813) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339246], ["position", 1], ["product_id", 1060500813], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.289843' WHERE "spree_products"."id" = 1060500813 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500813], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.291119' WHERE "spree_products"."id" = 1060500813  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590105, 979460206) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500813]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500813 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.297411' WHERE "spree_products"."id" = 1060500813 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500813], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.298553' WHERE "spree_products"."id" = 1060500813  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590106, 979460207) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500813]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500813 AND "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339246 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.304951' WHERE "spree_products"."id" = 1060500813 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500813], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.305873' WHERE "spree_products"."id" = 1060500813  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590107, 979460208) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500813]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500813 AND "spree_option_types"."id" = 935339247 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500813) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339247], ["position", 2], ["product_id", 1060500813], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339247 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339247) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339247], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.315990' WHERE "spree_products"."id" = 1060500813 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500813], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.317130' WHERE "spree_products"."id" = 1060500813  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590108, 979460209) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500813]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500813 AND "spree_option_types"."id" = 935339247 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339247 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339247) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "colour"], ["option_type_id", 935339247], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.325055' WHERE "spree_products"."id" = 1060500813 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500813], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.326349' WHERE "spree_products"."id" = 1060500813  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590109, 979460210) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500813]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590105 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590106 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590107 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590108 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590109 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.340964' WHERE "spree_products"."id" = 1060500813  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590105 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.341791' WHERE "spree_products"."id" = 1060500813 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.342553' WHERE "spree_products"."id" = 1060500813  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590106 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.343337' WHERE "spree_products"."id" = 1060500813 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.344705' WHERE "spree_products"."id" = 1060500813  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590107 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.345452' WHERE "spree_products"."id" = 1060500813 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.346259' WHERE "spree_products"."id" = 1060500813  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590108 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.347184' WHERE "spree_products"."id" = 1060500813 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500813 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.348463' WHERE "spree_products"."id" = 1060500813  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590109 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.349093' WHERE "spree_products"."id" = 1060500813 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500813) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:32:49.351040' WHERE "spree_products"."id" = 1060500813 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500813 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (16.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500812 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500813 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500811 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590097 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590098 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339246 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590099 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (33.1ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (5.9ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (3.7ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451650 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451650], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (8.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451650], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500814 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.553890' WHERE "spree_products"."id" = 1060500814 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500814], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.555122' WHERE "spree_products"."id" = 1060500814  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590110 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.556781' WHERE "spree_products"."id" = 1060500814  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500814  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835065], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500814, "updated_at" = '2012-10-20 09:32:49.562021' WHERE "spree_product_properties"."id" = 1073273339 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451650 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500814 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500814, 558398778) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451651 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451651], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500814, 558398780) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500814 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500814) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339248], ["position", 1], ["product_id", 1060500814], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339248) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339248], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500814 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.589815' WHERE "spree_products"."id" = 1060500814 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500814], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.591066' WHERE "spree_products"."id" = 1060500814  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590111, 979460211) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500814]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500814 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339248) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339248], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500814 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.599245' WHERE "spree_products"."id" = 1060500814 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500814], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.600361' WHERE "spree_products"."id" = 1060500814  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590112, 979460212) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500814]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500814 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339248) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339248], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500814 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.608768' WHERE "spree_products"."id" = 1060500814 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500814], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.609556' WHERE "spree_products"."id" = 1060500814  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590113, 979460213) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500814]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590111 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590112 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590113 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500814 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.623197' WHERE "spree_products"."id" = 1060500814  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590111 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.624282' WHERE "spree_products"."id" = 1060500814 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500814 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.625258' WHERE "spree_products"."id" = 1060500814  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590112 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.626356' WHERE "spree_products"."id" = 1060500814 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500814 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.627868' WHERE "spree_products"."id" = 1060500814  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590113 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.628515' WHERE "spree_products"."id" = 1060500814 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500814) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:32:49.630623' WHERE "spree_products"."id" = 1060500814 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500815 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.636679' WHERE "spree_products"."id" = 1060500815 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500815], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.637557' WHERE "spree_products"."id" = 1060500815  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590114 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.638655' WHERE "spree_products"."id" = 1060500815  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500815  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835066], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500815, "updated_at" = '2012-10-20 09:32:49.643557' WHERE "spree_product_properties"."id" = 1073273340 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451650 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500815 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500815, 558398778) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451652 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451652], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500815, 558398781) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451650 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398778 AND "spree_taxons"."taxonomy_id" = 854451650 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398778]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398778], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451650], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398778]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398782]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398782 THEN 558398778 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398778]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398782]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398782 AND "spree_taxons"."taxonomy_id" = 854451650 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398782]] SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398782], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451650], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398782]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398783]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398783 THEN 558398782 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398782]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398783]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500815, 558398782)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500815, 558398783) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500815 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500815) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339248], ["position", 1], ["product_id", 1060500815], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500815 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.680994' WHERE "spree_products"."id" = 1060500815 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500815], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.682117' WHERE "spree_products"."id" = 1060500815  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590115, 979460211) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500815]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500815 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500815 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.689069' WHERE "spree_products"."id" = 1060500815 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500815], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.690100' WHERE "spree_products"."id" = 1060500815  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590116, 979460212) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500815]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500815 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500815 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.695612' WHERE "spree_products"."id" = 1060500815 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500815], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.696499' WHERE "spree_products"."id" = 1060500815  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590117, 979460213) Spree::Product Load (1.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500815]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590115 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590116 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590117 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500815 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.711195' WHERE "spree_products"."id" = 1060500815  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590115 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.712232' WHERE "spree_products"."id" = 1060500815 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500815 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.713331' WHERE "spree_products"."id" = 1060500815  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590116 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.714030' WHERE "spree_products"."id" = 1060500815 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500815 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.714938' WHERE "spree_products"."id" = 1060500815  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590117 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.715711' WHERE "spree_products"."id" = 1060500815 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500815) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:32:49.718084' WHERE "spree_products"."id" = 1060500815 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.724037' WHERE "spree_products"."id" = 1060500816 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500816], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.725185' WHERE "spree_products"."id" = 1060500816  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590118 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.726558' WHERE "spree_products"."id" = 1060500816  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500816  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835067], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500816, "updated_at" = '2012-10-20 09:32:49.732335' WHERE "spree_product_properties"."id" = 1073273341 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835066], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500816, "updated_at" = '2012-10-20 09:32:49.735124' WHERE "spree_product_properties"."id" = 1073273342 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["product_id", nil], ["property_id", 905835068], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500816, "updated_at" = '2012-10-20 09:32:49.741558' WHERE "spree_product_properties"."id" = 1073273343 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451653 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451653], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500816 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500816, 558398784) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451650 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398778 AND "spree_taxons"."taxonomy_id" = 854451650 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398778]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398778], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451650], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398778]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398785]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398785 THEN 558398778 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398778]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398785]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500816, 558398785)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500816, 558398778) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500816 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (80.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500816) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339248], ["position", 1], ["product_id", 1060500816], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.847006' WHERE "spree_products"."id" = 1060500816 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500816], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.848104' WHERE "spree_products"."id" = 1060500816  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590119, 979460211) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500816]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500816 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.853932' WHERE "spree_products"."id" = 1060500816 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500816], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.854772' WHERE "spree_products"."id" = 1060500816  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590120, 979460212) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500816]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500816 AND "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339248 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.860560' WHERE "spree_products"."id" = 1060500816 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500816], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.861557' WHERE "spree_products"."id" = 1060500816  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590121, 979460213) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500816]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500816 AND "spree_option_types"."id" = 935339249 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500816) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["option_type_id", 935339249], ["position", 2], ["product_id", 1060500816], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339249 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339249) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339249], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.875795' WHERE "spree_products"."id" = 1060500816 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500816], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.876854' WHERE "spree_products"."id" = 1060500816  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590122, 979460214) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500816]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500816 AND "spree_option_types"."id" = 935339249 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339249 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339249) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00], ["name", "colour"], ["option_type_id", 935339249], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.884111' WHERE "spree_products"."id" = 1060500816 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500816], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.884861' WHERE "spree_products"."id" = 1060500816  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590123, 979460215) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500816]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590119 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590120 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590121 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590122 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590123 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.899497' WHERE "spree_products"."id" = 1060500816  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590119 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.900560' WHERE "spree_products"."id" = 1060500816 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.901746' WHERE "spree_products"."id" = 1060500816  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590120 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.902559' WHERE "spree_products"."id" = 1060500816 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.903608' WHERE "spree_products"."id" = 1060500816  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590121 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.904407' WHERE "spree_products"."id" = 1060500816 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.905744' WHERE "spree_products"."id" = 1060500816  (1.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590122 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.953303' WHERE "spree_products"."id" = 1060500816 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500816 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.955400' WHERE "spree_products"."id" = 1060500816  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590123 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:49.956462' WHERE "spree_products"."id" = 1060500816 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500816) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:32:49.958818' WHERE "spree_products"."id" = 1060500816  (12.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500815 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500816 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500814 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590111 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590112 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590113 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (39.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451654 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451654], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]]  (4.4ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451654], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500817 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.089112' WHERE "spree_products"."id" = 1060500817 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500817], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.091560' WHERE "spree_products"."id" = 1060500817  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590124 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.092846' WHERE "spree_products"."id" = 1060500817  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500817  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500817 AND "spree_option_types"."id" = 935339250 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500817) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339250], ["position", 1], ["product_id", 1060500817], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500817 AND "spree_option_types"."id" = 935339251 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500817) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339251], ["position", 2], ["product_id", 1060500817], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339250) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339250], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339251 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339251) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "colour"], ["option_type_id", 935339251], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500817 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.112982' WHERE "spree_products"."id" = 1060500817 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500817], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.114055' WHERE "spree_products"."id" = 1060500817  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590125, 979460216)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590125, 979460217) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339250) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339250], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339251 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500817 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.122295' WHERE "spree_products"."id" = 1060500817 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500817], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.123367' WHERE "spree_products"."id" = 1060500817  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590126, 979460218)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590126, 979460217) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500817]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500817) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500817 AND "spree_option_types"."id" = 935339250 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339250) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339250], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500817 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.135191' WHERE "spree_products"."id" = 1060500817 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500817], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.136539' WHERE "spree_products"."id" = 1060500817  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590127, 979460219) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500817]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500817) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (2.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590125 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590126 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590127 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500817) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500817 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.150076' WHERE "spree_products"."id" = 1060500817  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590125 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.151011' WHERE "spree_products"."id" = 1060500817 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500817 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.151886' WHERE "spree_products"."id" = 1060500817  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590126 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.152618' WHERE "spree_products"."id" = 1060500817 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500817 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.153563' WHERE "spree_products"."id" = 1060500817  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590127 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.154563' WHERE "spree_products"."id" = 1060500817 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500817) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:32:50.157133' WHERE "spree_products"."id" = 1060500817 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500818 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.163563' WHERE "spree_products"."id" = 1060500818 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500818], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.164563' WHERE "spree_products"."id" = 1060500818  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590128 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.165563' WHERE "spree_products"."id" = 1060500818  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500818  (3.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500818 AND "spree_option_types"."id" = 935339250 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500818) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339250], ["position", 1], ["product_id", 1060500818], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500818 AND "spree_option_types"."id" = 935339251 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500818) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339251], ["position", 2], ["product_id", 1060500818], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339251 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339251) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339251], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500818 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.182133' WHERE "spree_products"."id" = 1060500818 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500818], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.183234' WHERE "spree_products"."id" = 1060500818  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590129, 979460220)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590129, 979460216) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500818]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500818) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500818 AND "spree_option_types"."id" = 935339250 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500818 AND "spree_option_types"."id" = 935339251 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339251 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500818 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.194138' WHERE "spree_products"."id" = 1060500818 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500818], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.195362' WHERE "spree_products"."id" = 1060500818  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590130, 979460220)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590130, 979460219) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500818]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500818) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590129 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590130 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500818) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500818 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.204371' WHERE "spree_products"."id" = 1060500818  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590129 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.205564' WHERE "spree_products"."id" = 1060500818 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500818 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.206717' WHERE "spree_products"."id" = 1060500818  (6.7ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590130 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.214494' WHERE "spree_products"."id" = 1060500818 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500818) LIMIT 1  (30.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-20 09:32:50.249205' WHERE "spree_products"."id" = 1060500818 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500819 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.258709' WHERE "spree_products"."id" = 1060500819 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500819], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.259822' WHERE "spree_products"."id" = 1060500819  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590131 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.261074' WHERE "spree_products"."id" = 1060500819  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500819  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500819 AND "spree_option_types"."id" = 935339250 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500819) ORDER BY position DESC LIMIT 1 SQL (7.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339250], ["position", 1], ["product_id", 1060500819], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500819 AND "spree_option_types"."id" = 935339251 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500819) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339251], ["position", 2], ["product_id", 1060500819], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500819 AND "spree_option_types"."id" = 935339252 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500819) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339252], ["position", 3], ["product_id", 1060500819], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339251 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339252 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339252) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "large"], ["option_type_id", 935339252], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500819 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.287827' WHERE "spree_products"."id" = 1060500819 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500819], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.288898' WHERE "spree_products"."id" = 1060500819  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590132, 979460217)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590132, 979460221)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590132, 979460216) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339251 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339251) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339251], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339252 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500819 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.294751' WHERE "spree_products"."id" = 1060500819 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500819], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.295778' WHERE "spree_products"."id" = 1060500819  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590133, 979460222)  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590133, 979460221)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590133, 979460216) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500819]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500819 AND "spree_option_types"."id" = 935339250 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500819 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.302565' WHERE "spree_products"."id" = 1060500819 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500819], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.303951' WHERE "spree_products"."id" = 1060500819  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590134, 979460219) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500819]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500819) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500819 AND "spree_option_types"."id" = 935339250 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339250 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500819 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.310993' WHERE "spree_products"."id" = 1060500819 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500819], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.311986' WHERE "spree_products"."id" = 1060500819  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590135, 979460218) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500819]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500819 AND "spree_option_types"."id" = 935339251 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339251 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500819 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.317471' WHERE "spree_products"."id" = 1060500819 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500819], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.318521' WHERE "spree_products"."id" = 1060500819  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590136, 979460220) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500819]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500819) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500819) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500819 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (19.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500817 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590125 Booted Spree using version 1.1.3 SQL (5.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500820 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.469219' WHERE "spree_products"."id" = 1060500820 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500820], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.476752' WHERE "spree_products"."id" = 1060500820  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590137 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.478416' WHERE "spree_products"."id" = 1060500820  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500820  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["product_id", nil], ["property_id", 905835069], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500820, "updated_at" = '2012-10-20 09:32:50.484230' WHERE "spree_product_properties"."id" = 1073273344 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500820) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451655 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451655], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500820 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500820, 558398788) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451656 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451656], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500820, 558398789) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500820) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500820 AND "spree_option_types"."id" = 935339253 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500820) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["option_type_id", 935339253], ["position", 1], ["product_id", 1060500820], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339253) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339253], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500820 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.511029' WHERE "spree_products"."id" = 1060500820 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500820], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.531956' WHERE "spree_products"."id" = 1060500820  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590138, 979460223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339253) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339253], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500820 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.536779' WHERE "spree_products"."id" = 1060500820 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500820], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.538109' WHERE "spree_products"."id" = 1060500820  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590139, 979460224) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::OptionValue Load (3.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339253) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339253], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500820 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.544568' WHERE "spree_products"."id" = 1060500820 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500820], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.545971' WHERE "spree_products"."id" = 1060500820  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590140, 979460225) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500820]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500820) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590138 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590139 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590140 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500820) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500820 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.558044' WHERE "spree_products"."id" = 1060500820  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590138 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.559219' WHERE "spree_products"."id" = 1060500820 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500820 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.560528' WHERE "spree_products"."id" = 1060500820  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590139 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.561314' WHERE "spree_products"."id" = 1060500820 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500820 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.562530' WHERE "spree_products"."id" = 1060500820  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590140 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:50.563158' WHERE "spree_products"."id" = 1060500820 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500820) LIMIT 1 Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590137 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:32:50 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500820) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:32:52.558128' WHERE "spree_products"."id" = 1060500820 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500821 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.570320' WHERE "spree_products"."id" = 1060500821 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500821], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.571593' WHERE "spree_products"."id" = 1060500821  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590141 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.573469' WHERE "spree_products"."id" = 1060500821  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500821  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["product_id", nil], ["property_id", 905835070], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500821, "updated_at" = '2012-10-20 09:32:52.581594' WHERE "spree_product_properties"."id" = 1073273345 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500821) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451655 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500821 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500821, 558398788) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["name", "Landscape"], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451657 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451657], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500821, 558398790) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451658 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451658], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500821, 558398791) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500821) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500821 AND "spree_option_types"."id" = 935339253 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500821) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["option_type_id", 935339253], ["position", 1], ["product_id", 1060500821], ["updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500821 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.614573' WHERE "spree_products"."id" = 1060500821 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500821], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.615738' WHERE "spree_products"."id" = 1060500821  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590142, 979460223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500821 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.618674' WHERE "spree_products"."id" = 1060500821 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500821], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.619854' WHERE "spree_products"."id" = 1060500821  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590143, 979460224) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500821 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.622277' WHERE "spree_products"."id" = 1060500821 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500821], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.623390' WHERE "spree_products"."id" = 1060500821  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590144, 979460225) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500821]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500821) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590142 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590143 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590144 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500821) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500821 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.637449' WHERE "spree_products"."id" = 1060500821  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590142 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.638582' WHERE "spree_products"."id" = 1060500821 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500821 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.639904' WHERE "spree_products"."id" = 1060500821  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590143 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.640700' WHERE "spree_products"."id" = 1060500821 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500821 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.641659' WHERE "spree_products"."id" = 1060500821  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590144 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:52.642632' WHERE "spree_products"."id" = 1060500821 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500821) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590141 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sat, 20 Oct 2012 09:32:52 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500821) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500821 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:32:59.141846' WHERE "spree_products"."id" = 1060500821 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.153387' WHERE "spree_products"."id" = 1060500822 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500822], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.154833' WHERE "spree_products"."id" = 1060500822  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590145 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.156593' WHERE "spree_products"."id" = 1060500822  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500822  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["product_id", nil], ["property_id", 905835071], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500822, "updated_at" = '2012-10-20 09:32:59.163570' WHERE "spree_product_properties"."id" = 1073273346 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["product_id", nil], ["property_id", 905835070], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500822, "updated_at" = '2012-10-20 09:32:59.165965' WHERE "spree_product_properties"."id" = 1073273347 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["product_id", nil], ["property_id", 905835072], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500822, "updated_at" = '2012-10-20 09:32:59.169042' WHERE "spree_product_properties"."id" = 1073273348 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500822) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451659 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451659], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500822 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500822, 558398792) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500822) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500822 AND "spree_option_types"."id" = 935339253 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500822) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["option_type_id", 935339253], ["position", 1], ["product_id", 1060500822], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.191234' WHERE "spree_products"."id" = 1060500822 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500822], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.192676' WHERE "spree_products"."id" = 1060500822  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590146, 979460223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.195676' WHERE "spree_products"."id" = 1060500822 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500822], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.197062' WHERE "spree_products"."id" = 1060500822  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590147, 979460224) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339253 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.199529' WHERE "spree_products"."id" = 1060500822 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500822], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.200784' WHERE "spree_products"."id" = 1060500822  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590148, 979460225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500822]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500822 AND "spree_option_types"."id" = 935339254 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500822) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["option_type_id", 935339254], ["position", 2], ["product_id", 1060500822], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339254 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339254) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339254], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.213656' WHERE "spree_products"."id" = 1060500822 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500822], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.215154' WHERE "spree_products"."id" = 1060500822  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590149, 979460226) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339254 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339254) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["name", "colour"], ["option_type_id", 935339254], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.219555' WHERE "spree_products"."id" = 1060500822 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500822], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.220676' WHERE "spree_products"."id" = 1060500822  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590150, 979460227) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500822]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500822) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590146 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590147 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590148 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590149 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590150 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500822) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.235677' WHERE "spree_products"."id" = 1060500822  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590146 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.236849' WHERE "spree_products"."id" = 1060500822 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.238029' WHERE "spree_products"."id" = 1060500822  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590147 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.238821' WHERE "spree_products"."id" = 1060500822 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.239724' WHERE "spree_products"."id" = 1060500822  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590148 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.240847' WHERE "spree_products"."id" = 1060500822 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.243252' WHERE "spree_products"."id" = 1060500822  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590149 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.245288' WHERE "spree_products"."id" = 1060500822 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500822 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.246819' WHERE "spree_products"."id" = 1060500822  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590150 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:32:59.247638' WHERE "spree_products"."id" = 1060500822 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500822) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590145 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:32:59 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500822) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500822 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:33:00.148808' WHERE "spree_products"."id" = 1060500822  (30.4ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500820 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590137) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500820)) SQL (5.8ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500823 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.382246' WHERE "spree_products"."id" = 1060500823 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500823], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.383604' WHERE "spree_products"."id" = 1060500823  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590151 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.384924' WHERE "spree_products"."id" = 1060500823  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500823  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["product_id", nil], ["property_id", 905835073], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500823, "updated_at" = '2012-10-20 09:33:00.390796' WHERE "spree_product_properties"."id" = 1073273349 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500823) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451660 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451660], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500823 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500823, 558398793) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451661 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451661], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500823, 558398794) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500823) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500823 AND "spree_option_types"."id" = 935339255 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500823) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["option_type_id", 935339255], ["position", 1], ["product_id", 1060500823], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339255) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339255], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500823 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.416779' WHERE "spree_products"."id" = 1060500823 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500823], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.417977' WHERE "spree_products"."id" = 1060500823  (0.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590152, 979460228) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339255) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339255], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500823 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.422115' WHERE "spree_products"."id" = 1060500823 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500823], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.423153' WHERE "spree_products"."id" = 1060500823  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590153, 979460229) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339255) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339255], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500823 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.426991' WHERE "spree_products"."id" = 1060500823 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500823], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.428205' WHERE "spree_products"."id" = 1060500823  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590154, 979460230) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500823]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500823) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590152 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590153 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590154 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500823) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500823 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.440420' WHERE "spree_products"."id" = 1060500823  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590152 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.441319' WHERE "spree_products"."id" = 1060500823 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500823 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.442435' WHERE "spree_products"."id" = 1060500823  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590153 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.443460' WHERE "spree_products"."id" = 1060500823 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500823 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.444434' WHERE "spree_products"."id" = 1060500823  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590154 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:00.445281' WHERE "spree_products"."id" = 1060500823 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500823) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590151 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:00 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500823) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:33:01.236594' WHERE "spree_products"."id" = 1060500823 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500823 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500824 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.248448' WHERE "spree_products"."id" = 1060500824 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500824], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.250381' WHERE "spree_products"."id" = 1060500824  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590155 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.251702' WHERE "spree_products"."id" = 1060500824  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500824  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["product_id", nil], ["property_id", 905835074], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500824, "updated_at" = '2012-10-20 09:33:01.259028' WHERE "spree_product_properties"."id" = 1073273350 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500824) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451660 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500824 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500824, 558398793) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["name", "Landscape"], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451662 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451662], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (1.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500824, 558398795) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451663 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451663], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500824, 558398796) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500824) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500824 AND "spree_option_types"."id" = 935339255 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500824) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["option_type_id", 935339255], ["position", 1], ["product_id", 1060500824], ["updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500824 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.290500' WHERE "spree_products"."id" = 1060500824 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500824], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.291500' WHERE "spree_products"."id" = 1060500824  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590156, 979460228) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500824 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.295077' WHERE "spree_products"."id" = 1060500824 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500824], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.296307' WHERE "spree_products"."id" = 1060500824  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590157, 979460229) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500824 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.299484' WHERE "spree_products"."id" = 1060500824 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500824], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.300327' WHERE "spree_products"."id" = 1060500824  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590158, 979460230) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500824]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500824) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (3.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590156 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590157 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590158 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500824) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500824 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.316382' WHERE "spree_products"."id" = 1060500824  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590156 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.317496' WHERE "spree_products"."id" = 1060500824 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500824 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.318655' WHERE "spree_products"."id" = 1060500824  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590157 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.319453' WHERE "spree_products"."id" = 1060500824 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500824 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.320509' WHERE "spree_products"."id" = 1060500824  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590158 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:01.321956' WHERE "spree_products"."id" = 1060500824 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500824) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590155 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:01 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500824) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500824 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:33:07.239945' WHERE "spree_products"."id" = 1060500824 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060500824 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.252655' WHERE "spree_products"."id" = 1060500825 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500825], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.253739' WHERE "spree_products"."id" = 1060500825  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590159 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.255115' WHERE "spree_products"."id" = 1060500825  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500825  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["product_id", nil], ["property_id", 905835075], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["value", nil]]  (0.8ms) UPDATE "spree_product_properties" SET "product_id" = 1060500825, "updated_at" = '2012-10-20 09:33:07.262538' WHERE "spree_product_properties"."id" = 1073273351 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["product_id", nil], ["property_id", 905835074], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500825, "updated_at" = '2012-10-20 09:33:07.265119' WHERE "spree_product_properties"."id" = 1073273352 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["product_id", nil], ["property_id", 905835076], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500825, "updated_at" = '2012-10-20 09:33:07.268515' WHERE "spree_product_properties"."id" = 1073273353 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500825) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451664 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451664], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500825 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500825, 558398797) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500825) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500825 AND "spree_option_types"."id" = 935339255 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500825) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["option_type_id", 935339255], ["position", 1], ["product_id", 1060500825], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.298563' WHERE "spree_products"."id" = 1060500825 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500825], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.300198' WHERE "spree_products"."id" = 1060500825  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590160, 979460228) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.303002' WHERE "spree_products"."id" = 1060500825 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500825], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.304389' WHERE "spree_products"."id" = 1060500825  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590161, 979460229) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339255 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.307212' WHERE "spree_products"."id" = 1060500825 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500825], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.308283' WHERE "spree_products"."id" = 1060500825  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590162, 979460230) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500825]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500825 AND "spree_option_types"."id" = 935339256 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500825) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["option_type_id", 935339256], ["position", 2], ["product_id", 1060500825], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339256 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339256) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339256], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.322221' WHERE "spree_products"."id" = 1060500825 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500825], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.323532' WHERE "spree_products"."id" = 1060500825  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590163, 979460231) Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339256 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339256) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["name", "colour"], ["option_type_id", 935339256], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.328599' WHERE "spree_products"."id" = 1060500825 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500825], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.329861' WHERE "spree_products"."id" = 1060500825  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590164, 979460232) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500825]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500825) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590160 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590161 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590162 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590163 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590164 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500825) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.345128' WHERE "spree_products"."id" = 1060500825  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590160 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.346282' WHERE "spree_products"."id" = 1060500825 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.347233' WHERE "spree_products"."id" = 1060500825  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590161 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.348020' WHERE "spree_products"."id" = 1060500825 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.349509' WHERE "spree_products"."id" = 1060500825  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590162 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.350416' WHERE "spree_products"."id" = 1060500825 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.351411' WHERE "spree_products"."id" = 1060500825  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590163 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.352178' WHERE "spree_products"."id" = 1060500825 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500825 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.353487' WHERE "spree_products"."id" = 1060500825  (0.9ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590164 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:07.355729' WHERE "spree_products"."id" = 1060500825 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500825) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590159 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:07 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500825) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500825 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:33:08.304200' WHERE "spree_products"."id" = 1060500825 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500825 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (22.6ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500823 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590151) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500823)) SQL (3.1ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.6ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500826 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.419545' WHERE "spree_products"."id" = 1060500826 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500826], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.421148' WHERE "spree_products"."id" = 1060500826  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590165 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.422481' WHERE "spree_products"."id" = 1060500826  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500826  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["product_id", nil], ["property_id", 905835077], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500826, "updated_at" = '2012-10-20 09:33:08.428791' WHERE "spree_product_properties"."id" = 1073273354 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500826) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451665 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451665], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500826 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500826, 558398798) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451666 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451666], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500826, 558398799) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500826) LIMIT 1 Spree::OptionType Load (1.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500826 AND "spree_option_types"."id" = 935339257 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500826) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["option_type_id", 935339257], ["position", 1], ["product_id", 1060500826], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339257) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339257], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500826 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.454526' WHERE "spree_products"."id" = 1060500826 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500826], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.455792' WHERE "spree_products"."id" = 1060500826  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590166, 979460233) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339257) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339257], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500826 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.459792' WHERE "spree_products"."id" = 1060500826 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500826], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.460968' WHERE "spree_products"."id" = 1060500826  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590167, 979460234) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339257) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339257], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500826 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.465446' WHERE "spree_products"."id" = 1060500826 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500826], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.466381' WHERE "spree_products"."id" = 1060500826  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590168, 979460235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500826]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500826) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590166 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590167 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590168 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500826) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500826 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.479114' WHERE "spree_products"."id" = 1060500826  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590166 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.480178' WHERE "spree_products"."id" = 1060500826 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500826 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.481040' WHERE "spree_products"."id" = 1060500826  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590167 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.481792' WHERE "spree_products"."id" = 1060500826 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500826 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.482713' WHERE "spree_products"."id" = 1060500826  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590168 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.483378' WHERE "spree_products"."id" = 1060500826 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500826) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500826 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:33:08.485377' WHERE "spree_products"."id" = 1060500826 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500826 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500827 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.496232' WHERE "spree_products"."id" = 1060500827 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500827], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.499792' WHERE "spree_products"."id" = 1060500827  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590169 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.501127' WHERE "spree_products"."id" = 1060500827  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500827  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["product_id", nil], ["property_id", 905835078], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500827, "updated_at" = '2012-10-20 09:33:08.506167' WHERE "spree_product_properties"."id" = 1073273355 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500827) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451665 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500827 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500827, 558398798) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451667 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451667], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500827, 558398800) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451665 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398798 AND "spree_taxons"."taxonomy_id" = 854451665 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398798]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398798], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451665], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398798]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398801]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398801 THEN 558398798 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398798]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398801]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398801 AND "spree_taxons"."taxonomy_id" = 854451665 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398801]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398801], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451665], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398801]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398802]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398802 THEN 558398801 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398801]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398802]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500827, 558398801)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500827, 558398802) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500827) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500827 AND "spree_option_types"."id" = 935339257 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500827) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["option_type_id", 935339257], ["position", 1], ["product_id", 1060500827], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500827 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.539101' WHERE "spree_products"."id" = 1060500827 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500827], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.540557' WHERE "spree_products"."id" = 1060500827  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590170, 979460233) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::Product Load (6.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500827 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.592179' WHERE "spree_products"."id" = 1060500827 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500827], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.595984' WHERE "spree_products"."id" = 1060500827  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590171, 979460234) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500827 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.598793' WHERE "spree_products"."id" = 1060500827 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500827], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.600240' WHERE "spree_products"."id" = 1060500827  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590172, 979460235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500827]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500827) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590170 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590171 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590172 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500827) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500827 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.615120' WHERE "spree_products"."id" = 1060500827  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590170 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.617114' WHERE "spree_products"."id" = 1060500827 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500827 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.618207' WHERE "spree_products"."id" = 1060500827  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590171 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.619264' WHERE "spree_products"."id" = 1060500827 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500827 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.620392' WHERE "spree_products"."id" = 1060500827  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590172 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.621356' WHERE "spree_products"."id" = 1060500827 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500827) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500827 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:33:08.623911' WHERE "spree_products"."id" = 1060500827 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500827 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.632111' WHERE "spree_products"."id" = 1060500828 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500828], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.633257' WHERE "spree_products"."id" = 1060500828  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590173 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.634430' WHERE "spree_products"."id" = 1060500828  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500828  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["product_id", nil], ["property_id", 905835079], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500828, "updated_at" = '2012-10-20 09:33:08.640316' WHERE "spree_product_properties"."id" = 1073273356 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["product_id", nil], ["property_id", 905835078], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500828, "updated_at" = '2012-10-20 09:33:08.642752' WHERE "spree_product_properties"."id" = 1073273357 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["product_id", nil], ["property_id", 905835080], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500828, "updated_at" = '2012-10-20 09:33:08.645794' WHERE "spree_product_properties"."id" = 1073273358 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500828) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451668 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451668], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500828 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500828, 558398803) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451665 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398798 AND "spree_taxons"."taxonomy_id" = 854451665 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398798]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398798], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451665], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398798]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398804]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398804 THEN 558398798 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398798]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398804]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500828, 558398804)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500828, 558398798) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500828) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500828 AND "spree_option_types"."id" = 935339257 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500828) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["option_type_id", 935339257], ["position", 1], ["product_id", 1060500828], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.668571' WHERE "spree_products"."id" = 1060500828 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500828], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.669794' WHERE "spree_products"."id" = 1060500828  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590174, 979460233) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.671712' WHERE "spree_products"."id" = 1060500828 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500828], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.673069' WHERE "spree_products"."id" = 1060500828  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590175, 979460234) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339257 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.675139' WHERE "spree_products"."id" = 1060500828 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500828], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.676300' WHERE "spree_products"."id" = 1060500828  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590176, 979460235) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500828]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500828 AND "spree_option_types"."id" = 935339258 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500828) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["option_type_id", 935339258], ["position", 2], ["product_id", 1060500828], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339258 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339258) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339258], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.687150' WHERE "spree_products"."id" = 1060500828 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500828], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.692355' WHERE "spree_products"."id" = 1060500828  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590177, 979460236) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339258 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339258) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "colour"], ["option_type_id", 935339258], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.696671' WHERE "spree_products"."id" = 1060500828 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500828], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.697940' WHERE "spree_products"."id" = 1060500828  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590178, 979460237) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500828]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500828) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590174 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590175 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590176 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590177 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590178 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500828) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.711023' WHERE "spree_products"."id" = 1060500828  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590174 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.712110' WHERE "spree_products"."id" = 1060500828 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.713263' WHERE "spree_products"."id" = 1060500828  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590175 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.714023' WHERE "spree_products"."id" = 1060500828 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.715184' WHERE "spree_products"."id" = 1060500828  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590176 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.716016' WHERE "spree_products"."id" = 1060500828 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.717083' WHERE "spree_products"."id" = 1060500828  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590177 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.717795' WHERE "spree_products"."id" = 1060500828 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500828 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.718688' WHERE "spree_products"."id" = 1060500828  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590178 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.719754' WHERE "spree_products"."id" = 1060500828 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500828) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:33:08.722037' WHERE "spree_products"."id" = 1060500828 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500828 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500828 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590173) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500828)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.3ms) rollback transaction SQL (4.8ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (5.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (2.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500829 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.865440' WHERE "spree_products"."id" = 1060500829 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500829], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.866797' WHERE "spree_products"."id" = 1060500829  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590179 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.868037' WHERE "spree_products"."id" = 1060500829  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500829  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["product_id", nil], ["property_id", 905835081], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500829, "updated_at" = '2012-10-20 09:33:08.873797' WHERE "spree_product_properties"."id" = 1073273359 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500829) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451669 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451669], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500829 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500829, 558398805) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451670 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451670], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500829, 558398806) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500829) LIMIT 1 Spree::OptionType Load (4.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500829 AND "spree_option_types"."id" = 935339259 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500829) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["option_type_id", 935339259], ["position", 1], ["product_id", 1060500829], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339259) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339259], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500829 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.903248' WHERE "spree_products"."id" = 1060500829 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500829], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.904797' WHERE "spree_products"."id" = 1060500829  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590180, 979460238) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339259) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339259], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500829 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.908343' WHERE "spree_products"."id" = 1060500829 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500829], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.909507' WHERE "spree_products"."id" = 1060500829  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590181, 979460239) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339259) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339259], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500829 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.913097' WHERE "spree_products"."id" = 1060500829 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500829], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.914797' WHERE "spree_products"."id" = 1060500829  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590182, 979460240) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500829]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500829) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590180 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590181 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590182 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500829) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500829 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.925917' WHERE "spree_products"."id" = 1060500829  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590180 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.927226' WHERE "spree_products"."id" = 1060500829 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500829 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.928410' WHERE "spree_products"."id" = 1060500829  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590181 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.929663' WHERE "spree_products"."id" = 1060500829 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500829 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.930975' WHERE "spree_products"."id" = 1060500829  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590182 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.932108' WHERE "spree_products"."id" = 1060500829 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500829) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500829 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:33:08.934208' WHERE "spree_products"."id" = 1060500829 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500829 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500830 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.941121' WHERE "spree_products"."id" = 1060500830 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500830], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.942285' WHERE "spree_products"."id" = 1060500830  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590183 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.943574' WHERE "spree_products"."id" = 1060500830  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500830  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["product_id", nil], ["property_id", 905835082], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500830, "updated_at" = '2012-10-20 09:33:08.949209' WHERE "spree_product_properties"."id" = 1073273360 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500830) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451669 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500830 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500830, 558398805) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451671 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451671], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500830, 558398807) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451669 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398805 AND "spree_taxons"."taxonomy_id" = 854451669 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398805]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398805], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451669], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398805]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398808]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398808 THEN 558398805 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398805]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398808]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398808 AND "spree_taxons"."taxonomy_id" = 854451669 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398808]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398808], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451669], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398808]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398809]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398809 THEN 558398808 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398808]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398809]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500830, 558398808)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500830, 558398809) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500830) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500830 AND "spree_option_types"."id" = 935339259 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500830) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00], ["option_type_id", 935339259], ["position", 1], ["product_id", 1060500830], ["updated_at", Sat, 20 Oct 2012 09:33:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500830 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.978048' WHERE "spree_products"."id" = 1060500830 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500830], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.979204' WHERE "spree_products"."id" = 1060500830  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590184, 979460238) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500830 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.981178' WHERE "spree_products"."id" = 1060500830 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500830], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.982140' WHERE "spree_products"."id" = 1060500830  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590185, 979460239) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500830 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.984281' WHERE "spree_products"."id" = 1060500830 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500830], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:08.985253' WHERE "spree_products"."id" = 1060500830  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590186, 979460240) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500830]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500830) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590184 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590185 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590186 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500830) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500830 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.001159' WHERE "spree_products"."id" = 1060500830  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590184 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.002167' WHERE "spree_products"."id" = 1060500830 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500830 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.003267' WHERE "spree_products"."id" = 1060500830  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590185 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.004037' WHERE "spree_products"."id" = 1060500830 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500830 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.004915' WHERE "spree_products"."id" = 1060500830  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590186 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.005683' WHERE "spree_products"."id" = 1060500830 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500830) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500830 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:33:09.007676' WHERE "spree_products"."id" = 1060500830 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500830 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.014340' WHERE "spree_products"."id" = 1060500831 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500831], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.015455' WHERE "spree_products"."id" = 1060500831  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590187 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.016514' WHERE "spree_products"."id" = 1060500831  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500831  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["product_id", nil], ["property_id", 905835083], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500831, "updated_at" = '2012-10-20 09:33:09.021699' WHERE "spree_product_properties"."id" = 1073273361 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["product_id", nil], ["property_id", 905835082], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500831, "updated_at" = '2012-10-20 09:33:09.023759' WHERE "spree_product_properties"."id" = 1073273362 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["product_id", nil], ["property_id", 905835084], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500831, "updated_at" = '2012-10-20 09:33:09.026799' WHERE "spree_product_properties"."id" = 1073273363 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500831) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451672 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451672], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500831 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500831, 558398810) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451669 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398805 AND "spree_taxons"."taxonomy_id" = 854451669 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398805]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398805], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451669], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398805]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398811]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398811 THEN 558398805 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398805]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398811]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500831, 558398811)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500831, 558398805) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500831) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (5.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500831 AND "spree_option_types"."id" = 935339259 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500831) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["option_type_id", 935339259], ["position", 1], ["product_id", 1060500831], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.099442' WHERE "spree_products"."id" = 1060500831 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500831], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.100443' WHERE "spree_products"."id" = 1060500831  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590188, 979460238) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.102600' WHERE "spree_products"."id" = 1060500831 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500831], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.103700' WHERE "spree_products"."id" = 1060500831  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590189, 979460239) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339259 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.106171' WHERE "spree_products"."id" = 1060500831 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500831], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.107240' WHERE "spree_products"."id" = 1060500831  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590190, 979460240) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500831]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500831 AND "spree_option_types"."id" = 935339260 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500831) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["option_type_id", 935339260], ["position", 2], ["product_id", 1060500831], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339260 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339260) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339260], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.118612' WHERE "spree_products"."id" = 1060500831 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500831], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.119746' WHERE "spree_products"."id" = 1060500831  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590191, 979460241) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339260 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339260) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "colour"], ["option_type_id", 935339260], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.124772' WHERE "spree_products"."id" = 1060500831 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500831], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.125800' WHERE "spree_products"."id" = 1060500831  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590192, 979460242) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500831]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500831) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590188 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590189 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590190 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590191 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590192 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500831) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.140902' WHERE "spree_products"."id" = 1060500831  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590188 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.142058' WHERE "spree_products"."id" = 1060500831 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.143083' WHERE "spree_products"."id" = 1060500831  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.143800' WHERE "spree_products"."id" = 1060500831 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.144987' WHERE "spree_products"."id" = 1060500831  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590190 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.145952' WHERE "spree_products"."id" = 1060500831 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.146960' WHERE "spree_products"."id" = 1060500831  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590191 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.147759' WHERE "spree_products"."id" = 1060500831 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500831 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.148498' WHERE "spree_products"."id" = 1060500831  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590192 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.149499' WHERE "spree_products"."id" = 1060500831 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500831) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:33:09.151615' WHERE "spree_products"."id" = 1060500831 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500831 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.2ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500831 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590187) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500831)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) rollback transaction SQL (19.3ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500832 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.338803' WHERE "spree_products"."id" = 1060500832 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500832], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.340244' WHERE "spree_products"."id" = 1060500832  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590193 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.341978' WHERE "spree_products"."id" = 1060500832  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500832  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["product_id", nil], ["property_id", 905835085], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500832, "updated_at" = '2012-10-20 09:33:09.347752' WHERE "spree_product_properties"."id" = 1073273364 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451673 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451673], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500832 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500832, 558398812) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451674 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451674], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500832, 558398813) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500832 AND "spree_option_types"."id" = 935339261 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500832) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["option_type_id", 935339261], ["position", 1], ["product_id", 1060500832], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339261 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339261) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339261], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500832 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.370889' WHERE "spree_products"."id" = 1060500832 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500832], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.371949' WHERE "spree_products"."id" = 1060500832  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590194, 979460243) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339261 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339261) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339261], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500832 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.376762' WHERE "spree_products"."id" = 1060500832 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500832], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.377612' WHERE "spree_products"."id" = 1060500832  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590195, 979460244) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339261 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339261) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339261], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500832 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.381973' WHERE "spree_products"."id" = 1060500832 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500832], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.385803' WHERE "spree_products"."id" = 1060500832  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590196, 979460245) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500832]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590194 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590195 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590196 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500832 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.401493' WHERE "spree_products"."id" = 1060500832  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590194 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.402452' WHERE "spree_products"."id" = 1060500832 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500832 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.403152' WHERE "spree_products"."id" = 1060500832  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590195 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.404115' WHERE "spree_products"."id" = 1060500832 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500832 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.405055' WHERE "spree_products"."id" = 1060500832  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590196 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:09.405783' WHERE "spree_products"."id" = 1060500832 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590193 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:09 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1 Spree::Asset Load (5.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:10 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:11 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500832) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:33:12.011423' WHERE "spree_products"."id" = 1060500832 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500832 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500833 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.024956' WHERE "spree_products"."id" = 1060500833 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500833], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.027319' WHERE "spree_products"."id" = 1060500833  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590197 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.029031' WHERE "spree_products"."id" = 1060500833  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500833  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["product_id", nil], ["property_id", 905835086], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500833, "updated_at" = '2012-10-20 09:33:12.035805' WHERE "spree_product_properties"."id" = 1073273365 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500833) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451673 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500833 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500833, 558398812) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["name", "Landscape"], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451675 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451675], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500833, 558398814) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451676 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451676], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500833, 558398815) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500833) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500833 AND "spree_option_types"."id" = 935339261 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500833) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["option_type_id", 935339261], ["position", 1], ["product_id", 1060500833], ["updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339261 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500833 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.065437' WHERE "spree_products"."id" = 1060500833 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500833], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.066930' WHERE "spree_products"."id" = 1060500833  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590198, 979460243) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339261 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500833 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.069401' WHERE "spree_products"."id" = 1060500833 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500833], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.070497' WHERE "spree_products"."id" = 1060500833  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590199, 979460244) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339261 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500833 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.073452' WHERE "spree_products"."id" = 1060500833 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500833], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.074697' WHERE "spree_products"."id" = 1060500833  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590200, 979460245) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500833]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500833) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590198 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590199 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590200 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500833) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500833 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.087532' WHERE "spree_products"."id" = 1060500833  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590198 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.088545' WHERE "spree_products"."id" = 1060500833 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500833 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.089722' WHERE "spree_products"."id" = 1060500833  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590199 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.090526' WHERE "spree_products"."id" = 1060500833 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500833 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.091683' WHERE "spree_products"."id" = 1060500833  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590200 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:12.092612' WHERE "spree_products"."id" = 1060500833 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500833) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590197 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:12 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sat, 20 Oct 2012 09:33:18 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500833) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500833 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:33:19.629931' WHERE "spree_products"."id" = 1060500833 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500833 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.1ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500832 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590193 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (5.8ms) DELETE FROM "spree_products" SQL (7.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (14.1ms) DELETE FROM "spree_option_values" SQL (3.5ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451677 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451677], ["updated_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451677], ["updated_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00]]  (5.0ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451677], ["updated_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00]]  (2.5ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (5.9ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451678 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451678], ["updated_at", Sat, 20 Oct 2012 09:33:19 UTC +00:00]]  (17.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451678], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451678], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]]  (1.9ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451678 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451678 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451678 LIMIT 1 Booted Spree using version 1.1.3 SQL (6.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451679], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451679], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]]  (2.4ms) commit transaction  (1.0ms) begin transaction  (0.6ms) UPDATE "spree_taxons" SET "parent_id" = 558398822, "updated_at" = '2012-10-20 09:33:20.211660' WHERE "spree_taxons"."id" = 558398823 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398822]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398823]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398823 THEN 558398822 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398822]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398823]]  (3.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398822 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.251257' WHERE "spree_products"."id" = 1060500834 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500834], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.252541' WHERE "spree_products"."id" = 1060500834  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590201 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.254476' WHERE "spree_products"."id" = 1060500834  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500834  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["product_id", nil], ["property_id", 905835087], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500834, "updated_at" = '2012-10-20 09:33:20.260402' WHERE "spree_product_properties"."id" = 1073273366 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500834) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500834 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500834, 558398822) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451680 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451680], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500834, 558398824) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500834) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500834 AND "spree_option_types"."id" = 935339262 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500834) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["option_type_id", 935339262], ["position", 1], ["product_id", 1060500834], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339262) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339262], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.285379' WHERE "spree_products"."id" = 1060500834 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500834], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.286673' WHERE "spree_products"."id" = 1060500834  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590202, 979460246) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339262) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339262], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.290579' WHERE "spree_products"."id" = 1060500834 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500834], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.291820' WHERE "spree_products"."id" = 1060500834  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590203, 979460247) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339262) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339262], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.295809' WHERE "spree_products"."id" = 1060500834 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500834], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.296746' WHERE "spree_products"."id" = 1060500834  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590204, 979460248) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500834]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500834) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590202 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590203 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590204 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500834) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.307407' WHERE "spree_products"."id" = 1060500834  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590202 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.308475' WHERE "spree_products"."id" = 1060500834 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.309532' WHERE "spree_products"."id" = 1060500834  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590203 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.310440' WHERE "spree_products"."id" = 1060500834 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.311289' WHERE "spree_products"."id" = 1060500834  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590204 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.312090' WHERE "spree_products"."id" = 1060500834 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500834) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500834 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:33:20.313940' WHERE "spree_products"."id" = 1060500834 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500834 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.320579' WHERE "spree_products"."id" = 1060500835 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500835], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.321512' WHERE "spree_products"."id" = 1060500835  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590205 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.322561' WHERE "spree_products"."id" = 1060500835  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500835  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["product_id", nil], ["property_id", 905835088], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500835, "updated_at" = '2012-10-20 09:33:20.328112' WHERE "spree_product_properties"."id" = 1073273367 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500835) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500835 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500835, 558398822) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451681 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451681], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500835, 558398825) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398822 AND "spree_taxons"."taxonomy_id" = 854451679 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398822]] SQL (327.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398822], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451679], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398822]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398826]] SQL (1.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398826 THEN 558398822 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398822]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398826]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398826 AND "spree_taxons"."taxonomy_id" = 854451679 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398826]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398826], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451679], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398826]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398827]] SQL (33.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398827 THEN 558398826 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398826]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398827]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500835, 558398826)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500835, 558398827) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500835) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500835 AND "spree_option_types"."id" = 935339262 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500835) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["option_type_id", 935339262], ["position", 1], ["product_id", 1060500835], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.727185' WHERE "spree_products"."id" = 1060500835 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500835], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.728277' WHERE "spree_products"."id" = 1060500835  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590206, 979460246) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.730417' WHERE "spree_products"."id" = 1060500835 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500835], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.731386' WHERE "spree_products"."id" = 1060500835  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590207, 979460247) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.733800' WHERE "spree_products"."id" = 1060500835 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500835], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.734898' WHERE "spree_products"."id" = 1060500835  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590208, 979460248) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500835]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500835) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590206 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590207 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590208 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500835) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.759764' WHERE "spree_products"."id" = 1060500835  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590206 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.761102' WHERE "spree_products"."id" = 1060500835 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.762059' WHERE "spree_products"."id" = 1060500835  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590207 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.764126' WHERE "spree_products"."id" = 1060500835 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.765102' WHERE "spree_products"."id" = 1060500835  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590208 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.765945' WHERE "spree_products"."id" = 1060500835 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500835) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500835 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:33:20.768750' WHERE "spree_products"."id" = 1060500835 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500835 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.776733' WHERE "spree_products"."id" = 1060500836 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500836], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.779775' WHERE "spree_products"."id" = 1060500836  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590209 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.781262' WHERE "spree_products"."id" = 1060500836  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500836  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Created New Property # SQL (4.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["product_id", nil], ["property_id", 905835089], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500836, "updated_at" = '2012-10-20 09:33:20.845288' WHERE "spree_product_properties"."id" = 1073273368 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["product_id", nil], ["property_id", 905835088], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500836, "updated_at" = '2012-10-20 09:33:20.848130' WHERE "spree_product_properties"."id" = 1073273369 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["product_id", nil], ["property_id", 905835090], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500836, "updated_at" = '2012-10-20 09:33:20.852946' WHERE "spree_product_properties"."id" = 1073273370 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500836) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451682 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451682], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500836 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500836, 558398828) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398822 AND "spree_taxons"."taxonomy_id" = 854451679 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500836, 558398823)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500836, 558398822) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500836) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500836 AND "spree_option_types"."id" = 935339262 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500836) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["option_type_id", 935339262], ["position", 1], ["product_id", 1060500836], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.879880' WHERE "spree_products"."id" = 1060500836 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500836], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.881443' WHERE "spree_products"."id" = 1060500836  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590210, 979460246) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.885574' WHERE "spree_products"."id" = 1060500836 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500836], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.886583' WHERE "spree_products"."id" = 1060500836  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590211, 979460247) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339262 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.888936' WHERE "spree_products"."id" = 1060500836 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500836], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.890410' WHERE "spree_products"."id" = 1060500836  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590212, 979460248) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500836]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500836 AND "spree_option_types"."id" = 935339263 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500836) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["option_type_id", 935339263], ["position", 2], ["product_id", 1060500836], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339263 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339263) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339263], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.903440' WHERE "spree_products"."id" = 1060500836 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500836], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.904590' WHERE "spree_products"."id" = 1060500836  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590213, 979460249) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339263 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339263) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00], ["name", "colour"], ["option_type_id", 935339263], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.910756' WHERE "spree_products"."id" = 1060500836 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500836], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.911855' WHERE "spree_products"."id" = 1060500836  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590214, 979460250) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500836]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500836) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590210 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590211 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590212 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590213 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590214 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500836) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.927098' WHERE "spree_products"."id" = 1060500836  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590210 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.928436' WHERE "spree_products"."id" = 1060500836 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.929526' WHERE "spree_products"."id" = 1060500836  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590211 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.930607' WHERE "spree_products"."id" = 1060500836 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.934467' WHERE "spree_products"."id" = 1060500836  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590212 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.935533' WHERE "spree_products"."id" = 1060500836 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.936298' WHERE "spree_products"."id" = 1060500836  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590213 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.937160' WHERE "spree_products"."id" = 1060500836 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500836 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.938186' WHERE "spree_products"."id" = 1060500836  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590214 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:20.939144' WHERE "spree_products"."id" = 1060500836 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500836) LIMIT 1  (3.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500836 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:33:20.944210' WHERE "spree_products"."id" = 1060500836 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500836 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (27.3ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500834 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500834 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500835 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500835 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451679 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398822 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398826 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398826 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398827 ORDER BY "lft" SQL (5.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451683], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (3.4ms) commit transaction  (0.0ms) begin transaction  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451683], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.5ms) UPDATE "spree_taxons" SET "parent_id" = 558398829, "updated_at" = '2012-10-20 09:33:21.044748' WHERE "spree_taxons"."id" = 558398830 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398829]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398830]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398830 THEN 558398829 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398829]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398830]]  (2.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398829 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.078946' WHERE "spree_products"."id" = 1060500837 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500837], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.080816' WHERE "spree_products"."id" = 1060500837  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590215 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.082384' WHERE "spree_products"."id" = 1060500837  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500837  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835091], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500837, "updated_at" = '2012-10-20 09:33:21.089625' WHERE "spree_product_properties"."id" = 1073273371 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500837 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500837, 558398829) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451684 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451684], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500837, 558398831) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500837 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500837) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["option_type_id", 935339264], ["position", 1], ["product_id", 1060500837], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339264) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339264], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.160840' WHERE "spree_products"."id" = 1060500837 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500837], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.161950' WHERE "spree_products"."id" = 1060500837  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590216, 979460251) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500837]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500837 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339264) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339264], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 SQL (1.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.170322' WHERE "spree_products"."id" = 1060500837 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500837], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.172691' WHERE "spree_products"."id" = 1060500837  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590217, 979460252) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500837]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500837 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339264) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339264], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.180458' WHERE "spree_products"."id" = 1060500837 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500837], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.181265' WHERE "spree_products"."id" = 1060500837  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590218, 979460253) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500837]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590216 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590217 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590218 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.195660' WHERE "spree_products"."id" = 1060500837  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590216 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.196932' WHERE "spree_products"."id" = 1060500837 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.197735' WHERE "spree_products"."id" = 1060500837  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590217 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.198393' WHERE "spree_products"."id" = 1060500837 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.199427' WHERE "spree_products"."id" = 1060500837  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590218 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.200199' WHERE "spree_products"."id" = 1060500837 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500837) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500837 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:33:21.202060' WHERE "spree_products"."id" = 1060500837 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500837 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.208310' WHERE "spree_products"."id" = 1060500838 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500838], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.209575' WHERE "spree_products"."id" = 1060500838  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590219 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.210609' WHERE "spree_products"."id" = 1060500838  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500838  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835092], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500838, "updated_at" = '2012-10-20 09:33:21.215391' WHERE "spree_product_properties"."id" = 1073273372 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500838 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500838, 558398829) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451685 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451685], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500838, 558398832) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398829 AND "spree_taxons"."taxonomy_id" = 854451683 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398829]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398829], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451683], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398829]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398833]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398833 THEN 558398829 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398829]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398833]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398833 AND "spree_taxons"."taxonomy_id" = 854451683 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398833]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398833], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451683], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398833]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398834]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398834 THEN 558398833 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398833]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398834]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500838, 558398833)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500838, 558398834) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500838 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500838) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["option_type_id", 935339264], ["position", 1], ["product_id", 1060500838], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.248951' WHERE "spree_products"."id" = 1060500838 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500838], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.250244' WHERE "spree_products"."id" = 1060500838  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590220, 979460251) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500838]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500838 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.256349' WHERE "spree_products"."id" = 1060500838 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500838], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.257384' WHERE "spree_products"."id" = 1060500838  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590221, 979460252) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500838]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500838 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.262845' WHERE "spree_products"."id" = 1060500838 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500838], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.263952' WHERE "spree_products"."id" = 1060500838  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590222, 979460253) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500838]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590220 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590221 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590222 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.279200' WHERE "spree_products"."id" = 1060500838  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590220 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.280294' WHERE "spree_products"."id" = 1060500838 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.281212' WHERE "spree_products"."id" = 1060500838  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590221 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.281941' WHERE "spree_products"."id" = 1060500838 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.282624' WHERE "spree_products"."id" = 1060500838  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590222 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.283823' WHERE "spree_products"."id" = 1060500838 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500838) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500838 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:33:21.286095' WHERE "spree_products"."id" = 1060500838 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500838 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.293329' WHERE "spree_products"."id" = 1060500839 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500839], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.294124' WHERE "spree_products"."id" = 1060500839  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590223 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.295407' WHERE "spree_products"."id" = 1060500839  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500839  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835093], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500839, "updated_at" = '2012-10-20 09:33:21.300415' WHERE "spree_product_properties"."id" = 1073273373 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835092], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500839, "updated_at" = '2012-10-20 09:33:21.302952' WHERE "spree_product_properties"."id" = 1073273374 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835094], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500839, "updated_at" = '2012-10-20 09:33:21.306376' WHERE "spree_product_properties"."id" = 1073273375 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451686 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451686], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500839 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500839, 558398835) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398829 AND "spree_taxons"."taxonomy_id" = 854451683 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500839, 558398830)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500839, 558398829) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500839 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500839) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["option_type_id", 935339264], ["position", 1], ["product_id", 1060500839], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.323776' WHERE "spree_products"."id" = 1060500839 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500839], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.324767' WHERE "spree_products"."id" = 1060500839  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590224, 979460251) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500839]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500839 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.331348' WHERE "spree_products"."id" = 1060500839 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500839], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.332353' WHERE "spree_products"."id" = 1060500839  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590225, 979460252) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500839]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500839 AND "spree_option_types"."id" = 935339264 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339264 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.338048' WHERE "spree_products"."id" = 1060500839 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500839], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.339125' WHERE "spree_products"."id" = 1060500839  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590226, 979460253) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500839]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500839 AND "spree_option_types"."id" = 935339265 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500839) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["option_type_id", 935339265], ["position", 2], ["product_id", 1060500839], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339265 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339265) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339265], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.351144' WHERE "spree_products"."id" = 1060500839 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500839], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.351953' WHERE "spree_products"."id" = 1060500839  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590227, 979460254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500839]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500839 AND "spree_option_types"."id" = 935339265 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339265 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339265) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "colour"], ["option_type_id", 935339265], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.359220' WHERE "spree_products"."id" = 1060500839 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500839], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.360395' WHERE "spree_products"."id" = 1060500839  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590228, 979460255) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500839]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590224 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590225 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590226 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590227 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590228 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.387182' WHERE "spree_products"."id" = 1060500839  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590224 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.388180' WHERE "spree_products"."id" = 1060500839 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.389301' WHERE "spree_products"."id" = 1060500839  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590225 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.389907' WHERE "spree_products"."id" = 1060500839 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.391069' WHERE "spree_products"."id" = 1060500839  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590226 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.391846' WHERE "spree_products"."id" = 1060500839 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.392692' WHERE "spree_products"."id" = 1060500839  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590227 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.393842' WHERE "spree_products"."id" = 1060500839 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500839 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.394865' WHERE "spree_products"."id" = 1060500839  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590228 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.395672' WHERE "spree_products"."id" = 1060500839 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500839) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500839 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:33:21.397725' WHERE "spree_products"."id" = 1060500839 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500839 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.4ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500837 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500837 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500838 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500838 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451683 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398829 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398833 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398833 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398834 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451687], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (3.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451687], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558398836, "updated_at" = '2012-10-20 09:33:21.501880' WHERE "spree_taxons"."id" = 558398837 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398836]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398837]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398837 THEN 558398836 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398836]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398837]]  (167.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398836 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.765028' WHERE "spree_products"."id" = 1060500840 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500840], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.766423' WHERE "spree_products"."id" = 1060500840  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590229 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.767958' WHERE "spree_products"."id" = 1060500840  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500840  (1.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835095], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500840, "updated_at" = '2012-10-20 09:33:21.775157' WHERE "spree_product_properties"."id" = 1073273376 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500840 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500840, 558398836) Spree::Product Exists (1.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451688 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451688], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500840, 558398838) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500840 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500840) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["option_type_id", 935339266], ["position", 1], ["product_id", 1060500840], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339266) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339266], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.807105' WHERE "spree_products"."id" = 1060500840 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500840], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.808604' WHERE "spree_products"."id" = 1060500840  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590230, 979460256) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500840]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500840 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339266) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339266], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.818239' WHERE "spree_products"."id" = 1060500840 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500840], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.820429' WHERE "spree_products"."id" = 1060500840  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590231, 979460257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500840]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500840 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339266) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339266], ["position", 3], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.828335' WHERE "spree_products"."id" = 1060500840 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500840], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.829757' WHERE "spree_products"."id" = 1060500840  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590232, 979460258) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500840]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590230 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590231 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590232 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.844688' WHERE "spree_products"."id" = 1060500840  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590230 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.845539' WHERE "spree_products"."id" = 1060500840 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.846653' WHERE "spree_products"."id" = 1060500840  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590231 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.848320' WHERE "spree_products"."id" = 1060500840 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.849403' WHERE "spree_products"."id" = 1060500840  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590232 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.850203' WHERE "spree_products"."id" = 1060500840 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500840) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500840 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-20 09:33:21.852620' WHERE "spree_products"."id" = 1060500840 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.859114' WHERE "spree_products"."id" = 1060500841 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500841], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.860290' WHERE "spree_products"."id" = 1060500841  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590233 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.861488' WHERE "spree_products"."id" = 1060500841  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500841  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835096], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500841, "updated_at" = '2012-10-20 09:33:21.866702' WHERE "spree_product_properties"."id" = 1073273377 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500841 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500841, 558398836) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451689 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451689], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500841, 558398839) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398836 AND "spree_taxons"."taxonomy_id" = 854451687 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398836]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398836], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451687], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398836]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398840]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398840 THEN 558398836 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398836]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398840]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398840 AND "spree_taxons"."taxonomy_id" = 854451687 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398840]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398840], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451687], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398840]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398841]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398841 THEN 558398840 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398840]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398841]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500841, 558398840)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500841, 558398841) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500841 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500841) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["option_type_id", 935339266], ["position", 1], ["product_id", 1060500841], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.902724' WHERE "spree_products"."id" = 1060500841 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500841], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.903741' WHERE "spree_products"."id" = 1060500841  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590234, 979460256) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500841]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500841 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.909542' WHERE "spree_products"."id" = 1060500841 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500841], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.912960' WHERE "spree_products"."id" = 1060500841  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590235, 979460257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500841]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500841 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.918849' WHERE "spree_products"."id" = 1060500841 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500841], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.919939' WHERE "spree_products"."id" = 1060500841  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590236, 979460258) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500841]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590234 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590235 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590236 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.935798' WHERE "spree_products"."id" = 1060500841  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590234 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.936917' WHERE "spree_products"."id" = 1060500841 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.937941' WHERE "spree_products"."id" = 1060500841  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590235 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.938867' WHERE "spree_products"."id" = 1060500841 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.940353' WHERE "spree_products"."id" = 1060500841  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590236 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.941201' WHERE "spree_products"."id" = 1060500841 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500841) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500841 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-20 09:33:21.943960' WHERE "spree_products"."id" = 1060500841 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.950011' WHERE "spree_products"."id" = 1060500842 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500842], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.950960' WHERE "spree_products"."id" = 1060500842  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590237 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.952184' WHERE "spree_products"."id" = 1060500842  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500842  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835097], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500842, "updated_at" = '2012-10-20 09:33:21.956670' WHERE "spree_product_properties"."id" = 1073273378 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835096], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500842, "updated_at" = '2012-10-20 09:33:21.959276' WHERE "spree_product_properties"."id" = 1073273379 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["product_id", nil], ["property_id", 905835098], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500842, "updated_at" = '2012-10-20 09:33:21.962316' WHERE "spree_product_properties"."id" = 1073273380 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451690 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451690], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500842 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500842, 558398842) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398836 AND "spree_taxons"."taxonomy_id" = 854451687 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500842, 558398837)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500842, 558398836) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500842 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500842) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["option_type_id", 935339266], ["position", 1], ["product_id", 1060500842], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.979251' WHERE "spree_products"."id" = 1060500842 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500842], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.980309' WHERE "spree_products"."id" = 1060500842  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590238, 979460256) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500842]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500842 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.986388' WHERE "spree_products"."id" = 1060500842 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500842], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.987597' WHERE "spree_products"."id" = 1060500842  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590239, 979460257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500842]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500842 AND "spree_option_types"."id" = 935339266 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339266 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.994533' WHERE "spree_products"."id" = 1060500842 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500842], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:21.995484' WHERE "spree_products"."id" = 1060500842  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590240, 979460258) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500842]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sat, 20 Oct 2012 09:33:21 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500842 AND "spree_option_types"."id" = 935339267 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500842) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["option_type_id", 935339267], ["position", 2], ["product_id", 1060500842], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339267 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339267) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339267], ["position", 1], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.006044' WHERE "spree_products"."id" = 1060500842 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500842], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.007096' WHERE "spree_products"."id" = 1060500842  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590241, 979460259) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500842]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500842 AND "spree_option_types"."id" = 935339267 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339267 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339267) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "colour"], ["option_type_id", 935339267], ["position", 2], ["presentation", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.015057' WHERE "spree_products"."id" = 1060500842 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500842], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.016095' WHERE "spree_products"."id" = 1060500842  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590242, 979460260) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500842]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590238 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590239 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590240 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590241 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590242 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.029318' WHERE "spree_products"."id" = 1060500842  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590238 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.030264' WHERE "spree_products"."id" = 1060500842 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.031449' WHERE "spree_products"."id" = 1060500842  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590239 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.032347' WHERE "spree_products"."id" = 1060500842 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.033184' WHERE "spree_products"."id" = 1060500842  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590240 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.033952' WHERE "spree_products"."id" = 1060500842 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.035076' WHERE "spree_products"."id" = 1060500842  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590241 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.035887' WHERE "spree_products"."id" = 1060500842 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500842 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.036586' WHERE "spree_products"."id" = 1060500842  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590242 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.037480' WHERE "spree_products"."id" = 1060500842 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500842) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500842 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-20 09:33:22.040074' WHERE "spree_products"."id" = 1060500842  (6.3ms) commit transaction Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500840 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500840 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500841 LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500841 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451687 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398836 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398840 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398840 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398841 ORDER BY "lft" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (2.7ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500843 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.157171' WHERE "spree_products"."id" = 1060500843 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500843], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.158454' WHERE "spree_products"."id" = 1060500843  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590243 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.159831' WHERE "spree_products"."id" = 1060500843  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500843 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500843 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500843  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500843 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451691], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398843 AND "spree_taxons"."taxonomy_id" = 854451691 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398843]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398843], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451691], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398843]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398844]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398844 THEN 558398843 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398843]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398844]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500843 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500843, 558398844)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500843, 558398843) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500843) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451692 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451692], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500843, 558398845) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500843) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590243 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500843) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-20 09:33:22.185279' WHERE "spree_products"."id" = 1060500843  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590243 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.187210' WHERE "spree_products"."id" = 1060500843 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500843 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060500843 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500844 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.193349' WHERE "spree_products"."id" = 1060500844 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500844], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.194664' WHERE "spree_products"."id" = 1060500844  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590244 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.195726' WHERE "spree_products"."id" = 1060500844  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500844 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500844 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500844  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500844 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500844 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500844, 558398843) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500844) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451693 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451693], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500844, 558398846) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500844) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398843 AND "spree_taxons"."taxonomy_id" = 854451691 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398843]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398843], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451691], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398843]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398847]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398847 THEN 558398843 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398843]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398847]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398847 AND "spree_taxons"."taxonomy_id" = 854451691 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398847]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398847], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451691], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398847]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398848]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398848 THEN 558398847 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398847]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398848]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500844, 558398847)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500844, 558398848) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500844) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590244 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500844) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-20 09:33:22.222270' WHERE "spree_products"."id" = 1060500844  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590244 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.223637' WHERE "spree_products"."id" = 1060500844 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500844 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060500844 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500845 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.230293' WHERE "spree_products"."id" = 1060500845 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500845], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.231310' WHERE "spree_products"."id" = 1060500845  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590245 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.232460' WHERE "spree_products"."id" = 1060500845  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500845 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500845 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500845  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500845 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451694 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451694], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398849 AND "spree_taxons"."taxonomy_id" = 854451694 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398849]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398849], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451694], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398849]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398850]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398850 THEN 558398849 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398849]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398850]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500845 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500845, 558398850)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500845, 558398849) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500845) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Landscape"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451695 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451695], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500845, 558398851) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500845) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590245 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500845) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-20 09:33:22.256728' WHERE "spree_products"."id" = 1060500845  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590245 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.258268' WHERE "spree_products"."id" = 1060500845 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500845 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060500845 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500846 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.264964' WHERE "spree_products"."id" = 1060500846 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500846], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.266226' WHERE "spree_products"."id" = 1060500846  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590246 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.267200' WHERE "spree_products"."id" = 1060500846  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500846 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500846 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500846  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500846 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451694 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398849 AND "spree_taxons"."taxonomy_id" = 854451694 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500846 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500846, 558398850)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500846, 558398849) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500846) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398843 AND "spree_taxons"."taxonomy_id" = 854451691 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398847 AND "spree_taxons"."taxonomy_id" = 854451691 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398847]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398847], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451691], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398847]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398852]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398852 THEN 558398847 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398847]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398852]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398852 AND "spree_taxons"."taxonomy_id" = 854451691 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398852]] SQL (1.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398852], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451691], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398852]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398853]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398853 THEN 558398852 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398852]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398853]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500846, 558398847)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500846, 558398852)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500846, 558398853)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500846, 558398843) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500846) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590246 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500846) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-20 09:33:22.331533' WHERE "spree_products"."id" = 1060500846  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590246 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.333131' WHERE "spree_products"."id" = 1060500846 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500846 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060500846 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500847 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.339375' WHERE "spree_products"."id" = 1060500847 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500847], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.340898' WHERE "spree_products"."id" = 1060500847  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590247 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.341906' WHERE "spree_products"."id" = 1060500847  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500847 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500847 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500847  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500847 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451694 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398849 AND "spree_taxons"."taxonomy_id" = 854451694 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398850 AND "spree_taxons"."taxonomy_id" = 854451694 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398850]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398850], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451694], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398850]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398854]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398854 THEN 558398850 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398850]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398854]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500847 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500847, 558398850)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500847, 558398854)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500847, 558398849) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500847) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451693 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500847, 558398846) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500847) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590247 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500847) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-20 09:33:22.359965' WHERE "spree_products"."id" = 1060500847  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590247 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.361635' WHERE "spree_products"."id" = 1060500847 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500847 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060500847 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451692 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451693 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451694 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451695 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451691 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398843 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398843) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398847 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398847) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398847) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398843 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398847 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398852 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398853 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398852) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451694 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451694 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398850 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398850 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398854 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398854) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451693 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451693 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398846 ORDER BY "lft" Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451695 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451695 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398851 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500848 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.450633' WHERE "spree_products"."id" = 1060500848 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500848], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.451938' WHERE "spree_products"."id" = 1060500848  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590248 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.452966' WHERE "spree_products"."id" = 1060500848  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500848 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500848 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500848  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500848 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451696 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451696], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398855 AND "spree_taxons"."taxonomy_id" = 854451696 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398855]] SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398855], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451696], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398855]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398856]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398856 THEN 558398855 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398855]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398856]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500848 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500848, 558398856)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500848, 558398855) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500848) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451697 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451697], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500848, 558398857) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500848) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590248 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500848) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-20 09:33:22.478165' WHERE "spree_products"."id" = 1060500848  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590248 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.479629' WHERE "spree_products"."id" = 1060500848 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500848 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500849 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.486723' WHERE "spree_products"."id" = 1060500849 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500849], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.487532' WHERE "spree_products"."id" = 1060500849  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590249 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.489633' WHERE "spree_products"."id" = 1060500849  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500849 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500849 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500849  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500849 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451696 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500849 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500849, 558398855) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500849) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Oils"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451698 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451698], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500849, 558398858) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500849) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451696 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398855 AND "spree_taxons"."taxonomy_id" = 854451696 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398855]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398855], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451696], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398855]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398859]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398859 THEN 558398855 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398855]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398859]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398859 AND "spree_taxons"."taxonomy_id" = 854451696 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398859]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398859], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451696], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398859]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398860]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398860 THEN 558398859 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398859]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398860]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500849, 558398859)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500849, 558398860) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500849) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590249 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500849) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-20 09:33:22.518187' WHERE "spree_products"."id" = 1060500849  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590249 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.519802' WHERE "spree_products"."id" = 1060500849 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500849 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500850 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.526119' WHERE "spree_products"."id" = 1060500850 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500850], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.526963' WHERE "spree_products"."id" = 1060500850  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590250 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.527915' WHERE "spree_products"."id" = 1060500850  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500850 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500850 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500850  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500850 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Drawings"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451699], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398861 AND "spree_taxons"."taxonomy_id" = 854451699 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398861]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398861], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451699], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398861]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398862]] SQL (1.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398862 THEN 558398861 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398861]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398862]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500850 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500850, 558398862)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500850, 558398861) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500850) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["name", "Landscape"], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451700 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451700], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500850, 558398863) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500850) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590250 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500850) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-20 09:33:22.555439' WHERE "spree_products"."id" = 1060500850  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590250 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.556799' WHERE "spree_products"."id" = 1060500850 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500850 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500851 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.563295' WHERE "spree_products"."id" = 1060500851 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500851], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.564228' WHERE "spree_products"."id" = 1060500851  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590251 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.567554' WHERE "spree_products"."id" = 1060500851  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500851 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500851 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500851  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500851 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398861 AND "spree_taxons"."taxonomy_id" = 854451699 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500851 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500851, 558398862)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500851, 558398861) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500851) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451696 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398855 AND "spree_taxons"."taxonomy_id" = 854451696 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398859 AND "spree_taxons"."taxonomy_id" = 854451696 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398859]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398859], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451696], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398859]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398864]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398864 THEN 558398859 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398859]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398864]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398864 AND "spree_taxons"."taxonomy_id" = 854451696 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398864]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398864], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451696], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398864]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398865]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398865 THEN 558398864 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398864]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398865]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500851, 558398859)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500851, 558398864)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500851, 558398865)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500851, 558398855) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500851) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590251 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500851) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-20 09:33:22.594414' WHERE "spree_products"."id" = 1060500851  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590251 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.595968' WHERE "spree_products"."id" = 1060500851 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500851 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500852 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.601720' WHERE "spree_products"."id" = 1060500852 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500852], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.602715' WHERE "spree_products"."id" = 1060500852  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590252 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.603942' WHERE "spree_products"."id" = 1060500852  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500852 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500852 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500852  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500852 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398861 AND "spree_taxons"."taxonomy_id" = 854451699 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398862 AND "spree_taxons"."taxonomy_id" = 854451699 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398862]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398862], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451699], ["updated_at", Sat, 20 Oct 2012 09:33:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398862]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398866]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398866 THEN 558398862 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398862]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398866]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500852 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500852, 558398862)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500852, 558398866)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500852, 558398861) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500852) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451698 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500852, 558398858) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500852) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590252 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500852) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-20 09:33:22.621753' WHERE "spree_products"."id" = 1060500852  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590252 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-20 09:33:22.623369' WHERE "spree_products"."id" = 1060500852 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500852  (7.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451696 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451697 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451698 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451700 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451696 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451696 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398855 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398855) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398859 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398859) Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398859) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (4.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398855 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398859 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398864 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398865 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398864) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451699 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451699 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398862 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398862 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398866 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398866) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451698 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451698 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398858 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451700 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451700 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398863 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (20.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (4.5ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (5.7ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (17.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.1ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.9ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (188.2ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (4.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (11.7ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (154.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (38.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451701 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451701], ["updated_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00]]  (13.1ms) commit transaction  (0.2ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451701], ["updated_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00]]  (101.6ms) commit transaction  (0.2ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451701], ["updated_at", Sun, 21 Oct 2012 11:07:31 UTC +00:00]]  (4.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (72.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451702 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451702], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]]  (3.6ms) commit transaction  (0.4ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451702], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451702], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]]  (14.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (3.3ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451703 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451703], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451703], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451703], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00]]  (2.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.4ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.6ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 43 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 43 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 44 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 44 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 45 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 45 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 46 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 46 Current value to assign : Current value to assign :  (4.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 47 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 48 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 49 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 21 Oct 2012 11:07:32 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 50  (6.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (5.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (5.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500853 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.055647' WHERE "spree_products"."id" = 1060500853 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500853], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.058093' WHERE "spree_products"."id" = 1060500853  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590253 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.060943' WHERE "spree_products"."id" = 1060500853  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500853 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500853 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500853  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500853 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590253 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500853) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (4.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500853 AND "spree_option_types"."id" = 935339268 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500853) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339268], ["position", 1], ["product_id", 1060500853], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500853) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-21 11:07:33.176094' WHERE "spree_products"."id" = 1060500853  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590253 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.177929' WHERE "spree_products"."id" = 1060500853 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500853 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060500853 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500854 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.185194' WHERE "spree_products"."id" = 1060500854 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500854], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.186484' WHERE "spree_products"."id" = 1060500854  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590254 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.187616' WHERE "spree_products"."id" = 1060500854  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500854 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500854 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500854  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500854 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590254 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500854) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500854 AND "spree_option_types"."id" = 935339268 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500854) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339268], ["position", 1], ["product_id", 1060500854], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500854) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 11:07:33.198334' WHERE "spree_products"."id" = 1060500854  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590254 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.199565' WHERE "spree_products"."id" = 1060500854 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500854 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060500854 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (35.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500855 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.257345' WHERE "spree_products"."id" = 1060500855 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500855], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.258945' WHERE "spree_products"."id" = 1060500855  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590255 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.260788' WHERE "spree_products"."id" = 1060500855  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500855 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500855 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500855  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500855 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590255 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500855) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500855 AND "spree_option_types"."id" = 935339268 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500855) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339268], ["position", 1], ["product_id", 1060500855], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500855 AND "spree_option_types"."id" = 935339269 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500855) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339269], ["position", 2], ["product_id", 1060500855], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500855) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-21 11:07:33.276173' WHERE "spree_products"."id" = 1060500855  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013590255 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.278318' WHERE "spree_products"."id" = 1060500855 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500855 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060500855 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-21 11:07:33.293508')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-21 11:07:33.294267')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500853 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500853 ORDER BY spree_option_types.position  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500853 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500855 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (6.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500856 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.355318' WHERE "spree_products"."id" = 1060500856 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500856], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.356573' WHERE "spree_products"."id" = 1060500856  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590256 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.358096' WHERE "spree_products"."id" = 1060500856  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500856 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500856 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500856  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500856 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590256 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500856) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500856 AND "spree_option_types"."id" = 935339270 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500856) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339270], ["position", 1], ["product_id", 1060500856], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500856) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-21 11:07:33.370821' WHERE "spree_products"."id" = 1060500856  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590256 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.372223' WHERE "spree_products"."id" = 1060500856 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500856 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500857 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.379358' WHERE "spree_products"."id" = 1060500857 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500857], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.380491' WHERE "spree_products"."id" = 1060500857  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590257 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.381966' WHERE "spree_products"."id" = 1060500857  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500857 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500857 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500857  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500857 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500857) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500857 AND "spree_option_types"."id" = 935339270 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500857) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339270], ["position", 1], ["product_id", 1060500857], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500857) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 11:07:33.392862' WHERE "spree_products"."id" = 1060500857  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590257 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.394429' WHERE "spree_products"."id" = 1060500857 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500857 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500858 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.400665' WHERE "spree_products"."id" = 1060500858 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500858], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.401790' WHERE "spree_products"."id" = 1060500858  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590258 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.402818' WHERE "spree_products"."id" = 1060500858  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500858 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500858 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500858  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500858 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590258 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500858) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500858 AND "spree_option_types"."id" = 935339270 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500858) ORDER BY position DESC LIMIT 1 SQL (33.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339270], ["position", 1], ["product_id", 1060500858], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500858 AND "spree_option_types"."id" = 935339271 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500858) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339271], ["position", 2], ["product_id", 1060500858], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500858) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-21 11:07:33.456053' WHERE "spree_products"."id" = 1060500858  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013590258 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.457821' WHERE "spree_products"."id" = 1060500858 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500858  (5.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-21 11:07:33.465860')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-21 11:07:33.466459')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500856 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500856 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500856 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500858 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 21 Oct 2012 12:07:33 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500859 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.516671' WHERE "spree_products"."id" = 1060500859 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500859], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.518323' WHERE "spree_products"."id" = 1060500859  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590259 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.519445' WHERE "spree_products"."id" = 1060500859  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500859 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500859 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500859  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500859 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500859 AND "spree_option_types"."id" = 935339272 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500859) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339272], ["position", 1], ["product_id", 1060500859], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500859) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500859 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 21 Oct 2012 12:07:33 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500860 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.533461' WHERE "spree_products"."id" = 1060500860 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500860], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.535099' WHERE "spree_products"."id" = 1060500860  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590260 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.536341' WHERE "spree_products"."id" = 1060500860  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500860 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500860 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500860  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500860 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500860 AND "spree_option_types"."id" = 935339272 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500860) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339272], ["position", 1], ["product_id", 1060500860], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500860) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500860 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 21 Oct 2012 12:07:33 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500861 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.552928' WHERE "spree_products"."id" = 1060500861 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500861], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.553950' WHERE "spree_products"."id" = 1060500861  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590261 SQL (2.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.554927' WHERE "spree_products"."id" = 1060500861  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500861 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500861 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500861  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500861 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500861 AND "spree_option_types"."id" = 935339272 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500861) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339272], ["position", 1], ["product_id", 1060500861], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500861 AND "spree_option_types"."id" = 935339273 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500861) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339273], ["position", 2], ["product_id", 1060500861], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500861) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500861 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500859 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500862 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.666876' WHERE "spree_products"."id" = 1060500862 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500862], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.668459' WHERE "spree_products"."id" = 1060500862  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590262 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.669970' WHERE "spree_products"."id" = 1060500862  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500862 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500862 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500862  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500862 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500862 AND "spree_option_types"."id" = 935339274 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500862) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339274], ["position", 1], ["product_id", 1060500862], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500862) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060500862 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500863 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.685901' WHERE "spree_products"."id" = 1060500863 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500863], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.686860' WHERE "spree_products"."id" = 1060500863  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590263 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.687892' WHERE "spree_products"."id" = 1060500863  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500863 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500863 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500863  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500863 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500863 AND "spree_option_types"."id" = 935339274 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500863) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339274], ["position", 1], ["product_id", 1060500863], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500863) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060500863 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500864 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.700549' WHERE "spree_products"."id" = 1060500864 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500864], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.701467' WHERE "spree_products"."id" = 1060500864  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590264 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.702559' WHERE "spree_products"."id" = 1060500864  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500864 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500864 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500864  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500864 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500864 AND "spree_option_types"."id" = 935339274 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500864) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339274], ["position", 1], ["product_id", 1060500864], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500864 AND "spree_option_types"."id" = 935339275 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500864) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339275], ["position", 2], ["product_id", 1060500864], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500864) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060500864 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500862 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500865 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.815783' WHERE "spree_products"."id" = 1060500865 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500865], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.817101' WHERE "spree_products"."id" = 1060500865  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590265 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.818242' WHERE "spree_products"."id" = 1060500865  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500865  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["product_id", nil], ["property_id", 905835099], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500865, "updated_at" = '2012-10-21 11:07:33.834326' WHERE "spree_product_properties"."id" = 1073273381 Created New ProductProperty # Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500865) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451704 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451704], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500865 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500865, 558398876) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451705 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451705], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500865, 558398877) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500865) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500865 AND "spree_option_types"."id" = 935339276 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500865) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339276], ["position", 1], ["product_id", 1060500865], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339276) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339276], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500865 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.876563' WHERE "spree_products"."id" = 1060500865 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500865], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.877691' WHERE "spree_products"."id" = 1060500865  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590266, 979460261) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339276) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339276], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500865 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.884365' WHERE "spree_products"."id" = 1060500865 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500865], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.885416' WHERE "spree_products"."id" = 1060500865  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590267, 979460262) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339276) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339276], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500865 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.888797' WHERE "spree_products"."id" = 1060500865 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500865], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.890836' WHERE "spree_products"."id" = 1060500865  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590268, 979460263) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500865]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500865) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590266 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590267 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590268 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500865) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500865 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.902798' WHERE "spree_products"."id" = 1060500865  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590266 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.904103' WHERE "spree_products"."id" = 1060500865 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500865 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.905151' WHERE "spree_products"."id" = 1060500865  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590267 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.906059' WHERE "spree_products"."id" = 1060500865 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500865 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.907475' WHERE "spree_products"."id" = 1060500865  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590268 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.908364' WHERE "spree_products"."id" = 1060500865 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500865) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500865 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:33.910438' WHERE "spree_products"."id" = 1060500865 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500865 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500866 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.916642' WHERE "spree_products"."id" = 1060500866 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500866], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.917676' WHERE "spree_products"."id" = 1060500866  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590269 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.918894' WHERE "spree_products"."id" = 1060500866  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500866  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["product_id", nil], ["property_id", 905835100], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500866, "updated_at" = '2012-10-21 11:07:33.924504' WHERE "spree_product_properties"."id" = 1073273382 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500866) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451704 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500866 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500866, 558398876) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451706 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451706], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500866, 558398878) Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451704 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398876 AND "spree_taxons"."taxonomy_id" = 854451704 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398876]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398876], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451704], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398876]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398879]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398879 THEN 558398876 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398876]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398879]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398879 AND "spree_taxons"."taxonomy_id" = 854451704 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398879]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398879], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451704], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398879]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398880]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398880 THEN 558398879 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398879]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398880]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500866, 558398879)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500866, 558398880) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500866) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500866 AND "spree_option_types"."id" = 935339276 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500866) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["option_type_id", 935339276], ["position", 1], ["product_id", 1060500866], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500866 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.959546' WHERE "spree_products"."id" = 1060500866 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500866], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.960805' WHERE "spree_products"."id" = 1060500866  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590270, 979460261) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500866 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.962831' WHERE "spree_products"."id" = 1060500866 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500866], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.963753' WHERE "spree_products"."id" = 1060500866  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590271, 979460262) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500866 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.965826' WHERE "spree_products"."id" = 1060500866 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500866], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.966714' WHERE "spree_products"."id" = 1060500866  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590272, 979460263) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500866]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500866) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590270 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590271 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590272 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500866) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500866 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.978963' WHERE "spree_products"."id" = 1060500866  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590270 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.979864' WHERE "spree_products"."id" = 1060500866 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500866 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.981032' WHERE "spree_products"."id" = 1060500866  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590271 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.981844' WHERE "spree_products"."id" = 1060500866 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500866 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.982799' WHERE "spree_products"."id" = 1060500866  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590272 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.983593' WHERE "spree_products"."id" = 1060500866 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500866) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500866 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:33.985321' WHERE "spree_products"."id" = 1060500866 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500866 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.991576' WHERE "spree_products"."id" = 1060500867 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500867], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.992446' WHERE "spree_products"."id" = 1060500867  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590273 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:33.993514' WHERE "spree_products"."id" = 1060500867  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500867  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835101], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500867, "updated_at" = '2012-10-21 11:07:34.034843' WHERE "spree_product_properties"."id" = 1073273383 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835100], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500867, "updated_at" = '2012-10-21 11:07:34.036563' WHERE "spree_product_properties"."id" = 1073273384 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835102], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500867, "updated_at" = '2012-10-21 11:07:34.039485' WHERE "spree_product_properties"."id" = 1073273385 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500867) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451707 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451707], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500867 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500867, 558398881) Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451704 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398876 AND "spree_taxons"."taxonomy_id" = 854451704 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398876]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398876], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451704], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398876]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398882]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398882 THEN 558398876 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398876]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398882]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500867, 558398882)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500867, 558398876) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500867) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500867 AND "spree_option_types"."id" = 935339276 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500867) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["option_type_id", 935339276], ["position", 1], ["product_id", 1060500867], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.076055' WHERE "spree_products"."id" = 1060500867 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500867], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.077106' WHERE "spree_products"."id" = 1060500867  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590274, 979460261) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.079449' WHERE "spree_products"."id" = 1060500867 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500867], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.080390' WHERE "spree_products"."id" = 1060500867  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590275, 979460262) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339276 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.082238' WHERE "spree_products"."id" = 1060500867 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500867], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.083197' WHERE "spree_products"."id" = 1060500867  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590276, 979460263) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500867]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500867 AND "spree_option_types"."id" = 935339277 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500867) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["option_type_id", 935339277], ["position", 2], ["product_id", 1060500867], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339277 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339277) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339277], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.094396' WHERE "spree_products"."id" = 1060500867 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500867], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.096106' WHERE "spree_products"."id" = 1060500867  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590277, 979460264) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339277 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339277) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "colour"], ["option_type_id", 935339277], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.099868' WHERE "spree_products"."id" = 1060500867 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500867], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.100917' WHERE "spree_products"."id" = 1060500867  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590278, 979460265) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500867]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500867) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590274 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590275 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590276 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590277 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590278 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500867) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.114553' WHERE "spree_products"."id" = 1060500867  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590274 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.115587' WHERE "spree_products"."id" = 1060500867 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.116444' WHERE "spree_products"."id" = 1060500867  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590275 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.117211' WHERE "spree_products"."id" = 1060500867 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.118208' WHERE "spree_products"."id" = 1060500867  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590276 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.118955' WHERE "spree_products"."id" = 1060500867 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.120155' WHERE "spree_products"."id" = 1060500867  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590277 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.120938' WHERE "spree_products"."id" = 1060500867 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500867 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.121771' WHERE "spree_products"."id" = 1060500867  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590278 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.122443' WHERE "spree_products"."id" = 1060500867 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500867) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500867 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:34.124870' WHERE "spree_products"."id" = 1060500867 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500867 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500865 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500867 Spree::Property Load (0.7ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.2ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500867 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500868 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.265532' WHERE "spree_products"."id" = 1060500868 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500868], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.266779' WHERE "spree_products"."id" = 1060500868  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590279 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.268108' WHERE "spree_products"."id" = 1060500868  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500868  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835103], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500868, "updated_at" = '2012-10-21 11:07:34.273108' WHERE "spree_product_properties"."id" = 1073273386 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451708 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451708], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500868 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500868, 558398883) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451709 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451709], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500868, 558398884) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500868 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500868) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["option_type_id", 935339278], ["position", 1], ["product_id", 1060500868], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339278) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339278], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500868 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.301015' WHERE "spree_products"."id" = 1060500868 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500868], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.302100' WHERE "spree_products"."id" = 1060500868  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590280, 979460266) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500868]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500868 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339278) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339278], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500868 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.310540' WHERE "spree_products"."id" = 1060500868 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500868], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.311375' WHERE "spree_products"."id" = 1060500868  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590281, 979460267) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500868]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500868 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339278) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339278], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500868 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.319453' WHERE "spree_products"."id" = 1060500868 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500868], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.320698' WHERE "spree_products"."id" = 1060500868  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590282, 979460268) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500868]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590280 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590281 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590282 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500868 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.334444' WHERE "spree_products"."id" = 1060500868  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590280 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.335561' WHERE "spree_products"."id" = 1060500868 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500868 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.336514' WHERE "spree_products"."id" = 1060500868  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590281 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.337330' WHERE "spree_products"."id" = 1060500868 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500868 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.338096' WHERE "spree_products"."id" = 1060500868  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590282 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.339026' WHERE "spree_products"."id" = 1060500868 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500868) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500868 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:34.341215' WHERE "spree_products"."id" = 1060500868 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500868 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500869 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.347446' WHERE "spree_products"."id" = 1060500869 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500869], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.348335' WHERE "spree_products"."id" = 1060500869  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590283 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.349268' WHERE "spree_products"."id" = 1060500869  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500869  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835104], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500869, "updated_at" = '2012-10-21 11:07:34.358109' WHERE "spree_product_properties"."id" = 1073273387 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451708 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500869 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500869, 558398883) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451710 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451710], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500869, 558398885) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451708 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398883 AND "spree_taxons"."taxonomy_id" = 854451708 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398883]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398883], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451708], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398883]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398886]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398886 THEN 558398883 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398883]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398886]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398886 AND "spree_taxons"."taxonomy_id" = 854451708 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398886]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398886], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451708], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398886]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398887]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398887 THEN 558398886 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398886]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398887]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500869, 558398886)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500869, 558398887) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500869 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500869) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["option_type_id", 935339278], ["position", 1], ["product_id", 1060500869], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500869 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.392784' WHERE "spree_products"."id" = 1060500869 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500869], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.394110' WHERE "spree_products"."id" = 1060500869  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590284, 979460266) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500869]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500869 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500869 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.399986' WHERE "spree_products"."id" = 1060500869 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500869], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.401110' WHERE "spree_products"."id" = 1060500869  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590285, 979460267) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500869]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500869 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500869 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.407198' WHERE "spree_products"."id" = 1060500869 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500869], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.408236' WHERE "spree_products"."id" = 1060500869  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590286, 979460268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500869]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590284 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590285 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590286 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500869 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.422110' WHERE "spree_products"."id" = 1060500869  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590284 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.423363' WHERE "spree_products"."id" = 1060500869 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500869 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.424095' WHERE "spree_products"."id" = 1060500869  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590285 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.424857' WHERE "spree_products"."id" = 1060500869 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500869 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.426016' WHERE "spree_products"."id" = 1060500869  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590286 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.427110' WHERE "spree_products"."id" = 1060500869 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500869) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500869 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:34.429178' WHERE "spree_products"."id" = 1060500869 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500869 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.435571' WHERE "spree_products"."id" = 1060500870 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500870], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.436394' WHERE "spree_products"."id" = 1060500870  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590287 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.437482' WHERE "spree_products"."id" = 1060500870  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500870  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835105], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500870, "updated_at" = '2012-10-21 11:07:34.442428' WHERE "spree_product_properties"."id" = 1073273388 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835104], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500870, "updated_at" = '2012-10-21 11:07:34.445096' WHERE "spree_product_properties"."id" = 1073273389 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["product_id", nil], ["property_id", 905835106], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500870, "updated_at" = '2012-10-21 11:07:34.448700' WHERE "spree_product_properties"."id" = 1073273390 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451711 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451711], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500870 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500870, 558398888) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451708 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398883 AND "spree_taxons"."taxonomy_id" = 854451708 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398883]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398883], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451708], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398883]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398889]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398889 THEN 558398883 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398883]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398889]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500870, 558398889)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500870, 558398883) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500870 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500870) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["option_type_id", 935339278], ["position", 1], ["product_id", 1060500870], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.476540' WHERE "spree_products"."id" = 1060500870 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500870], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.477536' WHERE "spree_products"."id" = 1060500870  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590288, 979460266) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500870]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500870 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.483949' WHERE "spree_products"."id" = 1060500870 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500870], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.484894' WHERE "spree_products"."id" = 1060500870  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590289, 979460267) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500870]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500870 AND "spree_option_types"."id" = 935339278 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339278 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.490933' WHERE "spree_products"."id" = 1060500870 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500870], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.491647' WHERE "spree_products"."id" = 1060500870  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590290, 979460268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500870]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500870 AND "spree_option_types"."id" = 935339279 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500870) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["option_type_id", 935339279], ["position", 2], ["product_id", 1060500870], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339279 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339279) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339279], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.502216' WHERE "spree_products"."id" = 1060500870 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500870], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.503252' WHERE "spree_products"."id" = 1060500870  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590291, 979460269) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500870]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500870 AND "spree_option_types"."id" = 935339279 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339279 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339279) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00], ["name", "colour"], ["option_type_id", 935339279], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:34 UTC +00:00]]  (1.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.551570' WHERE "spree_products"."id" = 1060500870 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500870], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.552683' WHERE "spree_products"."id" = 1060500870  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590292, 979460270) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500870]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (3.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590288 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590289 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590290 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590291 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590292 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.570405' WHERE "spree_products"."id" = 1060500870  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590288 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.571486' WHERE "spree_products"."id" = 1060500870 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.572463' WHERE "spree_products"."id" = 1060500870  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590289 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.573273' WHERE "spree_products"."id" = 1060500870 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.574112' WHERE "spree_products"."id" = 1060500870  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590290 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.574885' WHERE "spree_products"."id" = 1060500870 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.575993' WHERE "spree_products"."id" = 1060500870  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590291 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.577008' WHERE "spree_products"."id" = 1060500870 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500870 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.577931' WHERE "spree_products"."id" = 1060500870  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590292 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:34.578910' WHERE "spree_products"."id" = 1060500870 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500870) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500870 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:34.580798' WHERE "spree_products"."id" = 1060500870 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500870 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500868 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500870 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500870 SQL (112.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (5.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # SQL (2.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: #  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451712 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451712], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (4.2ms) commit transaction  (0.5ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451712], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500871 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.052790' WHERE "spree_products"."id" = 1060500871 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500871], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.054726' WHERE "spree_products"."id" = 1060500871  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590293 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.056665' WHERE "spree_products"."id" = 1060500871  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500871  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835107], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500871, "updated_at" = '2012-10-21 11:07:35.068012' WHERE "spree_product_properties"."id" = 1073273391 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500871) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451712 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500871 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500871, 558398890) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451713 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451713], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500871, 558398892) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500871) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500871 AND "spree_option_types"."id" = 935339280 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500871) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339280], ["position", 1], ["product_id", 1060500871], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339280) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339280], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500871 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.093118' WHERE "spree_products"."id" = 1060500871 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500871], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.094587' WHERE "spree_products"."id" = 1060500871  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590294, 979460271) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339280) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339280], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500871 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.099189' WHERE "spree_products"."id" = 1060500871 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500871], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.100118' WHERE "spree_products"."id" = 1060500871  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590295, 979460272) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339280) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339280], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500871 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.104186' WHERE "spree_products"."id" = 1060500871 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500871], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.105026' WHERE "spree_products"."id" = 1060500871  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590296, 979460273) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500871]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500871) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590294 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590295 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590296 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500871) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500871 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.116421' WHERE "spree_products"."id" = 1060500871  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590294 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.117448' WHERE "spree_products"."id" = 1060500871 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500871 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.118451' WHERE "spree_products"."id" = 1060500871  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590295 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.119119' WHERE "spree_products"."id" = 1060500871 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500871 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.119938' WHERE "spree_products"."id" = 1060500871  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590296 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.120753' WHERE "spree_products"."id" = 1060500871 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500871) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:35.122635' WHERE "spree_products"."id" = 1060500871 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500871 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500872 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.128902' WHERE "spree_products"."id" = 1060500872 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500872], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.129787' WHERE "spree_products"."id" = 1060500872  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590297 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.130712' WHERE "spree_products"."id" = 1060500872  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500872  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835108], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500872, "updated_at" = '2012-10-21 11:07:35.135591' WHERE "spree_product_properties"."id" = 1073273392 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500872) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451712 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500872 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500872, 558398890) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451714 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451714], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500872, 558398893) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451712 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398890 AND "spree_taxons"."taxonomy_id" = 854451712 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398890]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398890], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451712], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398890]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398894]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398894 THEN 558398890 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398890]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398894]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398894 AND "spree_taxons"."taxonomy_id" = 854451712 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398894]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398894], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451712], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398894]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398895]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398895 THEN 558398894 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398894]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398895]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500872, 558398894)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500872, 558398895) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500872) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500872 AND "spree_option_types"."id" = 935339280 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500872) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339280], ["position", 1], ["product_id", 1060500872], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::Product Load (5.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500872 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.168867' WHERE "spree_products"."id" = 1060500872 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500872], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.169821' WHERE "spree_products"."id" = 1060500872  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590298, 979460271) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500872 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.172119' WHERE "spree_products"."id" = 1060500872 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500872], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.173119' WHERE "spree_products"."id" = 1060500872  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590299, 979460272) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500872 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.175395' WHERE "spree_products"."id" = 1060500872 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500872], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.176240' WHERE "spree_products"."id" = 1060500872  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590300, 979460273) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500872]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500872) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590298 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590299 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590300 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500872) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500872 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.188796' WHERE "spree_products"."id" = 1060500872  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590298 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.189676' WHERE "spree_products"."id" = 1060500872 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500872 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.190456' WHERE "spree_products"."id" = 1060500872  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590299 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.191120' WHERE "spree_products"."id" = 1060500872 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500872 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.191943' WHERE "spree_products"."id" = 1060500872  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590300 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.192975' WHERE "spree_products"."id" = 1060500872 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500872) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:35.194759' WHERE "spree_products"."id" = 1060500872 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500872 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (2.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.236995' WHERE "spree_products"."id" = 1060500873 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500873], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.237817' WHERE "spree_products"."id" = 1060500873  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590301 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.238989' WHERE "spree_products"."id" = 1060500873  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500873  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835109], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500873, "updated_at" = '2012-10-21 11:07:35.243978' WHERE "spree_product_properties"."id" = 1073273393 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835108], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500873, "updated_at" = '2012-10-21 11:07:35.246085' WHERE "spree_product_properties"."id" = 1073273394 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835110], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500873, "updated_at" = '2012-10-21 11:07:35.248772' WHERE "spree_product_properties"."id" = 1073273395 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500873) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451715 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451715], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500873 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500873, 558398896) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451712 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398890 AND "spree_taxons"."taxonomy_id" = 854451712 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398890]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398890], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451712], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398890]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398897]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398897 THEN 558398890 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398890]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398897]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500873, 558398897)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500873, 558398890) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500873) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500873 AND "spree_option_types"."id" = 935339280 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500873) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339280], ["position", 1], ["product_id", 1060500873], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.351993' WHERE "spree_products"."id" = 1060500873 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500873], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.353250' WHERE "spree_products"."id" = 1060500873  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590302, 979460271) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.355296' WHERE "spree_products"."id" = 1060500873 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500873], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.356122' WHERE "spree_products"."id" = 1060500873  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590303, 979460272) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339280 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.358668' WHERE "spree_products"."id" = 1060500873 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500873], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.359567' WHERE "spree_products"."id" = 1060500873  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590304, 979460273) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500873]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500873 AND "spree_option_types"."id" = 935339281 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500873) ORDER BY position DESC LIMIT 1 SQL (10.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339281], ["position", 2], ["product_id", 1060500873], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339281 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339281) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339281], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.382685' WHERE "spree_products"."id" = 1060500873 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500873], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.383910' WHERE "spree_products"."id" = 1060500873  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590305, 979460274) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339281 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339281) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "colour"], ["option_type_id", 935339281], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.387826' WHERE "spree_products"."id" = 1060500873 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500873], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.388966' WHERE "spree_products"."id" = 1060500873  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590306, 979460275) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500873]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500873) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590302 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590303 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590304 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590305 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590306 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500873) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.403892' WHERE "spree_products"."id" = 1060500873  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590302 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.405029' WHERE "spree_products"."id" = 1060500873 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.405942' WHERE "spree_products"."id" = 1060500873  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590303 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.406661' WHERE "spree_products"."id" = 1060500873 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.407457' WHERE "spree_products"."id" = 1060500873  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590304 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.408656' WHERE "spree_products"."id" = 1060500873 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.409618' WHERE "spree_products"."id" = 1060500873  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590305 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.410424' WHERE "spree_products"."id" = 1060500873 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500873 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.411275' WHERE "spree_products"."id" = 1060500873  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590306 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.412009' WHERE "spree_products"."id" = 1060500873 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500873) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:35.414329' WHERE "spree_products"."id" = 1060500873 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500873 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (114.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500872 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500873 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500871 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500871 ORDER BY spree_option_types.position Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590294 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590295 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339280 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590296 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451716 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451716], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451716], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (2.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500874 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.743607' WHERE "spree_products"."id" = 1060500874 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500874], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.745125' WHERE "spree_products"."id" = 1060500874  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590307 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.746360' WHERE "spree_products"."id" = 1060500874  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500874  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835111], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500874, "updated_at" = '2012-10-21 11:07:35.751689' WHERE "spree_product_properties"."id" = 1073273396 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451716 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500874 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500874, 558398898) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451717 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451717], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500874, 558398900) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500874 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500874) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339282], ["position", 1], ["product_id", 1060500874], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339282) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339282], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500874 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.783407' WHERE "spree_products"."id" = 1060500874 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500874], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.784514' WHERE "spree_products"."id" = 1060500874  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590308, 979460276) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500874]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500874 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339282) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339282], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500874 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.792208' WHERE "spree_products"."id" = 1060500874 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500874], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.793083' WHERE "spree_products"."id" = 1060500874  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590309, 979460277) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500874]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500874 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339282) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339282], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500874 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.800602' WHERE "spree_products"."id" = 1060500874 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500874], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.801642' WHERE "spree_products"."id" = 1060500874  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590310, 979460278) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500874]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590308 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590309 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590310 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500874 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.815681' WHERE "spree_products"."id" = 1060500874  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590308 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.816657' WHERE "spree_products"."id" = 1060500874 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500874 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.817549' WHERE "spree_products"."id" = 1060500874  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590309 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.818334' WHERE "spree_products"."id" = 1060500874 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500874 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.819248' WHERE "spree_products"."id" = 1060500874  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590310 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.820003' WHERE "spree_products"."id" = 1060500874 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500874) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:35.822065' WHERE "spree_products"."id" = 1060500874 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500874 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500875 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.828032' WHERE "spree_products"."id" = 1060500875 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500875], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.829103' WHERE "spree_products"."id" = 1060500875  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590311 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.830202' WHERE "spree_products"."id" = 1060500875  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500875  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835112], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500875, "updated_at" = '2012-10-21 11:07:35.835321' WHERE "spree_product_properties"."id" = 1073273397 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451716 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500875 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500875, 558398898) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451718 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451718], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500875, 558398901) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451716 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398898 AND "spree_taxons"."taxonomy_id" = 854451716 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398898]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398898], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451716], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398898]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398902]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398902 THEN 558398898 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398898]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398902]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398902 AND "spree_taxons"."taxonomy_id" = 854451716 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398902]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398902], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451716], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398902]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398903]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398903 THEN 558398902 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398902]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398903]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500875, 558398902)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500875, 558398903) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500875 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500875) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339282], ["position", 1], ["product_id", 1060500875], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500875 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.871226' WHERE "spree_products"."id" = 1060500875 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500875], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.875995' WHERE "spree_products"."id" = 1060500875  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590312, 979460276) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500875]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500875 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500875 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.882561' WHERE "spree_products"."id" = 1060500875 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500875], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.883457' WHERE "spree_products"."id" = 1060500875  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590313, 979460277) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500875]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500875 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500875 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.891233' WHERE "spree_products"."id" = 1060500875 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500875], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.892286' WHERE "spree_products"."id" = 1060500875  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590314, 979460278) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500875]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590312 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590313 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590314 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500875 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.907943' WHERE "spree_products"."id" = 1060500875  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590312 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.908896' WHERE "spree_products"."id" = 1060500875 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500875 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.909853' WHERE "spree_products"."id" = 1060500875  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590313 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.910600' WHERE "spree_products"."id" = 1060500875 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500875 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.911545' WHERE "spree_products"."id" = 1060500875  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590314 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.912304' WHERE "spree_products"."id" = 1060500875 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500875) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:35.914245' WHERE "spree_products"."id" = 1060500875 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500875 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.920027' WHERE "spree_products"."id" = 1060500876 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500876], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.920970' WHERE "spree_products"."id" = 1060500876  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590315 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.922068' WHERE "spree_products"."id" = 1060500876  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500876  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835113], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500876, "updated_at" = '2012-10-21 11:07:35.927617' WHERE "spree_product_properties"."id" = 1073273398 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835112], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500876, "updated_at" = '2012-10-21 11:07:35.930858' WHERE "spree_product_properties"."id" = 1073273399 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["product_id", nil], ["property_id", 905835114], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500876, "updated_at" = '2012-10-21 11:07:35.934208' WHERE "spree_product_properties"."id" = 1073273400 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451719 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451719], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500876 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500876, 558398904) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451716 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398898 AND "spree_taxons"."taxonomy_id" = 854451716 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398898]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398898], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451716], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398898]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398905]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398905 THEN 558398898 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398898]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398905]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500876, 558398905)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500876, 558398898) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500876 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500876) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339282], ["position", 1], ["product_id", 1060500876], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.959099' WHERE "spree_products"."id" = 1060500876 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500876], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.960294' WHERE "spree_products"."id" = 1060500876  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590316, 979460276) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500876]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500876 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.966689' WHERE "spree_products"."id" = 1060500876 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500876], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.967723' WHERE "spree_products"."id" = 1060500876  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590317, 979460277) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500876]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500876 AND "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339282 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.985630' WHERE "spree_products"."id" = 1060500876 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500876], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.986834' WHERE "spree_products"."id" = 1060500876  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590318, 979460278) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500876]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500876 AND "spree_option_types"."id" = 935339283 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500876) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["option_type_id", 935339283], ["position", 2], ["product_id", 1060500876], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339283 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339283) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339283], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.997804' WHERE "spree_products"."id" = 1060500876 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500876], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:35.998986' WHERE "spree_products"."id" = 1060500876  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590319, 979460279) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500876]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500876 AND "spree_option_types"."id" = 935339283 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339283 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339283) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "colour"], ["option_type_id", 935339283], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.006841' WHERE "spree_products"."id" = 1060500876 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500876], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.008154' WHERE "spree_products"."id" = 1060500876  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590320, 979460280) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500876]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590316 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590317 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590318 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590319 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590320 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.021099' WHERE "spree_products"."id" = 1060500876  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590316 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.022076' WHERE "spree_products"."id" = 1060500876 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.023122' WHERE "spree_products"."id" = 1060500876  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590317 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.023991' WHERE "spree_products"."id" = 1060500876 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.024878' WHERE "spree_products"."id" = 1060500876  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590318 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.025893' WHERE "spree_products"."id" = 1060500876 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.026763' WHERE "spree_products"."id" = 1060500876  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590319 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.027505' WHERE "spree_products"."id" = 1060500876 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500876 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.028359' WHERE "spree_products"."id" = 1060500876  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590320 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.029115' WHERE "spree_products"."id" = 1060500876 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500876) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:36.031360' WHERE "spree_products"."id" = 1060500876 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500876 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500875 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500876 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500874 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500874 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590308 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590309 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339282 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590310 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (5.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451720 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451720], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (3.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451720], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500877 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.190574' WHERE "spree_products"."id" = 1060500877 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500877], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.191932' WHERE "spree_products"."id" = 1060500877  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590321 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.193062' WHERE "spree_products"."id" = 1060500877  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500877  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["product_id", nil], ["property_id", 905835115], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500877, "updated_at" = '2012-10-21 11:07:36.198606' WHERE "spree_product_properties"."id" = 1073273401 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451720 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500877 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500877, 558398906) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451721 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451721], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500877, 558398908) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500877 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500877) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339284], ["position", 1], ["product_id", 1060500877], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339284) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339284], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500877 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.221471' WHERE "spree_products"."id" = 1060500877 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500877], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.222471' WHERE "spree_products"."id" = 1060500877  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590322, 979460281) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500877]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500877 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339284) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339284], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500877 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.230395' WHERE "spree_products"."id" = 1060500877 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500877], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.231271' WHERE "spree_products"."id" = 1060500877  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590323, 979460282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500877]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500877 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339284) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339284], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500877 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.238203' WHERE "spree_products"."id" = 1060500877 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500877], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.239167' WHERE "spree_products"."id" = 1060500877  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590324, 979460283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500877]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590322 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590323 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590324 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500877 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.253553' WHERE "spree_products"."id" = 1060500877  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590322 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.254534' WHERE "spree_products"."id" = 1060500877 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500877 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.255506' WHERE "spree_products"."id" = 1060500877  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590323 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.256290' WHERE "spree_products"."id" = 1060500877 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500877 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.257193' WHERE "spree_products"."id" = 1060500877  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590324 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.257944' WHERE "spree_products"."id" = 1060500877 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500877) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:36.259976' WHERE "spree_products"."id" = 1060500877 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500878 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.265756' WHERE "spree_products"."id" = 1060500878 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500878], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.266689' WHERE "spree_products"."id" = 1060500878  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590325 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.267726' WHERE "spree_products"."id" = 1060500878  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500878  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["product_id", nil], ["property_id", 905835116], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500878, "updated_at" = '2012-10-21 11:07:36.272776' WHERE "spree_product_properties"."id" = 1073273402 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451720 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500878 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500878, 558398906) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451722 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451722], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500878, 558398909) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451720 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398906 AND "spree_taxons"."taxonomy_id" = 854451720 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398906]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398906], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451720], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398906]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398910]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398910 THEN 558398906 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398906]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398910]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398910 AND "spree_taxons"."taxonomy_id" = 854451720 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398910]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398910], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451720], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398910]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398911]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398911 THEN 558398910 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398910]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398911]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500878, 558398910)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500878, 558398911) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500878 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500878) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339284], ["position", 1], ["product_id", 1060500878], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500878 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.307900' WHERE "spree_products"."id" = 1060500878 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500878], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.308999' WHERE "spree_products"."id" = 1060500878  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590326, 979460281) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500878]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500878 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500878 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.315597' WHERE "spree_products"."id" = 1060500878 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500878], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.316526' WHERE "spree_products"."id" = 1060500878  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590327, 979460282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500878]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500878 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500878 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.322338' WHERE "spree_products"."id" = 1060500878 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500878], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.323288' WHERE "spree_products"."id" = 1060500878  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590328, 979460283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500878]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590326 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590327 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590328 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500878 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.336351' WHERE "spree_products"."id" = 1060500878  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590326 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.337163' WHERE "spree_products"."id" = 1060500878 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500878 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.338026' WHERE "spree_products"."id" = 1060500878  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590327 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.338813' WHERE "spree_products"."id" = 1060500878 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500878 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.339742' WHERE "spree_products"."id" = 1060500878  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590328 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.340503' WHERE "spree_products"."id" = 1060500878 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500878) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:36.342394' WHERE "spree_products"."id" = 1060500878 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.348754' WHERE "spree_products"."id" = 1060500879 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500879], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (2.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.349913' WHERE "spree_products"."id" = 1060500879  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590329 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.353540' WHERE "spree_products"."id" = 1060500879  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500879  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["product_id", nil], ["property_id", 905835117], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500879, "updated_at" = '2012-10-21 11:07:36.358753' WHERE "spree_product_properties"."id" = 1073273403 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["product_id", nil], ["property_id", 905835116], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500879, "updated_at" = '2012-10-21 11:07:36.361527' WHERE "spree_product_properties"."id" = 1073273404 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["product_id", nil], ["property_id", 905835118], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500879, "updated_at" = '2012-10-21 11:07:36.365009' WHERE "spree_product_properties"."id" = 1073273405 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451723 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451723], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500879 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500879, 558398912) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451720 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398906 AND "spree_taxons"."taxonomy_id" = 854451720 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398906]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398906], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451720], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398906]] Spree::Taxon Load (3.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398913]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398913 THEN 558398906 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398906]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398913]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500879, 558398913)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500879, 558398906) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500879 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500879) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339284], ["position", 1], ["product_id", 1060500879], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.392252' WHERE "spree_products"."id" = 1060500879 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500879], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.393991' WHERE "spree_products"."id" = 1060500879  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590330, 979460281) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500879]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500879 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.400573' WHERE "spree_products"."id" = 1060500879 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500879], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.401549' WHERE "spree_products"."id" = 1060500879  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590331, 979460282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500879]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500879 AND "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339284 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.407318' WHERE "spree_products"."id" = 1060500879 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500879], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.408162' WHERE "spree_products"."id" = 1060500879  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590332, 979460283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500879]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500879 AND "spree_option_types"."id" = 935339285 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500879) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339285], ["position", 2], ["product_id", 1060500879], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339285 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339285) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339285], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.418017' WHERE "spree_products"."id" = 1060500879 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500879], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.418932' WHERE "spree_products"."id" = 1060500879  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590333, 979460284) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500879]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500879 AND "spree_option_types"."id" = 935339285 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339285 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339285) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "colour"], ["option_type_id", 935339285], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.427407' WHERE "spree_products"."id" = 1060500879 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500879], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.428527' WHERE "spree_products"."id" = 1060500879  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590334, 979460285) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500879]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590330 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590331 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590332 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590333 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590334 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.441851' WHERE "spree_products"."id" = 1060500879  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590330 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.442714' WHERE "spree_products"."id" = 1060500879 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.443580' WHERE "spree_products"."id" = 1060500879  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590331 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.444364' WHERE "spree_products"."id" = 1060500879 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.445306' WHERE "spree_products"."id" = 1060500879  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590332 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.446039' WHERE "spree_products"."id" = 1060500879 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.446885' WHERE "spree_products"."id" = 1060500879  (2.8ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590333 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.490928' WHERE "spree_products"."id" = 1060500879 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500879 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.492424' WHERE "spree_products"."id" = 1060500879  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590334 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.493351' WHERE "spree_products"."id" = 1060500879 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500879) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:36.495811' WHERE "spree_products"."id" = 1060500879  (6.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500878 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500879 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500877 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500877 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590322 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590323 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339284 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590324 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (5.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451724 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451724], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451724], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (3.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500880 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.575820' WHERE "spree_products"."id" = 1060500880 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500880], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.577524' WHERE "spree_products"."id" = 1060500880  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590335 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.578862' WHERE "spree_products"."id" = 1060500880  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500880  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500880 AND "spree_option_types"."id" = 935339286 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500880) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339286], ["position", 1], ["product_id", 1060500880], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500880 AND "spree_option_types"."id" = 935339287 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500880) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339287], ["position", 2], ["product_id", 1060500880], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339286) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339286], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339287 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339287) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "colour"], ["option_type_id", 935339287], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500880 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.605180' WHERE "spree_products"."id" = 1060500880 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500880], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.606161' WHERE "spree_products"."id" = 1060500880  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590336, 979460286)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590336, 979460287) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339286) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339286], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339287 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500880 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.610497' WHERE "spree_products"."id" = 1060500880 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500880], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.611431' WHERE "spree_products"."id" = 1060500880  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590337, 979460288)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590337, 979460287) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500880]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500880) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500880 AND "spree_option_types"."id" = 935339286 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339286) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339286], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500880 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.621554' WHERE "spree_products"."id" = 1060500880 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500880], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.622862' WHERE "spree_products"."id" = 1060500880  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590338, 979460289) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500880]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500880) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590336 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590337 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590338 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500880) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500880 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.633527' WHERE "spree_products"."id" = 1060500880  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590336 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.634696' WHERE "spree_products"."id" = 1060500880 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500880 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.635492' WHERE "spree_products"."id" = 1060500880  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590337 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.636304' WHERE "spree_products"."id" = 1060500880 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500880 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.637335' WHERE "spree_products"."id" = 1060500880  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590338 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.638134' WHERE "spree_products"."id" = 1060500880 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500880) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:36.640926' WHERE "spree_products"."id" = 1060500880 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500881 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.646698' WHERE "spree_products"."id" = 1060500881 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500881], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.647959' WHERE "spree_products"."id" = 1060500881  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590339 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.648985' WHERE "spree_products"."id" = 1060500881  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500881  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500881 AND "spree_option_types"."id" = 935339286 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500881) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339286], ["position", 1], ["product_id", 1060500881], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500881 AND "spree_option_types"."id" = 935339287 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500881) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339287], ["position", 2], ["product_id", 1060500881], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339287 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339287) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339287], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500881 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.662007' WHERE "spree_products"."id" = 1060500881 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500881], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.663025' WHERE "spree_products"."id" = 1060500881  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590340, 979460290)  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590340, 979460286) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500881]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500881) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500881 AND "spree_option_types"."id" = 935339286 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500881 AND "spree_option_types"."id" = 935339287 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339287 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500881 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.672747' WHERE "spree_products"."id" = 1060500881 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500881], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.673701' WHERE "spree_products"."id" = 1060500881  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590341, 979460290)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590341, 979460289) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500881]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500881) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590340 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590341 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500881) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500881 LIMIT 1 SQL (5.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.681836' WHERE "spree_products"."id" = 1060500881  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590340 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.687776' WHERE "spree_products"."id" = 1060500881 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500881 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.688479' WHERE "spree_products"."id" = 1060500881  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590341 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.689229' WHERE "spree_products"."id" = 1060500881 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500881) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500881 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-21 11:07:36.691475' WHERE "spree_products"."id" = 1060500881 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500882 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.697410' WHERE "spree_products"."id" = 1060500882 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500882], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.698593' WHERE "spree_products"."id" = 1060500882  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590342 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.699534' WHERE "spree_products"."id" = 1060500882  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500882  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500882 AND "spree_option_types"."id" = 935339286 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500882) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339286], ["position", 1], ["product_id", 1060500882], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500882 AND "spree_option_types"."id" = 935339287 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500882) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339287], ["position", 2], ["product_id", 1060500882], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500882 AND "spree_option_types"."id" = 935339288 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500882) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339288], ["position", 3], ["product_id", 1060500882], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339287 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339288 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339288) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "large"], ["option_type_id", 935339288], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500882 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.716725' WHERE "spree_products"."id" = 1060500882 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500882], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.717859' WHERE "spree_products"."id" = 1060500882  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590343, 979460287)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590343, 979460291)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590343, 979460286) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339287 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339287) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339287], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339288 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500882 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.722735' WHERE "spree_products"."id" = 1060500882 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500882], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.723756' WHERE "spree_products"."id" = 1060500882  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590344, 979460292)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590344, 979460291)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590344, 979460286) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500882]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500882 AND "spree_option_types"."id" = 935339286 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500882 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.730139' WHERE "spree_products"."id" = 1060500882 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500882], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.731036' WHERE "spree_products"."id" = 1060500882  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590345, 979460289) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500882]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500882) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500882 AND "spree_option_types"."id" = 935339286 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339286 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500882 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.736508' WHERE "spree_products"."id" = 1060500882 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500882], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.737513' WHERE "spree_products"."id" = 1060500882  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590346, 979460288) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500882]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500882 AND "spree_option_types"."id" = 935339287 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339287 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500882 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.742362' WHERE "spree_products"."id" = 1060500882 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500882], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.743139' WHERE "spree_products"."id" = 1060500882  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590347, 979460290) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500882]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500882) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500882) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500882 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (4.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500880 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500880 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590336 Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (15.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500883 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.894248' WHERE "spree_products"."id" = 1060500883 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500883], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.895797' WHERE "spree_products"."id" = 1060500883  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590348 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.897834' WHERE "spree_products"."id" = 1060500883  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500883  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["product_id", nil], ["property_id", 905835119], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500883, "updated_at" = '2012-10-21 11:07:36.903918' WHERE "spree_product_properties"."id" = 1073273406 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500883) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451725 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451725], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500883 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500883, 558398916) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451726 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451726], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500883, 558398917) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500883) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500883 AND "spree_option_types"."id" = 935339289 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500883) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["option_type_id", 935339289], ["position", 1], ["product_id", 1060500883], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339289) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339289], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500883 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.927814' WHERE "spree_products"."id" = 1060500883 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500883], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.929004' WHERE "spree_products"."id" = 1060500883  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590349, 979460293) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339289) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339289], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500883 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.933796' WHERE "spree_products"."id" = 1060500883 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500883], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.935127' WHERE "spree_products"."id" = 1060500883  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590350, 979460294) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339289) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339289], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500883 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.938666' WHERE "spree_products"."id" = 1060500883 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500883], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.939844' WHERE "spree_products"."id" = 1060500883  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590351, 979460295) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500883]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500883) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590349 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590350 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590351 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500883) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500883 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.951701' WHERE "spree_products"."id" = 1060500883  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590349 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.952574' WHERE "spree_products"."id" = 1060500883 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500883 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.953365' WHERE "spree_products"."id" = 1060500883  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590350 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.954124' WHERE "spree_products"."id" = 1060500883 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500883 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.955217' WHERE "spree_products"."id" = 1060500883  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590351 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:36.956122' WHERE "spree_products"."id" = 1060500883 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500883) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590348 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:07:36 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500883) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:38.521149' WHERE "spree_products"."id" = 1060500883 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500884 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.535082' WHERE "spree_products"."id" = 1060500884 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500884], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.536467' WHERE "spree_products"."id" = 1060500884  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590352 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.537893' WHERE "spree_products"."id" = 1060500884  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500884  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["product_id", nil], ["property_id", 905835120], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500884, "updated_at" = '2012-10-21 11:07:38.544646' WHERE "spree_product_properties"."id" = 1073273407 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500884) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451725 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500884 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500884, 558398916) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451727 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451727], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500884, 558398918) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451728 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451728], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500884, 558398919) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500884) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500884 AND "spree_option_types"."id" = 935339289 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500884) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["option_type_id", 935339289], ["position", 1], ["product_id", 1060500884], ["updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500884 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.568800' WHERE "spree_products"."id" = 1060500884 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500884], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.582909' WHERE "spree_products"."id" = 1060500884  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590353, 979460293) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500884 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.585725' WHERE "spree_products"."id" = 1060500884 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500884], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.586871' WHERE "spree_products"."id" = 1060500884  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590354, 979460294) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500884 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.589014' WHERE "spree_products"."id" = 1060500884 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500884], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.590116' WHERE "spree_products"."id" = 1060500884  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590355, 979460295) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500884]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500884) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590353 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590354 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590355 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500884) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500884 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.602100' WHERE "spree_products"."id" = 1060500884  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590353 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.603072' WHERE "spree_products"."id" = 1060500884 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500884 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.604244' WHERE "spree_products"."id" = 1060500884  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590354 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.605258' WHERE "spree_products"."id" = 1060500884 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500884 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.606117' WHERE "spree_products"."id" = 1060500884  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590355 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:38.606892' WHERE "spree_products"."id" = 1060500884 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500884) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590352 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 11:07:38 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500884) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500884 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:44.663473' WHERE "spree_products"."id" = 1060500884 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.677933' WHERE "spree_products"."id" = 1060500885 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500885], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.679395' WHERE "spree_products"."id" = 1060500885  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590356 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.681508' WHERE "spree_products"."id" = 1060500885  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500885  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["product_id", nil], ["property_id", 905835121], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500885, "updated_at" = '2012-10-21 11:07:44.689704' WHERE "spree_product_properties"."id" = 1073273408 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["product_id", nil], ["property_id", 905835120], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500885, "updated_at" = '2012-10-21 11:07:44.692238' WHERE "spree_product_properties"."id" = 1073273409 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["product_id", nil], ["property_id", 905835122], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500885, "updated_at" = '2012-10-21 11:07:44.700238' WHERE "spree_product_properties"."id" = 1073273410 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500885) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451729 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451729], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500885 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500885, 558398920) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500885) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500885 AND "spree_option_types"."id" = 935339289 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500885) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["option_type_id", 935339289], ["position", 1], ["product_id", 1060500885], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.719388' WHERE "spree_products"."id" = 1060500885 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500885], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.721107' WHERE "spree_products"."id" = 1060500885  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590357, 979460293) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.723757' WHERE "spree_products"."id" = 1060500885 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500885], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.724857' WHERE "spree_products"."id" = 1060500885  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590358, 979460294) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339289 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.727210' WHERE "spree_products"."id" = 1060500885 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500885], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.729118' WHERE "spree_products"."id" = 1060500885  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590359, 979460295) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500885]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500885 AND "spree_option_types"."id" = 935339290 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500885) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["option_type_id", 935339290], ["position", 2], ["product_id", 1060500885], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339290 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339290) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339290], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.741322' WHERE "spree_products"."id" = 1060500885 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500885], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.742770' WHERE "spree_products"."id" = 1060500885  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590360, 979460296) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339290 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339290) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["name", "colour"], ["option_type_id", 935339290], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00]]  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.747715' WHERE "spree_products"."id" = 1060500885 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500885], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.749009' WHERE "spree_products"."id" = 1060500885  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590361, 979460297) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500885]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500885) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590357 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590359 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590360 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590361 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500885) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.765505' WHERE "spree_products"."id" = 1060500885  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590357 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.766563' WHERE "spree_products"."id" = 1060500885 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.767631' WHERE "spree_products"."id" = 1060500885  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590358 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.769399' WHERE "spree_products"."id" = 1060500885 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.770553' WHERE "spree_products"."id" = 1060500885  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590359 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.771456' WHERE "spree_products"."id" = 1060500885 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.772550' WHERE "spree_products"."id" = 1060500885  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590360 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.773589' WHERE "spree_products"."id" = 1060500885 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500885 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.774555' WHERE "spree_products"."id" = 1060500885  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590361 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:44.775614' WHERE "spree_products"."id" = 1060500885 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500885) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590356 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (4.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:07:44 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500885) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500885 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:45.857965' WHERE "spree_products"."id" = 1060500885  (7.7ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500883 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590348) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500883)) SQL (2.9ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500886 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.060953' WHERE "spree_products"."id" = 1060500886 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500886], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.062789' WHERE "spree_products"."id" = 1060500886  (1.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590362 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.065233' WHERE "spree_products"."id" = 1060500886  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500886  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["product_id", nil], ["property_id", 905835123], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500886, "updated_at" = '2012-10-21 11:07:46.071060' WHERE "spree_product_properties"."id" = 1073273411 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500886) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451730 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451730], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500886 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500886, 558398921) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451731 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451731], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (1.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500886, 558398922) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500886) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500886 AND "spree_option_types"."id" = 935339291 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500886) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["option_type_id", 935339291], ["position", 1], ["product_id", 1060500886], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339291) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339291], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500886 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.101955' WHERE "spree_products"."id" = 1060500886 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500886], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.103256' WHERE "spree_products"."id" = 1060500886  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590363, 979460298) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339291) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339291], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500886 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.108028' WHERE "spree_products"."id" = 1060500886 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500886], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.109256' WHERE "spree_products"."id" = 1060500886  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590364, 979460299) Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339291) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339291], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500886 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.115504' WHERE "spree_products"."id" = 1060500886 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500886], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.122570' WHERE "spree_products"."id" = 1060500886  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590365, 979460300) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500886]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500886) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590363 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590364 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590365 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500886) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500886 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.135033' WHERE "spree_products"."id" = 1060500886  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590363 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.136876' WHERE "spree_products"."id" = 1060500886 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500886 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.137966' WHERE "spree_products"."id" = 1060500886  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590364 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.138912' WHERE "spree_products"."id" = 1060500886 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500886 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.139808' WHERE "spree_products"."id" = 1060500886  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590365 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:46.140469' WHERE "spree_products"."id" = 1060500886 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500886) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590362 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (3.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:07:46 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500886) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:47.206001' WHERE "spree_products"."id" = 1060500886 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500886 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500887 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.219678' WHERE "spree_products"."id" = 1060500887 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500887], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.221018' WHERE "spree_products"."id" = 1060500887  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590366 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.222706' WHERE "spree_products"."id" = 1060500887  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500887  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00]] Created New Property # SQL (10.8ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["product_id", nil], ["property_id", 905835124], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500887, "updated_at" = '2012-10-21 11:07:47.241741' WHERE "spree_product_properties"."id" = 1073273412 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500887) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451730 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500887 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500887, 558398921) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451732 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451732], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500887, 558398923) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451733 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451733], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500887, 558398924) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500887) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500887 AND "spree_option_types"."id" = 935339291 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500887) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["option_type_id", 935339291], ["position", 1], ["product_id", 1060500887], ["updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500887 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.271356' WHERE "spree_products"."id" = 1060500887 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500887], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.273456' WHERE "spree_products"."id" = 1060500887  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590367, 979460298) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500887 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.275950' WHERE "spree_products"."id" = 1060500887 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500887], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.276977' WHERE "spree_products"."id" = 1060500887  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590368, 979460299) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500887 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.279486' WHERE "spree_products"."id" = 1060500887 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500887], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.281612' WHERE "spree_products"."id" = 1060500887  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590369, 979460300) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500887]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500887) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590367 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590369 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500887) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500887 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.295844' WHERE "spree_products"."id" = 1060500887  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590367 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.297859' WHERE "spree_products"."id" = 1060500887 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500887 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.299491' WHERE "spree_products"."id" = 1060500887  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590368 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.300271' WHERE "spree_products"."id" = 1060500887 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500887 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.301142' WHERE "spree_products"."id" = 1060500887  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590369 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:47.302123' WHERE "spree_products"."id" = 1060500887 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500887) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590366 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 11:07:47 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500887) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500887 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:54.790438' WHERE "spree_products"."id" = 1060500887 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060500887 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.802475' WHERE "spree_products"."id" = 1060500888 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500888], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.803834' WHERE "spree_products"."id" = 1060500888  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590370 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.805361' WHERE "spree_products"."id" = 1060500888  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500888  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["product_id", nil], ["property_id", 905835125], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500888, "updated_at" = '2012-10-21 11:07:54.812856' WHERE "spree_product_properties"."id" = 1073273413 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["product_id", nil], ["property_id", 905835124], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500888, "updated_at" = '2012-10-21 11:07:54.815215' WHERE "spree_product_properties"."id" = 1073273414 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["product_id", nil], ["property_id", 905835126], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060500888, "updated_at" = '2012-10-21 11:07:54.819089' WHERE "spree_product_properties"."id" = 1073273415 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500888) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451734 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451734], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500888 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500888, 558398925) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500888) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500888 AND "spree_option_types"."id" = 935339291 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500888) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["option_type_id", 935339291], ["position", 1], ["product_id", 1060500888], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.836332' WHERE "spree_products"."id" = 1060500888 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500888], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.837365' WHERE "spree_products"."id" = 1060500888  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590371, 979460298) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.840343' WHERE "spree_products"."id" = 1060500888 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500888], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.841607' WHERE "spree_products"."id" = 1060500888  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590372, 979460299) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339291 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.844444' WHERE "spree_products"."id" = 1060500888 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500888], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.845631' WHERE "spree_products"."id" = 1060500888  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590373, 979460300) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500888]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500888 AND "spree_option_types"."id" = 935339292 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500888) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["option_type_id", 935339292], ["position", 2], ["product_id", 1060500888], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339292 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339292) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339292], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.861885' WHERE "spree_products"."id" = 1060500888 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500888], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.863169' WHERE "spree_products"."id" = 1060500888  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590374, 979460301) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339292 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339292) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["name", "colour"], ["option_type_id", 935339292], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.868124' WHERE "spree_products"."id" = 1060500888 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500888], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.869621' WHERE "spree_products"."id" = 1060500888  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590375, 979460302) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500888]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500888) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590371 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590372 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590373 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590374 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590375 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500888) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.885326' WHERE "spree_products"."id" = 1060500888  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590371 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.886363' WHERE "spree_products"."id" = 1060500888 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.887365' WHERE "spree_products"."id" = 1060500888  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590372 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.888344' WHERE "spree_products"."id" = 1060500888 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.889313' WHERE "spree_products"."id" = 1060500888  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590373 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.890338' WHERE "spree_products"."id" = 1060500888 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.891550' WHERE "spree_products"."id" = 1060500888  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590374 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.892584' WHERE "spree_products"."id" = 1060500888 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500888 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.893759' WHERE "spree_products"."id" = 1060500888  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590375 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:54.894365' WHERE "spree_products"."id" = 1060500888 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500888) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590370 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:07:54 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500888) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500888 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:56.588788' WHERE "spree_products"."id" = 1060500888 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500888 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (46.7ms) commit transaction Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500886 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590362) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500886)) SQL (36.3ms) DELETE FROM "spree_products" SQL (3.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500889 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:56.742258' WHERE "spree_products"."id" = 1060500889 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500889], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:56.743389' WHERE "spree_products"."id" = 1060500889  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590376 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:56.744912' WHERE "spree_products"."id" = 1060500889  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500889  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["product_id", nil], ["property_id", 905835127], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500889, "updated_at" = '2012-10-21 11:07:56.751217' WHERE "spree_product_properties"."id" = 1073273416 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500889) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451735 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451735], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500889 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500889, 558398926) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451736 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451736], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500889, 558398927) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500889) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500889 AND "spree_option_types"."id" = 935339293 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500889) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["option_type_id", 935339293], ["position", 1], ["product_id", 1060500889], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339293) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339293], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500889 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:56.776301' WHERE "spree_products"."id" = 1060500889 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500889], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:56.777321' WHERE "spree_products"."id" = 1060500889  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590377, 979460303) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339293) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339293], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500889 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:56.781066' WHERE "spree_products"."id" = 1060500889 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500889], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:56.785684' WHERE "spree_products"."id" = 1060500889  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590378, 979460304) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339293) ORDER BY position DESC LIMIT 1 SQL (314.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339293], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500889 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.111821' WHERE "spree_products"."id" = 1060500889 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500889], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.113335' WHERE "spree_products"."id" = 1060500889  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590379, 979460305) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500889]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500889) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590377 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590378 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590379 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500889) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500889 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.128741' WHERE "spree_products"."id" = 1060500889  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590377 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.130393' WHERE "spree_products"."id" = 1060500889 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500889 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.131192' WHERE "spree_products"."id" = 1060500889  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590378 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.132238' WHERE "spree_products"."id" = 1060500889 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500889 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.133393' WHERE "spree_products"."id" = 1060500889  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590379 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.134313' WHERE "spree_products"."id" = 1060500889 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500889) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500889 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:57.136393' WHERE "spree_products"."id" = 1060500889 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500889 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500890 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.143387' WHERE "spree_products"."id" = 1060500890 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500890], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.144394' WHERE "spree_products"."id" = 1060500890  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590380 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.146659' WHERE "spree_products"."id" = 1060500890  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500890  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["product_id", nil], ["property_id", 905835128], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500890, "updated_at" = '2012-10-21 11:07:57.152229' WHERE "spree_product_properties"."id" = 1073273417 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500890) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451735 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500890 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500890, 558398926) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451737 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451737], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500890, 558398928) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451735 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398926 AND "spree_taxons"."taxonomy_id" = 854451735 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398926]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398926], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451735], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398926]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398929]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398929 THEN 558398926 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398926]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398929]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398929 AND "spree_taxons"."taxonomy_id" = 854451735 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398929]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398929], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451735], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398929]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398930]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398930 THEN 558398929 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398929]] Spree::Taxon Load (133.8ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398930]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500890, 558398929)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500890, 558398930) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500890) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500890 AND "spree_option_types"."id" = 935339293 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (11.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500890) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["option_type_id", 935339293], ["position", 1], ["product_id", 1060500890], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500890 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.331856' WHERE "spree_products"."id" = 1060500890 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500890], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.332950' WHERE "spree_products"."id" = 1060500890  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590381, 979460303) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::Product Load (1.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500890 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.380700' WHERE "spree_products"."id" = 1060500890 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500890], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.382008' WHERE "spree_products"."id" = 1060500890  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590382, 979460304) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500890 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.385057' WHERE "spree_products"."id" = 1060500890 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500890], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.385932' WHERE "spree_products"."id" = 1060500890  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590383, 979460305) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500890]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500890) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590381 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590382 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590383 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500890) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500890 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.399235' WHERE "spree_products"."id" = 1060500890  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590381 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.400235' WHERE "spree_products"."id" = 1060500890 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500890 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.402125' WHERE "spree_products"."id" = 1060500890  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590382 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.402941' WHERE "spree_products"."id" = 1060500890 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500890 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.403730' WHERE "spree_products"."id" = 1060500890  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590383 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.404731' WHERE "spree_products"."id" = 1060500890 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500890) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500890 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:57.406746' WHERE "spree_products"."id" = 1060500890 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500890 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.415779' WHERE "spree_products"."id" = 1060500891 SQL (3.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500891], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.420397' WHERE "spree_products"."id" = 1060500891  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590384 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.421618' WHERE "spree_products"."id" = 1060500891  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500891  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["product_id", nil], ["property_id", 905835129], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500891, "updated_at" = '2012-10-21 11:07:57.427397' WHERE "spree_product_properties"."id" = 1073273418 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["product_id", nil], ["property_id", 905835128], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500891, "updated_at" = '2012-10-21 11:07:57.433441' WHERE "spree_product_properties"."id" = 1073273419 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["product_id", nil], ["property_id", 905835130], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500891, "updated_at" = '2012-10-21 11:07:57.436315' WHERE "spree_product_properties"."id" = 1073273420 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500891) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451738 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451738], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500891 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500891, 558398931) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451735 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398926 AND "spree_taxons"."taxonomy_id" = 854451735 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398926]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398926], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451735], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398926]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398932]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398932 THEN 558398926 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398926]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398932]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500891, 558398932)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500891, 558398926) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500891) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500891 AND "spree_option_types"."id" = 935339293 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500891) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["option_type_id", 935339293], ["position", 1], ["product_id", 1060500891], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.462951' WHERE "spree_products"."id" = 1060500891 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500891], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.464800' WHERE "spree_products"."id" = 1060500891  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590385, 979460303) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.467069' WHERE "spree_products"."id" = 1060500891 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500891], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.468161' WHERE "spree_products"."id" = 1060500891  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590386, 979460304) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339293 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.470799' WHERE "spree_products"."id" = 1060500891 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500891], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.471778' WHERE "spree_products"."id" = 1060500891  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590387, 979460305) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500891]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500891 AND "spree_option_types"."id" = 935339294 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500891) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["option_type_id", 935339294], ["position", 2], ["product_id", 1060500891], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339294 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339294) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339294], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.483904' WHERE "spree_products"."id" = 1060500891 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500891], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.485014' WHERE "spree_products"."id" = 1060500891  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590388, 979460306) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339294 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339294) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "colour"], ["option_type_id", 935339294], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.490066' WHERE "spree_products"."id" = 1060500891 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500891], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.491052' WHERE "spree_products"."id" = 1060500891  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590389, 979460307) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500891]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500891) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590385 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590386 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590387 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590388 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590389 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500891) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.535142' WHERE "spree_products"."id" = 1060500891  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590385 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.536524' WHERE "spree_products"."id" = 1060500891 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.537621' WHERE "spree_products"."id" = 1060500891  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590386 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.538955' WHERE "spree_products"."id" = 1060500891 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.539822' WHERE "spree_products"."id" = 1060500891  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590387 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.540924' WHERE "spree_products"."id" = 1060500891 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.541836' WHERE "spree_products"."id" = 1060500891  (0.8ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590388 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.543358' WHERE "spree_products"."id" = 1060500891 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500891 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.544304' WHERE "spree_products"."id" = 1060500891  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590389 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.545021' WHERE "spree_products"."id" = 1060500891 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500891) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:57.548235' WHERE "spree_products"."id" = 1060500891 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500891 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (12.0ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500891 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590384) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500891)) Excel Loader processing 0 rows  (0.0ms) begin transaction  (0.2ms) rollback transaction SQL (5.3ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.742756' WHERE "spree_products"."id" = 1060500892 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500892], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.744069' WHERE "spree_products"."id" = 1060500892  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590390 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.745166' WHERE "spree_products"."id" = 1060500892  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500892  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["product_id", nil], ["property_id", 905835131], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500892, "updated_at" = '2012-10-21 11:07:57.751401' WHERE "spree_product_properties"."id" = 1073273421 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500892) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451739 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451739], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500892 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500892, 558398933) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451740 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451740], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500892, 558398934) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500892) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500892 AND "spree_option_types"."id" = 935339295 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500892) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["option_type_id", 935339295], ["position", 1], ["product_id", 1060500892], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339295) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339295], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.775401' WHERE "spree_products"."id" = 1060500892 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500892], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:57.776781' WHERE "spree_products"."id" = 1060500892  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590391, 979460308) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339295) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339295], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:57 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 EXPLAIN (0.5ms) EXPLAIN QUERY PLAN SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 EXPLAIN for: SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 0|0|TABLE spree_products USING PRIMARY KEY SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.403652' WHERE "spree_products"."id" = 1060500892 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500892], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.405819' WHERE "spree_products"."id" = 1060500892  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590392, 979460309) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339295) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339295], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.410904' WHERE "spree_products"."id" = 1060500892 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500892], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.411927' WHERE "spree_products"."id" = 1060500892  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590393, 979460310) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500892]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500892) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590391 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590392 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590393 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500892) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.425392' WHERE "spree_products"."id" = 1060500892  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590391 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.426541' WHERE "spree_products"."id" = 1060500892 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.427516' WHERE "spree_products"."id" = 1060500892  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590392 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.428410' WHERE "spree_products"."id" = 1060500892 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500892 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.429457' WHERE "spree_products"."id" = 1060500892  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590393 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.430379' WHERE "spree_products"."id" = 1060500892 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500892) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500892 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:07:58.432649' WHERE "spree_products"."id" = 1060500892 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500892 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500893 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.443113' WHERE "spree_products"."id" = 1060500893 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500893], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.449613' WHERE "spree_products"."id" = 1060500893  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590394 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.451127' WHERE "spree_products"."id" = 1060500893  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500893  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["product_id", nil], ["property_id", 905835132], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500893, "updated_at" = '2012-10-21 11:07:58.457672' WHERE "spree_product_properties"."id" = 1073273422 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500893) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451739 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500893 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500893, 558398933) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451741 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451741], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500893, 558398935) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451739 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398933 AND "spree_taxons"."taxonomy_id" = 854451739 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398933]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558398933], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451739], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398933]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398936]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398936 THEN 558398933 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398933]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398936]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398936 AND "spree_taxons"."taxonomy_id" = 854451739 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398936]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558398936], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451739], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398936]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398937]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398937 THEN 558398936 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398936]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398937]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500893, 558398936)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500893, 558398937) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500893) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500893 AND "spree_option_types"."id" = 935339295 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500893) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["option_type_id", 935339295], ["position", 1], ["product_id", 1060500893], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500893 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.493690' WHERE "spree_products"."id" = 1060500893 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500893], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.494638' WHERE "spree_products"."id" = 1060500893  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590395, 979460308) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500893 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.497309' WHERE "spree_products"."id" = 1060500893 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500893], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (82.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.499319' WHERE "spree_products"."id" = 1060500893  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590396, 979460309) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500893 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.584667' WHERE "spree_products"."id" = 1060500893 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500893], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.586229' WHERE "spree_products"."id" = 1060500893  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590397, 979460310) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500893]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500893) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590395 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590396 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590397 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500893) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500893 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.601159' WHERE "spree_products"."id" = 1060500893  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590395 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.603205' WHERE "spree_products"."id" = 1060500893 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500893 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.603980' WHERE "spree_products"."id" = 1060500893  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590396 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.604904' WHERE "spree_products"."id" = 1060500893 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500893 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.605904' WHERE "spree_products"."id" = 1060500893  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590397 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.606916' WHERE "spree_products"."id" = 1060500893 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500893) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500893 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:07:58.608661' WHERE "spree_products"."id" = 1060500893 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500893 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.616412' WHERE "spree_products"."id" = 1060500894 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500894], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.617379' WHERE "spree_products"."id" = 1060500894  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590398 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.619412' WHERE "spree_products"."id" = 1060500894  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500894  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["product_id", nil], ["property_id", 905835133], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["value", nil]]  (1.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060500894, "updated_at" = '2012-10-21 11:07:58.625065' WHERE "spree_product_properties"."id" = 1073273423 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["product_id", nil], ["property_id", 905835132], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500894, "updated_at" = '2012-10-21 11:07:58.628402' WHERE "spree_product_properties"."id" = 1073273424 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["product_id", nil], ["property_id", 905835134], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500894, "updated_at" = '2012-10-21 11:07:58.631407' WHERE "spree_product_properties"."id" = 1073273425 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500894) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451742 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451742], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500894 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500894, 558398938) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451739 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398933 AND "spree_taxons"."taxonomy_id" = 854451739 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398933]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558398933], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451739], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398933]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398939]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398939 THEN 558398933 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398933]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398939]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500894, 558398939)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500894, 558398933) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500894) LIMIT 1 Spree::OptionType Load (4.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500894 AND "spree_option_types"."id" = 935339295 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500894) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["option_type_id", 935339295], ["position", 1], ["product_id", 1060500894], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.921546' WHERE "spree_products"."id" = 1060500894 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500894], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.923203' WHERE "spree_products"."id" = 1060500894  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590399, 979460308) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.925416' WHERE "spree_products"."id" = 1060500894 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500894], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.926284' WHERE "spree_products"."id" = 1060500894  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590400, 979460309) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339295 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.928607' WHERE "spree_products"."id" = 1060500894 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500894], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.929416' WHERE "spree_products"."id" = 1060500894  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590401, 979460310) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500894]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500894 AND "spree_option_types"."id" = 935339296 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500894) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["option_type_id", 935339296], ["position", 2], ["product_id", 1060500894], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339296 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339296) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339296], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.941495' WHERE "spree_products"."id" = 1060500894 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500894], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.942303' WHERE "spree_products"."id" = 1060500894  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590402, 979460311) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339296 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339296) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00], ["name", "colour"], ["option_type_id", 935339296], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.952008' WHERE "spree_products"."id" = 1060500894 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500894], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.952989' WHERE "spree_products"."id" = 1060500894  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590403, 979460312) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500894]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500894) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590399 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590400 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590401 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590402 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590403 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500894) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.967514' WHERE "spree_products"."id" = 1060500894  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590399 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.968565' WHERE "spree_products"."id" = 1060500894 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.969497' WHERE "spree_products"."id" = 1060500894  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590400 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.970807' WHERE "spree_products"."id" = 1060500894 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.971677' WHERE "spree_products"."id" = 1060500894  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590401 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.972601' WHERE "spree_products"."id" = 1060500894 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.973762' WHERE "spree_products"."id" = 1060500894  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590402 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.974761' WHERE "spree_products"."id" = 1060500894 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500894 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.975669' WHERE "spree_products"."id" = 1060500894  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590403 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:58.976412' WHERE "spree_products"."id" = 1060500894 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500894) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:07:58.979021' WHERE "spree_products"."id" = 1060500894 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500894 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (13.3ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500894 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590398) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500894)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) rollback transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (5.1ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (1.9ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500895 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.327068' WHERE "spree_products"."id" = 1060500895 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500895], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.328707' WHERE "spree_products"."id" = 1060500895  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590404 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.330071' WHERE "spree_products"."id" = 1060500895  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500895  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["product_id", nil], ["property_id", 905835135], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500895, "updated_at" = '2012-10-21 11:07:59.335943' WHERE "spree_product_properties"."id" = 1073273426 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451743 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451743], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500895 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500895, 558398940) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451744 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451744], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500895, 558398941) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500895 AND "spree_option_types"."id" = 935339297 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500895) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["option_type_id", 935339297], ["position", 1], ["product_id", 1060500895], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339297 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339297) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339297], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500895 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.357192' WHERE "spree_products"."id" = 1060500895 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500895], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.358257' WHERE "spree_products"."id" = 1060500895  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590405, 979460313) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339297 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339297) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339297], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500895 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.643854' WHERE "spree_products"."id" = 1060500895 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500895], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.645286' WHERE "spree_products"."id" = 1060500895  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590406, 979460314) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339297 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339297) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339297], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500895 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.649783' WHERE "spree_products"."id" = 1060500895 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500895], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.651010' WHERE "spree_products"."id" = 1060500895  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590407, 979460315) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500895]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590405 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590406 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590407 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500895 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.664640' WHERE "spree_products"."id" = 1060500895  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590405 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.665690' WHERE "spree_products"."id" = 1060500895 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500895 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.666903' WHERE "spree_products"."id" = 1060500895  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590406 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.667860' WHERE "spree_products"."id" = 1060500895 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500895 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.668886' WHERE "spree_products"."id" = 1060500895  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590407 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:07:59.670385' WHERE "spree_products"."id" = 1060500895 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1 Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590404 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:07:59 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:08:02 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:08:03 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500895) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:08:04.095657' WHERE "spree_products"."id" = 1060500895 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500895 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500896 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.110133' WHERE "spree_products"."id" = 1060500896 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500896], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.111255' WHERE "spree_products"."id" = 1060500896  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590408 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.113135' WHERE "spree_products"."id" = 1060500896  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500896  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["product_id", nil], ["property_id", 905835136], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500896, "updated_at" = '2012-10-21 11:08:04.121481' WHERE "spree_product_properties"."id" = 1073273427 Created New ProductProperty # Spree::Product Exists (1.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500896) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451743 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500896 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500896, 558398940) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451745 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451745], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500896, 558398942) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451746 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451746], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500896, 558398943) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500896) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500896 AND "spree_option_types"."id" = 935339297 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500896) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["option_type_id", 935339297], ["position", 1], ["product_id", 1060500896], ["updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339297 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500896 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.152983' WHERE "spree_products"."id" = 1060500896 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500896], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.154079' WHERE "spree_products"."id" = 1060500896  (1.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590409, 979460313) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339297 LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500896 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.157889' WHERE "spree_products"."id" = 1060500896 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500896], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.158755' WHERE "spree_products"."id" = 1060500896  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590410, 979460314) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339297 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500896 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.161672' WHERE "spree_products"."id" = 1060500896 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500896], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.167173' WHERE "spree_products"."id" = 1060500896  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590411, 979460315) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500896]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500896) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590409 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590410 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590411 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500896) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500896 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.182285' WHERE "spree_products"."id" = 1060500896  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590409 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.183475' WHERE "spree_products"."id" = 1060500896 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500896 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.184563' WHERE "spree_products"."id" = 1060500896  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590410 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.185481' WHERE "spree_products"."id" = 1060500896 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500896 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.186782' WHERE "spree_products"."id" = 1060500896  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590411 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:04.188973' WHERE "spree_products"."id" = 1060500896 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500896) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590408 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 11:08:04 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 11:08:09 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500896) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500896 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:08:10.721264' WHERE "spree_products"."id" = 1060500896 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500896 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.8ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500895 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590404 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (11.4ms) DELETE FROM "spree_products" SQL (2.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451747 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451747], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451747], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451747], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]]  (1.8ms) commit transaction Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451748 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451748], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]]  (3.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451748], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451748], ["updated_at", Sun, 21 Oct 2012 11:08:10 UTC +00:00]]  (2.4ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451748 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451748 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451748 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451749], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451749], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (2.2ms) commit transaction  (0.3ms) begin transaction  (0.6ms) UPDATE "spree_taxons" SET "parent_id" = 558398950, "updated_at" = '2012-10-21 11:08:11.121051' WHERE "spree_taxons"."id" = 558398951 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398950]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398951]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398951 THEN 558398950 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398950]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398951]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398950 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.161117' WHERE "spree_products"."id" = 1060500897 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500897], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.162668' WHERE "spree_products"."id" = 1060500897  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590412 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.164422' WHERE "spree_products"."id" = 1060500897  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500897  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835137], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500897, "updated_at" = '2012-10-21 11:08:11.170766' WHERE "spree_product_properties"."id" = 1073273428 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500897) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500897 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500897, 558398950) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451750 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451750], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500897, 558398952) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500897) LIMIT 1 Spree::OptionType Load (1.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500897 AND "spree_option_types"."id" = 935339298 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500897) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["option_type_id", 935339298], ["position", 1], ["product_id", 1060500897], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339298) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339298], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.196864' WHERE "spree_products"."id" = 1060500897 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500897], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.198544' WHERE "spree_products"."id" = 1060500897  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590413, 979460316) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339298) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339298], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.202922' WHERE "spree_products"."id" = 1060500897 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500897], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.237550' WHERE "spree_products"."id" = 1060500897  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590414, 979460317) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339298) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339298], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.242472' WHERE "spree_products"."id" = 1060500897 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500897], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.243693' WHERE "spree_products"."id" = 1060500897  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590415, 979460318) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500897]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500897) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590413 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590414 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590415 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500897) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.260134' WHERE "spree_products"."id" = 1060500897  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.261074' WHERE "spree_products"."id" = 1060500897 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.261976' WHERE "spree_products"."id" = 1060500897  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590414 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.262796' WHERE "spree_products"."id" = 1060500897 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.263773' WHERE "spree_products"."id" = 1060500897  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590415 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.264543' WHERE "spree_products"."id" = 1060500897 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500897) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500897 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:08:11.266676' WHERE "spree_products"."id" = 1060500897 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500897 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.272783' WHERE "spree_products"."id" = 1060500898 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500898], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.273787' WHERE "spree_products"."id" = 1060500898  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590416 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.274879' WHERE "spree_products"."id" = 1060500898  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500898  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835138], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500898, "updated_at" = '2012-10-21 11:08:11.280039' WHERE "spree_product_properties"."id" = 1073273429 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500898) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500898 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500898, 558398950) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451751 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451751], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500898, 558398953) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398950 AND "spree_taxons"."taxonomy_id" = 854451749 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398950]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398950], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451749], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398950]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398954]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398954 THEN 558398950 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398950]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398954]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398954 AND "spree_taxons"."taxonomy_id" = 854451749 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398954]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398954], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451749], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398954]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398955]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398955 THEN 558398954 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398954]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398955]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500898, 558398954)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500898, 558398955) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500898) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500898 AND "spree_option_types"."id" = 935339298 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500898) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["option_type_id", 935339298], ["position", 1], ["product_id", 1060500898], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.308035' WHERE "spree_products"."id" = 1060500898 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500898], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.309023' WHERE "spree_products"."id" = 1060500898  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590417, 979460316) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.311233' WHERE "spree_products"."id" = 1060500898 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500898], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.312371' WHERE "spree_products"."id" = 1060500898  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590418, 979460317) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.314681' WHERE "spree_products"."id" = 1060500898 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500898], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.315645' WHERE "spree_products"."id" = 1060500898  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590419, 979460318) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500898]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500898) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590417 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590418 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590419 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500898) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.328218' WHERE "spree_products"."id" = 1060500898  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.329143' WHERE "spree_products"."id" = 1060500898 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.330120' WHERE "spree_products"."id" = 1060500898  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590418 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.330895' WHERE "spree_products"."id" = 1060500898 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.331848' WHERE "spree_products"."id" = 1060500898  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590419 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.332740' WHERE "spree_products"."id" = 1060500898 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500898) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500898 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:08:11.334811' WHERE "spree_products"."id" = 1060500898 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500898 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.340866' WHERE "spree_products"."id" = 1060500899 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500899], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.341952' WHERE "spree_products"."id" = 1060500899  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.343271' WHERE "spree_products"."id" = 1060500899  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500899  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (2.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835139], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500899, "updated_at" = '2012-10-21 11:08:11.401333' WHERE "spree_product_properties"."id" = 1073273430 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835138], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500899, "updated_at" = '2012-10-21 11:08:11.404294' WHERE "spree_product_properties"."id" = 1073273431 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835140], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500899, "updated_at" = '2012-10-21 11:08:11.407180' WHERE "spree_product_properties"."id" = 1073273432 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500899) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451752 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451752], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500899 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500899, 558398956) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398950 AND "spree_taxons"."taxonomy_id" = 854451749 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500899, 558398951)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500899, 558398950) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500899) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500899 AND "spree_option_types"."id" = 935339298 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500899) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["option_type_id", 935339298], ["position", 1], ["product_id", 1060500899], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.428280' WHERE "spree_products"."id" = 1060500899 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500899], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.429318' WHERE "spree_products"."id" = 1060500899  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590421, 979460316) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.431764' WHERE "spree_products"."id" = 1060500899 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500899], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.432746' WHERE "spree_products"."id" = 1060500899  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590422, 979460317) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339298 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.434847' WHERE "spree_products"."id" = 1060500899 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500899], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.435835' WHERE "spree_products"."id" = 1060500899  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590423, 979460318) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500899]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500899 AND "spree_option_types"."id" = 935339299 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500899) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["option_type_id", 935339299], ["position", 2], ["product_id", 1060500899], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339299 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339299) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339299], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.450842' WHERE "spree_products"."id" = 1060500899 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500899], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.452139' WHERE "spree_products"."id" = 1060500899  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590424, 979460319) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339299 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339299) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "colour"], ["option_type_id", 935339299], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.467039' WHERE "spree_products"."id" = 1060500899 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500899], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.468067' WHERE "spree_products"."id" = 1060500899  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590425, 979460320) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500899]] Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500899) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590421 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590422 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590423 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590424 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590425 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500899) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.481488' WHERE "spree_products"."id" = 1060500899  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.483355' WHERE "spree_products"."id" = 1060500899 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.484271' WHERE "spree_products"."id" = 1060500899  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.485246' WHERE "spree_products"."id" = 1060500899 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.486192' WHERE "spree_products"."id" = 1060500899  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.487145' WHERE "spree_products"."id" = 1060500899 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.488661' WHERE "spree_products"."id" = 1060500899  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590424 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.489437' WHERE "spree_products"."id" = 1060500899 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500899 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.490390' WHERE "spree_products"."id" = 1060500899  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590425 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.491204' WHERE "spree_products"."id" = 1060500899 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500899) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500899 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:08:11.493300' WHERE "spree_products"."id" = 1060500899 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500899 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (23.6ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500897 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500897 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500898 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500898 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451749 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398950 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398954 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398954 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398955 ORDER BY "lft" SQL (3.1ms) DELETE FROM "spree_products" SQL (5.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451753 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451753], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (3.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451753], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558398957, "updated_at" = '2012-10-21 11:08:11.597149' WHERE "spree_taxons"."id" = 558398958 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398957]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398958]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398958 THEN 558398957 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398957]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398958]]  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398957 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.628880' WHERE "spree_products"."id" = 1060500900 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500900], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.629975' WHERE "spree_products"."id" = 1060500900  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590426 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.631239' WHERE "spree_products"."id" = 1060500900  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500900  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835141], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500900, "updated_at" = '2012-10-21 11:08:11.636853' WHERE "spree_product_properties"."id" = 1073273433 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (2.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451753 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500900 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500900, 558398957) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451754 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451754], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500900, 558398959) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500900 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500900) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["option_type_id", 935339300], ["position", 1], ["product_id", 1060500900], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339300) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339300], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.707674' WHERE "spree_products"."id" = 1060500900 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500900], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.709599' WHERE "spree_products"."id" = 1060500900  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590427, 979460321) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500900]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500900 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339300) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339300], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.719410' WHERE "spree_products"."id" = 1060500900 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500900], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.721228' WHERE "spree_products"."id" = 1060500900  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590428, 979460322) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500900]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500900 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339300) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339300], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.730238' WHERE "spree_products"."id" = 1060500900 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500900], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.731279' WHERE "spree_products"."id" = 1060500900  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590429, 979460323) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500900]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590427 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590428 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590429 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.747153' WHERE "spree_products"."id" = 1060500900  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590427 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.748164' WHERE "spree_products"."id" = 1060500900 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.749105' WHERE "spree_products"."id" = 1060500900  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590428 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.749997' WHERE "spree_products"."id" = 1060500900 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.750935' WHERE "spree_products"."id" = 1060500900  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590429 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.751762' WHERE "spree_products"."id" = 1060500900 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500900) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500900 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:08:11.754787' WHERE "spree_products"."id" = 1060500900 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060500900 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.760842' WHERE "spree_products"."id" = 1060500901 SQL (3.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500901], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.765401' WHERE "spree_products"."id" = 1060500901  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590430 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.766598' WHERE "spree_products"."id" = 1060500901  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500901  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835142], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500901, "updated_at" = '2012-10-21 11:08:11.774133' WHERE "spree_product_properties"."id" = 1073273434 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451753 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500901 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500901, 558398957) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451755 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451755], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500901, 558398960) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451753 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398957 AND "spree_taxons"."taxonomy_id" = 854451753 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398957]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398957], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451753], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398957]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398961]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398961 THEN 558398957 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398957]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398961]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398961 AND "spree_taxons"."taxonomy_id" = 854451753 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398961]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398961], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451753], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398961]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398962]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398962 THEN 558398961 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398961]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398962]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500901, 558398961)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500901, 558398962) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500901 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500901) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["option_type_id", 935339300], ["position", 1], ["product_id", 1060500901], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.860863' WHERE "spree_products"."id" = 1060500901 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500901], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.862121' WHERE "spree_products"."id" = 1060500901  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590431, 979460321) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500901]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500901 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.872976' WHERE "spree_products"."id" = 1060500901 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500901], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.873991' WHERE "spree_products"."id" = 1060500901  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590432, 979460322) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500901]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500901 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.880028' WHERE "spree_products"."id" = 1060500901 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500901], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.880983' WHERE "spree_products"."id" = 1060500901  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590433, 979460323) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500901]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590431 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590432 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590433 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.895200' WHERE "spree_products"."id" = 1060500901  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590431 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.896304' WHERE "spree_products"."id" = 1060500901 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.897274' WHERE "spree_products"."id" = 1060500901  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590432 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.898089' WHERE "spree_products"."id" = 1060500901 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.898989' WHERE "spree_products"."id" = 1060500901  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590433 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.899768' WHERE "spree_products"."id" = 1060500901 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500901) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500901 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:08:11.901759' WHERE "spree_products"."id" = 1060500901 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060500901 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.907716' WHERE "spree_products"."id" = 1060500902 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500902], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.908729' WHERE "spree_products"."id" = 1060500902  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590434 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.909830' WHERE "spree_products"."id" = 1060500902  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500902  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835143], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500902, "updated_at" = '2012-10-21 11:08:11.914599' WHERE "spree_product_properties"."id" = 1073273435 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835142], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500902, "updated_at" = '2012-10-21 11:08:11.917139' WHERE "spree_product_properties"."id" = 1073273436 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["product_id", nil], ["property_id", 905835144], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500902, "updated_at" = '2012-10-21 11:08:11.920337' WHERE "spree_product_properties"."id" = 1073273437 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451756 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451756], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500902 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500902, 558398963) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451753 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398957 AND "spree_taxons"."taxonomy_id" = 854451753 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500902, 558398958)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500902, 558398957) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500902 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500902) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["option_type_id", 935339300], ["position", 1], ["product_id", 1060500902], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (10.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.938186' WHERE "spree_products"."id" = 1060500902 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500902], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.950379' WHERE "spree_products"."id" = 1060500902  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590435, 979460321) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500902]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500902 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.958313' WHERE "spree_products"."id" = 1060500902 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500902], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.959431' WHERE "spree_products"."id" = 1060500902  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590436, 979460322) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500902]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::OptionType Load (10.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500902 AND "spree_option_types"."id" = 935339300 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339300 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.980244' WHERE "spree_products"."id" = 1060500902 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500902], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:11.981414' WHERE "spree_products"."id" = 1060500902  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590437, 979460323) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500902]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:08:11 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500902 AND "spree_option_types"."id" = 935339301 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500902) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["option_type_id", 935339301], ["position", 2], ["product_id", 1060500902], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339301 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339301) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339301], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.008033' WHERE "spree_products"."id" = 1060500902 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500902], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.009056' WHERE "spree_products"."id" = 1060500902  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590438, 979460324) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500902]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500902 AND "spree_option_types"."id" = 935339301 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339301 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339301) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "colour"], ["option_type_id", 935339301], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.018080' WHERE "spree_products"."id" = 1060500902 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500902], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.019339' WHERE "spree_products"."id" = 1060500902  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590439, 979460325) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500902]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590435 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590436 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590437 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590438 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590439 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.042260' WHERE "spree_products"."id" = 1060500902  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590435 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.043396' WHERE "spree_products"."id" = 1060500902 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.045105' WHERE "spree_products"."id" = 1060500902  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590436 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.046060' WHERE "spree_products"."id" = 1060500902 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.047012' WHERE "spree_products"."id" = 1060500902  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590437 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.047847' WHERE "spree_products"."id" = 1060500902 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.049038' WHERE "spree_products"."id" = 1060500902  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590438 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.049822' WHERE "spree_products"."id" = 1060500902 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500902 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.050747' WHERE "spree_products"."id" = 1060500902  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590439 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.051498' WHERE "spree_products"."id" = 1060500902 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500902) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500902 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:08:12.054097' WHERE "spree_products"."id" = 1060500902 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500902 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.2ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500900 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500900 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500901 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500901 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451753 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398957 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451753 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (2.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398961 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398961 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398962 ORDER BY "lft" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451757 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451757], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451757], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558398964, "updated_at" = '2012-10-21 11:08:12.145330' WHERE "spree_taxons"."id" = 558398965 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398964]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398965]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398965 THEN 558398964 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398964]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398965]]  (3.6ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398964 ORDER BY "lft"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.220359' WHERE "spree_products"."id" = 1060500903 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500903], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.221955' WHERE "spree_products"."id" = 1060500903  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590440 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.222951' WHERE "spree_products"."id" = 1060500903  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500903  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["product_id", nil], ["property_id", 905835145], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500903, "updated_at" = '2012-10-21 11:08:12.228328' WHERE "spree_product_properties"."id" = 1073273438 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451757 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500903 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500903, 558398964) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451758 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451758], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500903, 558398966) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500903 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500903) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["option_type_id", 935339302], ["position", 1], ["product_id", 1060500903], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339302) ORDER BY position DESC LIMIT 1 SQL (6.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339302], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.273020' WHERE "spree_products"."id" = 1060500903 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500903], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.274582' WHERE "spree_products"."id" = 1060500903  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590441, 979460326) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500903]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500903 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339302) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339302], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.284100' WHERE "spree_products"."id" = 1060500903 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500903], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.316487' WHERE "spree_products"."id" = 1060500903  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590442, 979460327) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500903]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500903 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339302) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339302], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.326044' WHERE "spree_products"."id" = 1060500903 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500903], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.327374' WHERE "spree_products"."id" = 1060500903  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590443, 979460328) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500903]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590441 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590442 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590443 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.350583' WHERE "spree_products"."id" = 1060500903  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590441 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.352001' WHERE "spree_products"."id" = 1060500903 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.353680' WHERE "spree_products"."id" = 1060500903  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590442 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.355414' WHERE "spree_products"."id" = 1060500903 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.357027' WHERE "spree_products"."id" = 1060500903  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590443 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.357804' WHERE "spree_products"."id" = 1060500903 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500903) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500903 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 11:08:12.360583' WHERE "spree_products"."id" = 1060500903 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (15.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.382205' WHERE "spree_products"."id" = 1060500904 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500904], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.383472' WHERE "spree_products"."id" = 1060500904  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590444 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.384852' WHERE "spree_products"."id" = 1060500904  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500904  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["product_id", nil], ["property_id", 905835146], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500904, "updated_at" = '2012-10-21 11:08:12.390584' WHERE "spree_product_properties"."id" = 1073273439 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451757 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500904 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500904, 558398964) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451759 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451759], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500904, 558398967) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451757 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398964 AND "spree_taxons"."taxonomy_id" = 854451757 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398964]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398964], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451757], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398964]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398968]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398968 THEN 558398964 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398964]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398968]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398968 AND "spree_taxons"."taxonomy_id" = 854451757 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398968]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558398968], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451757], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398968]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398969]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398969 THEN 558398968 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398968]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398969]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500904, 558398968)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500904, 558398969) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500904 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500904) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["option_type_id", 935339302], ["position", 1], ["product_id", 1060500904], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.427515' WHERE "spree_products"."id" = 1060500904 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500904], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.428433' WHERE "spree_products"."id" = 1060500904  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590445, 979460326) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500904]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500904 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.434751' WHERE "spree_products"."id" = 1060500904 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500904], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.435584' WHERE "spree_products"."id" = 1060500904  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590446, 979460327) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500904]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500904 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.441770' WHERE "spree_products"."id" = 1060500904 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500904], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.442808' WHERE "spree_products"."id" = 1060500904  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590447, 979460328) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500904]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590445 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590446 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590447 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.456580' WHERE "spree_products"."id" = 1060500904  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590445 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.457492' WHERE "spree_products"."id" = 1060500904 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.458875' WHERE "spree_products"."id" = 1060500904  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590446 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.459585' WHERE "spree_products"."id" = 1060500904 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.460778' WHERE "spree_products"."id" = 1060500904  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590447 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.461485' WHERE "spree_products"."id" = 1060500904 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500904) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500904 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 11:08:12.463571' WHERE "spree_products"."id" = 1060500904 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.471399' WHERE "spree_products"."id" = 1060500905 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500905], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.472486' WHERE "spree_products"."id" = 1060500905  (3.6ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590448 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.477344' WHERE "spree_products"."id" = 1060500905  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500905  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["product_id", nil], ["property_id", 905835147], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500905, "updated_at" = '2012-10-21 11:08:12.482330' WHERE "spree_product_properties"."id" = 1073273440 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["product_id", nil], ["property_id", 905835146], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500905, "updated_at" = '2012-10-21 11:08:12.485313' WHERE "spree_product_properties"."id" = 1073273441 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["product_id", nil], ["property_id", 905835148], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500905, "updated_at" = '2012-10-21 11:08:12.488968' WHERE "spree_product_properties"."id" = 1073273442 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451760 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451760], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500905 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500905, 558398970) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451757 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398964 AND "spree_taxons"."taxonomy_id" = 854451757 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500905, 558398965)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500905, 558398964) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500905 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500905) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["option_type_id", 935339302], ["position", 1], ["product_id", 1060500905], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.508928' WHERE "spree_products"."id" = 1060500905 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500905], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.509931' WHERE "spree_products"."id" = 1060500905  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590449, 979460326) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500905]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500905 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.516946' WHERE "spree_products"."id" = 1060500905 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500905], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.517967' WHERE "spree_products"."id" = 1060500905  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590450, 979460327) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500905]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500905 AND "spree_option_types"."id" = 935339302 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339302 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.524480' WHERE "spree_products"."id" = 1060500905 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500905], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.525585' WHERE "spree_products"."id" = 1060500905  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590451, 979460328) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500905]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500905 AND "spree_option_types"."id" = 935339303 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500905) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["option_type_id", 935339303], ["position", 2], ["product_id", 1060500905], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339303 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339303) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339303], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.538049' WHERE "spree_products"."id" = 1060500905 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500905], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.540302' WHERE "spree_products"."id" = 1060500905  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590452, 979460329) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500905]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500905 AND "spree_option_types"."id" = 935339303 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339303 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339303) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "colour"], ["option_type_id", 935339303], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.548549' WHERE "spree_products"."id" = 1060500905 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500905], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.549901' WHERE "spree_products"."id" = 1060500905  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590453, 979460330) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500905]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590449 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590450 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590451 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590452 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590453 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (49.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.613289' WHERE "spree_products"."id" = 1060500905  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590449 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.614725' WHERE "spree_products"."id" = 1060500905 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.615941' WHERE "spree_products"."id" = 1060500905  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590450 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.616897' WHERE "spree_products"."id" = 1060500905 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.617775' WHERE "spree_products"."id" = 1060500905  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590451 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.618852' WHERE "spree_products"."id" = 1060500905 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.619982' WHERE "spree_products"."id" = 1060500905  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590452 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.620831' WHERE "spree_products"."id" = 1060500905 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500905 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.622022' WHERE "spree_products"."id" = 1060500905  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590453 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.622933' WHERE "spree_products"."id" = 1060500905 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500905) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500905 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 11:08:12.625587' WHERE "spree_products"."id" = 1060500905  (12.0ms) commit transaction Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500903 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500903 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500904 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500904 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451757 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398964 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451757 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398968 LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398968 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398969 ORDER BY "lft" SQL (10.9ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (2.9ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500906 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.790324' WHERE "spree_products"."id" = 1060500906 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500906], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.792174' WHERE "spree_products"."id" = 1060500906  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.793898' WHERE "spree_products"."id" = 1060500906  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500906 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500906 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500906  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500906 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451761 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451761], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398971 AND "spree_taxons"."taxonomy_id" = 854451761 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398971]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398971], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451761], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398971]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398972]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398972 THEN 558398971 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398971]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398972]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500906 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500906, 558398972)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500906, 558398971) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500906) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451762 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451762], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500906, 558398973) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500906) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590454 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500906) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-21 11:08:12.822943' WHERE "spree_products"."id" = 1060500906  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.824402' WHERE "spree_products"."id" = 1060500906 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500906 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060500906 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500907 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.831032' WHERE "spree_products"."id" = 1060500907 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500907], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.832263' WHERE "spree_products"."id" = 1060500907  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590455 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.833435' WHERE "spree_products"."id" = 1060500907  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500907 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500907 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500907  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500907 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451761 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500907 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500907, 558398971) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500907) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451763], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500907, 558398974) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500907) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451761 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398971 AND "spree_taxons"."taxonomy_id" = 854451761 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398971]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398971], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451761], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398971]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398975]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398975 THEN 558398971 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398971]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398975]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398975 AND "spree_taxons"."taxonomy_id" = 854451761 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398975]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398975], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451761], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398975]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398976]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398976 THEN 558398975 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398975]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398976]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500907, 558398975)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500907, 558398976) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500907) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590455 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500907) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 11:08:12.865838' WHERE "spree_products"."id" = 1060500907  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590455 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.867433' WHERE "spree_products"."id" = 1060500907 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500907 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060500907 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500908 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.874276' WHERE "spree_products"."id" = 1060500908 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500908], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.875589' WHERE "spree_products"."id" = 1060500908  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.880859' WHERE "spree_products"."id" = 1060500908  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500908 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500908 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500908  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500908 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451764 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451764], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398977 AND "spree_taxons"."taxonomy_id" = 854451764 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398977]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398977], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451764], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398977]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398978]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398978 THEN 558398977 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398977]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398978]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500908 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500908, 558398978)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500908, 558398977) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500908) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451765 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451765], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500908, 558398979) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500908) LIMIT 1 Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590456 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500908) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-21 11:08:12.921024' WHERE "spree_products"."id" = 1060500908  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590456 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.922590' WHERE "spree_products"."id" = 1060500908 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500908 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060500908 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500909 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.931565' WHERE "spree_products"."id" = 1060500909 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500909], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.932386' WHERE "spree_products"."id" = 1060500909  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:12.933933' WHERE "spree_products"."id" = 1060500909  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500909 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500909 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500909  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500909 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451764 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398977 AND "spree_taxons"."taxonomy_id" = 854451764 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500909 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500909, 558398978)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500909, 558398977) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500909) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451761 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398971 AND "spree_taxons"."taxonomy_id" = 854451761 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398975 AND "spree_taxons"."taxonomy_id" = 854451761 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398975]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398975], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451761], ["updated_at", Sun, 21 Oct 2012 11:08:12 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398975]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398980]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398980 THEN 558398975 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398975]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398980]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398980 AND "spree_taxons"."taxonomy_id" = 854451761 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398980]] SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398980], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451761], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398980]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398981]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398981 THEN 558398980 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398980]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398981]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500909, 558398975)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500909, 558398980)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500909, 558398981)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500909, 558398971) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500909) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590457 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500909) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 11:08:13.034025' WHERE "spree_products"."id" = 1060500909  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.035736' WHERE "spree_products"."id" = 1060500909 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500909 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060500909 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500910 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.043184' WHERE "spree_products"."id" = 1060500910 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500910], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.044187' WHERE "spree_products"."id" = 1060500910  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.045697' WHERE "spree_products"."id" = 1060500910  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500910 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500910 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500910  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500910 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451764 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398977 AND "spree_taxons"."taxonomy_id" = 854451764 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398978 AND "spree_taxons"."taxonomy_id" = 854451764 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398978]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398978], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451764], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398978]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398982]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398982 THEN 558398978 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398978]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398982]] Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500910 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500910, 558398978)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500910, 558398982)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500910, 558398977) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500910) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500910, 558398974) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500910) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590458 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500910) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 11:08:13.065538' WHERE "spree_products"."id" = 1060500910  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.066982' WHERE "spree_products"."id" = 1060500910 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500910 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060500910 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction  (3.9ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451761 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451762 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451764 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451765 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.4ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451761 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451761 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398971 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398971) Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398975 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398975) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398975) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398971 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398975 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398980 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398981 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398980) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451764 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451764 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398978 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398978 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398982 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398982) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451763 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398974 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451765 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451765 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398979 ORDER BY "lft" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (3.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500911 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.159692' WHERE "spree_products"."id" = 1060500911 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500911], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.162143' WHERE "spree_products"."id" = 1060500911  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.163946' WHERE "spree_products"."id" = 1060500911  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500911 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500911 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500911  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500911 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451766 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451766], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398983 AND "spree_taxons"."taxonomy_id" = 854451766 LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398983]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558398983], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451766], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398983]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398984]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398984 THEN 558398983 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398983]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398984]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500911 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500911, 558398984)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500911, 558398983) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500911) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451767], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500911, 558398985) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500911) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590459 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500911) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-21 11:08:13.199762' WHERE "spree_products"."id" = 1060500911  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.201202' WHERE "spree_products"."id" = 1060500911 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500911 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500912 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.207728' WHERE "spree_products"."id" = 1060500912 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500912], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.208615' WHERE "spree_products"."id" = 1060500912  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590460 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.209594' WHERE "spree_products"."id" = 1060500912  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500912 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500912 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500912  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500912 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451766 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500912 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500912, 558398983) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500912) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451768 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451768], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500912, 558398986) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500912) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451766 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398983 AND "spree_taxons"."taxonomy_id" = 854451766 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398983]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558398983], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451766], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398983]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398987]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398987 THEN 558398983 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398983]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398987]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398987 AND "spree_taxons"."taxonomy_id" = 854451766 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398987]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558398987], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451766], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398987]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398988]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398988 THEN 558398987 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398987]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398988]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500912, 558398987)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500912, 558398988) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500912) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590460 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500912) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 11:08:13.245838' WHERE "spree_products"."id" = 1060500912  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590460 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.247710' WHERE "spree_products"."id" = 1060500912 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500912 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500913 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.254213' WHERE "spree_products"."id" = 1060500913 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500913], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.256028' WHERE "spree_products"."id" = 1060500913  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590461 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.257289' WHERE "spree_products"."id" = 1060500913  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500913 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500913 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500913  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500913 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451769], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398989 AND "spree_taxons"."taxonomy_id" = 854451769 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398989]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558398989], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854451769], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398989]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398990]] SQL (5.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398990 THEN 558398989 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398989]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398990]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500913 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500913, 558398990)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500913, 558398989) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500913) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451770 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854451770], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500913, 558398991) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500913) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590461 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500913) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-21 11:08:13.317905' WHERE "spree_products"."id" = 1060500913  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590461 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.319812' WHERE "spree_products"."id" = 1060500913 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500913 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500914 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.329596' WHERE "spree_products"."id" = 1060500914 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500914], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.331857' WHERE "spree_products"."id" = 1060500914  (0.8ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590462 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.333596' WHERE "spree_products"."id" = 1060500914  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500914 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500914 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500914  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500914 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398989 AND "spree_taxons"."taxonomy_id" = 854451769 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500914 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500914, 558398990)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500914, 558398989) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500914) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451766 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398983 AND "spree_taxons"."taxonomy_id" = 854451766 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398987 AND "spree_taxons"."taxonomy_id" = 854451766 LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398987]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558398987], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854451766], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398987]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398992]] SQL (7.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398992 THEN 558398987 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398987]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398992]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558398992 AND "spree_taxons"."taxonomy_id" = 854451766 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398992]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558398992], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854451766], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398992]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398993]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398993 THEN 558398992 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398992]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398993]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500914, 558398987)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500914, 558398992)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500914, 558398993)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500914, 558398983) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500914) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590462 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500914) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 11:08:13.374013' WHERE "spree_products"."id" = 1060500914  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590462 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.375445' WHERE "spree_products"."id" = 1060500914 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500914 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500915 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.387158' WHERE "spree_products"."id" = 1060500915 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500915], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.388345' WHERE "spree_products"."id" = 1060500915  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590463 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.389709' WHERE "spree_products"."id" = 1060500915  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500915 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500915 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500915  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500915 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398989 AND "spree_taxons"."taxonomy_id" = 854451769 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558398990 AND "spree_taxons"."taxonomy_id" = 854451769 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398990]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558398990], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854451769], ["updated_at", Sun, 21 Oct 2012 11:08:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558398990]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398994]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398994 THEN 558398990 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398990]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558398994]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500915 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500915, 558398990)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500915, 558398994)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500915, 558398989) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500915) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451768 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500915, 558398986) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500915) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590463 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500915) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 11:08:13.409007' WHERE "spree_products"."id" = 1060500915  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590463 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 11:08:13.410597' WHERE "spree_products"."id" = 1060500915 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500915  (7.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451766 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451768 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451770 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451766 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451766 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398983 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558398983) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398987 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398987) Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558398987) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (48.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398983 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398987 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398992 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398993 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558398992) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451769 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451769 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398990 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398990 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398994 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558398994) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451768 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451768 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398986 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451770 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451770 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558398991 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" SQL (4.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (5.1ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (9.6ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 Spree::Preference Load (1.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE ("spree_preferences"."key" IS NOT NULL) AND ("spree_preferences"."value_type" IS NOT NULL) SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (6.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:05.621000', 'f', 'Rest of World', 'ROW', '2012-10-21 17:09:05.621000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 51 Row org.apache.poi.hssf.usermodel.HSSFRow@2ee9c4 succesfully SAVED : ID 51 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:05.691000', 'f', 'United Kingdom', 'UK', '2012-10-21 17:09:05.691000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 52 Row org.apache.poi.hssf.usermodel.HSSFRow@1f44695 succesfully SAVED : ID 52 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:05.706000', 'f', 'Europe', 'EUR', '2012-10-21 17:09:05.706000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 53 Row org.apache.poi.hssf.usermodel.HSSFRow@184dc4e succesfully SAVED : ID 53 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:06.008000', 'f', 'North America', 'NA', '2012-10-21 17:09:06.008000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 54 Row org.apache.poi.hssf.usermodel.HSSFRow@f508b9 succesfully SAVED : ID 54 Current value to assign : Current value to assign :  (8.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (30.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (10.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:06.238000', 'f', 'Rest of World', 'ROW', '2012-10-21 17:09:06.238000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 55 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:06.282000', 'f', 'United Kingdom', 'UK', '2012-10-21 17:09:06.282000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 56 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:06.299000', 'f', 'Europe', 'EUR', '2012-10-21 17:09:06.299000', 0) Spree::ZoneMember Load (3.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 57 Current value to assign : NA Current value to assign : North America Saving csv row NANorth America to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-21 17:09:06.371000', 'f', 'North America', 'NA', '2012-10-21 17:09:06.371000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 58  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (33.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (28.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:06.788000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:06.788000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500916 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:06.820000' WHERE "spree_products"."id" = 1060500916 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060500916, 'SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:06.832000' WHERE "spree_products"."id" = 1060500916  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590464 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:06.840000' WHERE "spree_products"."id" = 1060500916  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500916 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500916 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500916  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500916 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590464 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500916) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:06.998000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:06.998000') Spree::OptionType Exists (4.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500916 AND "spree_option_types"."id" = 935339304 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500916) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:07.117000', 935339304, 1, 1060500916, '2012-10-21 17:09:07.117000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500916) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-21 17:09:07.134000' WHERE "spree_products"."id" = 1060500916  (2.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590464 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.155000' WHERE "spree_products"."id" = 1060500916 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500916 Row org.apache.poi.hssf.usermodel.HSSFRow@a2314d succesfully SAVED : ID 1060500916 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:07.176000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:07.176000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500917 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.189000' WHERE "spree_products"."id" = 1060500917 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500917, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.196000' WHERE "spree_products"."id" = 1060500917  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590465 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.206000' WHERE "spree_products"."id" = 1060500917  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500917 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500917 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500917  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500917 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590465 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500917) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500917 AND "spree_option_types"."id" = 935339304 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500917) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:07.291000', 935339304, 1, 1060500917, '2012-10-21 17:09:07.291000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500917) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 17:09:07.297000' WHERE "spree_products"."id" = 1060500917  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590465 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.317000' WHERE "spree_products"."id" = 1060500917 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500917 Row org.apache.poi.hssf.usermodel.HSSFRow@1e3426d succesfully SAVED : ID 1060500917 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-21 17:09:07.341000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-21 17:09:07.341000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500918 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.364000' WHERE "spree_products"."id" = 1060500918 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500918, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.368000' WHERE "spree_products"."id" = 1060500918  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590466 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.377000' WHERE "spree_products"."id" = 1060500918  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500918 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500918 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500918  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500918 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590466 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500918) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500918 AND "spree_option_types"."id" = 935339304 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500918) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:07.430000', 935339304, 1, 1060500918, '2012-10-21 17:09:07.430000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:07.439000', 'print_type', 0, 'Print type', '2012-10-21 17:09:07.439000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500918 AND "spree_option_types"."id" = 935339305 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500918) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:07.522000', 935339305, 2, 1060500918, '2012-10-21 17:09:07.522000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500918) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-21 17:09:07.535000' WHERE "spree_products"."id" = 1060500918  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013590466 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.541000' WHERE "spree_products"."id" = 1060500918 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500918 Row org.apache.poi.hssf.usermodel.HSSFRow@19a7a4a succesfully SAVED : ID 1060500918 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-21 17:09:07.629000')  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-21 17:09:07.631000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500916 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500916 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500916 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500918 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:07.818000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:07.818000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500919 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.849000' WHERE "spree_products"."id" = 1060500919 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060500919, 'SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.853000' WHERE "spree_products"."id" = 1060500919  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590467 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.858000' WHERE "spree_products"."id" = 1060500919  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500919 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500919 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500919  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500919 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590467 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500919) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:07.921000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:07.921000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500919 AND "spree_option_types"."id" = 935339306 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500919) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:07.936000', 935339306, 1, 1060500919, '2012-10-21 17:09:07.936000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500919) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-21 17:09:07.966000' WHERE "spree_products"."id" = 1060500919  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590467 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:07.978000' WHERE "spree_products"."id" = 1060500919 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500919 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:08.004000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:08.004000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500920 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.041000' WHERE "spree_products"."id" = 1060500920 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500920, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.047000' WHERE "spree_products"."id" = 1060500920  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590468 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.064000' WHERE "spree_products"."id" = 1060500920  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500920 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500920 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500920  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500920 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590468 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500920) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500920 AND "spree_option_types"."id" = 935339306 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500920) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:08.130000', 935339306, 1, 1060500920, '2012-10-21 17:09:08.130000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500920) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 17:09:08.135000' WHERE "spree_products"."id" = 1060500920  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590468 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.156000' WHERE "spree_products"."id" = 1060500920 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500920 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-21 17:09:08.184000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-21 17:09:08.184000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500921 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.199000' WHERE "spree_products"."id" = 1060500921 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500921, 'SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.203000' WHERE "spree_products"."id" = 1060500921  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590469 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.226000' WHERE "spree_products"."id" = 1060500921  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500921 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500921 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500921  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500921 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590469 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500921) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500921 AND "spree_option_types"."id" = 935339306 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500921) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:08.314000', 935339306, 1, 1060500921, '2012-10-21 17:09:08.314000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:08.322000', 'print_type', 0, 'Print type', '2012-10-21 17:09:08.322000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500921 AND "spree_option_types"."id" = 935339307 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500921) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:08.341000', 935339307, 2, 1060500921, '2012-10-21 17:09:08.341000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500921) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-21 17:09:08.380000' WHERE "spree_products"."id" = 1060500921  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013590469 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.415000' WHERE "spree_products"."id" = 1060500921 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500921  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-21 17:09:08.447000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-21 17:09:08.449000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500919 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500919 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500919 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500921 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (25.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-21 18:09:08.000000', 0, '2012-10-21 17:09:08.649000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:08.649000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500922 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.659000' WHERE "spree_products"."id" = 1060500922 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060500922, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.662000' WHERE "spree_products"."id" = 1060500922  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590470 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.668000' WHERE "spree_products"."id" = 1060500922  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500922 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500922 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500922  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500922 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:08.679000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:08.679000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500922 AND "spree_option_types"."id" = 935339308 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500922) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:08.700000', 935339308, 1, 1060500922, '2012-10-21 17:09:08.700000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500922) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1d51a74 succesfully SAVED : ID 1060500922 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-21 18:09:08.000000', 0, '2012-10-21 17:09:08.752000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:08.752000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500923 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.759000' WHERE "spree_products"."id" = 1060500923 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500923, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.771000' WHERE "spree_products"."id" = 1060500923  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590471 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.795000' WHERE "spree_products"."id" = 1060500923  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500923 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500923 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500923  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500923 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500923 AND "spree_option_types"."id" = 935339308 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500923) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:08.840000', 935339308, 1, 1060500923, '2012-10-21 17:09:08.840000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500923) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@4c1cd succesfully SAVED : ID 1060500923 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-21 18:09:08.000000', 0, '2012-10-21 17:09:08.894000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-21 17:09:08.894000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500924 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.900000' WHERE "spree_products"."id" = 1060500924 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500924, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.907000' WHERE "spree_products"."id" = 1060500924  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590472 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:08.912000' WHERE "spree_products"."id" = 1060500924  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500924 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500924  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500924 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500924 AND "spree_option_types"."id" = 935339308 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500924) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:08.927000', 935339308, 1, 1060500924, '2012-10-21 17:09:08.927000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:08.940000', 'print_type', 0, 'Print type', '2012-10-21 17:09:08.940000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500924 AND "spree_option_types"."id" = 935339309 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500924) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:08.952000', 935339309, 2, 1060500924, '2012-10-21 17:09:08.952000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500924) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1639204 succesfully SAVED : ID 1060500924 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500922 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (21.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (16.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (5.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-21 17:09:09.174000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:09.174000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500925 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.187000' WHERE "spree_products"."id" = 1060500925 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060500925, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.191000' WHERE "spree_products"."id" = 1060500925  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590473 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.215000' WHERE "spree_products"."id" = 1060500925  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500925 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500925  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500925 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:09.224000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:09.224000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500925 AND "spree_option_types"."id" = 935339310 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500925) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:09.242000', 935339310, 1, 1060500925, '2012-10-21 17:09:09.242000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060500925) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1441ae4 succesfully SAVED : ID 1060500925 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-21 17:09:09.295000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:09.295000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500926 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.303000' WHERE "spree_products"."id" = 1060500926 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500926, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.355000' WHERE "spree_products"."id" = 1060500926  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590474 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.358000' WHERE "spree_products"."id" = 1060500926  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500926 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500926  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500926 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500926 AND "spree_option_types"."id" = 935339310 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500926) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:09.376000', 935339310, 1, 1060500926, '2012-10-21 17:09:09.376000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060500926) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1d2fd72 succesfully SAVED : ID 1060500926 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-21 17:09:09.447000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-21 17:09:09.447000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500927 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.453000' WHERE "spree_products"."id" = 1060500927 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500927, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.461000' WHERE "spree_products"."id" = 1060500927  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590475 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.464000' WHERE "spree_products"."id" = 1060500927  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500927 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500927  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500927 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500927 AND "spree_option_types"."id" = 935339310 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500927) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:09.481000', 935339310, 1, 1060500927, '2012-10-21 17:09:09.481000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:09.488000', 'print_type', 0, 'Print type', '2012-10-21 17:09:09.488000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500927 AND "spree_option_types"."id" = 935339311 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500927) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:09.502000', 935339311, 2, 1060500927, '2012-10-21 17:09:09.502000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060500927) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@955df succesfully SAVED : ID 1060500927 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500925 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:09.700000', 'test_pp_001', 'Test PP 001', '2012-10-21 17:09:09.700000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (2.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:09.733000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:09.733000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.755000' WHERE "spree_products"."id" = 1060500928 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500928, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.758000' WHERE "spree_products"."id" = 1060500928  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590476 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:09.772000' WHERE "spree_products"."id" = 1060500928  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500928  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:09.829000', NULL, 905835149, '2012-10-21 17:09:09.829000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500928, "updated_at" = '2012-10-21 17:09:09.844000' WHERE "spree_product_properties"."id" = 1073273443 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500928) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:09.864000', 'Paintings', '2012-10-21 17:09:09.864000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451771 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:09.911000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451771, '2012-10-21 17:09:09.911000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500928 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500928, 558398995) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:09.927000', 'WaterColour', '2012-10-21 17:09:09.927000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451772 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:09.932000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854451772, '2012-10-21 17:09:09.932000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500928, 558398996) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500928) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500928) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:09.966000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:09.966000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500928 AND "spree_option_types"."id" = 935339312 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500928) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:09.981000', 935339312, 1, 1060500928, '2012-10-21 17:09:09.981000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339312) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.030000', 'jpeg', 935339312, 1, NULL, '2012-10-21 17:09:10.030000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.038000' WHERE "spree_products"."id" = 1060500928 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500928, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.045000' WHERE "spree_products"."id" = 1060500928  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590477, 979460331) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339312) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.056000', 'PDF', 935339312, 2, NULL, '2012-10-21 17:09:10.056000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.063000' WHERE "spree_products"."id" = 1060500928 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500928, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.064000' WHERE "spree_products"."id" = 1060500928  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590478, 979460332) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339312) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.069000', 'PNG', 935339312, 3, NULL, '2012-10-21 17:09:10.069000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.083000' WHERE "spree_products"."id" = 1060500928 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500928, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.089000' WHERE "spree_products"."id" = 1060500928  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590479, 979460333) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500928) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590477 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590478 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590479 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500928) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.121000' WHERE "spree_products"."id" = 1060500928  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590477 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.126000' WHERE "spree_products"."id" = 1060500928 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.129000' WHERE "spree_products"."id" = 1060500928  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590478 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.132000' WHERE "spree_products"."id" = 1060500928 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500928 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.134000' WHERE "spree_products"."id" = 1060500928  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590479 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.149000' WHERE "spree_products"."id" = 1060500928 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500928) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500928 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:10.181000' WHERE "spree_products"."id" = 1060500928 Row org.apache.poi.hssf.usermodel.HSSFRow@b8e467 succesfully SAVED : ID 1060500928 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:10.221000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:10.221000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.228000' WHERE "spree_products"."id" = 1060500929 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500929, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.230000' WHERE "spree_products"."id" = 1060500929  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590480 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.234000' WHERE "spree_products"."id" = 1060500929  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500929  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.244000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:10.244000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:10.247000', NULL, 905835150, '2012-10-21 17:09:10.247000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500929, "updated_at" = '2012-10-21 17:09:10.250000' WHERE "spree_product_properties"."id" = 1073273444 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500929) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451771 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500929 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500929, 558398995) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:10.269000', 'Oils', '2012-10-21 17:09:10.269000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451773 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:10.275000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854451773, '2012-10-21 17:09:10.275000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500929, 558398997) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451771 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558398995 AND "spree_taxons"."taxonomy_id" = 854451771 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398995 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:10.288000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558398995, 'paintings/nature', 0, 8, 854451771, '2012-10-21 17:09:10.288000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398995 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398998 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398998 THEN 558398995 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398995 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398998 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558398998 AND "spree_taxons"."taxonomy_id" = 854451771 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398998 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:10.307000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558398998, 'paintings/nature/seascape', 0, 10, 854451771, '2012-10-21 17:09:10.307000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398998 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398999 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558398999 THEN 558398998 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398998 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398999 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500929, 558398998)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500929, 558398999) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500929) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500929 AND "spree_option_types"."id" = 935339312 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500929) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:10.338000', 935339312, 1, 1060500929, '2012-10-21 17:09:10.338000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.356000' WHERE "spree_products"."id" = 1060500929 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500929, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.361000' WHERE "spree_products"."id" = 1060500929  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590481, 979460331) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.367000' WHERE "spree_products"."id" = 1060500929 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500929, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.370000' WHERE "spree_products"."id" = 1060500929  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590482, 979460332) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.376000' WHERE "spree_products"."id" = 1060500929 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500929, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.379000' WHERE "spree_products"."id" = 1060500929  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590483, 979460333) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500929) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500929) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590481 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590482 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590483 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500929) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.414000' WHERE "spree_products"."id" = 1060500929  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590481 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.419000' WHERE "spree_products"."id" = 1060500929 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.421000' WHERE "spree_products"."id" = 1060500929  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590482 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.423000' WHERE "spree_products"."id" = 1060500929 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500929 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.425000' WHERE "spree_products"."id" = 1060500929  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590483 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.449000' WHERE "spree_products"."id" = 1060500929 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500929) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500929 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:10.455000' WHERE "spree_products"."id" = 1060500929 Row org.apache.poi.hssf.usermodel.HSSFRow@181121 succesfully SAVED : ID 1060500929 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:10.469000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:10.469000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.476000' WHERE "spree_products"."id" = 1060500930 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500930, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.478000' WHERE "spree_products"."id" = 1060500930  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590484 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.481000' WHERE "spree_products"."id" = 1060500930  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500930  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.491000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:10.491000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:10.495000', NULL, 905835151, '2012-10-21 17:09:10.495000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500930, "updated_at" = '2012-10-21 17:09:10.498000' WHERE "spree_product_properties"."id" = 1073273445 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:10.502000', NULL, 905835150, '2012-10-21 17:09:10.502000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500930, "updated_at" = '2012-10-21 17:09:10.511000' WHERE "spree_product_properties"."id" = 1073273446 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.528000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:10.528000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:10.532000', NULL, 905835152, '2012-10-21 17:09:10.532000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500930, "updated_at" = '2012-10-21 17:09:10.533000' WHERE "spree_product_properties"."id" = 1073273447 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500930) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:10.542000', 'Drawings', '2012-10-21 17:09:10.542000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451774 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:10.549000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854451774, '2012-10-21 17:09:10.549000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500930 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500930, 558399000) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451771 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558398995 AND "spree_taxons"."taxonomy_id" = 854451771 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398995 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:10.565000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558398995, 'paintings/landscape', 0, 14, 854451771, '2012-10-21 17:09:10.565000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398995 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399001 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399001 THEN 558398995 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558398995 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399001 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500930, 558399001)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500930, 558398995) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500930) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500930) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500930 AND "spree_option_types"."id" = 935339312 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500930) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:10.590000', 935339312, 1, 1060500930, '2012-10-21 17:09:10.590000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.597000' WHERE "spree_products"."id" = 1060500930 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500930, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.603000' WHERE "spree_products"."id" = 1060500930  (3.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590485, 979460331) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.639000' WHERE "spree_products"."id" = 1060500930 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500930, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.643000' WHERE "spree_products"."id" = 1060500930  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590486, 979460332) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339312 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.651000' WHERE "spree_products"."id" = 1060500930 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500930, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.654000' WHERE "spree_products"."id" = 1060500930  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590487, 979460333) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.666000', 'print_type', 0, 'Print type', '2012-10-21 17:09:10.666000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500930 AND "spree_option_types"."id" = 935339313 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500930) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:10.679000', 935339313, 2, 1060500930, '2012-10-21 17:09:10.679000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339313 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339313) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.683000', 'black_white', 935339313, 1, NULL, '2012-10-21 17:09:10.683000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.722000' WHERE "spree_products"."id" = 1060500930 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500930, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.726000' WHERE "spree_products"."id" = 1060500930  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590488, 979460334) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339313 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339313) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:10.730000', 'colour', 935339313, 2, NULL, '2012-10-21 17:09:10.730000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.744000' WHERE "spree_products"."id" = 1060500930 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500930, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.747000' WHERE "spree_products"."id" = 1060500930  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590489, 979460335) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500930) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590485 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590486 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590487 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590488 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590489 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500930) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.797000' WHERE "spree_products"."id" = 1060500930  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590485 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.799000' WHERE "spree_products"."id" = 1060500930 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.802000' WHERE "spree_products"."id" = 1060500930  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590486 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.804000' WHERE "spree_products"."id" = 1060500930 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.807000' WHERE "spree_products"."id" = 1060500930  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590487 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.808000' WHERE "spree_products"."id" = 1060500930 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.811000' WHERE "spree_products"."id" = 1060500930  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590488 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.813000' WHERE "spree_products"."id" = 1060500930 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500930 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.816000' WHERE "spree_products"."id" = 1060500930  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590489 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:10.821000' WHERE "spree_products"."id" = 1060500930 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500930) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500930 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:10.831000' WHERE "spree_products"."id" = 1060500930 Row org.apache.poi.hssf.usermodel.HSSFRow@12e53c6 succesfully SAVED : ID 1060500930 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500928 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500930 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500930 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.051000', 'test_pp_001', 'Test PP 001', '2012-10-21 17:09:11.051000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:11.152000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:11.152000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.160000' WHERE "spree_products"."id" = 1060500931 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500931, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.165000' WHERE "spree_products"."id" = 1060500931  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590490 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.168000' WHERE "spree_products"."id" = 1060500931  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500931  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:11.176000', NULL, 905835153, '2012-10-21 17:09:11.176000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500931, "updated_at" = '2012-10-21 17:09:11.179000' WHERE "spree_product_properties"."id" = 1073273448 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::Taxonomy Load (2.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:11.191000', 'Paintings', '2012-10-21 17:09:11.191000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:11.196000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451775, '2012-10-21 17:09:11.196000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500931 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500931, 558399002) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:11.218000', 'WaterColour', '2012-10-21 17:09:11.218000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451776 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:11.224000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854451776, '2012-10-21 17:09:11.224000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500931, 558399003) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.235000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:11.235000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500931 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500931) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:11.247000', 935339314, 1, 1060500931, '2012-10-21 17:09:11.247000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339314) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.251000', 'jpeg', 935339314, 1, NULL, '2012-10-21 17:09:11.251000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.255000' WHERE "spree_products"."id" = 1060500931 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500931, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.258000' WHERE "spree_products"."id" = 1060500931  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590491, 979460336) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500931 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339314) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.303000', 'PDF', 935339314, 2, NULL, '2012-10-21 17:09:11.303000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.317000' WHERE "spree_products"."id" = 1060500931 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500931, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.320000' WHERE "spree_products"."id" = 1060500931  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590492, 979460337) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500931 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339314) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.333000', 'PNG', 935339314, 3, NULL, '2012-10-21 17:09:11.333000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.339000' WHERE "spree_products"."id" = 1060500931 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500931, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.341000' WHERE "spree_products"."id" = 1060500931  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590493, 979460338) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590491 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590492 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590493 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.386000' WHERE "spree_products"."id" = 1060500931  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590491 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.389000' WHERE "spree_products"."id" = 1060500931 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.393000' WHERE "spree_products"."id" = 1060500931  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590492 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.398000' WHERE "spree_products"."id" = 1060500931 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500931 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.401000' WHERE "spree_products"."id" = 1060500931  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590493 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.408000' WHERE "spree_products"."id" = 1060500931 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500931) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500931 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:11.414000' WHERE "spree_products"."id" = 1060500931 Row org.apache.poi.hssf.usermodel.HSSFRow@3edf79 succesfully SAVED : ID 1060500931 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:11.437000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:11.437000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.442000' WHERE "spree_products"."id" = 1060500932 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500932, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.445000' WHERE "spree_products"."id" = 1060500932  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590494 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.448000' WHERE "spree_products"."id" = 1060500932  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500932  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.458000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:11.458000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:11.467000', NULL, 905835154, '2012-10-21 17:09:11.467000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500932, "updated_at" = '2012-10-21 17:09:11.469000' WHERE "spree_product_properties"."id" = 1073273449 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500932 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500932, 558399002) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:11.491000', 'Oils', '2012-10-21 17:09:11.491000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451777 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:11.498000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854451777, '2012-10-21 17:09:11.498000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500932, 558399004) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399002 AND "spree_taxons"."taxonomy_id" = 854451775 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399002 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:11.517000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558399002, 'paintings/nature', 0, 8, 854451775, '2012-10-21 17:09:11.517000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399002 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399005 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399005 THEN 558399002 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399002 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399005 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399005 AND "spree_taxons"."taxonomy_id" = 854451775 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399005 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:11.535000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558399005, 'paintings/nature/seascape', 0, 10, 854451775, '2012-10-21 17:09:11.535000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399005 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399006 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399006 THEN 558399005 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399005 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399006 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500932, 558399005)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500932, 558399006) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500932 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500932) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:11.560000', 935339314, 1, 1060500932, '2012-10-21 17:09:11.560000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.567000' WHERE "spree_products"."id" = 1060500932 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500932, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.569000' WHERE "spree_products"."id" = 1060500932  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590495, 979460336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500932 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.586000' WHERE "spree_products"."id" = 1060500932 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500932, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.592000' WHERE "spree_products"."id" = 1060500932  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590496, 979460337) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500932 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.632000' WHERE "spree_products"."id" = 1060500932 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500932, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.635000' WHERE "spree_products"."id" = 1060500932  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590497, 979460338) Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590495 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590496 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590497 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.683000' WHERE "spree_products"."id" = 1060500932  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590495 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.685000' WHERE "spree_products"."id" = 1060500932 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.689000' WHERE "spree_products"."id" = 1060500932  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590496 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.691000' WHERE "spree_products"."id" = 1060500932 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500932 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.693000' WHERE "spree_products"."id" = 1060500932  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590497 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.695000' WHERE "spree_products"."id" = 1060500932 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500932) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500932 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:11.700000' WHERE "spree_products"."id" = 1060500932 Row org.apache.poi.hssf.usermodel.HSSFRow@1abe81a succesfully SAVED : ID 1060500932 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:11.711000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:11.711000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.715000' WHERE "spree_products"."id" = 1060500933 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500933, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.718000' WHERE "spree_products"."id" = 1060500933  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590498 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.721000' WHERE "spree_products"."id" = 1060500933  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500933  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.734000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:11.734000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:11.741000', NULL, 905835155, '2012-10-21 17:09:11.741000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500933, "updated_at" = '2012-10-21 17:09:11.743000' WHERE "spree_product_properties"."id" = 1073273450 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:11.750000', NULL, 905835154, '2012-10-21 17:09:11.750000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500933, "updated_at" = '2012-10-21 17:09:11.753000' WHERE "spree_product_properties"."id" = 1073273451 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.757000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:11.757000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:11.759000', NULL, 905835156, '2012-10-21 17:09:11.759000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500933, "updated_at" = '2012-10-21 17:09:11.761000' WHERE "spree_product_properties"."id" = 1073273452 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:11.767000', 'Drawings', '2012-10-21 17:09:11.767000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451778 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:11.775000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854451778, '2012-10-21 17:09:11.775000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500933 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500933, 558399007) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399002 AND "spree_taxons"."taxonomy_id" = 854451775 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399002 LIMIT 1 SQL (3.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:11.794000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558399002, 'paintings/landscape', 0, 14, 854451775, '2012-10-21 17:09:11.794000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399002 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399008 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399008 THEN 558399002 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399002 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399008 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500933, 558399008)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500933, 558399002) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500933 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500933) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:11.818000', 935339314, 1, 1060500933, '2012-10-21 17:09:11.818000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.826000' WHERE "spree_products"."id" = 1060500933 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500933, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.828000' WHERE "spree_products"."id" = 1060500933  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590499, 979460336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500933 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.844000' WHERE "spree_products"."id" = 1060500933 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500933, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.846000' WHERE "spree_products"."id" = 1060500933  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590500, 979460337) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500933 AND "spree_option_types"."id" = 935339314 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339314 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.868000' WHERE "spree_products"."id" = 1060500933 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500933, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.871000' WHERE "spree_products"."id" = 1060500933  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590501, 979460338) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.897000', 'print_type', 0, 'Print type', '2012-10-21 17:09:11.897000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500933 AND "spree_option_types"."id" = 935339315 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500933) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:11.905000', 935339315, 2, 1060500933, '2012-10-21 17:09:11.905000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339315 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339315) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.911000', 'black_white', 935339315, 1, NULL, '2012-10-21 17:09:11.911000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.950000' WHERE "spree_products"."id" = 1060500933 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500933, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.954000' WHERE "spree_products"."id" = 1060500933  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590502, 979460339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500933 AND "spree_option_types"."id" = 935339315 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339315 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339315) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:11.968000', 'colour', 935339315, 2, NULL, '2012-10-21 17:09:11.968000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.974000' WHERE "spree_products"."id" = 1060500933 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500933, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:11.976000' WHERE "spree_products"."id" = 1060500933  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590503, 979460340) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590499 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590500 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590501 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590502 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590503 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.021000' WHERE "spree_products"."id" = 1060500933  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590499 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.024000' WHERE "spree_products"."id" = 1060500933 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.026000' WHERE "spree_products"."id" = 1060500933  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590500 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.028000' WHERE "spree_products"."id" = 1060500933 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.032000' WHERE "spree_products"."id" = 1060500933  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590501 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.034000' WHERE "spree_products"."id" = 1060500933 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.037000' WHERE "spree_products"."id" = 1060500933  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590502 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.039000' WHERE "spree_products"."id" = 1060500933 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500933 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.041000' WHERE "spree_products"."id" = 1060500933  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590503 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.043000' WHERE "spree_products"."id" = 1060500933 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500933) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500933 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:12.047000' WHERE "spree_products"."id" = 1060500933 Row org.apache.poi.hssf.usermodel.HSSFRow@199723f succesfully SAVED : ID 1060500933 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (6.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500931 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060500933 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060500933 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (14.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (14.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (16.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (24.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:12.732000', 'Paintings', '2012-10-21 17:09:12.732000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451779 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:12.746000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451779, '2012-10-21 17:09:12.746000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:12.767000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451779, '2012-10-21 17:09:12.767000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:12.796000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:12.796000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.830000' WHERE "spree_products"."id" = 1060500934 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500934, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.834000' WHERE "spree_products"."id" = 1060500934  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590504 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.840000' WHERE "spree_products"."id" = 1060500934  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500934  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:12.855000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:12.855000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:12.860000', NULL, 905835157, '2012-10-21 17:09:12.860000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500934, "updated_at" = '2012-10-21 17:09:12.862000' WHERE "spree_product_properties"."id" = 1073273453 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500934) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451779 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500934 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500934, 558399009) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:12.874000', 'WaterColour', '2012-10-21 17:09:12.874000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451780 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:12.880000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451780, '2012-10-21 17:09:12.880000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500934, 558399011) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500934) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500934) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:12.898000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:12.898000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500934 AND "spree_option_types"."id" = 935339316 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500934) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:12.912000', 935339316, 1, 1060500934, '2012-10-21 17:09:12.912000') Spree::OptionValue Load (25.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339316) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:12.947000', 'jpeg', 935339316, 1, NULL, '2012-10-21 17:09:12.947000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.953000' WHERE "spree_products"."id" = 1060500934 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500934, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.955000' WHERE "spree_products"."id" = 1060500934  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590505, 979460341) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339316) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:12.962000', 'PDF', 935339316, 2, NULL, '2012-10-21 17:09:12.962000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.969000' WHERE "spree_products"."id" = 1060500934 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500934, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.971000' WHERE "spree_products"."id" = 1060500934  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590506, 979460342) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339316) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:12.977000', 'PNG', 935339316, 3, NULL, '2012-10-21 17:09:12.977000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.991000' WHERE "spree_products"."id" = 1060500934 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500934, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:12.993000' WHERE "spree_products"."id" = 1060500934  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590507, 979460343) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500934) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590505 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590506 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590507 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500934) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.018000' WHERE "spree_products"."id" = 1060500934  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590505 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.021000' WHERE "spree_products"."id" = 1060500934 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.023000' WHERE "spree_products"."id" = 1060500934  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590506 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.024000' WHERE "spree_products"."id" = 1060500934 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500934 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.027000' WHERE "spree_products"."id" = 1060500934  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590507 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.030000' WHERE "spree_products"."id" = 1060500934 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500934) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:13.034000' WHERE "spree_products"."id" = 1060500934 Row org.apache.poi.hssf.usermodel.HSSFRow@a042dc succesfully SAVED : ID 1060500934 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:13.050000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:13.050000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.055000' WHERE "spree_products"."id" = 1060500935 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500935, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.057000' WHERE "spree_products"."id" = 1060500935  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590508 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.060000' WHERE "spree_products"."id" = 1060500935  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500935  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:13.066000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:13.066000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:13.069000', NULL, 905835158, '2012-10-21 17:09:13.069000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500935, "updated_at" = '2012-10-21 17:09:13.070000' WHERE "spree_product_properties"."id" = 1073273454 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500935) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451779 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500935 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500935, 558399009) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:13.078000', 'Oils', '2012-10-21 17:09:13.078000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451781 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:13.084000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451781, '2012-10-21 17:09:13.084000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500935, 558399012) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451779 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399009 AND "spree_taxons"."taxonomy_id" = 854451779 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399009 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:13.115000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399009, 'paintings/nature', 0, 10, 854451779, '2012-10-21 17:09:13.115000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399009 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399013 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399013 THEN 558399009 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399009 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399013 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399013 AND "spree_taxons"."taxonomy_id" = 854451779 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399013 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:13.159000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399013, 'paintings/nature/seascape', 0, 12, 854451779, '2012-10-21 17:09:13.159000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399013 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399014 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399014 THEN 558399013 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399013 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399014 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500935, 558399013)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500935, 558399014) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500935) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500935 AND "spree_option_types"."id" = 935339316 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500935) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:13.177000', 935339316, 1, 1060500935, '2012-10-21 17:09:13.177000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.189000' WHERE "spree_products"."id" = 1060500935 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500935, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.191000' WHERE "spree_products"."id" = 1060500935  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590509, 979460341) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.203000' WHERE "spree_products"."id" = 1060500935 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500935, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.207000' WHERE "spree_products"."id" = 1060500935  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590510, 979460342) Spree::OptionValue Load (4.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.219000' WHERE "spree_products"."id" = 1060500935 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500935, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.222000' WHERE "spree_products"."id" = 1060500935  (3.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590511, 979460343) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500935) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500935) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590509 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590510 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590511 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500935) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.276000' WHERE "spree_products"."id" = 1060500935  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590509 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.278000' WHERE "spree_products"."id" = 1060500935 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.280000' WHERE "spree_products"."id" = 1060500935  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590510 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.283000' WHERE "spree_products"."id" = 1060500935 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500935 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.294000' WHERE "spree_products"."id" = 1060500935  (3.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590511 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.300000' WHERE "spree_products"."id" = 1060500935 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500935) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:13.304000' WHERE "spree_products"."id" = 1060500935 Row org.apache.poi.hssf.usermodel.HSSFRow@d9d889 succesfully SAVED : ID 1060500935 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:13.316000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:13.316000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.323000' WHERE "spree_products"."id" = 1060500936 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500936, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.325000' WHERE "spree_products"."id" = 1060500936  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590512 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.328000' WHERE "spree_products"."id" = 1060500936  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500936  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:13.336000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:13.336000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:13.338000', NULL, 905835159, '2012-10-21 17:09:13.338000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500936, "updated_at" = '2012-10-21 17:09:13.340000' WHERE "spree_product_properties"."id" = 1073273455 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:13.343000', NULL, 905835158, '2012-10-21 17:09:13.343000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500936, "updated_at" = '2012-10-21 17:09:13.346000' WHERE "spree_product_properties"."id" = 1073273456 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:13.352000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:13.352000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:13.357000', NULL, 905835160, '2012-10-21 17:09:13.357000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500936, "updated_at" = '2012-10-21 17:09:13.358000' WHERE "spree_product_properties"."id" = 1073273457 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500936) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:13.364000', 'Drawings', '2012-10-21 17:09:13.364000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451782 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:13.368000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451782, '2012-10-21 17:09:13.368000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500936 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500936, 558399015) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451779 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399009 AND "spree_taxons"."taxonomy_id" = 854451779 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399009 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:13.380000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399009, 'paintings/landscape', 0, 16, 854451779, '2012-10-21 17:09:13.380000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399009 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399016 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399016 THEN 558399009 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399009 LIMIT 1 Spree::Taxon Load (2.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399016 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500936, 558399016)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500936, 558399009) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500936) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500936) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500936 AND "spree_option_types"."id" = 935339316 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500936) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:13.412000', 935339316, 1, 1060500936, '2012-10-21 17:09:13.412000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.417000' WHERE "spree_products"."id" = 1060500936 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500936, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.422000' WHERE "spree_products"."id" = 1060500936  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590513, 979460341) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.426000' WHERE "spree_products"."id" = 1060500936 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500936, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.429000' WHERE "spree_products"."id" = 1060500936  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590514, 979460342) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339316 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.433000' WHERE "spree_products"."id" = 1060500936 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500936, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.437000' WHERE "spree_products"."id" = 1060500936  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590515, 979460343) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:13.446000', 'print_type', 0, 'Print type', '2012-10-21 17:09:13.446000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500936 AND "spree_option_types"."id" = 935339317 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500936) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:13.601000', 935339317, 2, 1060500936, '2012-10-21 17:09:13.601000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339317 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339317) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:13.606000', 'black_white', 935339317, 1, NULL, '2012-10-21 17:09:13.606000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.616000' WHERE "spree_products"."id" = 1060500936 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500936, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.619000' WHERE "spree_products"."id" = 1060500936  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590516, 979460344) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339317 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339317) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:13.624000', 'colour', 935339317, 2, NULL, '2012-10-21 17:09:13.624000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.628000' WHERE "spree_products"."id" = 1060500936 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500936, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.630000' WHERE "spree_products"."id" = 1060500936  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590517, 979460345) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500936) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590513 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590514 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590515 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590516 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590517 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500936) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.667000' WHERE "spree_products"."id" = 1060500936  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590513 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.669000' WHERE "spree_products"."id" = 1060500936 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.683000' WHERE "spree_products"."id" = 1060500936  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590514 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.685000' WHERE "spree_products"."id" = 1060500936 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.688000' WHERE "spree_products"."id" = 1060500936  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590515 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.689000' WHERE "spree_products"."id" = 1060500936 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.691000' WHERE "spree_products"."id" = 1060500936  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590516 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.693000' WHERE "spree_products"."id" = 1060500936 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500936 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.695000' WHERE "spree_products"."id" = 1060500936  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590517 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:13.696000' WHERE "spree_products"."id" = 1060500936 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500936) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:13.708000' WHERE "spree_products"."id" = 1060500936 Row org.apache.poi.hssf.usermodel.HSSFRow@18144f7 succesfully SAVED : ID 1060500936 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500935 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500936 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500934 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500934 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590505 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590506 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339316 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590507 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (19.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:13.977000', 'Paintings', '2012-10-21 17:09:13.977000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451783 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.355000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451783, '2012-10-21 17:09:14.355000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.373000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451783, '2012-10-21 17:09:14.373000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:14.425000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:14.425000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.429000' WHERE "spree_products"."id" = 1060500937 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500937, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.432000' WHERE "spree_products"."id" = 1060500937  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590518 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.448000' WHERE "spree_products"."id" = 1060500937  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500937  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.456000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:14.456000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:14.459000', NULL, 905835161, '2012-10-21 17:09:14.459000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500937, "updated_at" = '2012-10-21 17:09:14.461000' WHERE "spree_product_properties"."id" = 1073273458 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451783 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500937 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500937, 558399017) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:14.476000', 'WaterColour', '2012-10-21 17:09:14.476000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451784 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.481000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451784, '2012-10-21 17:09:14.481000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500937, 558399019) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.496000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:14.496000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500937 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500937) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:14.504000', 935339318, 1, 1060500937, '2012-10-21 17:09:14.504000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339318) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.528000', 'jpeg', 935339318, 1, NULL, '2012-10-21 17:09:14.528000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.536000' WHERE "spree_products"."id" = 1060500937 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500937, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.538000' WHERE "spree_products"."id" = 1060500937  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590519, 979460346) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500937 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339318) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.550000', 'PDF', 935339318, 2, NULL, '2012-10-21 17:09:14.550000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.556000' WHERE "spree_products"."id" = 1060500937 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500937, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.560000' WHERE "spree_products"."id" = 1060500937  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590520, 979460347) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500937 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339318) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.572000', 'PNG', 935339318, 3, NULL, '2012-10-21 17:09:14.572000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.577000' WHERE "spree_products"."id" = 1060500937 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500937, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.579000' WHERE "spree_products"."id" = 1060500937  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590521, 979460348) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590519 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590520 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590521 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.602000' WHERE "spree_products"."id" = 1060500937  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590519 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.604000' WHERE "spree_products"."id" = 1060500937 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.606000' WHERE "spree_products"."id" = 1060500937  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590520 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.607000' WHERE "spree_products"."id" = 1060500937 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500937 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.609000' WHERE "spree_products"."id" = 1060500937  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590521 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.610000' WHERE "spree_products"."id" = 1060500937 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500937) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:14.616000' WHERE "spree_products"."id" = 1060500937 Row org.apache.poi.hssf.usermodel.HSSFRow@1868764 succesfully SAVED : ID 1060500937 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:14.629000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:14.629000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.631000' WHERE "spree_products"."id" = 1060500938 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500938, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.633000' WHERE "spree_products"."id" = 1060500938  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590522 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.636000' WHERE "spree_products"."id" = 1060500938  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500938  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.642000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:14.642000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:14.644000', NULL, 905835162, '2012-10-21 17:09:14.644000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500938, "updated_at" = '2012-10-21 17:09:14.647000' WHERE "spree_product_properties"."id" = 1073273459 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451783 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500938 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500938, 558399017) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:14.664000', 'Oils', '2012-10-21 17:09:14.664000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451785 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.671000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451785, '2012-10-21 17:09:14.671000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500938, 558399020) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451783 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399017 AND "spree_taxons"."taxonomy_id" = 854451783 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399017 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.683000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399017, 'paintings/nature', 0, 10, 854451783, '2012-10-21 17:09:14.683000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399017 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399021 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399021 THEN 558399017 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399017 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399021 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399021 AND "spree_taxons"."taxonomy_id" = 854451783 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399021 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.710000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399021, 'paintings/nature/seascape', 0, 12, 854451783, '2012-10-21 17:09:14.710000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399021 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399022 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399022 THEN 558399021 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399021 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399022 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500938, 558399021)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500938, 558399022) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500938 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500938) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:14.732000', 935339318, 1, 1060500938, '2012-10-21 17:09:14.732000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.740000' WHERE "spree_products"."id" = 1060500938 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500938, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.744000' WHERE "spree_products"."id" = 1060500938  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590523, 979460346) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500938 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.757000' WHERE "spree_products"."id" = 1060500938 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500938, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.760000' WHERE "spree_products"."id" = 1060500938  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590524, 979460347) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500938 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.777000' WHERE "spree_products"."id" = 1060500938 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500938, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.779000' WHERE "spree_products"."id" = 1060500938  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590525, 979460348) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590523 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590524 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590525 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.806000' WHERE "spree_products"."id" = 1060500938  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590523 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.807000' WHERE "spree_products"."id" = 1060500938 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.811000' WHERE "spree_products"."id" = 1060500938  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590524 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.812000' WHERE "spree_products"."id" = 1060500938 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500938 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.816000' WHERE "spree_products"."id" = 1060500938  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590525 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.818000' WHERE "spree_products"."id" = 1060500938 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500938) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:14.825000' WHERE "spree_products"."id" = 1060500938 Row org.apache.poi.hssf.usermodel.HSSFRow@fffd35 succesfully SAVED : ID 1060500938 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:14.834000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:14.834000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.839000' WHERE "spree_products"."id" = 1060500939 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500939, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.841000' WHERE "spree_products"."id" = 1060500939  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590526 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.844000' WHERE "spree_products"."id" = 1060500939  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500939  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.851000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:14.851000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:14.858000', NULL, 905835163, '2012-10-21 17:09:14.858000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500939, "updated_at" = '2012-10-21 17:09:14.860000' WHERE "spree_product_properties"."id" = 1073273460 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:14.864000', NULL, 905835162, '2012-10-21 17:09:14.864000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500939, "updated_at" = '2012-10-21 17:09:14.868000' WHERE "spree_product_properties"."id" = 1073273461 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:14.872000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:14.872000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:14.876000', NULL, 905835164, '2012-10-21 17:09:14.876000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500939, "updated_at" = '2012-10-21 17:09:14.881000' WHERE "spree_product_properties"."id" = 1073273462 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:14.885000', 'Drawings', '2012-10-21 17:09:14.885000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451786 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.889000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451786, '2012-10-21 17:09:14.889000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500939 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500939, 558399023) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451783 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399017 AND "spree_taxons"."taxonomy_id" = 854451783 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399017 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:14.905000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399017, 'paintings/landscape', 0, 16, 854451783, '2012-10-21 17:09:14.905000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399017 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399024 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399024 THEN 558399017 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399017 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399024 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500939, 558399024)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500939, 558399017) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500939 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500939) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:14.952000', 935339318, 1, 1060500939, '2012-10-21 17:09:14.952000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.957000' WHERE "spree_products"."id" = 1060500939 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500939, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.959000' WHERE "spree_products"."id" = 1060500939  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590527, 979460346) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500939 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.975000' WHERE "spree_products"."id" = 1060500939 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500939, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:14.977000' WHERE "spree_products"."id" = 1060500939  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590528, 979460347) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500939 AND "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339318 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.001000' WHERE "spree_products"."id" = 1060500939 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500939, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.003000' WHERE "spree_products"."id" = 1060500939  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590529, 979460348) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.010000', 'print_type', 0, 'Print type', '2012-10-21 17:09:15.010000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500939 AND "spree_option_types"."id" = 935339319 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500939) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:15.051000', 935339319, 2, 1060500939, '2012-10-21 17:09:15.051000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339319 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339319) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.055000', 'black_white', 935339319, 1, NULL, '2012-10-21 17:09:15.055000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.061000' WHERE "spree_products"."id" = 1060500939 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500939, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.063000' WHERE "spree_products"."id" = 1060500939  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590530, 979460349) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500939 AND "spree_option_types"."id" = 935339319 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339319 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339319) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.077000', 'colour', 935339319, 2, NULL, '2012-10-21 17:09:15.077000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.085000' WHERE "spree_products"."id" = 1060500939 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500939, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.086000' WHERE "spree_products"."id" = 1060500939  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590531, 979460350) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590527 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590528 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590529 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590530 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590531 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.133000' WHERE "spree_products"."id" = 1060500939  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590527 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.143000' WHERE "spree_products"."id" = 1060500939 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.146000' WHERE "spree_products"."id" = 1060500939  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590528 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.148000' WHERE "spree_products"."id" = 1060500939 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.149000' WHERE "spree_products"."id" = 1060500939  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590529 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.151000' WHERE "spree_products"."id" = 1060500939 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.153000' WHERE "spree_products"."id" = 1060500939  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590530 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.154000' WHERE "spree_products"."id" = 1060500939 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500939 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.156000' WHERE "spree_products"."id" = 1060500939  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590531 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.157000' WHERE "spree_products"."id" = 1060500939 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500939) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:15.161000' WHERE "spree_products"."id" = 1060500939 Row org.apache.poi.hssf.usermodel.HSSFRow@149eb8c succesfully SAVED : ID 1060500939 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500938 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500939 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500937 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500937 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590519 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590520 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339318 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590521 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:15.372000', 'Paintings', '2012-10-21 17:09:15.372000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451787 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:15.380000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451787, '2012-10-21 17:09:15.380000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:15.398000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451787, '2012-10-21 17:09:15.398000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:15.442000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:15.442000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.466000' WHERE "spree_products"."id" = 1060500940 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500940, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.468000' WHERE "spree_products"."id" = 1060500940  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590532 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.472000' WHERE "spree_products"."id" = 1060500940  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500940  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.482000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:15.482000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:15.484000', NULL, 905835165, '2012-10-21 17:09:15.484000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500940, "updated_at" = '2012-10-21 17:09:15.487000' WHERE "spree_product_properties"."id" = 1073273463 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451787 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500940 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500940, 558399025) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:15.508000', 'WaterColour', '2012-10-21 17:09:15.508000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451788 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:15.538000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451788, '2012-10-21 17:09:15.538000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500940, 558399027) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.596000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:15.596000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500940 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500940) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:15.614000', 935339320, 1, 1060500940, '2012-10-21 17:09:15.614000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339320) ORDER BY position DESC LIMIT 1 SQL (22.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.617000', 'jpeg', 935339320, 1, NULL, '2012-10-21 17:09:15.617000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.660000' WHERE "spree_products"."id" = 1060500940 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500940, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.663000' WHERE "spree_products"."id" = 1060500940  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590533, 979460351) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500940 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339320) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.673000', 'PDF', 935339320, 2, NULL, '2012-10-21 17:09:15.673000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.678000' WHERE "spree_products"."id" = 1060500940 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500940, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.680000' WHERE "spree_products"."id" = 1060500940  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590534, 979460352) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500940 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339320) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.691000', 'PNG', 935339320, 3, NULL, '2012-10-21 17:09:15.691000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.696000' WHERE "spree_products"."id" = 1060500940 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500940, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.697000' WHERE "spree_products"."id" = 1060500940  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590535, 979460353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590533 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590534 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590535 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.731000' WHERE "spree_products"."id" = 1060500940  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590533 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.734000' WHERE "spree_products"."id" = 1060500940 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.739000' WHERE "spree_products"."id" = 1060500940  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590534 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.742000' WHERE "spree_products"."id" = 1060500940 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500940 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.744000' WHERE "spree_products"."id" = 1060500940  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590535 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.746000' WHERE "spree_products"."id" = 1060500940 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500940) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:15.750000' WHERE "spree_products"."id" = 1060500940 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:15.758000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:15.758000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.762000' WHERE "spree_products"."id" = 1060500941 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500941, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.764000' WHERE "spree_products"."id" = 1060500941  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590536 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.766000' WHERE "spree_products"."id" = 1060500941  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500941  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.778000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:15.778000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:15.780000', NULL, 905835166, '2012-10-21 17:09:15.780000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500941, "updated_at" = '2012-10-21 17:09:15.784000' WHERE "spree_product_properties"."id" = 1073273464 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451787 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500941 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500941, 558399025) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:15.805000', 'Oils', '2012-10-21 17:09:15.805000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451789 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:15.809000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451789, '2012-10-21 17:09:15.809000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500941, 558399028) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451787 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399025 AND "spree_taxons"."taxonomy_id" = 854451787 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399025 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:15.820000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399025, 'paintings/nature', 0, 10, 854451787, '2012-10-21 17:09:15.820000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399025 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399029 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399029 THEN 558399025 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399025 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399029 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399029 AND "spree_taxons"."taxonomy_id" = 854451787 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399029 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:15.829000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399029, 'paintings/nature/seascape', 0, 12, 854451787, '2012-10-21 17:09:15.829000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399029 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399030 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399030 THEN 558399029 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399029 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399030 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500941, 558399029)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500941, 558399030) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500941 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500941) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:15.851000', 935339320, 1, 1060500941, '2012-10-21 17:09:15.851000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.856000' WHERE "spree_products"."id" = 1060500941 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500941, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.859000' WHERE "spree_products"."id" = 1060500941  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590537, 979460351) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500941 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.872000' WHERE "spree_products"."id" = 1060500941 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500941, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.874000' WHERE "spree_products"."id" = 1060500941  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590538, 979460352) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500941 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.897000' WHERE "spree_products"."id" = 1060500941 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500941, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.899000' WHERE "spree_products"."id" = 1060500941  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590539, 979460353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590537 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590538 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590539 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.928000' WHERE "spree_products"."id" = 1060500941  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590537 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.930000' WHERE "spree_products"."id" = 1060500941 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.935000' WHERE "spree_products"."id" = 1060500941  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590538 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.938000' WHERE "spree_products"."id" = 1060500941 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500941 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.946000' WHERE "spree_products"."id" = 1060500941  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590539 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.947000' WHERE "spree_products"."id" = 1060500941 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500941) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:15.954000' WHERE "spree_products"."id" = 1060500941 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:15.961000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:15.961000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.965000' WHERE "spree_products"."id" = 1060500942 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500942, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.967000' WHERE "spree_products"."id" = 1060500942  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590540 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:15.969000' WHERE "spree_products"."id" = 1060500942  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500942  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.977000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:15.977000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:15.979000', NULL, 905835167, '2012-10-21 17:09:15.979000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500942, "updated_at" = '2012-10-21 17:09:15.980000' WHERE "spree_product_properties"."id" = 1073273465 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:15.984000', NULL, 905835166, '2012-10-21 17:09:15.984000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500942, "updated_at" = '2012-10-21 17:09:15.985000' WHERE "spree_product_properties"."id" = 1073273466 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:15.989000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:15.989000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:15.991000', NULL, 905835168, '2012-10-21 17:09:15.991000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500942, "updated_at" = '2012-10-21 17:09:16.006000' WHERE "spree_product_properties"."id" = 1073273467 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:16.010000', 'Drawings', '2012-10-21 17:09:16.010000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451790 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:16.015000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451790, '2012-10-21 17:09:16.015000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500942 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500942, 558399031) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451787 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399025 AND "spree_taxons"."taxonomy_id" = 854451787 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399025 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:16.024000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399025, 'paintings/landscape', 0, 16, 854451787, '2012-10-21 17:09:16.024000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399025 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399032 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399032 THEN 558399025 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399025 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399032 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500942, 558399032)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500942, 558399025) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500942 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500942) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.057000', 935339320, 1, 1060500942, '2012-10-21 17:09:16.057000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.061000' WHERE "spree_products"."id" = 1060500942 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500942, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.063000' WHERE "spree_products"."id" = 1060500942  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590541, 979460351) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500942 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.076000' WHERE "spree_products"."id" = 1060500942 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500942, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.078000' WHERE "spree_products"."id" = 1060500942  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590542, 979460352) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500942 AND "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339320 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.095000' WHERE "spree_products"."id" = 1060500942 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500942, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.098000' WHERE "spree_products"."id" = 1060500942  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590543, 979460353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.105000', 'print_type', 0, 'Print type', '2012-10-21 17:09:16.105000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500942 AND "spree_option_types"."id" = 935339321 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500942) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.111000', 935339321, 2, 1060500942, '2012-10-21 17:09:16.111000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339321 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339321) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.151000', 'black_white', 935339321, 1, NULL, '2012-10-21 17:09:16.151000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.158000' WHERE "spree_products"."id" = 1060500942 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500942, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.160000' WHERE "spree_products"."id" = 1060500942  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590544, 979460354) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500942 AND "spree_option_types"."id" = 935339321 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339321 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339321) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.169000', 'colour', 935339321, 2, NULL, '2012-10-21 17:09:16.169000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.179000' WHERE "spree_products"."id" = 1060500942 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500942, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.181000' WHERE "spree_products"."id" = 1060500942  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590545, 979460355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590541 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590542 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590543 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590544 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590545 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1  (2.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.205000' WHERE "spree_products"."id" = 1060500942  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590541 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.206000' WHERE "spree_products"."id" = 1060500942 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.209000' WHERE "spree_products"."id" = 1060500942  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590542 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.210000' WHERE "spree_products"."id" = 1060500942 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.211000' WHERE "spree_products"."id" = 1060500942  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590543 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.213000' WHERE "spree_products"."id" = 1060500942 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.216000' WHERE "spree_products"."id" = 1060500942  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590544 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.218000' WHERE "spree_products"."id" = 1060500942 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500942 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.220000' WHERE "spree_products"."id" = 1060500942  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590545 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.222000' WHERE "spree_products"."id" = 1060500942 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500942) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:16.226000' WHERE "spree_products"."id" = 1060500942  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500941 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500942 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500940 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500940 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590533 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590534 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339320 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590535 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (17.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:16.321000', 'Paintings', '2012-10-21 17:09:16.321000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451791 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:16.325000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451791, '2012-10-21 17:09:16.325000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:16.334000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451791, '2012-10-21 17:09:16.334000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:16.376000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:16.376000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.384000' WHERE "spree_products"."id" = 1060500943 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500943, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.386000' WHERE "spree_products"."id" = 1060500943  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590546 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.391000' WHERE "spree_products"."id" = 1060500943  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500943  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.398000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:16.398000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500943 AND "spree_option_types"."id" = 935339322 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500943) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.405000', 935339322, 1, 1060500943, '2012-10-21 17:09:16.405000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.409000', 'print_type', 0, 'Print type', '2012-10-21 17:09:16.409000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500943 AND "spree_option_types"."id" = 935339323 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500943) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.429000', 935339323, 2, 1060500943, '2012-10-21 17:09:16.429000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339322) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.435000', 'jpeg', 935339322, 1, NULL, '2012-10-21 17:09:16.435000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339323 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339323) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.457000', 'colour', 935339323, 1, NULL, '2012-10-21 17:09:16.457000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.463000' WHERE "spree_products"."id" = 1060500943 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500943, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.466000' WHERE "spree_products"."id" = 1060500943  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590547, 979460356)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590547, 979460357) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339322) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.470000', 'PDF', 935339322, 2, NULL, '2012-10-21 17:09:16.470000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339323 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.474000' WHERE "spree_products"."id" = 1060500943 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500943, 'MV_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.477000' WHERE "spree_products"."id" = 1060500943  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590548, 979460358)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590548, 979460357) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500943) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500943 AND "spree_option_types"."id" = 935339322 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339322) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.493000', 'PNG', 935339322, 3, NULL, '2012-10-21 17:09:16.493000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.498000' WHERE "spree_products"."id" = 1060500943 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500943, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.500000' WHERE "spree_products"."id" = 1060500943  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590549, 979460359) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500943) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590547 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590548 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590549 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500943) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.524000' WHERE "spree_products"."id" = 1060500943  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590547 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.525000' WHERE "spree_products"."id" = 1060500943 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.527000' WHERE "spree_products"."id" = 1060500943  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590548 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.529000' WHERE "spree_products"."id" = 1060500943 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500943 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.530000' WHERE "spree_products"."id" = 1060500943  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590549 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.532000' WHERE "spree_products"."id" = 1060500943 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500943) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:16.537000' WHERE "spree_products"."id" = 1060500943 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:16.544000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:16.544000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500944 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.547000' WHERE "spree_products"."id" = 1060500944 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500944, 'MV_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.549000' WHERE "spree_products"."id" = 1060500944  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590550 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.551000' WHERE "spree_products"."id" = 1060500944  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500944  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500944 AND "spree_option_types"."id" = 935339322 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500944) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.562000', 935339322, 1, 1060500944, '2012-10-21 17:09:16.562000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500944 AND "spree_option_types"."id" = 935339323 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500944) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.572000', 935339323, 2, 1060500944, '2012-10-21 17:09:16.572000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339323 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339323) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.575000', 'black_white', 935339323, 2, NULL, '2012-10-21 17:09:16.575000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500944 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.579000' WHERE "spree_products"."id" = 1060500944 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500944, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.582000' WHERE "spree_products"."id" = 1060500944  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590551, 979460360)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590551, 979460356) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500944 LIMIT 1 Current value to assign : Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500944) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500944 AND "spree_option_types"."id" = 935339322 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500944 AND "spree_option_types"."id" = 935339323 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339323 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500944 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.602000' WHERE "spree_products"."id" = 1060500944 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500944, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.605000' WHERE "spree_products"."id" = 1060500944  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590552, 979460360)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590552, 979460359) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500944 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500944) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590551 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590552 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500944) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500944 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.628000' WHERE "spree_products"."id" = 1060500944  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590551 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.630000' WHERE "spree_products"."id" = 1060500944 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500944 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.631000' WHERE "spree_products"."id" = 1060500944  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590552 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.633000' WHERE "spree_products"."id" = 1060500944 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500944) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500944 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-21 17:09:16.640000' WHERE "spree_products"."id" = 1060500944 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:16.651000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:16.651000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.654000' WHERE "spree_products"."id" = 1060500945 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500945, 'MV_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.656000' WHERE "spree_products"."id" = 1060500945  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590553 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.658000' WHERE "spree_products"."id" = 1060500945  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500945  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500945 AND "spree_option_types"."id" = 935339322 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500945) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.668000', 935339322, 1, 1060500945, '2012-10-21 17:09:16.668000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500945 AND "spree_option_types"."id" = 935339323 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500945) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.680000', 935339323, 2, 1060500945, '2012-10-21 17:09:16.680000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.694000', 'size', 0, 'Size', '2012-10-21 17:09:16.694000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500945 AND "spree_option_types"."id" = 935339324 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500945) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:16.699000', 935339324, 3, 1060500945, '2012-10-21 17:09:16.699000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339323 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339324 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339324) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.703000', 'large', 935339324, 1, NULL, '2012-10-21 17:09:16.703000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.722000' WHERE "spree_products"."id" = 1060500945 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500945, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.724000' WHERE "spree_products"."id" = 1060500945  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590554, 979460357)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590554, 979460361)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590554, 979460356) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339323 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339323) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:16.729000', 'sepia', 935339323, 3, NULL, '2012-10-21 17:09:16.729000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339324 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.734000' WHERE "spree_products"."id" = 1060500945 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500945, 'MV_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.736000' WHERE "spree_products"."id" = 1060500945  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590555, 979460362)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590555, 979460361)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590555, 979460356) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500945 AND "spree_option_types"."id" = 935339322 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.747000' WHERE "spree_products"."id" = 1060500945 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500945, 'MV_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.749000' WHERE "spree_products"."id" = 1060500945  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590556, 979460359) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500945) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500945 AND "spree_option_types"."id" = 935339322 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339322 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.760000' WHERE "spree_products"."id" = 1060500945 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500945, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.766000' WHERE "spree_products"."id" = 1060500945  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590557, 979460358) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500945 AND "spree_option_types"."id" = 935339323 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339323 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.777000' WHERE "spree_products"."id" = 1060500945 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500945, 'MV_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:16.781000' WHERE "spree_products"."id" = 1060500945  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590558, 979460360) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500945 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500945) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500945) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500945 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500943 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500943 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013590547 Booted Spree using version 1.1.3 SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-21 17:09:17.070000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:17.070000') Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.075000' WHERE "spree_products"."id" = 1060500946 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500946, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.077000' WHERE "spree_products"."id" = 1060500946  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590559 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.082000' WHERE "spree_products"."id" = 1060500946  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500946  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:17.090000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:17.090000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:17.092000', NULL, 905835169, '2012-10-21 17:09:17.092000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500946, "updated_at" = '2012-10-21 17:09:17.094000' WHERE "spree_product_properties"."id" = 1073273468 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500946) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:17.099000', 'Paintings', '2012-10-21 17:09:17.099000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451792 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:17.105000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451792, '2012-10-21 17:09:17.105000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500946 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500946, 558399035) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:17.114000', 'WaterColour', '2012-10-21 17:09:17.114000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451793 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:17.117000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854451793, '2012-10-21 17:09:17.117000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500946, 558399036) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500946) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:17.124000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:17.124000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500946 AND "spree_option_types"."id" = 935339325 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500946) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:17.130000', 935339325, 1, 1060500946, '2012-10-21 17:09:17.130000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::OptionValue Load (22.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339325) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:17.157000', 'jpeg', 935339325, 1, NULL, '2012-10-21 17:09:17.157000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.162000' WHERE "spree_products"."id" = 1060500946 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500946, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.165000' WHERE "spree_products"."id" = 1060500946  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590560, 979460363) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339325) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:17.170000', 'PDF', 935339325, 2, NULL, '2012-10-21 17:09:17.170000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.176000' WHERE "spree_products"."id" = 1060500946 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500946, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.178000' WHERE "spree_products"."id" = 1060500946  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590561, 979460364) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339325) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:17.182000', 'PNG', 935339325, 3, NULL, '2012-10-21 17:09:17.182000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.185000' WHERE "spree_products"."id" = 1060500946 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500946, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.187000' WHERE "spree_products"."id" = 1060500946  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590562, 979460365) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500946) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590560 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590561 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590562 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500946) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.207000' WHERE "spree_products"."id" = 1060500946  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590560 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.209000' WHERE "spree_products"."id" = 1060500946 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.211000' WHERE "spree_products"."id" = 1060500946  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590561 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.212000' WHERE "spree_products"."id" = 1060500946 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500946 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.214000' WHERE "spree_products"."id" = 1060500946  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590562 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:17.216000' WHERE "spree_products"."id" = 1060500946 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500946) LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590559 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-21 17:09:17.303000', 240, 1, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500946) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (22.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:18.079000' WHERE "spree_products"."id" = 1060500946 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-21 17:09:18.112000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:18.112000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.116000' WHERE "spree_products"."id" = 1060500947 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500947, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.118000' WHERE "spree_products"."id" = 1060500947  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590563 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.121000' WHERE "spree_products"."id" = 1060500947  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500947  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:18.128000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:18.128000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:18.130000', NULL, 905835170, '2012-10-21 17:09:18.130000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500947, "updated_at" = '2012-10-21 17:09:18.132000' WHERE "spree_product_properties"."id" = 1073273469 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500947) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451792 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500947 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500947, 558399035) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:18.145000', 'Landscape', '2012-10-21 17:09:18.145000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451794 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:18.149000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854451794, '2012-10-21 17:09:18.149000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500947, 558399037) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:18.153000', 'Oils', '2012-10-21 17:09:18.153000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451795 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:18.158000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451795, '2012-10-21 17:09:18.158000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500947, 558399038) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500947) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500947 AND "spree_option_types"."id" = 935339325 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500947) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:18.170000', 935339325, 1, 1060500947, '2012-10-21 17:09:18.170000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.175000' WHERE "spree_products"."id" = 1060500947 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500947, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.178000' WHERE "spree_products"."id" = 1060500947  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590564, 979460363) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.182000' WHERE "spree_products"."id" = 1060500947 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500947, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.185000' WHERE "spree_products"."id" = 1060500947  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590565, 979460364) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.190000' WHERE "spree_products"."id" = 1060500947 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500947, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.192000' WHERE "spree_products"."id" = 1060500947  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590566, 979460365) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500947) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590564 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590565 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590566 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500947) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.215000' WHERE "spree_products"."id" = 1060500947  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590564 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.216000' WHERE "spree_products"."id" = 1060500947 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.219000' WHERE "spree_products"."id" = 1060500947  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590565 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.221000' WHERE "spree_products"."id" = 1060500947 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500947 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.223000' WHERE "spree_products"."id" = 1060500947  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590566 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:18.224000' WHERE "spree_products"."id" = 1060500947 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500947) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590563 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-21 17:09:18.314000', 2424, 2, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500947) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500947 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:25.456000' WHERE "spree_products"."id" = 1060500947 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-10-21 17:09:25.468000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:25.468000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.471000' WHERE "spree_products"."id" = 1060500948 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500948, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.474000' WHERE "spree_products"."id" = 1060500948  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590567 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.476000' WHERE "spree_products"."id" = 1060500948  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500948  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:25.483000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:25.483000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:25.485000', NULL, 905835171, '2012-10-21 17:09:25.485000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500948, "updated_at" = '2012-10-21 17:09:25.487000' WHERE "spree_product_properties"."id" = 1073273470 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:25.491000', NULL, 905835170, '2012-10-21 17:09:25.491000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500948, "updated_at" = '2012-10-21 17:09:25.492000' WHERE "spree_product_properties"."id" = 1073273471 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:25.497000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:25.497000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:25.499000', NULL, 905835172, '2012-10-21 17:09:25.499000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500948, "updated_at" = '2012-10-21 17:09:25.500000' WHERE "spree_product_properties"."id" = 1073273472 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500948) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:25.504000', 'Drawings', '2012-10-21 17:09:25.504000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451796 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:25.508000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 854451796, '2012-10-21 17:09:25.508000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500948 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500948, 558399039) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500948) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500948 AND "spree_option_types"."id" = 935339325 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500948) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:25.519000', 935339325, 1, 1060500948, '2012-10-21 17:09:25.519000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.524000' WHERE "spree_products"."id" = 1060500948 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500948, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.526000' WHERE "spree_products"."id" = 1060500948  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590568, 979460363) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.530000' WHERE "spree_products"."id" = 1060500948 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500948, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.534000' WHERE "spree_products"."id" = 1060500948  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590569, 979460364) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339325 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.541000' WHERE "spree_products"."id" = 1060500948 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500948, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.543000' WHERE "spree_products"."id" = 1060500948  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590570, 979460365) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:25.547000', 'print_type', 0, 'Print type', '2012-10-21 17:09:25.547000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500948 AND "spree_option_types"."id" = 935339326 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500948) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:25.552000', 935339326, 2, 1060500948, '2012-10-21 17:09:25.552000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339326 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339326) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:25.557000', 'black_white', 935339326, 1, NULL, '2012-10-21 17:09:25.557000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.563000' WHERE "spree_products"."id" = 1060500948 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500948, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.564000' WHERE "spree_products"."id" = 1060500948  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590571, 979460366) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339326 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339326) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:25.567000', 'colour', 935339326, 2, NULL, '2012-10-21 17:09:25.567000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.571000' WHERE "spree_products"."id" = 1060500948 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500948, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.573000' WHERE "spree_products"."id" = 1060500948  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590572, 979460367) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500948) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590569 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590570 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590571 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500948) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.595000' WHERE "spree_products"."id" = 1060500948  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590568 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.597000' WHERE "spree_products"."id" = 1060500948 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.598000' WHERE "spree_products"."id" = 1060500948  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590569 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.600000' WHERE "spree_products"."id" = 1060500948 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.602000' WHERE "spree_products"."id" = 1060500948  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590570 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.616000' WHERE "spree_products"."id" = 1060500948 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.618000' WHERE "spree_products"."id" = 1060500948  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590571 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.620000' WHERE "spree_products"."id" = 1060500948 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500948 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.627000' WHERE "spree_products"."id" = 1060500948  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590572 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:25.628000' WHERE "spree_products"."id" = 1060500948 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500948) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590567 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-21 17:09:25.658000', 240, 3, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500948) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500948 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:26.544000' WHERE "spree_products"."id" = 1060500948  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500946 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590559) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500946)) SQL (5.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:26.814000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:26.814000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.818000' WHERE "spree_products"."id" = 1060500949 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500949, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.822000' WHERE "spree_products"."id" = 1060500949  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590573 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.825000' WHERE "spree_products"."id" = 1060500949  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500949  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:26.832000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:26.832000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:26.839000', NULL, 905835173, '2012-10-21 17:09:26.839000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500949, "updated_at" = '2012-10-21 17:09:26.843000' WHERE "spree_product_properties"."id" = 1073273473 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500949) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:26.847000', 'Paintings', '2012-10-21 17:09:26.847000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451797 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:26.852000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451797, '2012-10-21 17:09:26.852000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500949 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500949, 558399040) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:26.859000', 'WaterColour', '2012-10-21 17:09:26.859000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451798 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:26.873000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854451798, '2012-10-21 17:09:26.873000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500949, 558399041) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500949) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:26.885000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:26.885000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500949 AND "spree_option_types"."id" = 935339327 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500949) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:26.892000', 935339327, 1, 1060500949, '2012-10-21 17:09:26.892000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339327) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:26.917000', 'jpeg', 935339327, 1, NULL, '2012-10-21 17:09:26.917000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.922000' WHERE "spree_products"."id" = 1060500949 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500949, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.924000' WHERE "spree_products"."id" = 1060500949  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590574, 979460368) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339327) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:26.932000', 'PDF', 935339327, 2, NULL, '2012-10-21 17:09:26.932000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.936000' WHERE "spree_products"."id" = 1060500949 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500949, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.938000' WHERE "spree_products"."id" = 1060500949  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590575, 979460369) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339327) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:26.943000', 'PNG', 935339327, 3, NULL, '2012-10-21 17:09:26.943000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.947000' WHERE "spree_products"."id" = 1060500949 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500949, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.949000' WHERE "spree_products"."id" = 1060500949  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590576, 979460370) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500949) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590574 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590575 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590576 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500949) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.972000' WHERE "spree_products"."id" = 1060500949  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590574 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.973000' WHERE "spree_products"."id" = 1060500949 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.975000' WHERE "spree_products"."id" = 1060500949  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590575 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.977000' WHERE "spree_products"."id" = 1060500949 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500949 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.979000' WHERE "spree_products"."id" = 1060500949  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590576 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:26.981000' WHERE "spree_products"."id" = 1060500949 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500949) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590573 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-21 17:09:26.990000', 240, 1, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500949) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:27.908000' WHERE "spree_products"."id" = 1060500949 Row org.apache.poi.hssf.usermodel.HSSFRow@88675b succesfully SAVED : ID 1060500949 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (19.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:27.938000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:27.938000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:27.942000' WHERE "spree_products"."id" = 1060500950 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500950, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:27.944000' WHERE "spree_products"."id" = 1060500950  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590577 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:27.946000' WHERE "spree_products"."id" = 1060500950  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500950  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:27.961000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:27.961000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:27.963000', NULL, 905835174, '2012-10-21 17:09:27.963000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500950, "updated_at" = '2012-10-21 17:09:27.964000' WHERE "spree_product_properties"."id" = 1073273474 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500950) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451797 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500950 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500950, 558399040) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:27.972000', 'Landscape', '2012-10-21 17:09:27.972000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451799 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:27.976000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854451799, '2012-10-21 17:09:27.976000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500950, 558399042) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:27.982000', 'Oils', '2012-10-21 17:09:27.982000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451800 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:27.986000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451800, '2012-10-21 17:09:27.986000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500950, 558399043) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500950) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500950 AND "spree_option_types"."id" = 935339327 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500950) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:27.995000', 935339327, 1, 1060500950, '2012-10-21 17:09:27.995000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:27.999000' WHERE "spree_products"."id" = 1060500950 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500950, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.000000' WHERE "spree_products"."id" = 1060500950  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590578, 979460368) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.005000' WHERE "spree_products"."id" = 1060500950 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500950, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.007000' WHERE "spree_products"."id" = 1060500950  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590579, 979460369) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.011000' WHERE "spree_products"."id" = 1060500950 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500950, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.013000' WHERE "spree_products"."id" = 1060500950  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590580, 979460370) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500950) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590578 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590579 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590580 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500950) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.032000' WHERE "spree_products"."id" = 1060500950  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590578 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.033000' WHERE "spree_products"."id" = 1060500950 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.034000' WHERE "spree_products"."id" = 1060500950  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590579 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.036000' WHERE "spree_products"."id" = 1060500950 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500950 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.038000' WHERE "spree_products"."id" = 1060500950  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590580 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:28.039000' WHERE "spree_products"."id" = 1060500950 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500950) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590577 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-21 17:09:28.092000', 2424, 2, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500950) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500950 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:34.513000' WHERE "spree_products"."id" = 1060500950 Row org.apache.poi.hssf.usermodel.HSSFRow@e4cde8 succesfully SAVED : ID 1060500950 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:34.521000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:34.521000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.526000' WHERE "spree_products"."id" = 1060500951 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500951, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.529000' WHERE "spree_products"."id" = 1060500951  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590581 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.531000' WHERE "spree_products"."id" = 1060500951  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500951  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:34.537000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:34.537000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:34.539000', NULL, 905835175, '2012-10-21 17:09:34.539000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500951, "updated_at" = '2012-10-21 17:09:34.540000' WHERE "spree_product_properties"."id" = 1073273475 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:34.544000', NULL, 905835174, '2012-10-21 17:09:34.544000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500951, "updated_at" = '2012-10-21 17:09:34.545000' WHERE "spree_product_properties"."id" = 1073273476 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:34.548000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:34.548000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:34.550000', NULL, 905835176, '2012-10-21 17:09:34.550000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500951, "updated_at" = '2012-10-21 17:09:34.551000' WHERE "spree_product_properties"."id" = 1073273477 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500951) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:34.556000', 'Drawings', '2012-10-21 17:09:34.556000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451801 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:34.574000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 854451801, '2012-10-21 17:09:34.574000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500951 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500951, 558399044) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500951) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500951 AND "spree_option_types"."id" = 935339327 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500951) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:34.608000', 935339327, 1, 1060500951, '2012-10-21 17:09:34.608000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.617000' WHERE "spree_products"."id" = 1060500951 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500951, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.619000' WHERE "spree_products"."id" = 1060500951  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590582, 979460368) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.623000' WHERE "spree_products"."id" = 1060500951 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500951, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.625000' WHERE "spree_products"."id" = 1060500951  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590583, 979460369) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339327 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.630000' WHERE "spree_products"."id" = 1060500951 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500951, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.631000' WHERE "spree_products"."id" = 1060500951  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590584, 979460370) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:34.635000', 'print_type', 0, 'Print type', '2012-10-21 17:09:34.635000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500951 AND "spree_option_types"."id" = 935339328 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500951) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:34.642000', 935339328, 2, 1060500951, '2012-10-21 17:09:34.642000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339328 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339328) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:34.644000', 'black_white', 935339328, 1, NULL, '2012-10-21 17:09:34.644000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.659000' WHERE "spree_products"."id" = 1060500951 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500951, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.661000' WHERE "spree_products"."id" = 1060500951  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590585, 979460371) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339328 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339328) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:34.667000', 'colour', 935339328, 2, NULL, '2012-10-21 17:09:34.667000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.670000' WHERE "spree_products"."id" = 1060500951 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500951, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.672000' WHERE "spree_products"."id" = 1060500951  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590586, 979460372) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500951) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590582 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590583 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590584 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590585 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590586 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500951) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.706000' WHERE "spree_products"."id" = 1060500951  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590582 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.708000' WHERE "spree_products"."id" = 1060500951 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.710000' WHERE "spree_products"."id" = 1060500951  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590583 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.711000' WHERE "spree_products"."id" = 1060500951 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.713000' WHERE "spree_products"."id" = 1060500951  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590584 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.714000' WHERE "spree_products"."id" = 1060500951 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.716000' WHERE "spree_products"."id" = 1060500951  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590585 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.717000' WHERE "spree_products"."id" = 1060500951 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500951 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.719000' WHERE "spree_products"."id" = 1060500951  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590586 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:34.720000' WHERE "spree_products"."id" = 1060500951 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500951) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590581 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-21 17:09:34.729000', 240, 3, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500951) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500951 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:35.643000' WHERE "spree_products"."id" = 1060500951 Row org.apache.poi.hssf.usermodel.HSSFRow@1047ada succesfully SAVED : ID 1060500951 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500949 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590573) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500949)) SQL (23.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:35.846000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:35.846000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.850000' WHERE "spree_products"."id" = 1060500952 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500952, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.853000' WHERE "spree_products"."id" = 1060500952  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590587 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.856000' WHERE "spree_products"."id" = 1060500952  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500952  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:35.862000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:35.862000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:35.865000', NULL, 905835177, '2012-10-21 17:09:35.865000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500952, "updated_at" = '2012-10-21 17:09:35.867000' WHERE "spree_product_properties"."id" = 1073273478 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500952) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:35.872000', 'Paintings', '2012-10-21 17:09:35.872000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451802 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:35.876000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451802, '2012-10-21 17:09:35.876000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500952 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500952, 558399045) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:35.882000', 'WaterColour', '2012-10-21 17:09:35.882000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451803 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:35.886000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854451803, '2012-10-21 17:09:35.886000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500952, 558399046) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500952) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500952) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:35.893000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:35.893000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500952 AND "spree_option_types"."id" = 935339329 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500952) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:35.899000', 935339329, 1, 1060500952, '2012-10-21 17:09:35.899000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339329) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:35.925000', 'jpeg', 935339329, 1, NULL, '2012-10-21 17:09:35.925000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.929000' WHERE "spree_products"."id" = 1060500952 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500952, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.931000' WHERE "spree_products"."id" = 1060500952  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590588, 979460373) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339329) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:35.934000', 'PDF', 935339329, 2, NULL, '2012-10-21 17:09:35.934000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.938000' WHERE "spree_products"."id" = 1060500952 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500952, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.940000' WHERE "spree_products"."id" = 1060500952  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590589, 979460374) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339329) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:35.944000', 'PNG', 935339329, 3, NULL, '2012-10-21 17:09:35.944000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.948000' WHERE "spree_products"."id" = 1060500952 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500952, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.950000' WHERE "spree_products"."id" = 1060500952  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590590, 979460375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500952) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590588 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590589 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590590 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500952) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.971000' WHERE "spree_products"."id" = 1060500952  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590588 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.973000' WHERE "spree_products"."id" = 1060500952 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.974000' WHERE "spree_products"."id" = 1060500952  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590589 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.978000' WHERE "spree_products"."id" = 1060500952 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500952 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.980000' WHERE "spree_products"."id" = 1060500952  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590590 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.982000' WHERE "spree_products"."id" = 1060500952 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500952) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500952 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:35.986000' WHERE "spree_products"."id" = 1060500952 Row org.apache.poi.hssf.usermodel.HSSFRow@ae5291 succesfully SAVED : ID 1060500952 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:35.996000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:35.996000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:35.999000' WHERE "spree_products"."id" = 1060500953 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500953, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.000000' WHERE "spree_products"."id" = 1060500953  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590591 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.003000' WHERE "spree_products"."id" = 1060500953  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500953  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:36.008000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:36.008000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:36.011000', NULL, 905835178, '2012-10-21 17:09:36.011000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500953, "updated_at" = '2012-10-21 17:09:36.012000' WHERE "spree_product_properties"."id" = 1073273479 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500953) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451802 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500953 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500953, 558399045) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:36.023000', 'Oils', '2012-10-21 17:09:36.023000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451804 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:36.224000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854451804, '2012-10-21 17:09:36.224000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500953, 558399047) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451802 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399045 AND "spree_taxons"."taxonomy_id" = 854451802 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399045 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:36.238000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558399045, 'paintings/nature', 0, 8, 854451802, '2012-10-21 17:09:36.238000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399045 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399048 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399048 THEN 558399045 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399045 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399048 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399048 AND "spree_taxons"."taxonomy_id" = 854451802 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399048 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:36.253000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558399048, 'paintings/nature/seascape', 0, 10, 854451802, '2012-10-21 17:09:36.253000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399048 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399049 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399049 THEN 558399048 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399048 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399049 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500953, 558399048)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500953, 558399049) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500953) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500953 AND "spree_option_types"."id" = 935339329 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500953) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:36.270000', 935339329, 1, 1060500953, '2012-10-21 17:09:36.270000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.274000' WHERE "spree_products"."id" = 1060500953 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500953, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.276000' WHERE "spree_products"."id" = 1060500953  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590592, 979460373) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.280000' WHERE "spree_products"."id" = 1060500953 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500953, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.283000' WHERE "spree_products"."id" = 1060500953  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590593, 979460374) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.287000' WHERE "spree_products"."id" = 1060500953 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500953, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.289000' WHERE "spree_products"."id" = 1060500953  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590594, 979460375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500953) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500953) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590592 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590593 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590594 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500953) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.318000' WHERE "spree_products"."id" = 1060500953  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590592 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.321000' WHERE "spree_products"."id" = 1060500953 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.323000' WHERE "spree_products"."id" = 1060500953  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590593 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.324000' WHERE "spree_products"."id" = 1060500953 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500953 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.326000' WHERE "spree_products"."id" = 1060500953  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590594 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.328000' WHERE "spree_products"."id" = 1060500953 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500953) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500953 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:36.332000' WHERE "spree_products"."id" = 1060500953 Row org.apache.poi.hssf.usermodel.HSSFRow@120e870 succesfully SAVED : ID 1060500953 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:36.341000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:36.341000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.346000' WHERE "spree_products"."id" = 1060500954 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500954, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.349000' WHERE "spree_products"."id" = 1060500954  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590595 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.351000' WHERE "spree_products"."id" = 1060500954  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500954  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:36.359000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:36.359000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:36.363000', NULL, 905835179, '2012-10-21 17:09:36.363000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500954, "updated_at" = '2012-10-21 17:09:36.364000' WHERE "spree_product_properties"."id" = 1073273480 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:36.369000', NULL, 905835178, '2012-10-21 17:09:36.369000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500954, "updated_at" = '2012-10-21 17:09:36.370000' WHERE "spree_product_properties"."id" = 1073273481 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:36.373000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:36.373000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:36.376000', NULL, 905835180, '2012-10-21 17:09:36.376000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500954, "updated_at" = '2012-10-21 17:09:36.378000' WHERE "spree_product_properties"."id" = 1073273482 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500954) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:36.382000', 'Drawings', '2012-10-21 17:09:36.382000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451805 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:36.552000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854451805, '2012-10-21 17:09:36.552000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500954 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500954, 558399050) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451802 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399045 AND "spree_taxons"."taxonomy_id" = 854451802 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399045 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:36.563000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558399045, 'paintings/landscape', 0, 14, 854451802, '2012-10-21 17:09:36.563000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399045 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399051 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399051 THEN 558399045 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399045 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399051 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500954, 558399051)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500954, 558399045) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500954) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500954) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500954 AND "spree_option_types"."id" = 935339329 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500954) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:36.582000', 935339329, 1, 1060500954, '2012-10-21 17:09:36.582000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.587000' WHERE "spree_products"."id" = 1060500954 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500954, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.590000' WHERE "spree_products"."id" = 1060500954  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590596, 979460373) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.594000' WHERE "spree_products"."id" = 1060500954 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500954, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.596000' WHERE "spree_products"."id" = 1060500954  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590597, 979460374) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339329 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.600000' WHERE "spree_products"."id" = 1060500954 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500954, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.603000' WHERE "spree_products"."id" = 1060500954  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590598, 979460375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:36.623000', 'print_type', 0, 'Print type', '2012-10-21 17:09:36.623000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500954 AND "spree_option_types"."id" = 935339330 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500954) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:36.629000', 935339330, 2, 1060500954, '2012-10-21 17:09:36.629000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339330 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339330) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:36.633000', 'black_white', 935339330, 1, NULL, '2012-10-21 17:09:36.633000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.641000' WHERE "spree_products"."id" = 1060500954 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500954, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.643000' WHERE "spree_products"."id" = 1060500954  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590599, 979460376) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339330 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339330) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:36.672000', 'colour', 935339330, 2, NULL, '2012-10-21 17:09:36.672000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.676000' WHERE "spree_products"."id" = 1060500954 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500954, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.678000' WHERE "spree_products"."id" = 1060500954  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590600, 979460377) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500954) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590596 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590597 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590598 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590599 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590600 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500954) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.706000' WHERE "spree_products"."id" = 1060500954  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590596 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.708000' WHERE "spree_products"."id" = 1060500954 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.710000' WHERE "spree_products"."id" = 1060500954  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590597 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.711000' WHERE "spree_products"."id" = 1060500954 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.713000' WHERE "spree_products"."id" = 1060500954  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590598 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.715000' WHERE "spree_products"."id" = 1060500954 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.716000' WHERE "spree_products"."id" = 1060500954  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590599 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.718000' WHERE "spree_products"."id" = 1060500954 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500954 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.719000' WHERE "spree_products"."id" = 1060500954  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590600 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.721000' WHERE "spree_products"."id" = 1060500954 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500954) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:36.725000' WHERE "spree_products"."id" = 1060500954 Row org.apache.poi.hssf.usermodel.HSSFRow@1b217b8 succesfully SAVED : ID 1060500954 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500954 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590595) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500954)) Excel Loader processing 70 rows SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (28.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:36.924000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:36.924000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.927000' WHERE "spree_products"."id" = 1060500955 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500955, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.931000' WHERE "spree_products"."id" = 1060500955  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590601 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:36.958000' WHERE "spree_products"."id" = 1060500955  (2.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500955  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:36.971000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:36.971000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:36.973000', NULL, 905835181, '2012-10-21 17:09:36.973000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500955, "updated_at" = '2012-10-21 17:09:36.975000' WHERE "spree_product_properties"."id" = 1073273483 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500955) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:36.981000', 'Paintings', '2012-10-21 17:09:36.981000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451806 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:36.985000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451806, '2012-10-21 17:09:36.985000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500955 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500955, 558399052) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:36.996000', 'WaterColour', '2012-10-21 17:09:36.996000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451807 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.000000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854451807, '2012-10-21 17:09:37.000000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500955, 558399053) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500955) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500955) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.009000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:37.009000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500955 AND "spree_option_types"."id" = 935339331 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500955) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:37.014000', 935339331, 1, 1060500955, '2012-10-21 17:09:37.014000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339331) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.017000', 'jpeg', 935339331, 1, NULL, '2012-10-21 17:09:37.017000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.021000' WHERE "spree_products"."id" = 1060500955 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500955, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.023000' WHERE "spree_products"."id" = 1060500955  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590602, 979460378) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339331) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.026000', 'PDF', 935339331, 2, NULL, '2012-10-21 17:09:37.026000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.057000' WHERE "spree_products"."id" = 1060500955 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500955, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.059000' WHERE "spree_products"."id" = 1060500955  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590603, 979460379) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339331) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.079000', 'PNG', 935339331, 3, NULL, '2012-10-21 17:09:37.079000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.085000' WHERE "spree_products"."id" = 1060500955 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500955, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.087000' WHERE "spree_products"."id" = 1060500955  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590604, 979460380) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500955) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590602 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590603 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590604 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500955) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.106000' WHERE "spree_products"."id" = 1060500955  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590602 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.108000' WHERE "spree_products"."id" = 1060500955 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.109000' WHERE "spree_products"."id" = 1060500955  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590603 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.111000' WHERE "spree_products"."id" = 1060500955 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500955 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.113000' WHERE "spree_products"."id" = 1060500955  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590604 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.114000' WHERE "spree_products"."id" = 1060500955 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500955) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500955 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:37.118000' WHERE "spree_products"."id" = 1060500955 Row org.apache.poi.hssf.usermodel.HSSFRow@18dc72c succesfully SAVED : ID 1060500955 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (5.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:37.143000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:37.143000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.147000' WHERE "spree_products"."id" = 1060500956 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500956, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.148000' WHERE "spree_products"."id" = 1060500956  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590605 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.151000' WHERE "spree_products"."id" = 1060500956  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500956  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.160000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:37.160000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:37.165000', NULL, 905835182, '2012-10-21 17:09:37.165000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500956, "updated_at" = '2012-10-21 17:09:37.167000' WHERE "spree_product_properties"."id" = 1073273484 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500956) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451806 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500956 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500956, 558399052) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:37.176000', 'Oils', '2012-10-21 17:09:37.176000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451808 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.180000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854451808, '2012-10-21 17:09:37.180000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500956, 558399054) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451806 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399052 AND "spree_taxons"."taxonomy_id" = 854451806 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399052 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.190000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558399052, 'paintings/nature', 0, 8, 854451806, '2012-10-21 17:09:37.190000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399052 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399055 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399055 THEN 558399052 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399052 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399055 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399055 AND "spree_taxons"."taxonomy_id" = 854451806 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399055 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.200000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558399055, 'paintings/nature/seascape', 0, 10, 854451806, '2012-10-21 17:09:37.200000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399055 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399056 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399056 THEN 558399055 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399055 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399056 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500956, 558399055)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500956, 558399056) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500956) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500956 AND "spree_option_types"."id" = 935339331 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500956) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:37.217000', 935339331, 1, 1060500956, '2012-10-21 17:09:37.217000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.224000' WHERE "spree_products"."id" = 1060500956 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500956, 'DEMO_002_1', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.225000' WHERE "spree_products"."id" = 1060500956  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590606, 979460378) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.231000' WHERE "spree_products"."id" = 1060500956 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500956, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.233000' WHERE "spree_products"."id" = 1060500956  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590607, 979460379) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.237000' WHERE "spree_products"."id" = 1060500956 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500956, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.239000' WHERE "spree_products"."id" = 1060500956  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590608, 979460380) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500956) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500956) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590606 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590607 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590608 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500956) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.261000' WHERE "spree_products"."id" = 1060500956  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590606 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.262000' WHERE "spree_products"."id" = 1060500956 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.265000' WHERE "spree_products"."id" = 1060500956  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590607 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.266000' WHERE "spree_products"."id" = 1060500956 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500956 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.268000' WHERE "spree_products"."id" = 1060500956  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590608 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.270000' WHERE "spree_products"."id" = 1060500956 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500956) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500956 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:37.273000' WHERE "spree_products"."id" = 1060500956 Row org.apache.poi.hssf.usermodel.HSSFRow@29aa31 succesfully SAVED : ID 1060500956 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:37.282000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:37.282000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.285000' WHERE "spree_products"."id" = 1060500957 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500957, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.287000' WHERE "spree_products"."id" = 1060500957  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590609 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.289000' WHERE "spree_products"."id" = 1060500957  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500957  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.295000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:37.295000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:37.297000', NULL, 905835183, '2012-10-21 17:09:37.297000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500957, "updated_at" = '2012-10-21 17:09:37.298000' WHERE "spree_product_properties"."id" = 1073273485 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:37.304000', NULL, 905835182, '2012-10-21 17:09:37.304000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500957, "updated_at" = '2012-10-21 17:09:37.306000' WHERE "spree_product_properties"."id" = 1073273486 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.308000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:37.308000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:37.310000', NULL, 905835184, '2012-10-21 17:09:37.310000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500957, "updated_at" = '2012-10-21 17:09:37.312000' WHERE "spree_product_properties"."id" = 1073273487 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500957) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:37.315000', 'Drawings', '2012-10-21 17:09:37.315000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451809 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.321000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854451809, '2012-10-21 17:09:37.321000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500957 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500957, 558399057) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451806 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399052 AND "spree_taxons"."taxonomy_id" = 854451806 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399052 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.329000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558399052, 'paintings/landscape', 0, 14, 854451806, '2012-10-21 17:09:37.329000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399052 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399058 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399058 THEN 558399052 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399052 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399058 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500957, 558399058)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500957, 558399052) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500957) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500957) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500957 AND "spree_option_types"."id" = 935339331 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500957) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:37.367000', 935339331, 1, 1060500957, '2012-10-21 17:09:37.367000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.376000' WHERE "spree_products"."id" = 1060500957 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500957, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.377000' WHERE "spree_products"."id" = 1060500957  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590610, 979460378) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.383000' WHERE "spree_products"."id" = 1060500957 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500957, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.384000' WHERE "spree_products"."id" = 1060500957  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590611, 979460379) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339331 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.389000' WHERE "spree_products"."id" = 1060500957 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500957, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.390000' WHERE "spree_products"."id" = 1060500957  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590612, 979460380) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.394000', 'print_type', 0, 'Print type', '2012-10-21 17:09:37.394000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500957 AND "spree_option_types"."id" = 935339332 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500957) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:37.399000', 935339332, 2, 1060500957, '2012-10-21 17:09:37.399000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339332 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339332) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.402000', 'black_white', 935339332, 1, NULL, '2012-10-21 17:09:37.402000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.407000' WHERE "spree_products"."id" = 1060500957 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500957, 'DEMO_003_4', NULL, NULL) SQL (26.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.409000' WHERE "spree_products"."id" = 1060500957  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590613, 979460381) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339332 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339332) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.449000', 'colour', 935339332, 2, NULL, '2012-10-21 17:09:37.449000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.453000' WHERE "spree_products"."id" = 1060500957 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500957, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.455000' WHERE "spree_products"."id" = 1060500957  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590614, 979460382) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500957) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590610 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590611 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590612 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590613 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590614 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500957) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.482000' WHERE "spree_products"."id" = 1060500957  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590610 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.484000' WHERE "spree_products"."id" = 1060500957 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.487000' WHERE "spree_products"."id" = 1060500957  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590611 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.488000' WHERE "spree_products"."id" = 1060500957 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.490000' WHERE "spree_products"."id" = 1060500957  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590612 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.491000' WHERE "spree_products"."id" = 1060500957 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.493000' WHERE "spree_products"."id" = 1060500957  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590613 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.494000' WHERE "spree_products"."id" = 1060500957 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500957 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.496000' WHERE "spree_products"."id" = 1060500957  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590614 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.497000' WHERE "spree_products"."id" = 1060500957 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500957) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:37.501000' WHERE "spree_products"."id" = 1060500957 Row org.apache.poi.hssf.usermodel.HSSFRow@23aa9c succesfully SAVED : ID 1060500957 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500957 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590609) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500957)) Excel Loader processing 70 rows SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (35.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 69 rows Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:37.721000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:37.721000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.751000' WHERE "spree_products"."id" = 1060500958 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500958, 'MULTI_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.755000' WHERE "spree_products"."id" = 1060500958  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590615 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.758000' WHERE "spree_products"."id" = 1060500958  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500958  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.765000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:37.765000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:37.767000', NULL, 905835185, '2012-10-21 17:09:37.767000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500958, "updated_at" = '2012-10-21 17:09:37.769000' WHERE "spree_product_properties"."id" = 1073273488 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:37.773000', 'Paintings', '2012-10-21 17:09:37.773000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451810 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.777000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451810, '2012-10-21 17:09:37.777000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500958 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500958, 558399059) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:37.788000', 'WaterColour', '2012-10-21 17:09:37.788000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451811 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:37.792000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854451811, '2012-10-21 17:09:37.792000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500958, 558399060) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.799000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:37.799000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500958 AND "spree_option_types"."id" = 935339333 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500958) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:37.808000', 935339333, 1, 1060500958, '2012-10-21 17:09:37.808000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339333 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339333) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.812000', 'jpeg', 935339333, 1, NULL, '2012-10-21 17:09:37.812000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.841000' WHERE "spree_products"."id" = 1060500958 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500958, 'MULTI_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.843000' WHERE "spree_products"."id" = 1060500958  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590616, 979460383) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339333 LIMIT 1 Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339333) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.849000', 'PDF', 935339333, 2, NULL, '2012-10-21 17:09:37.849000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.854000' WHERE "spree_products"."id" = 1060500958 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500958, 'MULTI_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.855000' WHERE "spree_products"."id" = 1060500958  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590617, 979460384) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339333 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339333) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:37.863000', 'PNG', 935339333, 3, NULL, '2012-10-21 17:09:37.863000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.866000' WHERE "spree_products"."id" = 1060500958 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500958, 'MULTI_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.868000' WHERE "spree_products"."id" = 1060500958  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590618, 979460385) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590616 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590617 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590618 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.885000' WHERE "spree_products"."id" = 1060500958  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590616 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.887000' WHERE "spree_products"."id" = 1060500958 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.888000' WHERE "spree_products"."id" = 1060500958  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590617 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.890000' WHERE "spree_products"."id" = 1060500958 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500958 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.894000' WHERE "spree_products"."id" = 1060500958  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590618 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:37.895000' WHERE "spree_products"."id" = 1060500958 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590615 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-21 17:09:37.905000', 240, 1, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-21 17:09:38.747000', 240, 2, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-21 17:09:40.149000', 240, 3, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500958) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:40.989000' WHERE "spree_products"."id" = 1060500958 Row org.apache.poi.hssf.usermodel.HSSFRow@a475d1 succesfully SAVED : ID 1060500958 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:40.998000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:40.998000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.031000' WHERE "spree_products"."id" = 1060500959 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500959, 'MULTI_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.033000' WHERE "spree_products"."id" = 1060500959  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590619 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.037000' WHERE "spree_products"."id" = 1060500959  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500959  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:41.051000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:41.051000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:41.054000', NULL, 905835186, '2012-10-21 17:09:41.054000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500959, "updated_at" = '2012-10-21 17:09:41.056000' WHERE "spree_product_properties"."id" = 1073273489 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451810 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500959 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500959, 558399059) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:41.065000', 'Landscape', '2012-10-21 17:09:41.065000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451812 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:41.069000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854451812, '2012-10-21 17:09:41.069000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500959, 558399061) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:41.073000', 'Oils', '2012-10-21 17:09:41.073000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451813 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:41.077000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451813, '2012-10-21 17:09:41.077000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500959, 558399062) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500959 AND "spree_option_types"."id" = 935339333 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500959) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:41.087000', 935339333, 1, 1060500959, '2012-10-21 17:09:41.087000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339333 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.094000' WHERE "spree_products"."id" = 1060500959 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500959, 'MULTI_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.095000' WHERE "spree_products"."id" = 1060500959  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590620, 979460383) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339333 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.100000' WHERE "spree_products"."id" = 1060500959 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500959, 'MULTI_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.102000' WHERE "spree_products"."id" = 1060500959  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590621, 979460384) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339333 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.107000' WHERE "spree_products"."id" = 1060500959 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500959, 'MULTI_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.109000' WHERE "spree_products"."id" = 1060500959  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590622, 979460385) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590620 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590621 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590622 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 SQL (6.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.134000' WHERE "spree_products"."id" = 1060500959  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590620 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.143000' WHERE "spree_products"."id" = 1060500959 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.146000' WHERE "spree_products"."id" = 1060500959  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590621 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.149000' WHERE "spree_products"."id" = 1060500959 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500959 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.151000' WHERE "spree_products"."id" = 1060500959  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590622 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:41.152000' WHERE "spree_products"."id" = 1060500959 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590619 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-21 17:09:41.233000', 2424, 4, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-21 17:09:48.408000', 240, 5, 'Spree::Image', NULL, NULL) Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500959) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500959 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:49.229000' WHERE "spree_products"."id" = 1060500959 Row org.apache.poi.hssf.usermodel.HSSFRow@81653d succesfully SAVED : ID 1060500959 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500958 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590615 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:49.694000', 'Paintings', '2012-10-21 17:09:49.694000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451814 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:49.700000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451814, '2012-10-21 17:09:49.700000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:49.708000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451814, '2012-10-21 17:09:49.708000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:49.714000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 854451814, '2012-10-21 17:09:49.714000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:49.820000', 'Paintings', '2012-10-21 17:09:49.820000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451815 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:49.826000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451815, '2012-10-21 17:09:49.826000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:49.834000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451815, '2012-10-21 17:09:49.834000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:49.842000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 854451815, '2012-10-21 17:09:49.842000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451815 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451815 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854451815 LIMIT 1 Booted Spree using version 1.1.3 SQL (44.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:50.120000', 'Paintings', '2012-10-21 17:09:50.120000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.128000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451816, '2012-10-21 17:09:50.128000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.141000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451816, '2012-10-21 17:09:50.141000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 558399069, "updated_at" = '2012-10-21 17:09:50.159000' WHERE "spree_taxons"."id" = 558399070 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399069 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399070 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399070 THEN 558399069 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399069 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399070 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399069 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:50.192000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:50.192000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.195000' WHERE "spree_products"."id" = 1060500960 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500960, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.198000' WHERE "spree_products"."id" = 1060500960  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590623 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.229000' WHERE "spree_products"."id" = 1060500960  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500960  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.243000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:50.243000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:50.246000', NULL, 905835187, '2012-10-21 17:09:50.246000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500960, "updated_at" = '2012-10-21 17:09:50.248000' WHERE "spree_product_properties"."id" = 1073273490 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500960) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500960 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500960, 558399069) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:50.260000', 'WaterColour', '2012-10-21 17:09:50.260000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451817 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.271000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451817, '2012-10-21 17:09:50.271000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500960, 558399071) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500960) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500960) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.279000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:50.279000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500960 AND "spree_option_types"."id" = 935339334 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500960) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:50.302000', 935339334, 1, 1060500960, '2012-10-21 17:09:50.302000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339334) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.331000', 'jpeg', 935339334, 1, NULL, '2012-10-21 17:09:50.331000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.336000' WHERE "spree_products"."id" = 1060500960 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500960, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.337000' WHERE "spree_products"."id" = 1060500960  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590624, 979460386) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339334) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.341000', 'PDF', 935339334, 2, NULL, '2012-10-21 17:09:50.341000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.345000' WHERE "spree_products"."id" = 1060500960 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500960, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.349000' WHERE "spree_products"."id" = 1060500960  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590625, 979460387) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339334) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.353000', 'PNG', 935339334, 3, NULL, '2012-10-21 17:09:50.353000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.357000' WHERE "spree_products"."id" = 1060500960 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500960, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.359000' WHERE "spree_products"."id" = 1060500960  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590626, 979460388) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500960) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590624 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590625 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590626 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500960) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.377000' WHERE "spree_products"."id" = 1060500960  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590624 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.379000' WHERE "spree_products"."id" = 1060500960 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.381000' WHERE "spree_products"."id" = 1060500960  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590625 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.382000' WHERE "spree_products"."id" = 1060500960 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.384000' WHERE "spree_products"."id" = 1060500960  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590626 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.386000' WHERE "spree_products"."id" = 1060500960 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500960) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500960 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:50.389000' WHERE "spree_products"."id" = 1060500960 Row org.apache.poi.hssf.usermodel.HSSFRow@ed0e35 succesfully SAVED : ID 1060500960 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:50.397000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:50.397000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.401000' WHERE "spree_products"."id" = 1060500961 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500961, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.403000' WHERE "spree_products"."id" = 1060500961  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590627 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.407000' WHERE "spree_products"."id" = 1060500961  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500961  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.412000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:50.412000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:50.414000', NULL, 905835188, '2012-10-21 17:09:50.414000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500961, "updated_at" = '2012-10-21 17:09:50.415000' WHERE "spree_product_properties"."id" = 1073273491 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500961) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500961 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500961, 558399069) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:50.422000', 'Oils', '2012-10-21 17:09:50.422000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451818 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.426000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451818, '2012-10-21 17:09:50.426000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500961, 558399072) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399069 AND "spree_taxons"."taxonomy_id" = 854451816 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399069 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.435000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399069, 'paintings/nature', 0, 10, 854451816, '2012-10-21 17:09:50.435000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399069 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399073 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399073 THEN 558399069 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399069 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399073 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399073 AND "spree_taxons"."taxonomy_id" = 854451816 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399073 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.445000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399073, 'paintings/nature/seascape', 0, 12, 854451816, '2012-10-21 17:09:50.445000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399073 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399074 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399074 THEN 558399073 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399073 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399074 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500961, 558399073)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500961, 558399074) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500961) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500961 AND "spree_option_types"."id" = 935339334 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500961) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:50.459000', 935339334, 1, 1060500961, '2012-10-21 17:09:50.459000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.462000' WHERE "spree_products"."id" = 1060500961 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500961, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.464000' WHERE "spree_products"."id" = 1060500961  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590628, 979460386) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.468000' WHERE "spree_products"."id" = 1060500961 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500961, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.470000' WHERE "spree_products"."id" = 1060500961  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590629, 979460387) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.474000' WHERE "spree_products"."id" = 1060500961 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500961, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.476000' WHERE "spree_products"."id" = 1060500961  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590630, 979460388) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500961) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500961) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590628 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590629 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590630 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500961) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.499000' WHERE "spree_products"."id" = 1060500961  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590628 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.500000' WHERE "spree_products"."id" = 1060500961 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.502000' WHERE "spree_products"."id" = 1060500961  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590629 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.504000' WHERE "spree_products"."id" = 1060500961 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.506000' WHERE "spree_products"."id" = 1060500961  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590630 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.507000' WHERE "spree_products"."id" = 1060500961 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500961) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500961 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:50.510000' WHERE "spree_products"."id" = 1060500961 Row org.apache.poi.hssf.usermodel.HSSFRow@b667e6 succesfully SAVED : ID 1060500961 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:50.518000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:50.518000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.521000' WHERE "spree_products"."id" = 1060500962 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500962, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.522000' WHERE "spree_products"."id" = 1060500962  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590631 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.524000' WHERE "spree_products"."id" = 1060500962  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500962  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.532000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:50.532000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:50.537000', NULL, 905835189, '2012-10-21 17:09:50.537000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500962, "updated_at" = '2012-10-21 17:09:50.542000' WHERE "spree_product_properties"."id" = 1073273492 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:50.547000', NULL, 905835188, '2012-10-21 17:09:50.547000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500962, "updated_at" = '2012-10-21 17:09:50.549000' WHERE "spree_product_properties"."id" = 1073273493 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.551000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:50.551000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:50.554000', NULL, 905835190, '2012-10-21 17:09:50.554000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500962, "updated_at" = '2012-10-21 17:09:50.558000' WHERE "spree_product_properties"."id" = 1073273494 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500962) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:50.565000', 'Drawings', '2012-10-21 17:09:50.565000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451819 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.569000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451819, '2012-10-21 17:09:50.569000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500962 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500962, 558399075) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399069 AND "spree_taxons"."taxonomy_id" = 854451816 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500962, 558399070)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500962, 558399069) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500962) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500962) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500962 AND "spree_option_types"."id" = 935339334 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500962) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:50.585000', 935339334, 1, 1060500962, '2012-10-21 17:09:50.585000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.591000' WHERE "spree_products"."id" = 1060500962 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500962, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.593000' WHERE "spree_products"."id" = 1060500962  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590632, 979460386) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.597000' WHERE "spree_products"."id" = 1060500962 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500962, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.599000' WHERE "spree_products"."id" = 1060500962  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590633, 979460387) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339334 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.604000' WHERE "spree_products"."id" = 1060500962 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500962, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.606000' WHERE "spree_products"."id" = 1060500962  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590634, 979460388) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.610000', 'print_type', 0, 'Print type', '2012-10-21 17:09:50.610000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500962 AND "spree_option_types"."id" = 935339335 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500962) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:50.615000', 935339335, 2, 1060500962, '2012-10-21 17:09:50.615000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339335 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339335) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.618000', 'black_white', 935339335, 1, NULL, '2012-10-21 17:09:50.618000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.624000' WHERE "spree_products"."id" = 1060500962 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500962, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.625000' WHERE "spree_products"."id" = 1060500962  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590635, 979460389) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339335 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339335) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:50.628000', 'colour', 935339335, 2, NULL, '2012-10-21 17:09:50.628000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.658000' WHERE "spree_products"."id" = 1060500962 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500962, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.660000' WHERE "spree_products"."id" = 1060500962  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590636, 979460390) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500962) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590632 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590633 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590635 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590636 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500962) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.698000' WHERE "spree_products"."id" = 1060500962  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590632 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.699000' WHERE "spree_products"."id" = 1060500962 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.701000' WHERE "spree_products"."id" = 1060500962  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590633 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.702000' WHERE "spree_products"."id" = 1060500962 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.704000' WHERE "spree_products"."id" = 1060500962  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590634 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.706000' WHERE "spree_products"."id" = 1060500962 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.708000' WHERE "spree_products"."id" = 1060500962  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590635 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.709000' WHERE "spree_products"."id" = 1060500962 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500962 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.711000' WHERE "spree_products"."id" = 1060500962  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590636 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:50.712000' WHERE "spree_products"."id" = 1060500962 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500962) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500962 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:50.716000' WHERE "spree_products"."id" = 1060500962 Row org.apache.poi.hssf.usermodel.HSSFRow@10d1dd succesfully SAVED : ID 1060500962 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500960 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500960 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500961 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500961 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451816 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399069 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399073 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399073 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399074 ORDER BY "lft" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (34.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:50.898000', 'Paintings', '2012-10-21 17:09:50.898000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.908000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451820, '2012-10-21 17:09:50.908000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:50.919000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451820, '2012-10-21 17:09:50.919000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 558399076, "updated_at" = '2012-10-21 17:09:50.926000' WHERE "spree_taxons"."id" = 558399077 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399076 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399077 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399077 THEN 558399076 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399076 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399077 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399076 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:51.005000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:51.005000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.009000' WHERE "spree_products"."id" = 1060500963 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500963, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.013000' WHERE "spree_products"."id" = 1060500963  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590637 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.015000' WHERE "spree_products"."id" = 1060500963  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500963  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.023000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:51.023000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:51.026000', NULL, 905835191, '2012-10-21 17:09:51.026000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500963, "updated_at" = '2012-10-21 17:09:51.029000' WHERE "spree_product_properties"."id" = 1073273495 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500963 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500963, 558399076) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:51.039000', 'WaterColour', '2012-10-21 17:09:51.039000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451821 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.044000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451821, '2012-10-21 17:09:51.044000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500963, 558399078) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.051000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:51.051000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500963 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500963) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:51.058000', 935339336, 1, 1060500963, '2012-10-21 17:09:51.058000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339336) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.061000', 'jpeg', 935339336, 1, NULL, '2012-10-21 17:09:51.061000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.065000' WHERE "spree_products"."id" = 1060500963 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500963, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.067000' WHERE "spree_products"."id" = 1060500963  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590638, 979460391) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::OptionType Load (24.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500963 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339336) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.101000', 'PDF', 935339336, 2, NULL, '2012-10-21 17:09:51.101000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.107000' WHERE "spree_products"."id" = 1060500963 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500963, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.108000' WHERE "spree_products"."id" = 1060500963  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590639, 979460392) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500963 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339336) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.118000', 'PNG', 935339336, 3, NULL, '2012-10-21 17:09:51.118000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.125000' WHERE "spree_products"."id" = 1060500963 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500963, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.127000' WHERE "spree_products"."id" = 1060500963  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590640, 979460393) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590638 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590639 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590640 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.154000' WHERE "spree_products"."id" = 1060500963  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590638 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.155000' WHERE "spree_products"."id" = 1060500963 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.157000' WHERE "spree_products"."id" = 1060500963  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590639 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.158000' WHERE "spree_products"."id" = 1060500963 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.160000' WHERE "spree_products"."id" = 1060500963  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590640 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.162000' WHERE "spree_products"."id" = 1060500963 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500963) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500963 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:51.165000' WHERE "spree_products"."id" = 1060500963 Row org.apache.poi.hssf.usermodel.HSSFRow@294ce7 succesfully SAVED : ID 1060500963 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:51.174000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:51.174000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.178000' WHERE "spree_products"."id" = 1060500964 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500964, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.180000' WHERE "spree_products"."id" = 1060500964  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590641 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.182000' WHERE "spree_products"."id" = 1060500964  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500964  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.187000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:51.187000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:51.189000', NULL, 905835192, '2012-10-21 17:09:51.189000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500964, "updated_at" = '2012-10-21 17:09:51.190000' WHERE "spree_product_properties"."id" = 1073273496 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500964 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500964, 558399076) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:51.200000', 'Oils', '2012-10-21 17:09:51.200000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451822 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.203000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451822, '2012-10-21 17:09:51.203000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500964, 558399079) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399076 AND "spree_taxons"."taxonomy_id" = 854451820 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399076 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.212000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399076, 'paintings/nature', 0, 10, 854451820, '2012-10-21 17:09:51.212000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399076 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399080 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399080 THEN 558399076 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399076 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399080 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399080 AND "spree_taxons"."taxonomy_id" = 854451820 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399080 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.221000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399080, 'paintings/nature/seascape', 0, 12, 854451820, '2012-10-21 17:09:51.221000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399080 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399081 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399081 THEN 558399080 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399080 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399081 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500964, 558399080)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500964, 558399081) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500964 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500964) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:51.237000', 935339336, 1, 1060500964, '2012-10-21 17:09:51.237000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.242000' WHERE "spree_products"."id" = 1060500964 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500964, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.243000' WHERE "spree_products"."id" = 1060500964  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590642, 979460391) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500964 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.256000' WHERE "spree_products"."id" = 1060500964 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500964, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.258000' WHERE "spree_products"."id" = 1060500964  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590643, 979460392) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500964 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.269000' WHERE "spree_products"."id" = 1060500964 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500964, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.271000' WHERE "spree_products"."id" = 1060500964  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590644, 979460393) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590642 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590643 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590644 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.288000' WHERE "spree_products"."id" = 1060500964  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590642 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.290000' WHERE "spree_products"."id" = 1060500964 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.292000' WHERE "spree_products"."id" = 1060500964  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590643 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.293000' WHERE "spree_products"."id" = 1060500964 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.295000' WHERE "spree_products"."id" = 1060500964  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590644 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.296000' WHERE "spree_products"."id" = 1060500964 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500964) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500964 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:51.301000' WHERE "spree_products"."id" = 1060500964 Row org.apache.poi.hssf.usermodel.HSSFRow@f818a1 succesfully SAVED : ID 1060500964 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:51.312000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:51.312000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.320000' WHERE "spree_products"."id" = 1060500965 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500965, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.323000' WHERE "spree_products"."id" = 1060500965  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590645 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.331000' WHERE "spree_products"."id" = 1060500965  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500965  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.337000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:51.337000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:51.348000', NULL, 905835193, '2012-10-21 17:09:51.348000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500965, "updated_at" = '2012-10-21 17:09:51.355000' WHERE "spree_product_properties"."id" = 1073273497 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:51.359000', NULL, 905835192, '2012-10-21 17:09:51.359000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500965, "updated_at" = '2012-10-21 17:09:51.361000' WHERE "spree_product_properties"."id" = 1073273498 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.364000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:51.364000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:51.367000', NULL, 905835194, '2012-10-21 17:09:51.367000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500965, "updated_at" = '2012-10-21 17:09:51.370000' WHERE "spree_product_properties"."id" = 1073273499 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:51.373000', 'Drawings', '2012-10-21 17:09:51.373000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451823 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.379000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451823, '2012-10-21 17:09:51.379000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500965 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500965, 558399082) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399076 AND "spree_taxons"."taxonomy_id" = 854451820 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500965, 558399077)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500965, 558399076) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500965 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500965) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:51.397000', 935339336, 1, 1060500965, '2012-10-21 17:09:51.397000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.402000' WHERE "spree_products"."id" = 1060500965 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500965, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.403000' WHERE "spree_products"."id" = 1060500965  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590646, 979460391) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500965 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.413000' WHERE "spree_products"."id" = 1060500965 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500965, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.415000' WHERE "spree_products"."id" = 1060500965  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590647, 979460392) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500965 AND "spree_option_types"."id" = 935339336 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339336 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.427000' WHERE "spree_products"."id" = 1060500965 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500965, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.429000' WHERE "spree_products"."id" = 1060500965  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590648, 979460393) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.434000', 'print_type', 0, 'Print type', '2012-10-21 17:09:51.434000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500965 AND "spree_option_types"."id" = 935339337 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500965) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:51.441000', 935339337, 2, 1060500965, '2012-10-21 17:09:51.441000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339337 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339337) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.444000', 'black_white', 935339337, 1, NULL, '2012-10-21 17:09:51.444000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.448000' WHERE "spree_products"."id" = 1060500965 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500965, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.450000' WHERE "spree_products"."id" = 1060500965  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590649, 979460394) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500965 AND "spree_option_types"."id" = 935339337 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339337 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339337) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.488000', 'colour', 935339337, 2, NULL, '2012-10-21 17:09:51.488000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.492000' WHERE "spree_products"."id" = 1060500965 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500965, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.494000' WHERE "spree_products"."id" = 1060500965  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590650, 979460395) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590646 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590647 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590648 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590649 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590650 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.521000' WHERE "spree_products"."id" = 1060500965  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590646 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.524000' WHERE "spree_products"."id" = 1060500965 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.526000' WHERE "spree_products"."id" = 1060500965  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590647 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.527000' WHERE "spree_products"."id" = 1060500965 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.529000' WHERE "spree_products"."id" = 1060500965  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590648 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.531000' WHERE "spree_products"."id" = 1060500965 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.532000' WHERE "spree_products"."id" = 1060500965  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590649 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.534000' WHERE "spree_products"."id" = 1060500965 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500965 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.536000' WHERE "spree_products"."id" = 1060500965  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590650 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.537000' WHERE "spree_products"."id" = 1060500965 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500965) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500965 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:51.540000' WHERE "spree_products"."id" = 1060500965 Row org.apache.poi.hssf.usermodel.HSSFRow@1627cf6 succesfully SAVED : ID 1060500965 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (2.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500963 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500963 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500964 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500964 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (27.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451820 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399076 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399080 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399080 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399081 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (29.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:51.733000', 'Paintings', '2012-10-21 17:09:51.733000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451824 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.738000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451824, '2012-10-21 17:09:51.738000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.747000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854451824, '2012-10-21 17:09:51.747000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 558399083, "updated_at" = '2012-10-21 17:09:51.754000' WHERE "spree_taxons"."id" = 558399084 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399083 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399084 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399084 THEN 558399083 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399083 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399084 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399083 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:51.778000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:51.778000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.782000' WHERE "spree_products"."id" = 1060500966 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500966, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.784000' WHERE "spree_products"."id" = 1060500966  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590651 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.787000' WHERE "spree_products"."id" = 1060500966  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500966  (25.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.818000', 'test_pp_001', 'Test pp 001', '2012-10-21 17:09:51.818000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:51.821000', NULL, 905835195, '2012-10-21 17:09:51.821000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500966, "updated_at" = '2012-10-21 17:09:51.825000' WHERE "spree_product_properties"."id" = 1073273500 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451824 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500966 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500966, 558399083) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:51.845000', 'WaterColour', '2012-10-21 17:09:51.845000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451825 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:51.850000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451825, '2012-10-21 17:09:51.850000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500966, 558399085) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.860000', 'mime_type', 0, 'Mime type', '2012-10-21 17:09:51.860000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500966 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500966) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:51.866000', 935339338, 1, 1060500966, '2012-10-21 17:09:51.866000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339338) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.869000', 'jpeg', 935339338, 1, NULL, '2012-10-21 17:09:51.869000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.873000' WHERE "spree_products"."id" = 1060500966 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500966, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.875000' WHERE "spree_products"."id" = 1060500966  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590652, 979460396) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500966 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339338) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.910000', 'PDF', 935339338, 2, NULL, '2012-10-21 17:09:51.910000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.914000' WHERE "spree_products"."id" = 1060500966 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500966, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.916000' WHERE "spree_products"."id" = 1060500966  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590653, 979460397) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500966 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339338) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:51.925000', 'PNG', 935339338, 3, NULL, '2012-10-21 17:09:51.925000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.929000' WHERE "spree_products"."id" = 1060500966 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500966, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.931000' WHERE "spree_products"."id" = 1060500966  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590654, 979460398) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590652 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590653 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590654 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.965000' WHERE "spree_products"."id" = 1060500966  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590652 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.967000' WHERE "spree_products"."id" = 1060500966 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.969000' WHERE "spree_products"."id" = 1060500966  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590653 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.971000' WHERE "spree_products"."id" = 1060500966 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.973000' WHERE "spree_products"."id" = 1060500966  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590654 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.974000' WHERE "spree_products"."id" = 1060500966 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500966) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500966 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 17:09:51.980000' WHERE "spree_products"."id" = 1060500966 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:51.987000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-21 17:09:51.987000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.990000' WHERE "spree_products"."id" = 1060500967 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500967, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.992000' WHERE "spree_products"."id" = 1060500967  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590655 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:51.994000' WHERE "spree_products"."id" = 1060500967  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500967  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:52.000000', 'test_pp_003', 'Test pp 003', '2012-10-21 17:09:52.000000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:52.002000', NULL, 905835196, '2012-10-21 17:09:52.002000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500967, "updated_at" = '2012-10-21 17:09:52.003000' WHERE "spree_product_properties"."id" = 1073273501 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451824 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500967 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500967, 558399083) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:52.023000', 'Oils', '2012-10-21 17:09:52.023000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451826 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.026000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451826, '2012-10-21 17:09:52.026000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500967, 558399086) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451824 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399083 AND "spree_taxons"."taxonomy_id" = 854451824 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399083 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.034000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399083, 'paintings/nature', 0, 10, 854451824, '2012-10-21 17:09:52.034000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399083 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399087 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399087 THEN 558399083 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399083 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399087 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399087 AND "spree_taxons"."taxonomy_id" = 854451824 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399087 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.046000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399087, 'paintings/nature/seascape', 0, 12, 854451824, '2012-10-21 17:09:52.046000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399087 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399088 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399088 THEN 558399087 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399087 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399088 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500967, 558399087)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500967, 558399088) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500967 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500967) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:52.058000', 935339338, 1, 1060500967, '2012-10-21 17:09:52.058000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.064000' WHERE "spree_products"."id" = 1060500967 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500967, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.066000' WHERE "spree_products"."id" = 1060500967  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590656, 979460396) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500967 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.077000' WHERE "spree_products"."id" = 1060500967 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500967, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.078000' WHERE "spree_products"."id" = 1060500967  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590657, 979460397) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500967 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.088000' WHERE "spree_products"."id" = 1060500967 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500967, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.090000' WHERE "spree_products"."id" = 1060500967  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590658, 979460398) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590656 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590657 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590658 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.114000' WHERE "spree_products"."id" = 1060500967  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590656 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.116000' WHERE "spree_products"."id" = 1060500967 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.119000' WHERE "spree_products"."id" = 1060500967  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590657 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.121000' WHERE "spree_products"."id" = 1060500967 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.123000' WHERE "spree_products"."id" = 1060500967  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590658 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.125000' WHERE "spree_products"."id" = 1060500967 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500967) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500967 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 17:09:52.129000' WHERE "spree_products"."id" = 1060500967 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:52.154000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:52.154000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.156000' WHERE "spree_products"."id" = 1060500968 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500968, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.158000' WHERE "spree_products"."id" = 1060500968  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590659 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.160000' WHERE "spree_products"."id" = 1060500968  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500968  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:52.166000', 'test_pp_002', 'Test pp 002', '2012-10-21 17:09:52.166000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:52.167000', NULL, 905835197, '2012-10-21 17:09:52.167000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500968, "updated_at" = '2012-10-21 17:09:52.169000' WHERE "spree_product_properties"."id" = 1073273502 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:52.172000', NULL, 905835196, '2012-10-21 17:09:52.172000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500968, "updated_at" = '2012-10-21 17:09:52.174000' WHERE "spree_product_properties"."id" = 1073273503 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-21 17:09:52.187000', 'yet_another_property', 'Yet another property', '2012-10-21 17:09:52.187000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-21 17:09:52.189000', NULL, 905835198, '2012-10-21 17:09:52.189000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500968, "updated_at" = '2012-10-21 17:09:52.190000' WHERE "spree_product_properties"."id" = 1073273504 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:52.194000', 'Drawings', '2012-10-21 17:09:52.194000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451827 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.200000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451827, '2012-10-21 17:09:52.200000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500968 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500968, 558399089) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451824 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399083 AND "spree_taxons"."taxonomy_id" = 854451824 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500968, 558399084)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500968, 558399083) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500968 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500968) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:52.221000', 935339338, 1, 1060500968, '2012-10-21 17:09:52.221000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.226000' WHERE "spree_products"."id" = 1060500968 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500968, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.228000' WHERE "spree_products"."id" = 1060500968  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590660, 979460396) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500968 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.242000' WHERE "spree_products"."id" = 1060500968 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500968, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.244000' WHERE "spree_products"."id" = 1060500968  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590661, 979460397) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500968 AND "spree_option_types"."id" = 935339338 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339338 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.254000' WHERE "spree_products"."id" = 1060500968 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500968, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.256000' WHERE "spree_products"."id" = 1060500968  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590662, 979460398) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:52.260000', 'print_type', 0, 'Print type', '2012-10-21 17:09:52.260000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500968 AND "spree_option_types"."id" = 935339339 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500968) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-21 17:09:52.267000', 935339339, 2, 1060500968, '2012-10-21 17:09:52.267000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339339 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339339) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:52.270000', 'black_white', 935339339, 1, NULL, '2012-10-21 17:09:52.270000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.274000' WHERE "spree_products"."id" = 1060500968 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500968, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.276000' WHERE "spree_products"."id" = 1060500968  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590663, 979460399) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500968 AND "spree_option_types"."id" = 935339339 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339339 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339339) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-21 17:09:52.310000', 'colour', 935339339, 2, NULL, '2012-10-21 17:09:52.310000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.314000' WHERE "spree_products"."id" = 1060500968 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500968, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.316000' WHERE "spree_products"."id" = 1060500968  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590664, 979460400) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590660 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590661 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590662 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590663 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590664 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.338000' WHERE "spree_products"."id" = 1060500968  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590660 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.340000' WHERE "spree_products"."id" = 1060500968 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.343000' WHERE "spree_products"."id" = 1060500968  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590661 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.345000' WHERE "spree_products"."id" = 1060500968 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.347000' WHERE "spree_products"."id" = 1060500968  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590662 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.348000' WHERE "spree_products"."id" = 1060500968 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.350000' WHERE "spree_products"."id" = 1060500968  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590663 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.352000' WHERE "spree_products"."id" = 1060500968 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500968 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.356000' WHERE "spree_products"."id" = 1060500968  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590664 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.359000' WHERE "spree_products"."id" = 1060500968 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500968) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500968 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 17:09:52.363000' WHERE "spree_products"."id" = 1060500968 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500966 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500966 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500967 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500967 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451824 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399083 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451824 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399087 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399087 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399088 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (29.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:52.505000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:52.505000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500969 LIMIT 1 SQL (29.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.509000' WHERE "spree_products"."id" = 1060500969 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500969, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.541000' WHERE "spree_products"."id" = 1060500969  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590665 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.544000' WHERE "spree_products"."id" = 1060500969  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500969 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500969  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500969 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:52.552000', 'Paintings', '2012-10-21 17:09:52.552000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451828 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.557000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451828, '2012-10-21 17:09:52.557000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399090 AND "spree_taxons"."taxonomy_id" = 854451828 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399090 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.567000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 558399090, 'paintings/landscape', 0, 4, 854451828, '2012-10-21 17:09:52.567000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399090 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399091 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399091 THEN 558399090 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399090 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399091 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500969 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500969, 558399091)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500969, 558399090) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500969) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:52.577000', 'WaterColour', '2012-10-21 17:09:52.577000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451829 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.582000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451829, '2012-10-21 17:09:52.582000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500969, 558399092) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500969) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500969) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590665 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500969) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-21 17:09:52.590000' WHERE "spree_products"."id" = 1060500969  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590665 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.593000' WHERE "spree_products"."id" = 1060500969 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500969 Row org.apache.poi.hssf.usermodel.HSSFRow@1608755 succesfully SAVED : ID 1060500969 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:52.600000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-21 17:09:52.600000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500970 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.603000' WHERE "spree_products"."id" = 1060500970 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500970, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.605000' WHERE "spree_products"."id" = 1060500970  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590666 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.607000' WHERE "spree_products"."id" = 1060500970  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500970 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500970  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500970 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451828 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500970 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500970, 558399090) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500970) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:52.617000', 'Oils', '2012-10-21 17:09:52.617000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.620000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451830, '2012-10-21 17:09:52.620000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500970, 558399093) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500970) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451828 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399090 AND "spree_taxons"."taxonomy_id" = 854451828 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399090 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.634000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399090, 'paintings/nature', 0, 10, 854451828, '2012-10-21 17:09:52.634000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399090 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399094 THEN 558399090 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399090 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399094 AND "spree_taxons"."taxonomy_id" = 854451828 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.643000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 558399094, 'paintings/nature/landscape', 0, 12, 854451828, '2012-10-21 17:09:52.643000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399095 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399095 THEN 558399094 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399095 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500970, 558399094)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500970, 558399095) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500970) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590666 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500970) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 17:09:52.658000' WHERE "spree_products"."id" = 1060500970  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590666 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.661000' WHERE "spree_products"."id" = 1060500970 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500970 Row org.apache.poi.hssf.usermodel.HSSFRow@a9b0fb succesfully SAVED : ID 1060500970 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:52.670000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:52.670000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500971 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.673000' WHERE "spree_products"."id" = 1060500971 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500971, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.675000' WHERE "spree_products"."id" = 1060500971  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590667 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.678000' WHERE "spree_products"."id" = 1060500971  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500971 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500971  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500971 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:52.683000', 'Drawings', '2012-10-21 17:09:52.683000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451831 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.689000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451831, '2012-10-21 17:09:52.689000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399096 AND "spree_taxons"."taxonomy_id" = 854451831 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399096 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.698000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399096, 'drawings/landscape', 0, 16, 854451831, '2012-10-21 17:09:52.698000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399096 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399097 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399097 THEN 558399096 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399096 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399097 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500971 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500971, 558399097)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500971, 558399096) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500971) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:52.713000', 'Landscape', '2012-10-21 17:09:52.713000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451832 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.718000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 854451832, '2012-10-21 17:09:52.718000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500971, 558399098) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500971) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500971) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590667 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500971) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-21 17:09:52.727000' WHERE "spree_products"."id" = 1060500971  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590667 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.729000' WHERE "spree_products"."id" = 1060500971 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500971 Row org.apache.poi.hssf.usermodel.HSSFRow@1544768 succesfully SAVED : ID 1060500971 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (3.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:52.738000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-21 17:09:52.738000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500972 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.744000' WHERE "spree_products"."id" = 1060500972 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1060500972, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.746000' WHERE "spree_products"."id" = 1060500972  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590668 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.749000' WHERE "spree_products"."id" = 1060500972  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500972 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500972  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500972 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (2.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451831 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399096 AND "spree_taxons"."taxonomy_id" = 854451831 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500972 Product assigned to Taxons : ["Landscape", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500972, 558399097)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500972, 558399096) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500972) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500972) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451828 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399090 AND "spree_taxons"."taxonomy_id" = 854451828 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399094 AND "spree_taxons"."taxonomy_id" = 854451828 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.774000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 558399094, 'paintings/nature/seascape', 0, 20, 854451828, '2012-10-21 17:09:52.774000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399099 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399099 THEN 558399094 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399099 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399099 AND "spree_taxons"."taxonomy_id" = 854451828 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399099 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.798000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 558399099, 'paintings/nature/seascape/cliffs', 0, 22, 854451828, '2012-10-21 17:09:52.798000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399099 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399100 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399100 THEN 558399099 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399099 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399100 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500972, 558399094)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500972, 558399099)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500972, 558399100)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500972, 558399090) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500972) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590668 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500972) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 17:09:52.813000' WHERE "spree_products"."id" = 1060500972  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590668 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.815000' WHERE "spree_products"."id" = 1060500972 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500972 Row org.apache.poi.hssf.usermodel.HSSFRow@115dbfe succesfully SAVED : ID 1060500972 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:52.823000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-21 17:09:52.823000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500973 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.827000' WHERE "spree_products"."id" = 1060500973 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1060500973, 'test_ct_005', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.830000' WHERE "spree_products"."id" = 1060500973  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590669 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.839000' WHERE "spree_products"."id" = 1060500973  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500973 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500973  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500973 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451831 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399096 AND "spree_taxons"."taxonomy_id" = 854451831 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399097 AND "spree_taxons"."taxonomy_id" = 854451831 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399097 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:52.851000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 558399097, 'drawings/landscape/bristol', 0, 24, 854451831, '2012-10-21 17:09:52.851000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399097 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399101 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399101 THEN 558399097 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399097 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399101 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500973 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500973, 558399097)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500973, 558399101)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500973, 558399096) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500973) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500973, 558399093) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500973) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500973) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590669 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500973) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 17:09:52.868000' WHERE "spree_products"."id" = 1060500973  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590669 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:52.871000' WHERE "spree_products"."id" = 1060500973 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500973 Row org.apache.poi.hssf.usermodel.HSSFRow@16b8185 succesfully SAVED : ID 1060500973 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451828 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451829 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451831 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451832 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451828 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451828 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399090 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399090) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399094 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399094) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399094) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399090 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399094 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399099 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399100 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399099) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451831 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451831 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399097 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399097 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399101 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399101) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451830 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399093 ORDER BY "lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451832 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451832 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399098 ORDER BY "lft" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-21 17:09:53.058000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-21 17:09:53.058000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500974 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.061000' WHERE "spree_products"."id" = 1060500974 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060500974, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.064000' WHERE "spree_products"."id" = 1060500974  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590670 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.066000' WHERE "spree_products"."id" = 1060500974  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500974 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500974  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500974 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:53.098000', 'Paintings', '2012-10-21 17:09:53.098000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451833 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.101000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854451833, '2012-10-21 17:09:53.101000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399102 AND "spree_taxons"."taxonomy_id" = 854451833 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399102 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.108000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 558399102, 'paintings/landscape', 0, 4, 854451833, '2012-10-21 17:09:53.108000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399102 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399103 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399103 THEN 558399102 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399102 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399103 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500974 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500974, 558399103)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500974, 558399102) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500974) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:53.124000', 'WaterColour', '2012-10-21 17:09:53.124000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.130000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854451834, '2012-10-21 17:09:53.130000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500974, 558399104) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500974) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590670 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500974) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-21 17:09:53.151000' WHERE "spree_products"."id" = 1060500974  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590670 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.153000' WHERE "spree_products"."id" = 1060500974 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500974 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-21 17:09:53.165000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-21 17:09:53.165000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500975 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.168000' WHERE "spree_products"."id" = 1060500975 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060500975, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.170000' WHERE "spree_products"."id" = 1060500975  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590671 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.172000' WHERE "spree_products"."id" = 1060500975  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500975 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500975  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500975 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451833 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500975 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500975, 558399102) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500975) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:53.183000', 'Oils', '2012-10-21 17:09:53.183000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451835 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.187000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854451835, '2012-10-21 17:09:53.187000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500975, 558399105) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500975) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451833 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399102 AND "spree_taxons"."taxonomy_id" = 854451833 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399102 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.198000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399102, 'paintings/nature', 0, 10, 854451833, '2012-10-21 17:09:53.198000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399102 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399106 THEN 558399102 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399102 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399106 AND "spree_taxons"."taxonomy_id" = 854451833 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.208000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 558399106, 'paintings/nature/landscape', 0, 12, 854451833, '2012-10-21 17:09:53.208000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399107 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399107 THEN 558399106 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399107 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500975, 558399106)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500975, 558399107) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500975) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590671 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060500975) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-21 17:09:53.223000' WHERE "spree_products"."id" = 1060500975  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590671 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.226000' WHERE "spree_products"."id" = 1060500975 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500975 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:53.234000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-21 17:09:53.234000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500976 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.238000' WHERE "spree_products"."id" = 1060500976 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060500976, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.240000' WHERE "spree_products"."id" = 1060500976  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590672 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.243000' WHERE "spree_products"."id" = 1060500976  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500976 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500976  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500976 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:53.249000', 'Drawings', '2012-10-21 17:09:53.249000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451836 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.254000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854451836, '2012-10-21 17:09:53.254000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399108 AND "spree_taxons"."taxonomy_id" = 854451836 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399108 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.262000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399108, 'drawings/landscape', 0, 16, 854451836, '2012-10-21 17:09:53.262000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399108 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399109 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399109 THEN 558399108 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399108 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399109 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500976 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500976, 558399109)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500976, 558399108) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500976) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-21 17:09:53.273000', 'Landscape', '2012-10-21 17:09:53.273000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451837 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.276000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 854451837, '2012-10-21 17:09:53.276000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500976, 558399110) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500976) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590672 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500976) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-21 17:09:53.288000' WHERE "spree_products"."id" = 1060500976  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590672 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.290000' WHERE "spree_products"."id" = 1060500976 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500976 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:53.298000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-21 17:09:53.298000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500977 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.301000' WHERE "spree_products"."id" = 1060500977 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1060500977, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.303000' WHERE "spree_products"."id" = 1060500977  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590673 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.305000' WHERE "spree_products"."id" = 1060500977  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500977 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500977  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500977 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451836 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399108 AND "spree_taxons"."taxonomy_id" = 854451836 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500977 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500977, 558399109)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500977, 558399108) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500977) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451833 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399102 AND "spree_taxons"."taxonomy_id" = 854451833 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399106 AND "spree_taxons"."taxonomy_id" = 854451833 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.324000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 558399106, 'paintings/nature/seascape', 0, 20, 854451833, '2012-10-21 17:09:53.324000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399111 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399111 THEN 558399106 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399111 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399111 AND "spree_taxons"."taxonomy_id" = 854451833 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399111 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.332000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 558399111, 'paintings/nature/seascape/cliffs', 0, 22, 854451833, '2012-10-21 17:09:53.332000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399111 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399112 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399112 THEN 558399111 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399111 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399112 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500977, 558399106)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500977, 558399111)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500977, 558399112)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500977, 558399102) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500977) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590673 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060500977) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 17:09:53.345000' WHERE "spree_products"."id" = 1060500977  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590673 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.347000' WHERE "spree_products"."id" = 1060500977 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500977 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-21 17:09:53.353000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-21 17:09:53.353000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500978 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.356000' WHERE "spree_products"."id" = 1060500978 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1060500978, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.358000' WHERE "spree_products"."id" = 1060500978  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590674 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.360000' WHERE "spree_products"."id" = 1060500978  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500978 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500978  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500978 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451836 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399108 AND "spree_taxons"."taxonomy_id" = 854451836 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399109 AND "spree_taxons"."taxonomy_id" = 854451836 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399109 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-21 17:09:53.370000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 558399109, 'drawings/landscape/bristol', 0, 24, 854451836, '2012-10-21 17:09:53.370000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399109 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399113 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399113 THEN 558399109 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399109 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399113 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500978 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500978, 558399109)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500978, 558399113)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500978, 558399108) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500978) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451835 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500978, 558399105) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500978) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590674 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060500978) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-21 17:09:53.404000' WHERE "spree_products"."id" = 1060500978  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013590674 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 17:09:53.407000' WHERE "spree_products"."id" = 1060500978 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500978  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451833 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451835 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451836 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451837 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451833 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451833 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399102 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399102) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399106 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399106) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399106) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399102 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399106 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399111 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399112 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399111) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451836 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451836 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399109 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399109 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399113 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399113) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451835 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451835 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399105 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451837 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451837 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399110 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (27.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (28.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (26.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (27.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (28.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (29.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (63.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500979 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:10.713130' WHERE "spree_products"."id" = 1060500979 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500979], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:10.716260' WHERE "spree_products"."id" = 1060500979  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590675 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:10.720844' WHERE "spree_products"."id" = 1060500979  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500979  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["product_id", nil], ["property_id", 905835199], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500979, "updated_at" = '2012-10-21 18:41:10.798695' WHERE "spree_product_properties"."id" = 1073273505 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500979) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451838], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500979 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500979, 558399114) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451839 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451839], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500979, 558399115) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500979) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500979 AND "spree_option_types"."id" = 935339340 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500979) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["option_type_id", 935339340], ["position", 1], ["product_id", 1060500979], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339340) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339340], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:10.981594' WHERE "spree_products"."id" = 1060500979 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500979], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:10.983323' WHERE "spree_products"."id" = 1060500979  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590676, 979460401) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339340) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339340], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500979 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:10.992017' WHERE "spree_products"."id" = 1060500979 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500979], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:10.993847' WHERE "spree_products"."id" = 1060500979  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590677, 979460402) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339340) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339340], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500979 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.000788' WHERE "spree_products"."id" = 1060500979 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500979], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.002245' WHERE "spree_products"."id" = 1060500979  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590678, 979460403) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500979]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500979) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590676 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590677 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590678 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500979) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.038690' WHERE "spree_products"."id" = 1060500979  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590676 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.041848' WHERE "spree_products"."id" = 1060500979 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.043059' WHERE "spree_products"."id" = 1060500979  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590677 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.044287' WHERE "spree_products"."id" = 1060500979 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500979 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.045636' WHERE "spree_products"."id" = 1060500979  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590678 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.046785' WHERE "spree_products"."id" = 1060500979 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500979) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590675 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (3.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500979) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:41:11.839840' WHERE "spree_products"."id" = 1060500979 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500980 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.856388' WHERE "spree_products"."id" = 1060500980 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500980], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.859173' WHERE "spree_products"."id" = 1060500980  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590679 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.861150' WHERE "spree_products"."id" = 1060500980  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500980  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["product_id", nil], ["property_id", 905835200], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500980, "updated_at" = '2012-10-21 18:41:11.872810' WHERE "spree_product_properties"."id" = 1073273506 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500980) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500980 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500980, 558399114) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451840 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451840], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500980, 558399116) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451841 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451841], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500980, 558399117) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500980) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500980 AND "spree_option_types"."id" = 935339340 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500980) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["option_type_id", 935339340], ["position", 1], ["product_id", 1060500980], ["updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.902803' WHERE "spree_products"."id" = 1060500980 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500980], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.904398' WHERE "spree_products"."id" = 1060500980  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590680, 979460401) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.907367' WHERE "spree_products"."id" = 1060500980 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500980], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.908859' WHERE "spree_products"."id" = 1060500980  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590681, 979460402) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.914329' WHERE "spree_products"."id" = 1060500980 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500980], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.915572' WHERE "spree_products"."id" = 1060500980  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590682, 979460403) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500980]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500980) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590680 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590681 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590682 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500980) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.930983' WHERE "spree_products"."id" = 1060500980  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590680 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.932270' WHERE "spree_products"."id" = 1060500980 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500980 LIMIT 1 SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.933589' WHERE "spree_products"."id" = 1060500980  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590681 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.935718' WHERE "spree_products"."id" = 1060500980 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500980 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.936808' WHERE "spree_products"."id" = 1060500980  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590682 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:11.938462' WHERE "spree_products"."id" = 1060500980 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500980) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590679 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:11 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500980) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500980 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:41:18.206505' WHERE "spree_products"."id" = 1060500980 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.229555' WHERE "spree_products"."id" = 1060500981 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500981], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.241795' WHERE "spree_products"."id" = 1060500981  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590683 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.244101' WHERE "spree_products"."id" = 1060500981  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500981  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["product_id", nil], ["property_id", 905835201], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500981, "updated_at" = '2012-10-21 18:41:18.263188' WHERE "spree_product_properties"."id" = 1073273507 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["product_id", nil], ["property_id", 905835200], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500981, "updated_at" = '2012-10-21 18:41:18.266938' WHERE "spree_product_properties"."id" = 1073273508 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["product_id", nil], ["property_id", 905835202], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500981, "updated_at" = '2012-10-21 18:41:18.276496' WHERE "spree_product_properties"."id" = 1073273509 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500981) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451842 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451842], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500981 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500981, 558399118) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500981) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500981 AND "spree_option_types"."id" = 935339340 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500981) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["option_type_id", 935339340], ["position", 1], ["product_id", 1060500981], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.301394' WHERE "spree_products"."id" = 1060500981 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500981], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.303176' WHERE "spree_products"."id" = 1060500981  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590684, 979460401) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.306385' WHERE "spree_products"."id" = 1060500981 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500981], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.307785' WHERE "spree_products"."id" = 1060500981  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590685, 979460402) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339340 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.310504' WHERE "spree_products"."id" = 1060500981 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500981], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.313552' WHERE "spree_products"."id" = 1060500981  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590686, 979460403) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500981]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500981 AND "spree_option_types"."id" = 935339341 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500981) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["option_type_id", 935339341], ["position", 2], ["product_id", 1060500981], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339341 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339341) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339341], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.351536' WHERE "spree_products"."id" = 1060500981 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500981], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.353672' WHERE "spree_products"."id" = 1060500981  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590687, 979460404) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339341 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339341) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["name", "colour"], ["option_type_id", 935339341], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.361495' WHERE "spree_products"."id" = 1060500981 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500981], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.362939' WHERE "spree_products"."id" = 1060500981  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590688, 979460405) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500981]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500981) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590684 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590685 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590686 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590687 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590688 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500981) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.383540' WHERE "spree_products"."id" = 1060500981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590684 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.384782' WHERE "spree_products"."id" = 1060500981 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.385939' WHERE "spree_products"."id" = 1060500981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590685 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.387604' WHERE "spree_products"."id" = 1060500981 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.388814' WHERE "spree_products"."id" = 1060500981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590686 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.389939' WHERE "spree_products"."id" = 1060500981 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.391657' WHERE "spree_products"."id" = 1060500981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590687 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.392706' WHERE "spree_products"."id" = 1060500981 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500981 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.394303' WHERE "spree_products"."id" = 1060500981  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590688 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:18.395784' WHERE "spree_products"."id" = 1060500981 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500981) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590683 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:18 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500981) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500981 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:41:19.332408' WHERE "spree_products"."id" = 1060500981  (6.3ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500979 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590675) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500979)) SQL (2.3ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (19.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500982 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:19.947368' WHERE "spree_products"."id" = 1060500982 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500982], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:19.950473' WHERE "spree_products"."id" = 1060500982  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590689 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:19.952331' WHERE "spree_products"."id" = 1060500982  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500982  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["product_id", nil], ["property_id", 905835203], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500982, "updated_at" = '2012-10-21 18:41:19.960654' WHERE "spree_product_properties"."id" = 1073273510 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500982) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451843], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500982 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500982, 558399119) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451844 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451844], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500982, 558399120) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500982) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500982 AND "spree_option_types"."id" = 935339342 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500982) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["option_type_id", 935339342], ["position", 1], ["product_id", 1060500982], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339342) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339342], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:19 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:19.990382' WHERE "spree_products"."id" = 1060500982 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500982], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.010766' WHERE "spree_products"."id" = 1060500982  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590690, 979460406) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339342) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339342], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500982 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.018960' WHERE "spree_products"."id" = 1060500982 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500982], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.020528' WHERE "spree_products"."id" = 1060500982  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590691, 979460407) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339342) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339342], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500982 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.025777' WHERE "spree_products"."id" = 1060500982 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500982], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.027230' WHERE "spree_products"."id" = 1060500982  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590692, 979460408) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500982]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500982) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590690 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590691 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590692 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500982) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500982 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.043067' WHERE "spree_products"."id" = 1060500982  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590690 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.044792' WHERE "spree_products"."id" = 1060500982 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.045915' WHERE "spree_products"."id" = 1060500982  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590691 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.046960' WHERE "spree_products"."id" = 1060500982 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500982 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.048377' WHERE "spree_products"."id" = 1060500982  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590692 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.049386' WHERE "spree_products"."id" = 1060500982 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500982) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590689 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500982) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:41:20.852197' WHERE "spree_products"."id" = 1060500982 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500982 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.863963' WHERE "spree_products"."id" = 1060500983 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500983], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.866776' WHERE "spree_products"."id" = 1060500983  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590693 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.868394' WHERE "spree_products"."id" = 1060500983  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500983  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["product_id", nil], ["property_id", 905835204], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500983, "updated_at" = '2012-10-21 18:41:20.876264' WHERE "spree_product_properties"."id" = 1073273511 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500983) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500983 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500983, 558399119) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451845 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451845], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500983, 558399121) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451846 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451846], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500983, 558399122) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500983) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500983 AND "spree_option_types"."id" = 935339342 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500983) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["option_type_id", 935339342], ["position", 1], ["product_id", 1060500983], ["updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.904304' WHERE "spree_products"."id" = 1060500983 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500983], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.905635' WHERE "spree_products"."id" = 1060500983  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590694, 979460406) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.908762' WHERE "spree_products"."id" = 1060500983 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500983], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.910067' WHERE "spree_products"."id" = 1060500983  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590695, 979460407) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.912770' WHERE "spree_products"."id" = 1060500983 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500983], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.914085' WHERE "spree_products"."id" = 1060500983  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590696, 979460408) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500983]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500983) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590694 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590695 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590696 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500983) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.927764' WHERE "spree_products"."id" = 1060500983  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590694 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.929087' WHERE "spree_products"."id" = 1060500983 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.930525' WHERE "spree_products"."id" = 1060500983  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590695 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.931647' WHERE "spree_products"."id" = 1060500983 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500983 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.932927' WHERE "spree_products"."id" = 1060500983  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590696 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:20.933878' WHERE "spree_products"."id" = 1060500983 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500983) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590693 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:20 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500983) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500983 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:41:25.193513' WHERE "spree_products"."id" = 1060500983 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060500983 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.233102' WHERE "spree_products"."id" = 1060500984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500984], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.235099' WHERE "spree_products"."id" = 1060500984  (0.7ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590697 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.237312' WHERE "spree_products"."id" = 1060500984  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500984  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["product_id", nil], ["property_id", 905835205], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500984, "updated_at" = '2012-10-21 18:41:25.247164' WHERE "spree_product_properties"."id" = 1073273512 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["product_id", nil], ["property_id", 905835204], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500984, "updated_at" = '2012-10-21 18:41:25.250025' WHERE "spree_product_properties"."id" = 1073273513 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["product_id", nil], ["property_id", 905835206], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500984, "updated_at" = '2012-10-21 18:41:25.254453' WHERE "spree_product_properties"."id" = 1073273514 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500984) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451847 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451847], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500984 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500984, 558399123) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500984) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500984 AND "spree_option_types"."id" = 935339342 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500984) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["option_type_id", 935339342], ["position", 1], ["product_id", 1060500984], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.277623' WHERE "spree_products"."id" = 1060500984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500984], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.279260' WHERE "spree_products"."id" = 1060500984  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590698, 979460406) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.282616' WHERE "spree_products"."id" = 1060500984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500984], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.284641' WHERE "spree_products"."id" = 1060500984  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590699, 979460407) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339342 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.288430' WHERE "spree_products"."id" = 1060500984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500984], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.289816' WHERE "spree_products"."id" = 1060500984  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590700, 979460408) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500984]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500984 AND "spree_option_types"."id" = 935339343 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500984) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["option_type_id", 935339343], ["position", 2], ["product_id", 1060500984], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339343 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339343) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339343], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.330371' WHERE "spree_products"."id" = 1060500984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500984], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.331901' WHERE "spree_products"."id" = 1060500984  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590701, 979460409) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339343 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339343) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["name", "colour"], ["option_type_id", 935339343], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.338714' WHERE "spree_products"."id" = 1060500984 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500984], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.340728' WHERE "spree_products"."id" = 1060500984  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590702, 979460410) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500984]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500984) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590698 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590699 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590700 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590701 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590702 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500984) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.362305' WHERE "spree_products"."id" = 1060500984  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590698 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.363540' WHERE "spree_products"."id" = 1060500984 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.365090' WHERE "spree_products"."id" = 1060500984  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590699 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.366027' WHERE "spree_products"."id" = 1060500984 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.367822' WHERE "spree_products"."id" = 1060500984  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590700 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.369780' WHERE "spree_products"."id" = 1060500984 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.371244' WHERE "spree_products"."id" = 1060500984  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590701 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.372407' WHERE "spree_products"."id" = 1060500984 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500984 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.373512' WHERE "spree_products"."id" = 1060500984  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590702 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:25.374833' WHERE "spree_products"."id" = 1060500984 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500984) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590697 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:25 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500984) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500984 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:41:27.015909' WHERE "spree_products"."id" = 1060500984 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500984 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (39.2ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500982 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590689) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500982)) SQL (21.9ms) DELETE FROM "spree_products" SQL (2.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (82.8ms) DELETE FROM "spree_option_values" SQL (11.0ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500985 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.607573' WHERE "spree_products"."id" = 1060500985 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500985], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.609499' WHERE "spree_products"."id" = 1060500985  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590703 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.612432' WHERE "spree_products"."id" = 1060500985  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500985  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["product_id", nil], ["property_id", 905835207], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500985, "updated_at" = '2012-10-21 18:41:27.622090' WHERE "spree_product_properties"."id" = 1073273515 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500985) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451848], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500985 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500985, 558399124) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451849 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451849], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500985, 558399125) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500985) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500985 AND "spree_option_types"."id" = 935339344 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500985) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["option_type_id", 935339344], ["position", 1], ["product_id", 1060500985], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339344) ORDER BY position DESC LIMIT 1 SQL (64.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339344], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.756435' WHERE "spree_products"."id" = 1060500985 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500985], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.757887' WHERE "spree_products"."id" = 1060500985  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590704, 979460411) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339344) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339344], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.762815' WHERE "spree_products"."id" = 1060500985 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500985], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.764097' WHERE "spree_products"."id" = 1060500985  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590705, 979460412) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339344) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339344], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.769278' WHERE "spree_products"."id" = 1060500985 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500985], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.770698' WHERE "spree_products"."id" = 1060500985  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590706, 979460413) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500985]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500985) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590704 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590705 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590706 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500985) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.787673' WHERE "spree_products"."id" = 1060500985  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590704 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.788883' WHERE "spree_products"."id" = 1060500985 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.790257' WHERE "spree_products"."id" = 1060500985  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590705 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.791348' WHERE "spree_products"."id" = 1060500985 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500985 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.792517' WHERE "spree_products"."id" = 1060500985  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590706 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.793580' WHERE "spree_products"."id" = 1060500985 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500985) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500985 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:41:27.796449' WHERE "spree_products"."id" = 1060500985 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500985 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.805316' WHERE "spree_products"."id" = 1060500986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500986], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.806605' WHERE "spree_products"."id" = 1060500986  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590707 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:27.808468' WHERE "spree_products"."id" = 1060500986  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500986  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["product_id", nil], ["property_id", 905835208], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500986, "updated_at" = '2012-10-21 18:41:27.816079' WHERE "spree_product_properties"."id" = 1073273516 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500986) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500986 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500986, 558399124) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451850 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451850], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500986, 558399126) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399124 AND "spree_taxons"."taxonomy_id" = 854451848 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399124]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399124], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451848], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399124]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399127]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399127 THEN 558399124 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399124]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399127]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399127 AND "spree_taxons"."taxonomy_id" = 854451848 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399127]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399127], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451848], ["updated_at", Sun, 21 Oct 2012 18:41:27 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399127]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399128]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399128 THEN 558399127 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399127]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399128]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500986, 558399127)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500986, 558399128) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500986) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500986 AND "spree_option_types"."id" = 935339344 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500986) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["option_type_id", 935339344], ["position", 1], ["product_id", 1060500986], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500986 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.068685' WHERE "spree_products"."id" = 1060500986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500986], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.070060' WHERE "spree_products"."id" = 1060500986  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590708, 979460411) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.072799' WHERE "spree_products"."id" = 1060500986 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500986], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.074060' WHERE "spree_products"."id" = 1060500986  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590709, 979460412) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.077384' WHERE "spree_products"."id" = 1060500986 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500986], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.079226' WHERE "spree_products"."id" = 1060500986  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590710, 979460413) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500986]] Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500986) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590708 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590709 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590710 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500986) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.097431' WHERE "spree_products"."id" = 1060500986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590708 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.098669' WHERE "spree_products"."id" = 1060500986 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.099918' WHERE "spree_products"."id" = 1060500986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590709 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.101348' WHERE "spree_products"."id" = 1060500986 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500986 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.102385' WHERE "spree_products"."id" = 1060500986  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590710 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.103570' WHERE "spree_products"."id" = 1060500986 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500986) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500986 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:41:28.106450' WHERE "spree_products"."id" = 1060500986 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500986 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.114861' WHERE "spree_products"."id" = 1060500987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500987], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.116422' WHERE "spree_products"."id" = 1060500987  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590711 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.119277' WHERE "spree_products"."id" = 1060500987  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500987  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["product_id", nil], ["property_id", 905835209], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500987, "updated_at" = '2012-10-21 18:41:28.126174' WHERE "spree_product_properties"."id" = 1073273517 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["product_id", nil], ["property_id", 905835208], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["value", "Example free value"]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060500987, "updated_at" = '2012-10-21 18:41:28.128817' WHERE "spree_product_properties"."id" = 1073273518 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["product_id", nil], ["property_id", 905835210], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500987, "updated_at" = '2012-10-21 18:41:28.132583' WHERE "spree_product_properties"."id" = 1073273519 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500987) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451851 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451851], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500987 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500987, 558399129) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399124 AND "spree_taxons"."taxonomy_id" = 854451848 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399124]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399124], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451848], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399124]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399130]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399130 THEN 558399124 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399124]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399130]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500987, 558399130)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500987, 558399124) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500987) LIMIT 1 Spree::OptionType Load (2.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500987 AND "spree_option_types"."id" = 935339344 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500987) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["option_type_id", 935339344], ["position", 1], ["product_id", 1060500987], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.308063' WHERE "spree_products"."id" = 1060500987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500987], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.309306' WHERE "spree_products"."id" = 1060500987  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590712, 979460411) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.312346' WHERE "spree_products"."id" = 1060500987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500987], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.313847' WHERE "spree_products"."id" = 1060500987  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590713, 979460412) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339344 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.316837' WHERE "spree_products"."id" = 1060500987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500987], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.318635' WHERE "spree_products"."id" = 1060500987  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590714, 979460413) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500987]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500987 AND "spree_option_types"."id" = 935339345 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500987) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["option_type_id", 935339345], ["position", 2], ["product_id", 1060500987], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339345 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339345) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339345], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.353306' WHERE "spree_products"."id" = 1060500987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500987], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.354666' WHERE "spree_products"."id" = 1060500987  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590715, 979460414) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339345 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339345) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00], ["name", "colour"], ["option_type_id", 935339345], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.360621' WHERE "spree_products"."id" = 1060500987 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500987], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.362133' WHERE "spree_products"."id" = 1060500987  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590716, 979460415) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500987]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500987) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590712 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590713 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590714 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590715 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590716 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500987) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.475366' WHERE "spree_products"."id" = 1060500987  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590712 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.479543' WHERE "spree_products"."id" = 1060500987 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.481133' WHERE "spree_products"."id" = 1060500987  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590713 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.482276' WHERE "spree_products"."id" = 1060500987 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.483558' WHERE "spree_products"."id" = 1060500987  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590714 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.484804' WHERE "spree_products"."id" = 1060500987 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (59.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.488188' WHERE "spree_products"."id" = 1060500987  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590715 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.549662' WHERE "spree_products"."id" = 1060500987 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500987 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.551630' WHERE "spree_products"."id" = 1060500987  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590716 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:28.554066' WHERE "spree_products"."id" = 1060500987 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500987) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:41:28.558279' WHERE "spree_products"."id" = 1060500987 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500987 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (128.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500987 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590711) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500987)) Excel Loader processing 0 rows  (24.4ms) begin transaction  (0.3ms) rollback transaction SQL (3.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (144.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.4ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500988 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.171946' WHERE "spree_products"."id" = 1060500988 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500988], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.174057' WHERE "spree_products"."id" = 1060500988  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590717 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.175518' WHERE "spree_products"."id" = 1060500988  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500988  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["product_id", nil], ["property_id", 905835211], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500988, "updated_at" = '2012-10-21 18:41:29.182770' WHERE "spree_product_properties"."id" = 1073273520 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500988) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451852], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500988 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500988, 558399131) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451853 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451853], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500988, 558399132) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500988) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500988 AND "spree_option_types"."id" = 935339346 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500988) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["option_type_id", 935339346], ["position", 1], ["product_id", 1060500988], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339346) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339346], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500988 LIMIT 1 SQL (19.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.332747' WHERE "spree_products"."id" = 1060500988 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500988], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.353771' WHERE "spree_products"."id" = 1060500988  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590718, 979460416) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::OptionValue Load (1.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339346) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339346], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500988 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.360025' WHERE "spree_products"."id" = 1060500988 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500988], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.361306' WHERE "spree_products"."id" = 1060500988  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590719, 979460417) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339346) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339346], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500988 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.365936' WHERE "spree_products"."id" = 1060500988 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500988], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.367314' WHERE "spree_products"."id" = 1060500988  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590720, 979460418) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500988]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500988) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590718 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590719 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590720 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500988) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500988 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.383077' WHERE "spree_products"."id" = 1060500988  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590718 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.384808' WHERE "spree_products"."id" = 1060500988 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500988 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.386519' WHERE "spree_products"."id" = 1060500988  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590719 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.387384' WHERE "spree_products"."id" = 1060500988 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500988 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.388856' WHERE "spree_products"."id" = 1060500988  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590720 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.389937' WHERE "spree_products"."id" = 1060500988 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500988) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500988 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:41:29.392416' WHERE "spree_products"."id" = 1060500988 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500988 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.404979' WHERE "spree_products"."id" = 1060500989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500989], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.406077' WHERE "spree_products"."id" = 1060500989  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590721 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.407440' WHERE "spree_products"."id" = 1060500989  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500989  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["product_id", nil], ["property_id", 905835212], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500989, "updated_at" = '2012-10-21 18:41:29.471262' WHERE "spree_product_properties"."id" = 1073273521 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500989) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500989 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500989, 558399131) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451854 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451854], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500989, 558399133) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399131 AND "spree_taxons"."taxonomy_id" = 854451852 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399131]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399131], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451852], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399131]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399134]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399134 THEN 558399131 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399131]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399134]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399134 AND "spree_taxons"."taxonomy_id" = 854451852 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399134]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399134], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451852], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399134]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399135]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399135 THEN 558399134 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399134]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399135]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500989, 558399134)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500989, 558399135) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500989) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500989 AND "spree_option_types"."id" = 935339346 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500989) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["option_type_id", 935339346], ["position", 1], ["product_id", 1060500989], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.512504' WHERE "spree_products"."id" = 1060500989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500989], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.514041' WHERE "spree_products"."id" = 1060500989  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590722, 979460416) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500989 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.516883' WHERE "spree_products"."id" = 1060500989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500989], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.518303' WHERE "spree_products"."id" = 1060500989  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590723, 979460417) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.521326' WHERE "spree_products"."id" = 1060500989 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500989], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.524078' WHERE "spree_products"."id" = 1060500989  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590724, 979460418) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500989]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500989) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590722 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590723 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590724 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500989) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.545957' WHERE "spree_products"."id" = 1060500989  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590722 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.546921' WHERE "spree_products"."id" = 1060500989 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.548749' WHERE "spree_products"."id" = 1060500989  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590723 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.549917' WHERE "spree_products"."id" = 1060500989 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500989 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.551141' WHERE "spree_products"."id" = 1060500989  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590724 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.551974' WHERE "spree_products"."id" = 1060500989 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500989) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500989 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:41:29.556713' WHERE "spree_products"."id" = 1060500989 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060500989 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.567151' WHERE "spree_products"."id" = 1060500990 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500990], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.569016' WHERE "spree_products"."id" = 1060500990  (117.9ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590725 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.688368' WHERE "spree_products"."id" = 1060500990  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500990  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["product_id", nil], ["property_id", 905835213], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500990, "updated_at" = '2012-10-21 18:41:29.695690' WHERE "spree_product_properties"."id" = 1073273522 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["product_id", nil], ["property_id", 905835212], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060500990, "updated_at" = '2012-10-21 18:41:29.699081' WHERE "spree_product_properties"."id" = 1073273523 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["product_id", nil], ["property_id", 905835214], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500990, "updated_at" = '2012-10-21 18:41:29.703559' WHERE "spree_product_properties"."id" = 1073273524 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500990) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451855 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451855], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500990 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500990, 558399136) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399131 AND "spree_taxons"."taxonomy_id" = 854451852 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399131]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399131], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451852], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399131]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399137]] SQL (1.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399137 THEN 558399131 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399131]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399137]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500990, 558399137)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500990, 558399131) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500990) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500990 AND "spree_option_types"."id" = 935339346 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500990) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["option_type_id", 935339346], ["position", 1], ["product_id", 1060500990], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.740621' WHERE "spree_products"."id" = 1060500990 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500990], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.742081' WHERE "spree_products"."id" = 1060500990  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590726, 979460416) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (4.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.745056' WHERE "spree_products"."id" = 1060500990 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500990], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.750487' WHERE "spree_products"."id" = 1060500990  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590727, 979460417) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339346 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.753345' WHERE "spree_products"."id" = 1060500990 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500990], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.755861' WHERE "spree_products"."id" = 1060500990  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590728, 979460418) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500990]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500990 AND "spree_option_types"."id" = 935339347 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500990) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["option_type_id", 935339347], ["position", 2], ["product_id", 1060500990], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339347 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339347) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339347], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.913056' WHERE "spree_products"."id" = 1060500990 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500990], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.914339' WHERE "spree_products"."id" = 1060500990  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590729, 979460419) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339347 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339347) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00], ["name", "colour"], ["option_type_id", 935339347], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.920167' WHERE "spree_products"."id" = 1060500990 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500990], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.921455' WHERE "spree_products"."id" = 1060500990  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590730, 979460420) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500990]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500990) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590726 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590727 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590728 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590729 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590730 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500990) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.942613' WHERE "spree_products"."id" = 1060500990  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590726 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.944084' WHERE "spree_products"."id" = 1060500990 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.945084' WHERE "spree_products"."id" = 1060500990  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590727 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.946576' WHERE "spree_products"."id" = 1060500990 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.947530' WHERE "spree_products"."id" = 1060500990  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590728 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.949075' WHERE "spree_products"."id" = 1060500990 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.950406' WHERE "spree_products"."id" = 1060500990  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590729 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.951354' WHERE "spree_products"."id" = 1060500990 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500990 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.952404' WHERE "spree_products"."id" = 1060500990  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590730 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:29.953447' WHERE "spree_products"."id" = 1060500990 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500990) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:41:29.956339' WHERE "spree_products"."id" = 1060500990 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060500990 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (12.9ms) commit transaction Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500990 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590725) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500990)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction SQL (164.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500991 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:30.461804' WHERE "spree_products"."id" = 1060500991 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500991], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:30.463467' WHERE "spree_products"."id" = 1060500991  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590731 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:30.562435' WHERE "spree_products"."id" = 1060500991  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500991  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["product_id", nil], ["property_id", 905835215], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500991, "updated_at" = '2012-10-21 18:41:30.572597' WHERE "spree_product_properties"."id" = 1073273525 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451856 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451856], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Spree::Taxon Load (1.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500991 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500991, 558399138) Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451857 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451857], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500991, 558399139) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500991 AND "spree_option_types"."id" = 935339348 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500991) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00], ["option_type_id", 935339348], ["position", 1], ["product_id", 1060500991], ["updated_at", Sun, 21 Oct 2012 18:41:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339348 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339348) ORDER BY position DESC LIMIT 1 EXPLAIN (2.3ms) EXPLAIN QUERY PLAN SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339348) ORDER BY position DESC LIMIT 1 EXPLAIN for: SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339348) ORDER BY position DESC LIMIT 1 0|0|TABLE spree_option_values SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339348], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500991 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.337499' WHERE "spree_products"."id" = 1060500991 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500991], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.339800' WHERE "spree_products"."id" = 1060500991  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590732, 979460421) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339348 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339348) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339348], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.346358' WHERE "spree_products"."id" = 1060500991 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500991], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.347872' WHERE "spree_products"."id" = 1060500991  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590733, 979460422) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339348 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339348) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339348], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:41:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.353407' WHERE "spree_products"."id" = 1060500991 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500991], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.355060' WHERE "spree_products"."id" = 1060500991  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590734, 979460423) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500991]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590732 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590733 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590734 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500991 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.375870' WHERE "spree_products"."id" = 1060500991  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590732 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.377102' WHERE "spree_products"."id" = 1060500991 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500991 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.384135' WHERE "spree_products"."id" = 1060500991  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590733 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.385102' WHERE "spree_products"."id" = 1060500991 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500991 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.387687' WHERE "spree_products"."id" = 1060500991  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590734 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:31.388712' WHERE "spree_products"."id" = 1060500991 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1 Spree::Image Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590731 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:33 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:33 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500991) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:41:34.822036' WHERE "spree_products"."id" = 1060500991 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500991 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500992 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.858913' WHERE "spree_products"."id" = 1060500992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500992], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.860632' WHERE "spree_products"."id" = 1060500992  (0.7ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590735 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.863083' WHERE "spree_products"."id" = 1060500992  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500992  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["product_id", nil], ["property_id", 905835216], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060500992, "updated_at" = '2012-10-21 18:41:34.871911' WHERE "spree_product_properties"."id" = 1073273526 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500992) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451856 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500992 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500992, 558399138) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451858 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451858], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500992, 558399140) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451859 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451859], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500992, 558399141) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500992) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500992 AND "spree_option_types"."id" = 935339348 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500992) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["option_type_id", 935339348], ["position", 1], ["product_id", 1060500992], ["updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339348 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.904301' WHERE "spree_products"."id" = 1060500992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500992], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.906064' WHERE "spree_products"."id" = 1060500992  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590736, 979460421) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339348 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500992 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.908746' WHERE "spree_products"."id" = 1060500992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500992], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.910655' WHERE "spree_products"."id" = 1060500992  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590737, 979460422) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339348 LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.913927' WHERE "spree_products"."id" = 1060500992 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500992], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.915099' WHERE "spree_products"."id" = 1060500992  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590738, 979460423) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500992]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500992) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590736 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590737 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590738 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500992) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.931012' WHERE "spree_products"."id" = 1060500992  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590736 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.932330' WHERE "spree_products"."id" = 1060500992 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.933749' WHERE "spree_products"."id" = 1060500992  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590737 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.935146' WHERE "spree_products"."id" = 1060500992 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500992 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.936387' WHERE "spree_products"."id" = 1060500992  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590738 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:41:34.937682' WHERE "spree_products"."id" = 1060500992 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500992) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590735 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:34 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:41:39 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500992) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500992 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:41:40.246347' WHERE "spree_products"."id" = 1060500992 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500992 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.2ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500991 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590731 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (10.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (51.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:26 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500993 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:26.870956' WHERE "spree_products"."id" = 1060500993 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500993], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:26.874611' WHERE "spree_products"."id" = 1060500993  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590739 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:26.877207' WHERE "spree_products"."id" = 1060500993  (1.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500993  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:26 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:42:26 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:26 UTC +00:00], ["product_id", nil], ["property_id", 905835217], ["updated_at", Sun, 21 Oct 2012 18:42:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500993, "updated_at" = '2012-10-21 18:42:27.000032' WHERE "spree_product_properties"."id" = 1073273527 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500993) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451860 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451860], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500993 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500993, 558399142) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451861 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451861], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500993, 558399143) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500993) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500993 AND "spree_option_types"."id" = 935339349 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500993) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["option_type_id", 935339349], ["position", 1], ["product_id", 1060500993], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339349) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339349], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500993 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.248093' WHERE "spree_products"."id" = 1060500993 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500993], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.251200' WHERE "spree_products"."id" = 1060500993  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590740, 979460424) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339349) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339349], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.260391' WHERE "spree_products"."id" = 1060500993 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500993], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.261942' WHERE "spree_products"."id" = 1060500993  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590741, 979460425) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339349) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339349], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.267903' WHERE "spree_products"."id" = 1060500993 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500993], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.269187' WHERE "spree_products"."id" = 1060500993  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590742, 979460426) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500993]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500993) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590740 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590741 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590742 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500993) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500993 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.308287' WHERE "spree_products"."id" = 1060500993  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590740 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.309418' WHERE "spree_products"."id" = 1060500993 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.310748' WHERE "spree_products"."id" = 1060500993  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590741 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.324695' WHERE "spree_products"."id" = 1060500993 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500993 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.326021' WHERE "spree_products"."id" = 1060500993  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590742 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:27.328164' WHERE "spree_products"."id" = 1060500993 Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500993) LIMIT 1 Spree::Image Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590739 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (3.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:27 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500993) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:42:28.555815' WHERE "spree_products"."id" = 1060500993 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.571217' WHERE "spree_products"."id" = 1060500994 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500994], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.573117' WHERE "spree_products"."id" = 1060500994  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590743 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.575200' WHERE "spree_products"."id" = 1060500994  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500994  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["product_id", nil], ["property_id", 905835218], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500994, "updated_at" = '2012-10-21 18:42:28.585221' WHERE "spree_product_properties"."id" = 1073273528 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500994) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451860 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500994 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500994, 558399142) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451862 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451862], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500994, 558399144) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451863 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451863], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500994, 558399145) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500994) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500994 AND "spree_option_types"."id" = 935339349 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500994) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["option_type_id", 935339349], ["position", 1], ["product_id", 1060500994], ["updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.621659' WHERE "spree_products"."id" = 1060500994 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500994], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.624072' WHERE "spree_products"."id" = 1060500994  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590744, 979460424) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.627767' WHERE "spree_products"."id" = 1060500994 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500994], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.629052' WHERE "spree_products"."id" = 1060500994  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590745, 979460425) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500994 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.632518' WHERE "spree_products"."id" = 1060500994 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500994], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.634301' WHERE "spree_products"."id" = 1060500994  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590746, 979460426) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500994]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500994) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590744 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590745 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590746 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500994) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.651404' WHERE "spree_products"."id" = 1060500994  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590744 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.652802' WHERE "spree_products"."id" = 1060500994 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.654471' WHERE "spree_products"."id" = 1060500994  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590745 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.655514' WHERE "spree_products"."id" = 1060500994 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500994 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.656972' WHERE "spree_products"."id" = 1060500994  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590746 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:28.658044' WHERE "spree_products"."id" = 1060500994 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500994) LIMIT 1 Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590743 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:28 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500994) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500994 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:42:33.020455' WHERE "spree_products"."id" = 1060500994 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.053038' WHERE "spree_products"."id" = 1060500995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500995], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.054953' WHERE "spree_products"."id" = 1060500995  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590747 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.057316' WHERE "spree_products"."id" = 1060500995  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500995  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["product_id", nil], ["property_id", 905835219], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500995, "updated_at" = '2012-10-21 18:42:33.066704' WHERE "spree_product_properties"."id" = 1073273529 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["product_id", nil], ["property_id", 905835218], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500995, "updated_at" = '2012-10-21 18:42:33.070533' WHERE "spree_product_properties"."id" = 1073273530 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["product_id", nil], ["property_id", 905835220], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500995, "updated_at" = '2012-10-21 18:42:33.075709' WHERE "spree_product_properties"."id" = 1073273531 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500995) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451864 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451864], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500995 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500995, 558399146) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500995) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500995 AND "spree_option_types"."id" = 935339349 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500995) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["option_type_id", 935339349], ["position", 1], ["product_id", 1060500995], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.098751' WHERE "spree_products"."id" = 1060500995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500995], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.100407' WHERE "spree_products"."id" = 1060500995  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590748, 979460424) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.103772' WHERE "spree_products"."id" = 1060500995 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500995], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.105218' WHERE "spree_products"."id" = 1060500995  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590749, 979460425) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339349 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.108269' WHERE "spree_products"."id" = 1060500995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500995], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.109720' WHERE "spree_products"."id" = 1060500995  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590750, 979460426) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500995]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500995 AND "spree_option_types"."id" = 935339350 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500995) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["option_type_id", 935339350], ["position", 2], ["product_id", 1060500995], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339350 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339350) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339350], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.149626' WHERE "spree_products"."id" = 1060500995 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500995], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.151311' WHERE "spree_products"."id" = 1060500995  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590751, 979460427) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339350 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339350) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["name", "colour"], ["option_type_id", 935339350], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.157453' WHERE "spree_products"."id" = 1060500995 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500995], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.158873' WHERE "spree_products"."id" = 1060500995  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590752, 979460428) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500995]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500995) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590748 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590749 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590750 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590751 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590752 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500995) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.181476' WHERE "spree_products"."id" = 1060500995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590748 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.182627' WHERE "spree_products"."id" = 1060500995 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.184384' WHERE "spree_products"."id" = 1060500995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590749 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.185684' WHERE "spree_products"."id" = 1060500995 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.186935' WHERE "spree_products"."id" = 1060500995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590750 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.187873' WHERE "spree_products"."id" = 1060500995 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.189436' WHERE "spree_products"."id" = 1060500995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590751 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.190552' WHERE "spree_products"."id" = 1060500995 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500995 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.191754' WHERE "spree_products"."id" = 1060500995  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590752 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:33.192873' WHERE "spree_products"."id" = 1060500995 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500995) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590747 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:33 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500995) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500995 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:42:34.255949' WHERE "spree_products"."id" = 1060500995  (25.1ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500993 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590739) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500993)) SQL (2.2ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (20.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:34.926895' WHERE "spree_products"."id" = 1060500996 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500996], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:34.928772' WHERE "spree_products"."id" = 1060500996  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590753 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:34.930549' WHERE "spree_products"."id" = 1060500996  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500996  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["product_id", nil], ["property_id", 905835221], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500996, "updated_at" = '2012-10-21 18:42:34.941895' WHERE "spree_product_properties"."id" = 1073273532 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500996) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451865 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451865], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500996 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500996, 558399147) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451866 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451866], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500996, 558399148) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500996) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500996 AND "spree_option_types"."id" = 935339351 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500996) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["option_type_id", 935339351], ["position", 1], ["product_id", 1060500996], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339351) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339351], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:34 UTC +00:00]] Spree::Product Load (21.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500996 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:34.995585' WHERE "spree_products"."id" = 1060500996 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500996], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:34.997862' WHERE "spree_products"."id" = 1060500996  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590754, 979460429) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339351) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339351], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.003476' WHERE "spree_products"."id" = 1060500996 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500996], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.004924' WHERE "spree_products"."id" = 1060500996  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590755, 979460430) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339351) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339351], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.010264' WHERE "spree_products"."id" = 1060500996 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500996], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.012087' WHERE "spree_products"."id" = 1060500996  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590756, 979460431) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500996]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500996) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590754 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590755 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590756 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500996) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.027433' WHERE "spree_products"."id" = 1060500996  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590754 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.028533' WHERE "spree_products"."id" = 1060500996 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500996 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.030105' WHERE "spree_products"."id" = 1060500996  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590755 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.031115' WHERE "spree_products"."id" = 1060500996 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500996 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.032187' WHERE "spree_products"."id" = 1060500996  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590756 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.033104' WHERE "spree_products"."id" = 1060500996 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500996) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590753 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500996) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:42:35.895090' WHERE "spree_products"."id" = 1060500996 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060500996 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.927865' WHERE "spree_products"."id" = 1060500997 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500997], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.929442' WHERE "spree_products"."id" = 1060500997  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590757 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.930990' WHERE "spree_products"."id" = 1060500997  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500997  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["product_id", nil], ["property_id", 905835222], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500997, "updated_at" = '2012-10-21 18:42:35.940730' WHERE "spree_product_properties"."id" = 1073273533 Created New ProductProperty # Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500997) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451865 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500997 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500997, 558399147) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451867 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451867], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500997, 558399149) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451868 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451868], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500997, 558399150) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500997) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500997 AND "spree_option_types"."id" = 935339351 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500997) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00], ["option_type_id", 935339351], ["position", 1], ["product_id", 1060500997], ["updated_at", Sun, 21 Oct 2012 18:42:35 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.971708' WHERE "spree_products"."id" = 1060500997 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500997], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.973382' WHERE "spree_products"."id" = 1060500997  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590758, 979460429) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.976449' WHERE "spree_products"."id" = 1060500997 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500997], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.977738' WHERE "spree_products"."id" = 1060500997  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590759, 979460430) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.980609' WHERE "spree_products"."id" = 1060500997 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500997], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.981875' WHERE "spree_products"."id" = 1060500997  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590760, 979460431) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500997]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500997) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590758 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590759 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590760 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500997) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.996513' WHERE "spree_products"."id" = 1060500997  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590758 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.997908' WHERE "spree_products"."id" = 1060500997 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500997 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:35.999520' WHERE "spree_products"."id" = 1060500997  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590759 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:36.001124' WHERE "spree_products"."id" = 1060500997 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500997 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:36.002400' WHERE "spree_products"."id" = 1060500997  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590760 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:36.003386' WHERE "spree_products"."id" = 1060500997 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500997) LIMIT 1 Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590757 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:36 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060500997) LIMIT 1  (21.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500997 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:42:40.070130' WHERE "spree_products"."id" = 1060500997 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060500997 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.104039' WHERE "spree_products"."id" = 1060500998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500998], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.105700' WHERE "spree_products"."id" = 1060500998  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590761 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.108409' WHERE "spree_products"."id" = 1060500998  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500998  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["product_id", nil], ["property_id", 905835223], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500998, "updated_at" = '2012-10-21 18:42:40.116959' WHERE "spree_product_properties"."id" = 1073273534 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["product_id", nil], ["property_id", 905835222], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500998, "updated_at" = '2012-10-21 18:42:40.120271' WHERE "spree_product_properties"."id" = 1073273535 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["product_id", nil], ["property_id", 905835224], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060500998, "updated_at" = '2012-10-21 18:42:40.124740' WHERE "spree_product_properties"."id" = 1073273536 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500998) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451869 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451869], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500998 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500998, 558399151) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500998) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500998 AND "spree_option_types"."id" = 935339351 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500998) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["option_type_id", 935339351], ["position", 1], ["product_id", 1060500998], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.148065' WHERE "spree_products"."id" = 1060500998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500998], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.149538' WHERE "spree_products"."id" = 1060500998  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590762, 979460429) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.152842' WHERE "spree_products"."id" = 1060500998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500998], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.154365' WHERE "spree_products"."id" = 1060500998  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590763, 979460430) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339351 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.160960' WHERE "spree_products"."id" = 1060500998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500998], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.162517' WHERE "spree_products"."id" = 1060500998  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590764, 979460431) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500998]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500998 AND "spree_option_types"."id" = 935339352 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500998) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["option_type_id", 935339352], ["position", 2], ["product_id", 1060500998], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339352 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339352) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339352], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.196641' WHERE "spree_products"."id" = 1060500998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500998], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.198296' WHERE "spree_products"."id" = 1060500998  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590765, 979460432) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339352 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339352) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339352], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.204961' WHERE "spree_products"."id" = 1060500998 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500998], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.206397' WHERE "spree_products"."id" = 1060500998  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590766, 979460433) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500998]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500998) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590762 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590763 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590764 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590765 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590766 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500998) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.227613' WHERE "spree_products"."id" = 1060500998  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590762 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.229150' WHERE "spree_products"."id" = 1060500998 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.230748' WHERE "spree_products"."id" = 1060500998  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590763 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.231827' WHERE "spree_products"."id" = 1060500998 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.233213' WHERE "spree_products"."id" = 1060500998  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590764 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.234623' WHERE "spree_products"."id" = 1060500998 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.236052' WHERE "spree_products"."id" = 1060500998  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590765 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.237279' WHERE "spree_products"."id" = 1060500998 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500998 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.238682' WHERE "spree_products"."id" = 1060500998  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590766 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:40.239816' WHERE "spree_products"."id" = 1060500998 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500998) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590761 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:40 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060500998) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500998 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:42:41.116651' WHERE "spree_products"."id" = 1060500998 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060500998 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.9ms) commit transaction Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500996 AND ("spree_variants".is_master = 't') LIMIT 1  (0.9ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590753) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060500996)) SQL (3.2ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500999 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.412057' WHERE "spree_products"."id" = 1060500999 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500999], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.414236' WHERE "spree_products"."id" = 1060500999  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590767 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.415920' WHERE "spree_products"."id" = 1060500999  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060500999  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["product_id", nil], ["property_id", 905835225], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060500999, "updated_at" = '2012-10-21 18:42:41.423976' WHERE "spree_product_properties"."id" = 1073273537 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500999) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451870 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451870], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060500999 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500999, 558399152) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451871 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451871], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060500999, 558399153) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500999) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060500999 AND "spree_option_types"."id" = 935339353 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060500999) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["option_type_id", 935339353], ["position", 1], ["product_id", 1060500999], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339353) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339353], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.478275' WHERE "spree_products"."id" = 1060500999 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500999], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.479897' WHERE "spree_products"."id" = 1060500999  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590768, 979460434) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339353) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339353], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.485020' WHERE "spree_products"."id" = 1060500999 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500999], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.486280' WHERE "spree_products"."id" = 1060500999  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590769, 979460435) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339353) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339353], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.490977' WHERE "spree_products"."id" = 1060500999 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060500999], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.492375' WHERE "spree_products"."id" = 1060500999  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590770, 979460436) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060500999]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500999) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590768 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590769 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590770 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500999) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.508062' WHERE "spree_products"."id" = 1060500999  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590768 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.509258' WHERE "spree_products"."id" = 1060500999 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500999 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.510443' WHERE "spree_products"."id" = 1060500999  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590769 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.511747' WHERE "spree_products"."id" = 1060500999 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060500999 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.512920' WHERE "spree_products"."id" = 1060500999  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590770 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.514175' WHERE "spree_products"."id" = 1060500999 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060500999) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500999 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:42:41.517303' WHERE "spree_products"."id" = 1060500999 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060500999 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.526977' WHERE "spree_products"."id" = 1060501000 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501000], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.528268' WHERE "spree_products"."id" = 1060501000  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590771 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.530025' WHERE "spree_products"."id" = 1060501000  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501000  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["product_id", nil], ["property_id", 905835226], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501000, "updated_at" = '2012-10-21 18:42:41.536479' WHERE "spree_product_properties"."id" = 1073273538 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501000) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451870 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501000 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501000, 558399152) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451872 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451872], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501000, 558399154) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451870 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399152 AND "spree_taxons"."taxonomy_id" = 854451870 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399152]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399152], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451870], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399152]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399155]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399155 THEN 558399152 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399152]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399155]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399155 AND "spree_taxons"."taxonomy_id" = 854451870 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399155]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399155], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451870], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399155]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399156]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399156 THEN 558399155 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399155]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399156]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501000, 558399155)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501000, 558399156) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501000) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501000 AND "spree_option_types"."id" = 935339353 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501000) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["option_type_id", 935339353], ["position", 1], ["product_id", 1060501000], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.577909' WHERE "spree_products"."id" = 1060501000 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501000], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.579501' WHERE "spree_products"."id" = 1060501000  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590772, 979460434) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.582500' WHERE "spree_products"."id" = 1060501000 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501000], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.583978' WHERE "spree_products"."id" = 1060501000  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590773, 979460435) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.586835' WHERE "spree_products"."id" = 1060501000 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501000], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.587978' WHERE "spree_products"."id" = 1060501000  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590774, 979460436) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501000]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501000) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590772 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590773 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590774 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501000) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.606303' WHERE "spree_products"."id" = 1060501000  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590772 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.607500' WHERE "spree_products"."id" = 1060501000 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.609713' WHERE "spree_products"."id" = 1060501000  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590773 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.610788' WHERE "spree_products"."id" = 1060501000 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501000 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.611891' WHERE "spree_products"."id" = 1060501000  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590774 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.612750' WHERE "spree_products"."id" = 1060501000 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501000) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501000 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:42:41.616496' WHERE "spree_products"."id" = 1060501000 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501000 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.625781' WHERE "spree_products"."id" = 1060501001 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501001], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.627607' WHERE "spree_products"."id" = 1060501001  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590775 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.628978' WHERE "spree_products"."id" = 1060501001  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501001  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["product_id", nil], ["property_id", 905835227], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501001, "updated_at" = '2012-10-21 18:42:41.635577' WHERE "spree_product_properties"."id" = 1073273539 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["product_id", nil], ["property_id", 905835226], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501001, "updated_at" = '2012-10-21 18:42:41.638428' WHERE "spree_product_properties"."id" = 1073273540 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["product_id", nil], ["property_id", 905835228], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501001, "updated_at" = '2012-10-21 18:42:41.641851' WHERE "spree_product_properties"."id" = 1073273541 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501001) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451873 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451873], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501001 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501001, 558399157) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451870 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399152 AND "spree_taxons"."taxonomy_id" = 854451870 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399152]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399152], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451870], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399152]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399158]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399158 THEN 558399152 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399152]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399158]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501001, 558399158)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501001, 558399152) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501001) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501001 AND "spree_option_types"."id" = 935339353 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501001) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["option_type_id", 935339353], ["position", 1], ["product_id", 1060501001], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.673406' WHERE "spree_products"."id" = 1060501001 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501001], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.674731' WHERE "spree_products"."id" = 1060501001  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590776, 979460434) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.677912' WHERE "spree_products"."id" = 1060501001 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501001], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.679279' WHERE "spree_products"."id" = 1060501001  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590777, 979460435) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339353 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.682192' WHERE "spree_products"."id" = 1060501001 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501001], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.683605' WHERE "spree_products"."id" = 1060501001  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590778, 979460436) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501001]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501001 AND "spree_option_types"."id" = 935339354 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501001) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["option_type_id", 935339354], ["position", 2], ["product_id", 1060501001], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339354 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339354) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339354], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]]  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.716033' WHERE "spree_products"."id" = 1060501001 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501001], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.717912' WHERE "spree_products"."id" = 1060501001  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590779, 979460437) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339354 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339354) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00], ["name", "colour"], ["option_type_id", 935339354], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.724420' WHERE "spree_products"."id" = 1060501001 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501001], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.725760' WHERE "spree_products"."id" = 1060501001  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590780, 979460438) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501001]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501001) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590776 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590777 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590778 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590779 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590780 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501001) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.746390' WHERE "spree_products"."id" = 1060501001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590776 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.747880' WHERE "spree_products"."id" = 1060501001 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.750605' WHERE "spree_products"."id" = 1060501001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590777 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.751760' WHERE "spree_products"."id" = 1060501001 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.752980' WHERE "spree_products"."id" = 1060501001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590778 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.754206' WHERE "spree_products"."id" = 1060501001 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.817548' WHERE "spree_products"."id" = 1060501001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590779 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.819300' WHERE "spree_products"."id" = 1060501001 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501001 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.821706' WHERE "spree_products"."id" = 1060501001  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590780 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:41.822713' WHERE "spree_products"."id" = 1060501001 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501001) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:42:41.826201' WHERE "spree_products"."id" = 1060501001 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501001 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501001 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590775) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501001)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.1ms) rollback transaction SQL (29.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (5.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501002 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.151985' WHERE "spree_products"."id" = 1060501002 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501002], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.153937' WHERE "spree_products"."id" = 1060501002  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590781 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.155715' WHERE "spree_products"."id" = 1060501002  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501002  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["product_id", nil], ["property_id", 905835229], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501002, "updated_at" = '2012-10-21 18:42:42.169389' WHERE "spree_product_properties"."id" = 1073273542 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501002) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451874], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501002 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501002, 558399159) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451875 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451875], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501002, 558399160) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501002) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501002 AND "spree_option_types"."id" = 935339355 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501002) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["option_type_id", 935339355], ["position", 1], ["product_id", 1060501002], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339355) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339355], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501002 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.232464' WHERE "spree_products"."id" = 1060501002 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501002], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.233986' WHERE "spree_products"."id" = 1060501002  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590782, 979460439) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::OptionValue Load (1.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339355) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339355], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501002 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.240916' WHERE "spree_products"."id" = 1060501002 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501002], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.242755' WHERE "spree_products"."id" = 1060501002  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590783, 979460440) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339355) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339355], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.248085' WHERE "spree_products"."id" = 1060501002 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501002], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.249366' WHERE "spree_products"."id" = 1060501002  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590784, 979460441) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501002]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501002) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590782 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590783 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590784 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501002) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.270217' WHERE "spree_products"."id" = 1060501002  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590782 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.271572' WHERE "spree_products"."id" = 1060501002 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501002 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.272809' WHERE "spree_products"."id" = 1060501002  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590783 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.273967' WHERE "spree_products"."id" = 1060501002 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501002 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.275537' WHERE "spree_products"."id" = 1060501002  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590784 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.276546' WHERE "spree_products"."id" = 1060501002 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501002) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501002 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:42:42.279692' WHERE "spree_products"."id" = 1060501002 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501002 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.288265' WHERE "spree_products"."id" = 1060501003 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501003], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.289632' WHERE "spree_products"."id" = 1060501003  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590785 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.291611' WHERE "spree_products"."id" = 1060501003  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501003  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["product_id", nil], ["property_id", 905835230], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501003, "updated_at" = '2012-10-21 18:42:42.297987' WHERE "spree_product_properties"."id" = 1073273543 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501003) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501003 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501003, 558399159) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451876 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451876], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501003, 558399161) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399159 AND "spree_taxons"."taxonomy_id" = 854451874 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399159]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399159], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451874], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399159]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399162]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399162 THEN 558399159 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399159]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399162]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399162 AND "spree_taxons"."taxonomy_id" = 854451874 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399162]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399162], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451874], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399162]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399163]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399163 THEN 558399162 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399162]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399163]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501003, 558399162)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501003, 558399163) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501003) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501003 AND "spree_option_types"."id" = 935339355 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501003) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["option_type_id", 935339355], ["position", 1], ["product_id", 1060501003], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501003 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.337502' WHERE "spree_products"."id" = 1060501003 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501003], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.339779' WHERE "spree_products"."id" = 1060501003  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590786, 979460439) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.343050' WHERE "spree_products"."id" = 1060501003 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501003], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.344550' WHERE "spree_products"."id" = 1060501003  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590787, 979460440) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.347694' WHERE "spree_products"."id" = 1060501003 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501003], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.349236' WHERE "spree_products"."id" = 1060501003  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590788, 979460441) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501003]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501003) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590786 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590787 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590788 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501003) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501003 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.367988' WHERE "spree_products"."id" = 1060501003  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590786 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.369523' WHERE "spree_products"."id" = 1060501003 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.372835' WHERE "spree_products"."id" = 1060501003  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590787 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.373885' WHERE "spree_products"."id" = 1060501003 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501003 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.375548' WHERE "spree_products"."id" = 1060501003  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590788 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.376584' WHERE "spree_products"."id" = 1060501003 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501003) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501003 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:42:42.379988' WHERE "spree_products"."id" = 1060501003 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501003 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.389799' WHERE "spree_products"."id" = 1060501004 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501004], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.391589' WHERE "spree_products"."id" = 1060501004  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590789 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.393379' WHERE "spree_products"."id" = 1060501004  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501004  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["product_id", nil], ["property_id", 905835231], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501004, "updated_at" = '2012-10-21 18:42:42.402988' WHERE "spree_product_properties"."id" = 1073273544 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["product_id", nil], ["property_id", 905835230], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501004, "updated_at" = '2012-10-21 18:42:42.405341' WHERE "spree_product_properties"."id" = 1073273545 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["product_id", nil], ["property_id", 905835232], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501004, "updated_at" = '2012-10-21 18:42:42.409210' WHERE "spree_product_properties"."id" = 1073273546 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501004) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451877 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451877], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501004 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501004, 558399164) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399159 AND "spree_taxons"."taxonomy_id" = 854451874 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399159]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399159], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451874], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399159]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399165]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399165 THEN 558399159 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399159]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399165]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501004, 558399165)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501004, 558399159) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501004) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501004 AND "spree_option_types"."id" = 935339355 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501004) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["option_type_id", 935339355], ["position", 1], ["product_id", 1060501004], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.443542' WHERE "spree_products"."id" = 1060501004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501004], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.445368' WHERE "spree_products"."id" = 1060501004  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590790, 979460439) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.448458' WHERE "spree_products"."id" = 1060501004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501004], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.449989' WHERE "spree_products"."id" = 1060501004  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590791, 979460440) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339355 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.452968' WHERE "spree_products"."id" = 1060501004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501004], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.454637' WHERE "spree_products"."id" = 1060501004  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590792, 979460441) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501004]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501004 AND "spree_option_types"."id" = 935339356 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501004) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["option_type_id", 935339356], ["position", 2], ["product_id", 1060501004], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339356 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339356) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339356], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.489395' WHERE "spree_products"."id" = 1060501004 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501004], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.491694' WHERE "spree_products"."id" = 1060501004  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590793, 979460442) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339356 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339356) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "colour"], ["option_type_id", 935339356], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.496804' WHERE "spree_products"."id" = 1060501004 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501004], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.498327' WHERE "spree_products"."id" = 1060501004  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590794, 979460443) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501004]] Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501004) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590790 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590791 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590792 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590793 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590794 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501004) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.519078' WHERE "spree_products"."id" = 1060501004  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590790 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.520301' WHERE "spree_products"."id" = 1060501004 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.521649' WHERE "spree_products"."id" = 1060501004  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590791 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.522805' WHERE "spree_products"."id" = 1060501004 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.523989' WHERE "spree_products"."id" = 1060501004  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590792 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.525350' WHERE "spree_products"."id" = 1060501004 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.526619' WHERE "spree_products"."id" = 1060501004  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590793 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.527599' WHERE "spree_products"."id" = 1060501004 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501004 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.528795' WHERE "spree_products"."id" = 1060501004  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590794 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.530299' WHERE "spree_products"."id" = 1060501004 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501004) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:42:42.533560' WHERE "spree_products"."id" = 1060501004 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501004 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.8ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501004 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590789) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501004)) Excel Loader processing 0 rows  (0.2ms) begin transaction  (0.4ms) rollback transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (18.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501005 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.766726' WHERE "spree_products"."id" = 1060501005 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501005], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.768673' WHERE "spree_products"."id" = 1060501005  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590795 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.770724' WHERE "spree_products"."id" = 1060501005  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501005  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["product_id", nil], ["property_id", 905835233], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501005, "updated_at" = '2012-10-21 18:42:42.779284' WHERE "spree_product_properties"."id" = 1073273547 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451878 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451878], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501005 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501005, 558399166) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451879 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451879], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501005, 558399167) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501005 AND "spree_option_types"."id" = 935339357 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501005) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["option_type_id", 935339357], ["position", 1], ["product_id", 1060501005], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339357 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339357) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339357], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501005 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.868231' WHERE "spree_products"."id" = 1060501005 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501005], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.889994' WHERE "spree_products"."id" = 1060501005  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590796, 979460444) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339357 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339357) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339357], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501005 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.895220' WHERE "spree_products"."id" = 1060501005 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501005], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.896668' WHERE "spree_products"."id" = 1060501005  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590797, 979460445) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339357 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339357) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339357], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.902316' WHERE "spree_products"."id" = 1060501005 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501005], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.903884' WHERE "spree_products"."id" = 1060501005  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590798, 979460446) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501005]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590796 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590797 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590798 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.920673' WHERE "spree_products"."id" = 1060501005  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590796 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.922699' WHERE "spree_products"."id" = 1060501005 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.923763' WHERE "spree_products"."id" = 1060501005  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590797 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.924833' WHERE "spree_products"."id" = 1060501005 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501005 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.926622' WHERE "spree_products"."id" = 1060501005  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590798 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:42.927540' WHERE "spree_products"."id" = 1060501005 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590795 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:42 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:44 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:46 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501005) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:42:48.308522' WHERE "spree_products"."id" = 1060501005 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501005 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501006 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.430063' WHERE "spree_products"."id" = 1060501006 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501006], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.433935' WHERE "spree_products"."id" = 1060501006  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590799 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.435831' WHERE "spree_products"."id" = 1060501006  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501006  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["product_id", nil], ["property_id", 905835234], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501006, "updated_at" = '2012-10-21 18:42:48.444980' WHERE "spree_product_properties"."id" = 1073273548 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501006) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451878 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501006 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501006, 558399166) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451880 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451880], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501006, 558399168) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451881 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451881], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501006, 558399169) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501006) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501006 AND "spree_option_types"."id" = 935339357 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501006) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["option_type_id", 935339357], ["position", 1], ["product_id", 1060501006], ["updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339357 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.481262' WHERE "spree_products"."id" = 1060501006 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501006], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.483006' WHERE "spree_products"."id" = 1060501006  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590800, 979460444) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339357 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.486565' WHERE "spree_products"."id" = 1060501006 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501006], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.487810' WHERE "spree_products"."id" = 1060501006  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590801, 979460445) Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339357 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.491497' WHERE "spree_products"."id" = 1060501006 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501006], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.492831' WHERE "spree_products"."id" = 1060501006  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590802, 979460446) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501006]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501006) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590800 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590801 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590802 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501006) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.509437' WHERE "spree_products"."id" = 1060501006  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590800 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.511020' WHERE "spree_products"."id" = 1060501006 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501006 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.512503' WHERE "spree_products"."id" = 1060501006  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590801 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.513706' WHERE "spree_products"."id" = 1060501006 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501006 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.515001' WHERE "spree_products"."id" = 1060501006  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590802 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:42:48.516286' WHERE "spree_products"."id" = 1060501006 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501006) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590799 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:48 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (4.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:42:53 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501006) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501006 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:42:54.094884' WHERE "spree_products"."id" = 1060501006 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501006 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.2ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501005 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590795 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (5.9ms) DELETE FROM "spree_products" SQL (3.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (1.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (57.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501007 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.131594' WHERE "spree_products"."id" = 1060501007 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501007], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.135132' WHERE "spree_products"."id" = 1060501007  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590803 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.146299' WHERE "spree_products"."id" = 1060501007  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501007  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Created New Property # SQL (0.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["product_id", nil], ["property_id", 905835235], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501007, "updated_at" = '2012-10-21 18:45:55.224394' WHERE "spree_product_properties"."id" = 1073273549 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501007) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451882], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501007 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501007, 558399170) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451883 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451883], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501007, 558399171) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501007) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501007 AND "spree_option_types"."id" = 935339358 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501007) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["option_type_id", 935339358], ["position", 1], ["product_id", 1060501007], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339358) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339358], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.442819' WHERE "spree_products"."id" = 1060501007 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501007], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.444928' WHERE "spree_products"."id" = 1060501007  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590804, 979460447) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339358) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339358], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.455867' WHERE "spree_products"."id" = 1060501007 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501007], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.458017' WHERE "spree_products"."id" = 1060501007  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590805, 979460448) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339358) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339358], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501007 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.463168' WHERE "spree_products"."id" = 1060501007 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501007], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.464751' WHERE "spree_products"."id" = 1060501007  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590806, 979460449) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501007]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501007) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590804 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590805 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590806 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501007) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.498540' WHERE "spree_products"."id" = 1060501007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590804 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.500398' WHERE "spree_products"."id" = 1060501007 Spree::Product Load (1.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.502792' WHERE "spree_products"."id" = 1060501007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590805 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.504010' WHERE "spree_products"."id" = 1060501007 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501007 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.505391' WHERE "spree_products"."id" = 1060501007  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590806 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:55.506203' WHERE "spree_products"."id" = 1060501007 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501007) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590803 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:45:55 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501007) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:45:56.489735' WHERE "spree_products"."id" = 1060501007 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.534230' WHERE "spree_products"."id" = 1060501008 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501008], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.536912' WHERE "spree_products"."id" = 1060501008  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590807 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.539154' WHERE "spree_products"."id" = 1060501008  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501008  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["product_id", nil], ["property_id", 905835236], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501008, "updated_at" = '2012-10-21 18:45:56.549050' WHERE "spree_product_properties"."id" = 1073273550 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501008) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501008 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501008, 558399170) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451884 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451884], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501008, 558399172) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451885 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451885], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501008, 558399173) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501008) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501008 AND "spree_option_types"."id" = 935339358 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501008) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["option_type_id", 935339358], ["position", 1], ["product_id", 1060501008], ["updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.589613' WHERE "spree_products"."id" = 1060501008 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501008], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.590960' WHERE "spree_products"."id" = 1060501008  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590808, 979460447) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501008 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.594313' WHERE "spree_products"."id" = 1060501008 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501008], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.595628' WHERE "spree_products"."id" = 1060501008  (0.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590809, 979460448) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.599478' WHERE "spree_products"."id" = 1060501008 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501008], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.601003' WHERE "spree_products"."id" = 1060501008  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590810, 979460449) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501008]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501008) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590808 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590809 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590810 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501008) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.619340' WHERE "spree_products"."id" = 1060501008  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590808 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.620945' WHERE "spree_products"."id" = 1060501008 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.622148' WHERE "spree_products"."id" = 1060501008  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590809 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.623412' WHERE "spree_products"."id" = 1060501008 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501008 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.625009' WHERE "spree_products"."id" = 1060501008  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590810 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:45:56.626227' WHERE "spree_products"."id" = 1060501008 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501008) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590807 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:45:56 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501008) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501008 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:46:02.617179' WHERE "spree_products"."id" = 1060501008 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.631826' WHERE "spree_products"."id" = 1060501009 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501009], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.633725' WHERE "spree_products"."id" = 1060501009  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590811 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.636487' WHERE "spree_products"."id" = 1060501009  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501009  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905835237], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501009, "updated_at" = '2012-10-21 18:46:02.645121' WHERE "spree_product_properties"."id" = 1073273551 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905835236], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501009, "updated_at" = '2012-10-21 18:46:02.649087' WHERE "spree_product_properties"."id" = 1073273552 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["product_id", nil], ["property_id", 905835238], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501009, "updated_at" = '2012-10-21 18:46:02.654087' WHERE "spree_product_properties"."id" = 1073273553 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501009) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451886 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451886], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501009 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501009, 558399174) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501009) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501009 AND "spree_option_types"."id" = 935339358 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501009) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["option_type_id", 935339358], ["position", 1], ["product_id", 1060501009], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.675126' WHERE "spree_products"."id" = 1060501009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501009], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.676796' WHERE "spree_products"."id" = 1060501009  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590812, 979460447) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.680083' WHERE "spree_products"."id" = 1060501009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501009], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.681470' WHERE "spree_products"."id" = 1060501009  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590813, 979460448) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339358 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.684896' WHERE "spree_products"."id" = 1060501009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501009], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.686251' WHERE "spree_products"."id" = 1060501009  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590814, 979460449) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501009]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501009 AND "spree_option_types"."id" = 935339359 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501009) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["option_type_id", 935339359], ["position", 2], ["product_id", 1060501009], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339359 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339359) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339359], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.720355' WHERE "spree_products"."id" = 1060501009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501009], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.722219' WHERE "spree_products"."id" = 1060501009  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590815, 979460450) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339359 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339359) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339359], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.729301' WHERE "spree_products"."id" = 1060501009 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501009], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.731006' WHERE "spree_products"."id" = 1060501009  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590816, 979460451) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501009]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501009) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590812 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590813 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590814 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590815 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590816 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501009) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.751488' WHERE "spree_products"."id" = 1060501009  (1.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590812 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.754072' WHERE "spree_products"."id" = 1060501009 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.755567' WHERE "spree_products"."id" = 1060501009  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590813 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.756844' WHERE "spree_products"."id" = 1060501009 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.758267' WHERE "spree_products"."id" = 1060501009  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590814 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.759276' WHERE "spree_products"."id" = 1060501009 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.760417' WHERE "spree_products"."id" = 1060501009  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590815 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.763786' WHERE "spree_products"."id" = 1060501009 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501009 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.765734' WHERE "spree_products"."id" = 1060501009  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590816 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:02.766785' WHERE "spree_products"."id" = 1060501009 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501009) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590811 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (3.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:02 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501009) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501009 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:46:03.923985' WHERE "spree_products"."id" = 1060501009  (45.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501007 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590803) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501007)) SQL (2.4ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (21.2ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501010 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.613638' WHERE "spree_products"."id" = 1060501010 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501010], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.615313' WHERE "spree_products"."id" = 1060501010  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590817 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.617341' WHERE "spree_products"."id" = 1060501010  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501010  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["product_id", nil], ["property_id", 905835239], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501010, "updated_at" = '2012-10-21 18:46:04.625932' WHERE "spree_product_properties"."id" = 1073273554 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501010) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451887 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451887], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501010 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501010, 558399175) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451888 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451888], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501010, 558399176) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501010) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501010 AND "spree_option_types"."id" = 935339360 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501010) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["option_type_id", 935339360], ["position", 1], ["product_id", 1060501010], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339360) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339360], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.657512' WHERE "spree_products"."id" = 1060501010 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501010], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.677735' WHERE "spree_products"."id" = 1060501010  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590818, 979460452) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339360) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339360], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501010 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.683472' WHERE "spree_products"."id" = 1060501010 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501010], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.684734' WHERE "spree_products"."id" = 1060501010  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590819, 979460453) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339360) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339360], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.689513' WHERE "spree_products"."id" = 1060501010 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501010], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.691041' WHERE "spree_products"."id" = 1060501010  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590820, 979460454) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501010]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501010) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590818 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590819 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590820 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501010) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.706839' WHERE "spree_products"."id" = 1060501010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590818 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.708180' WHERE "spree_products"."id" = 1060501010 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.709573' WHERE "spree_products"."id" = 1060501010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590819 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.710485' WHERE "spree_products"."id" = 1060501010 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501010 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.712422' WHERE "spree_products"."id" = 1060501010  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590820 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:04.713495' WHERE "spree_products"."id" = 1060501010 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501010) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590817 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:04 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501010) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:46:05.572347' WHERE "spree_products"."id" = 1060501010 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501010 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.605229' WHERE "spree_products"."id" = 1060501011 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501011], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.606996' WHERE "spree_products"."id" = 1060501011  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590821 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.608813' WHERE "spree_products"."id" = 1060501011  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501011  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["product_id", nil], ["property_id", 905835240], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501011, "updated_at" = '2012-10-21 18:46:05.616382' WHERE "spree_product_properties"."id" = 1073273555 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501011) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451887 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501011 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501011, 558399175) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451889 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451889], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501011, 558399177) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451890 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451890], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501011, 558399178) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501011) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501011 AND "spree_option_types"."id" = 935339360 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501011) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["option_type_id", 935339360], ["position", 1], ["product_id", 1060501011], ["updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.646828' WHERE "spree_products"."id" = 1060501011 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501011], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.648147' WHERE "spree_products"."id" = 1060501011  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590822, 979460452) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.650970' WHERE "spree_products"."id" = 1060501011 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501011], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.652357' WHERE "spree_products"."id" = 1060501011  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590823, 979460453) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.655688' WHERE "spree_products"."id" = 1060501011 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501011], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.657152' WHERE "spree_products"."id" = 1060501011  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590824, 979460454) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501011]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501011) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590822 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590823 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590824 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501011) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.673287' WHERE "spree_products"."id" = 1060501011  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590822 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.674990' WHERE "spree_products"."id" = 1060501011 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.676331' WHERE "spree_products"."id" = 1060501011  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590823 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.677340' WHERE "spree_products"."id" = 1060501011 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501011 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.678683' WHERE "spree_products"."id" = 1060501011  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590824 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:05.679778' WHERE "spree_products"."id" = 1060501011 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501011) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590821 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (3.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:05 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501011) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501011 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:46:11.687834' WHERE "spree_products"."id" = 1060501011 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501011 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.721449' WHERE "spree_products"."id" = 1060501012 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501012], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.723795' WHERE "spree_products"."id" = 1060501012  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590825 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.725829' WHERE "spree_products"."id" = 1060501012  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501012  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["product_id", nil], ["property_id", 905835241], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501012, "updated_at" = '2012-10-21 18:46:11.735018' WHERE "spree_product_properties"."id" = 1073273556 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["product_id", nil], ["property_id", 905835240], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501012, "updated_at" = '2012-10-21 18:46:11.737852' WHERE "spree_product_properties"."id" = 1073273557 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["product_id", nil], ["property_id", 905835242], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501012, "updated_at" = '2012-10-21 18:46:11.741842' WHERE "spree_product_properties"."id" = 1073273558 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501012) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451891 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451891], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501012 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501012, 558399179) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501012) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501012 AND "spree_option_types"."id" = 935339360 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501012) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["option_type_id", 935339360], ["position", 1], ["product_id", 1060501012], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.763069' WHERE "spree_products"."id" = 1060501012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501012], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.764517' WHERE "spree_products"."id" = 1060501012  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590826, 979460452) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.767739' WHERE "spree_products"."id" = 1060501012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501012], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.769049' WHERE "spree_products"."id" = 1060501012  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590827, 979460453) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339360 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.772202' WHERE "spree_products"."id" = 1060501012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501012], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.773690' WHERE "spree_products"."id" = 1060501012  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590828, 979460454) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501012]] Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501012 AND "spree_option_types"."id" = 935339361 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501012) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["option_type_id", 935339361], ["position", 2], ["product_id", 1060501012], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339361 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339361) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339361], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.807946' WHERE "spree_products"."id" = 1060501012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501012], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.809296' WHERE "spree_products"."id" = 1060501012  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590829, 979460455) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339361 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339361) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["name", "colour"], ["option_type_id", 935339361], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.815675' WHERE "spree_products"."id" = 1060501012 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501012], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.817042' WHERE "spree_products"."id" = 1060501012  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590830, 979460456) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501012]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501012) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590826 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590827 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590828 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590829 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590830 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501012) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.838356' WHERE "spree_products"."id" = 1060501012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590826 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.839782' WHERE "spree_products"."id" = 1060501012 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.841184' WHERE "spree_products"."id" = 1060501012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590827 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.842287' WHERE "spree_products"."id" = 1060501012 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.843653' WHERE "spree_products"."id" = 1060501012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590828 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.845003' WHERE "spree_products"."id" = 1060501012 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.846371' WHERE "spree_products"."id" = 1060501012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590829 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.847450' WHERE "spree_products"."id" = 1060501012 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501012 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.848878' WHERE "spree_products"."id" = 1060501012  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590830 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:11.849965' WHERE "spree_products"."id" = 1060501012 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501012) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590825 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:11 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501012) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501012 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:46:14.105139' WHERE "spree_products"."id" = 1060501012 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501012 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (35.6ms) commit transaction Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501010 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590817) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501010)) SQL (2.6ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (117.7ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.572636' WHERE "spree_products"."id" = 1060501013 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501013], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.574427' WHERE "spree_products"."id" = 1060501013  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590831 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.575928' WHERE "spree_products"."id" = 1060501013  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501013  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["product_id", nil], ["property_id", 905835243], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501013, "updated_at" = '2012-10-21 18:46:14.584225' WHERE "spree_product_properties"."id" = 1073273559 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501013) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (106.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451892], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501013 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501013, 558399180) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451893 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451893], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501013, 558399181) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501013) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501013 AND "spree_option_types"."id" = 935339362 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501013) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["option_type_id", 935339362], ["position", 1], ["product_id", 1060501013], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339362) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339362], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.753306' WHERE "spree_products"."id" = 1060501013 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501013], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.754638' WHERE "spree_products"."id" = 1060501013  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590832, 979460457) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339362) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339362], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.761248' WHERE "spree_products"."id" = 1060501013 SQL (1.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501013], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.764604' WHERE "spree_products"."id" = 1060501013  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590833, 979460458) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339362) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339362], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.770219' WHERE "spree_products"."id" = 1060501013 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501013], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.773020' WHERE "spree_products"."id" = 1060501013  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590834, 979460459) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501013]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501013) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590832 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590833 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590834 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501013) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.790554' WHERE "spree_products"."id" = 1060501013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590832 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.791928' WHERE "spree_products"."id" = 1060501013 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.793242' WHERE "spree_products"."id" = 1060501013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590833 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.794374' WHERE "spree_products"."id" = 1060501013 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.796535' WHERE "spree_products"."id" = 1060501013  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590834 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.797414' WHERE "spree_products"."id" = 1060501013 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501013) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:46:14.879885' WHERE "spree_products"."id" = 1060501013 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501013 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.888640' WHERE "spree_products"."id" = 1060501014 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501014], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.890178' WHERE "spree_products"."id" = 1060501014  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590835 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.891929' WHERE "spree_products"."id" = 1060501014  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501014  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["product_id", nil], ["property_id", 905835244], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501014, "updated_at" = '2012-10-21 18:46:14.899510' WHERE "spree_product_properties"."id" = 1073273560 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501014) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501014 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501014, 558399180) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451894 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451894], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501014, 558399182) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399180 AND "spree_taxons"."taxonomy_id" = 854451892 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399180]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399180], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451892], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399180]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399183]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399183 THEN 558399180 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399180]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399183]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399183 AND "spree_taxons"."taxonomy_id" = 854451892 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399183]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399183], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451892], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399183]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399184]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399184 THEN 558399183 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399183]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399184]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501014, 558399183)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501014, 558399184) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501014) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501014 AND "spree_option_types"."id" = 935339362 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501014) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00], ["option_type_id", 935339362], ["position", 1], ["product_id", 1060501014], ["updated_at", Sun, 21 Oct 2012 18:46:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.947641' WHERE "spree_products"."id" = 1060501014 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501014], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.949846' WHERE "spree_products"."id" = 1060501014  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590836, 979460457) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.953480' WHERE "spree_products"."id" = 1060501014 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501014], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.954641' WHERE "spree_products"."id" = 1060501014  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590837, 979460458) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.959126' WHERE "spree_products"."id" = 1060501014 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501014], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:14.960332' WHERE "spree_products"."id" = 1060501014  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590838, 979460459) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501014]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501014) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590836 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590837 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590838 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501014) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.120643' WHERE "spree_products"."id" = 1060501014  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590836 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.121940' WHERE "spree_products"."id" = 1060501014 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.123199' WHERE "spree_products"."id" = 1060501014  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590837 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.124150' WHERE "spree_products"."id" = 1060501014 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.125591' WHERE "spree_products"."id" = 1060501014  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590838 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.126419' WHERE "spree_products"."id" = 1060501014 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501014) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:46:15.129388' WHERE "spree_products"."id" = 1060501014 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501014 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.145640' WHERE "spree_products"."id" = 1060501015 SQL (1.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501015], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.148643' WHERE "spree_products"."id" = 1060501015  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590839 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.150168' WHERE "spree_products"."id" = 1060501015  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501015  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["product_id", nil], ["property_id", 905835245], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501015, "updated_at" = '2012-10-21 18:46:15.157643' WHERE "spree_product_properties"."id" = 1073273561 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["product_id", nil], ["property_id", 905835244], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501015, "updated_at" = '2012-10-21 18:46:15.160271' WHERE "spree_product_properties"."id" = 1073273562 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["product_id", nil], ["property_id", 905835246], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501015, "updated_at" = '2012-10-21 18:46:15.164337' WHERE "spree_product_properties"."id" = 1073273563 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501015) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451895 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451895], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501015 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501015, 558399185) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399180 AND "spree_taxons"."taxonomy_id" = 854451892 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399180]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399180], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451892], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399180]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399186]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399186 THEN 558399180 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399180]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399186]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501015, 558399186)  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501015, 558399180) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501015) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501015 AND "spree_option_types"."id" = 935339362 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501015) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["option_type_id", 935339362], ["position", 1], ["product_id", 1060501015], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.199423' WHERE "spree_products"."id" = 1060501015 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501015], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.200519' WHERE "spree_products"."id" = 1060501015  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590840, 979460457) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.203644' WHERE "spree_products"."id" = 1060501015 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501015], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.205163' WHERE "spree_products"."id" = 1060501015  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590841, 979460458) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339362 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.208876' WHERE "spree_products"."id" = 1060501015 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501015], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.210036' WHERE "spree_products"."id" = 1060501015  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590842, 979460459) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501015]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Spree::OptionType Exists (173.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501015 AND "spree_option_types"."id" = 935339363 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501015) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["option_type_id", 935339363], ["position", 2], ["product_id", 1060501015], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339363 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339363) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339363], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.398919' WHERE "spree_products"."id" = 1060501015 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501015], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.400166' WHERE "spree_products"."id" = 1060501015  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590843, 979460460) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339363 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339363) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["name", "colour"], ["option_type_id", 935339363], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.405646' WHERE "spree_products"."id" = 1060501015 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501015], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.407619' WHERE "spree_products"."id" = 1060501015  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590844, 979460461) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501015]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501015) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590840 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590841 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590842 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590843 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590844 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501015) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.427063' WHERE "spree_products"."id" = 1060501015  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590840 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.428539' WHERE "spree_products"."id" = 1060501015 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.430019' WHERE "spree_products"."id" = 1060501015  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590841 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.431244' WHERE "spree_products"."id" = 1060501015 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (159.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.432907' WHERE "spree_products"."id" = 1060501015  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590842 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.593646' WHERE "spree_products"."id" = 1060501015 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.595307' WHERE "spree_products"."id" = 1060501015  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590843 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.596610' WHERE "spree_products"."id" = 1060501015 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.597783' WHERE "spree_products"."id" = 1060501015  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590844 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:15.599303' WHERE "spree_products"."id" = 1060501015 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501015) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:46:15.602556' WHERE "spree_products"."id" = 1060501015 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501015 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (11.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590839) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501015)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590831 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:15 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501013 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:17.344264' WHERE "spree_products"."id" = 1060501013  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (19.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501013 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013590831 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590835 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:17 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501014 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:22.921909' WHERE "spree_products"."id" = 1060501014  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501014 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.4ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501014 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013590835 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590839 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:22 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501015 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.449757' WHERE "spree_products"."id" = 1060501015  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501015 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501015 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013590839  (34.3ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501013 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590831) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501013)) SQL (2.6ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.2ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (9.8ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501016 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.775683' WHERE "spree_products"."id" = 1060501016 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501016], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.777576' WHERE "spree_products"."id" = 1060501016  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590845 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.779447' WHERE "spree_products"."id" = 1060501016  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501016  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["product_id", nil], ["property_id", 905835247], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501016, "updated_at" = '2012-10-21 18:46:24.787663' WHERE "spree_product_properties"."id" = 1073273564 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501016) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451896], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501016 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501016, 558399187) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451897 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451897], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501016, 558399188) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501016) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501016 AND "spree_option_types"."id" = 935339364 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501016) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["option_type_id", 935339364], ["position", 1], ["product_id", 1060501016], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339364) ORDER BY position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339364], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.842859' WHERE "spree_products"."id" = 1060501016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501016], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.844180' WHERE "spree_products"."id" = 1060501016  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590846, 979460462) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339364) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339364], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.849267' WHERE "spree_products"."id" = 1060501016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501016], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.850650' WHERE "spree_products"."id" = 1060501016  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590847, 979460463) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339364) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339364], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.855196' WHERE "spree_products"."id" = 1060501016 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501016], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.856764' WHERE "spree_products"."id" = 1060501016  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590848, 979460464) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501016]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501016) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590846 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590847 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590848 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501016) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.871671' WHERE "spree_products"."id" = 1060501016  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590846 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.873070' WHERE "spree_products"."id" = 1060501016 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.874432' WHERE "spree_products"."id" = 1060501016  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590847 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.875648' WHERE "spree_products"."id" = 1060501016 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501016 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.876832' WHERE "spree_products"."id" = 1060501016  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590848 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.877764' WHERE "spree_products"."id" = 1060501016 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501016) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:46:24.880261' WHERE "spree_products"."id" = 1060501016 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501016 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.889525' WHERE "spree_products"."id" = 1060501017 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501017], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.890765' WHERE "spree_products"."id" = 1060501017  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590849 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.892097' WHERE "spree_products"."id" = 1060501017  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501017  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["product_id", nil], ["property_id", 905835248], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501017, "updated_at" = '2012-10-21 18:46:24.898570' WHERE "spree_product_properties"."id" = 1073273565 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501017) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501017 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501017, 558399187) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451898 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451898], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501017, 558399189) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399187 AND "spree_taxons"."taxonomy_id" = 854451896 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399187]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399187], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451896], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399187]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399190]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399190 THEN 558399187 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399187]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399190]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399190 AND "spree_taxons"."taxonomy_id" = 854451896 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399190]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399190], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451896], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399190]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399191]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399191 THEN 558399190 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399190]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399191]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501017, 558399190)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501017, 558399191) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501017) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501017 AND "spree_option_types"."id" = 935339364 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501017) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["option_type_id", 935339364], ["position", 1], ["product_id", 1060501017], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.937154' WHERE "spree_products"."id" = 1060501017 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501017], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.938300' WHERE "spree_products"."id" = 1060501017  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590850, 979460462) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.941729' WHERE "spree_products"."id" = 1060501017 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501017], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.943116' WHERE "spree_products"."id" = 1060501017  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590851, 979460463) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.945765' WHERE "spree_products"."id" = 1060501017 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501017], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.946936' WHERE "spree_products"."id" = 1060501017  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590852, 979460464) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501017]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501017) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590850 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590851 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590852 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501017) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.963897' WHERE "spree_products"."id" = 1060501017  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590850 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.965191' WHERE "spree_products"."id" = 1060501017 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.966729' WHERE "spree_products"."id" = 1060501017  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590851 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.967766' WHERE "spree_products"."id" = 1060501017 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501017 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.968984' WHERE "spree_products"."id" = 1060501017  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590852 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.969858' WHERE "spree_products"."id" = 1060501017 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501017) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:46:24.972766' WHERE "spree_products"."id" = 1060501017 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501017 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (2.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.982736' WHERE "spree_products"."id" = 1060501018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501018], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.984602' WHERE "spree_products"."id" = 1060501018  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590853 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:24.985766' WHERE "spree_products"."id" = 1060501018  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501018  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["product_id", nil], ["property_id", 905835249], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501018, "updated_at" = '2012-10-21 18:46:24.994332' WHERE "spree_product_properties"."id" = 1073273566 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["product_id", nil], ["property_id", 905835248], ["updated_at", Sun, 21 Oct 2012 18:46:24 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501018, "updated_at" = '2012-10-21 18:46:24.997064' WHERE "spree_product_properties"."id" = 1073273567 Created New ProductProperty # Spree::Property Load (0.8ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["product_id", nil], ["property_id", 905835250], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501018, "updated_at" = '2012-10-21 18:46:25.058355' WHERE "spree_product_properties"."id" = 1073273568 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501018) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451899 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451899], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501018 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501018, 558399192) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399187 AND "spree_taxons"."taxonomy_id" = 854451896 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399187]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399187], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451896], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399187]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399193]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399193 THEN 558399187 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399187]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399193]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501018, 558399193)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501018, 558399187) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501018) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501018 AND "spree_option_types"."id" = 935339364 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501018) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["option_type_id", 935339364], ["position", 1], ["product_id", 1060501018], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.093658' WHERE "spree_products"."id" = 1060501018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501018], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.094763' WHERE "spree_products"."id" = 1060501018  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590854, 979460462) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.098130' WHERE "spree_products"."id" = 1060501018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501018], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.099285' WHERE "spree_products"."id" = 1060501018  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590855, 979460463) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339364 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.102246' WHERE "spree_products"."id" = 1060501018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501018], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.103584' WHERE "spree_products"."id" = 1060501018  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590856, 979460464) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501018]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501018 AND "spree_option_types"."id" = 935339365 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501018) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["option_type_id", 935339365], ["position", 2], ["product_id", 1060501018], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339365 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339365) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339365], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.136258' WHERE "spree_products"."id" = 1060501018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501018], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.142969' WHERE "spree_products"."id" = 1060501018  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590857, 979460465) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339365 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339365) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["name", "colour"], ["option_type_id", 935339365], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.149087' WHERE "spree_products"."id" = 1060501018 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501018], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.150512' WHERE "spree_products"."id" = 1060501018  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590858, 979460466) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501018]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501018) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590854 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590855 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590856 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590857 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590858 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501018) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.179514' WHERE "spree_products"."id" = 1060501018  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590854 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.181054' WHERE "spree_products"."id" = 1060501018 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.183113' WHERE "spree_products"."id" = 1060501018  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590855 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.184090' WHERE "spree_products"."id" = 1060501018 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.185599' WHERE "spree_products"."id" = 1060501018  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590856 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.186768' WHERE "spree_products"."id" = 1060501018 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.188353' WHERE "spree_products"."id" = 1060501018  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590857 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.189768' WHERE "spree_products"."id" = 1060501018 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501018 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.191091' WHERE "spree_products"."id" = 1060501018  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590858 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:25.192599' WHERE "spree_products"."id" = 1060501018 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501018) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (4.9ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:46:25.196265' WHERE "spree_products"."id" = 1060501018 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501018 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.4ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590853) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501018)) Excel Loader processing 0 rows  (0.3ms) begin transaction Spree::Product Load (27.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501016) LIMIT 1 Spree::Image Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590845) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501016)) ORDER BY "spree_assets".position Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:25 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590845) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501016)) ORDER BY "spree_assets".position Spree::Asset Load (15.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:26 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501016) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501016 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501017) LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590849) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501017)) ORDER BY "spree_assets".position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:31 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501017) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501017 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501017 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501018) LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590853) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501018)) ORDER BY "spree_assets".position Spree::Asset Load (3.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:35 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501018) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501018 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501018  (57.6ms) commit transaction Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501016 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590845) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501016)) SQL (2.1ms) DELETE FROM "spree_products" SQL (2.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501019 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.576536' WHERE "spree_products"."id" = 1060501019 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501019], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.579505' WHERE "spree_products"."id" = 1060501019  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590859 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.581488' WHERE "spree_products"."id" = 1060501019  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501019  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Created New Property # SQL (0.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["product_id", nil], ["property_id", 905835251], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501019, "updated_at" = '2012-10-21 18:46:36.591911' WHERE "spree_product_properties"."id" = 1073273569 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::Taxon Load (1.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451900], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501019 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501019, 558399194) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451901 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451901], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501019, 558399195) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501019 AND "spree_option_types"."id" = 935339366 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501019) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["option_type_id", 935339366], ["position", 1], ["product_id", 1060501019], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339366 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339366) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339366], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.633707' WHERE "spree_products"."id" = 1060501019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501019], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.635221' WHERE "spree_products"."id" = 1060501019  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590860, 979460467) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339366 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339366) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339366], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.640507' WHERE "spree_products"."id" = 1060501019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501019], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.642210' WHERE "spree_products"."id" = 1060501019  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590861, 979460468) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339366 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339366) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339366], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501019 LIMIT 1 SQL (1.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.648891' WHERE "spree_products"."id" = 1060501019 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501019], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.651398' WHERE "spree_products"."id" = 1060501019  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590862, 979460469) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501019]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590860 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590861 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590862 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.781887' WHERE "spree_products"."id" = 1060501019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590860 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.782913' WHERE "spree_products"."id" = 1060501019 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501019 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.784609' WHERE "spree_products"."id" = 1060501019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590861 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.785883' WHERE "spree_products"."id" = 1060501019 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501019 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.787295' WHERE "spree_products"."id" = 1060501019  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590862 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:36.788196' WHERE "spree_products"."id" = 1060501019 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590859 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (4.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:36 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1 Spree::Asset Load (3.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:37 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:38 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501019) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:46:39.848007' WHERE "spree_products"."id" = 1060501019 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501019 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501020 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.867513' WHERE "spree_products"."id" = 1060501020 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501020], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.869573' WHERE "spree_products"."id" = 1060501020  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590863 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.873462' WHERE "spree_products"."id" = 1060501020  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501020  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["product_id", nil], ["property_id", 905835252], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501020, "updated_at" = '2012-10-21 18:46:39.885760' WHERE "spree_product_properties"."id" = 1073273570 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501020) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501020 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501020, 558399194) Spree::Taxonomy Load (1.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451902 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451902], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501020, 558399196) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451903 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451903], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.7ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501020, 558399197) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501020) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501020 AND "spree_option_types"."id" = 935339366 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501020) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["option_type_id", 935339366], ["position", 1], ["product_id", 1060501020], ["updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339366 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501020 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.930418' WHERE "spree_products"."id" = 1060501020 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501020], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.931952' WHERE "spree_products"."id" = 1060501020  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590864, 979460467) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339366 LIMIT 1 Spree::Product Load (1.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.937841' WHERE "spree_products"."id" = 1060501020 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501020], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (1.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.939779' WHERE "spree_products"."id" = 1060501020  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590865, 979460468) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339366 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501020 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.944918' WHERE "spree_products"."id" = 1060501020 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501020], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.946439' WHERE "spree_products"."id" = 1060501020  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590866, 979460469) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501020]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501020) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590864 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590865 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590866 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501020) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.964166' WHERE "spree_products"."id" = 1060501020  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590864 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.965576' WHERE "spree_products"."id" = 1060501020 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.966953' WHERE "spree_products"."id" = 1060501020  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590865 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.968263' WHERE "spree_products"."id" = 1060501020 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501020 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.969483' WHERE "spree_products"."id" = 1060501020  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590866 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:46:39.970847' WHERE "spree_products"."id" = 1060501020 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501020) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590863 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (6.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:39 UTC +00:00], ["attachment_width", 2424], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:46:44 UTC +00:00], ["attachment_width", 240], ["position", 5], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501020) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501020 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:46:45.230652' WHERE "spree_products"."id" = 1060501020 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501020 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (126.9ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501019 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590859 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (7.2ms) DELETE FROM "spree_products" SQL (2.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (61.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.557599' WHERE "spree_products"."id" = 1060501021 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501021], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.560445' WHERE "spree_products"."id" = 1060501021  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590867 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.563012' WHERE "spree_products"."id" = 1060501021  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501021  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["product_id", nil], ["property_id", 905835253], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501021, "updated_at" = '2012-10-21 18:48:39.696922' WHERE "spree_product_properties"."id" = 1073273571 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501021) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451904 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451904], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501021 Product assigned to Taxons : ["Paintings"]  (1.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501021, 558399198) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451905 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451905], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501021, 558399199) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501021) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501021 AND "spree_option_types"."id" = 935339367 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501021) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["option_type_id", 935339367], ["position", 1], ["product_id", 1060501021], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339367) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339367], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.934969' WHERE "spree_products"."id" = 1060501021 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501021], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.936441' WHERE "spree_products"."id" = 1060501021  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590868, 979460470) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339367) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339367], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.946153' WHERE "spree_products"."id" = 1060501021 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501021], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.947736' WHERE "spree_products"."id" = 1060501021  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590869, 979460471) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339367) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339367], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.952249' WHERE "spree_products"."id" = 1060501021 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501021], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.953846' WHERE "spree_products"."id" = 1060501021  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590870, 979460472) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501021]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501021) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590868 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590869 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590870 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501021) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.992626' WHERE "spree_products"."id" = 1060501021  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590868 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.993899' WHERE "spree_products"."id" = 1060501021 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.995213' WHERE "spree_products"."id" = 1060501021  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590869 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.996769' WHERE "spree_products"."id" = 1060501021 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:39.998099' WHERE "spree_products"."id" = 1060501021  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590870 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:40.003841' WHERE "spree_products"."id" = 1060501021 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501021) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590867 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:40 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:41 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013590867, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1130 Spree::Product Load (25.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501021 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.511087' WHERE "spree_products"."id" = 1060501021  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501021 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501021) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501021 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:48:42.528578' WHERE "spree_products"."id" = 1060501021 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.547132' WHERE "spree_products"."id" = 1060501022 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501022], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.548700' WHERE "spree_products"."id" = 1060501022  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590871 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.550351' WHERE "spree_products"."id" = 1060501022  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501022  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["product_id", nil], ["property_id", 905835254], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501022, "updated_at" = '2012-10-21 18:48:42.563390' WHERE "spree_product_properties"."id" = 1073273572 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501022) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451904 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501022 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501022, 558399198) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451906 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451906], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501022, 558399200) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451907 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451907], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501022, 558399201) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501022) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501022 AND "spree_option_types"."id" = 935339367 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501022) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["option_type_id", 935339367], ["position", 1], ["product_id", 1060501022], ["updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.611405' WHERE "spree_products"."id" = 1060501022 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501022], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.612483' WHERE "spree_products"."id" = 1060501022  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590872, 979460470) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.615835' WHERE "spree_products"."id" = 1060501022 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501022], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.619427' WHERE "spree_products"."id" = 1060501022  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590873, 979460471) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.622739' WHERE "spree_products"."id" = 1060501022 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501022], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.624120' WHERE "spree_products"."id" = 1060501022  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590874, 979460472) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501022]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501022) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (2.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590872 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590873 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590874 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501022) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.646484' WHERE "spree_products"."id" = 1060501022  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590872 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.647725' WHERE "spree_products"."id" = 1060501022 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.651290' WHERE "spree_products"."id" = 1060501022  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590873 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.652397' WHERE "spree_products"."id" = 1060501022 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.653568' WHERE "spree_products"."id" = 1060501022  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590874 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:42.654768' WHERE "spree_products"."id" = 1060501022 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501022) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590871 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:42 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:46 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013590871, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1132 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501022 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.821515' WHERE "spree_products"."id" = 1060501022  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501022 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501022) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501022 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:48:50.851782' WHERE "spree_products"."id" = 1060501022 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.863975' WHERE "spree_products"."id" = 1060501023 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501023], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.865498' WHERE "spree_products"."id" = 1060501023  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590875 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.867586' WHERE "spree_products"."id" = 1060501023  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501023  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["product_id", nil], ["property_id", 905835255], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501023, "updated_at" = '2012-10-21 18:48:50.877655' WHERE "spree_product_properties"."id" = 1073273573 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["product_id", nil], ["property_id", 905835254], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501023, "updated_at" = '2012-10-21 18:48:50.881859' WHERE "spree_product_properties"."id" = 1073273574 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["product_id", nil], ["property_id", 905835256], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501023, "updated_at" = '2012-10-21 18:48:50.885874' WHERE "spree_product_properties"."id" = 1073273575 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501023) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451908 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451908], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501023 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501023, 558399202) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501023) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501023 AND "spree_option_types"."id" = 935339367 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501023) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["option_type_id", 935339367], ["position", 1], ["product_id", 1060501023], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.908865' WHERE "spree_products"."id" = 1060501023 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501023], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.910864' WHERE "spree_products"."id" = 1060501023  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590876, 979460470) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.914156' WHERE "spree_products"."id" = 1060501023 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501023], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.915766' WHERE "spree_products"."id" = 1060501023  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590877, 979460471) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339367 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.919668' WHERE "spree_products"."id" = 1060501023 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501023], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.921116' WHERE "spree_products"."id" = 1060501023  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590878, 979460472) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501023]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501023 AND "spree_option_types"."id" = 935339368 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501023) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["option_type_id", 935339368], ["position", 2], ["product_id", 1060501023], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339368 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339368) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339368], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.959195' WHERE "spree_products"."id" = 1060501023 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501023], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.961051' WHERE "spree_products"."id" = 1060501023  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590879, 979460473) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339368 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339368) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00], ["name", "colour"], ["option_type_id", 935339368], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.968471' WHERE "spree_products"."id" = 1060501023 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501023], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.970206' WHERE "spree_products"."id" = 1060501023  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590880, 979460474) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501023]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501023) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590876 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590877 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590878 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590879 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590880 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501023) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.991588' WHERE "spree_products"."id" = 1060501023  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590876 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.993044' WHERE "spree_products"."id" = 1060501023 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.995094' WHERE "spree_products"."id" = 1060501023  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590877 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.996375' WHERE "spree_products"."id" = 1060501023 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:50.998337' WHERE "spree_products"."id" = 1060501023  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590878 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:51.000140' WHERE "spree_products"."id" = 1060501023 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:51.001588' WHERE "spree_products"."id" = 1060501023  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590879 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:51.002567' WHERE "spree_products"."id" = 1060501023 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:51.004165' WHERE "spree_products"."id" = 1060501023  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590880 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:51.005106' WHERE "spree_products"."id" = 1060501023 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501023) LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590875 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (7.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:51 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (4.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:52 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590875, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1134 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501023 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.013089' WHERE "spree_products"."id" = 1060501023  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501023 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501023) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501023 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:48:53.045990' WHERE "spree_products"."id" = 1060501023  (10.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (20.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.778322' WHERE "spree_products"."id" = 1060501024 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501024], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.780431' WHERE "spree_products"."id" = 1060501024  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590881 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.782413' WHERE "spree_products"."id" = 1060501024  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501024  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["product_id", nil], ["property_id", 905835257], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501024, "updated_at" = '2012-10-21 18:48:53.796164' WHERE "spree_product_properties"."id" = 1073273576 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501024) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451909 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451909], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501024 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501024, 558399203) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451910 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451910], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501024, 558399204) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501024) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501024 AND "spree_option_types"."id" = 935339369 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501024) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["option_type_id", 935339369], ["position", 1], ["product_id", 1060501024], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339369) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339369], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.850912' WHERE "spree_products"."id" = 1060501024 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501024], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.852367' WHERE "spree_products"."id" = 1060501024  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590882, 979460475) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339369) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339369], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.857733' WHERE "spree_products"."id" = 1060501024 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501024], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.859394' WHERE "spree_products"."id" = 1060501024  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590883, 979460476) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339369) ORDER BY position DESC LIMIT 1 SQL (3.7ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339369], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.868737' WHERE "spree_products"."id" = 1060501024 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501024], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.870520' WHERE "spree_products"."id" = 1060501024  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590884, 979460477) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501024]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501024) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590882 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590883 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590884 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501024) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.886975' WHERE "spree_products"."id" = 1060501024  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590882 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.888570' WHERE "spree_products"."id" = 1060501024 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.889882' WHERE "spree_products"."id" = 1060501024  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590883 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.890903' WHERE "spree_products"."id" = 1060501024 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.892280' WHERE "spree_products"."id" = 1060501024  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590884 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:53.893624' WHERE "spree_products"."id" = 1060501024 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501024) LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590881 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:53 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:54 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590881, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1136 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501024 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.089389' WHERE "spree_products"."id" = 1060501024  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501024 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501024) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:48:57.121237' WHERE "spree_products"."id" = 1060501024 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501024 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.133769' WHERE "spree_products"."id" = 1060501025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501025], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (95.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.135344' WHERE "spree_products"."id" = 1060501025  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590885 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.233872' WHERE "spree_products"."id" = 1060501025  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501025  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["product_id", nil], ["property_id", 905835258], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501025, "updated_at" = '2012-10-21 18:48:57.243666' WHERE "spree_product_properties"."id" = 1073273577 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501025) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451909 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501025 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501025, 558399203) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451911 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451911], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501025, 558399205) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451912 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451912], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501025, 558399206) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501025) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501025 AND "spree_option_types"."id" = 935339369 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501025) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["option_type_id", 935339369], ["position", 1], ["product_id", 1060501025], ["updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.275856' WHERE "spree_products"."id" = 1060501025 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501025], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.277188' WHERE "spree_products"."id" = 1060501025  (3.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590886, 979460475) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.283490' WHERE "spree_products"."id" = 1060501025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501025], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.284747' WHERE "spree_products"."id" = 1060501025  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590887, 979460476) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.288165' WHERE "spree_products"."id" = 1060501025 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501025], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.289396' WHERE "spree_products"."id" = 1060501025  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590888, 979460477) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501025]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501025) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590886 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590887 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590888 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501025) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.306219' WHERE "spree_products"."id" = 1060501025  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590886 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.307407' WHERE "spree_products"."id" = 1060501025 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.309164' WHERE "spree_products"."id" = 1060501025  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590887 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.310255' WHERE "spree_products"."id" = 1060501025 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.311612' WHERE "spree_products"."id" = 1060501025  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590888 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:48:57.313421' WHERE "spree_products"."id" = 1060501025 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501025) LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590885 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:48:57 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:03 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590885, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1138 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501025 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.170040' WHERE "spree_products"."id" = 1060501025  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501025 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501025) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:49:07.180030' WHERE "spree_products"."id" = 1060501025 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501025 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.191880' WHERE "spree_products"."id" = 1060501026 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501026], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.193790' WHERE "spree_products"."id" = 1060501026  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590889 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.195638' WHERE "spree_products"."id" = 1060501026  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501026  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["product_id", nil], ["property_id", 905835259], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501026, "updated_at" = '2012-10-21 18:49:07.204840' WHERE "spree_product_properties"."id" = 1073273578 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["product_id", nil], ["property_id", 905835258], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501026, "updated_at" = '2012-10-21 18:49:07.207972' WHERE "spree_product_properties"."id" = 1073273579 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["product_id", nil], ["property_id", 905835260], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501026, "updated_at" = '2012-10-21 18:49:07.212104' WHERE "spree_product_properties"."id" = 1073273580 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501026) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451913 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451913], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501026 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501026, 558399207) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501026) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501026 AND "spree_option_types"."id" = 935339369 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501026) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["option_type_id", 935339369], ["position", 1], ["product_id", 1060501026], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.236155' WHERE "spree_products"."id" = 1060501026 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501026], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.238065' WHERE "spree_products"."id" = 1060501026  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590890, 979460475) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.241598' WHERE "spree_products"."id" = 1060501026 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501026], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.242791' WHERE "spree_products"."id" = 1060501026  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590891, 979460476) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339369 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.247791' WHERE "spree_products"."id" = 1060501026 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501026], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.249618' WHERE "spree_products"."id" = 1060501026  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590892, 979460477) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501026]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501026 AND "spree_option_types"."id" = 935339370 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501026) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["option_type_id", 935339370], ["position", 2], ["product_id", 1060501026], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339370 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339370) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339370], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.284715' WHERE "spree_products"."id" = 1060501026 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501026], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.286592' WHERE "spree_products"."id" = 1060501026  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590893, 979460478) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339370 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339370) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["name", "colour"], ["option_type_id", 935339370], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.292727' WHERE "spree_products"."id" = 1060501026 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501026], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.294295' WHERE "spree_products"."id" = 1060501026  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590894, 979460479) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501026]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501026) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590890 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590891 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590892 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590893 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590894 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501026) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.315236' WHERE "spree_products"."id" = 1060501026  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590890 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.317221' WHERE "spree_products"."id" = 1060501026 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.318502' WHERE "spree_products"."id" = 1060501026  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590891 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.319880' WHERE "spree_products"."id" = 1060501026 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.321994' WHERE "spree_products"."id" = 1060501026  (0.8ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590892 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.323792' WHERE "spree_products"."id" = 1060501026 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.325974' WHERE "spree_products"."id" = 1060501026  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590893 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.327347' WHERE "spree_products"."id" = 1060501026 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.329047' WHERE "spree_products"."id" = 1060501026  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590894 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:07.330227' WHERE "spree_products"."id" = 1060501026 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501026) LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590889 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (3.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:07 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (3.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:08 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013590889, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1140 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501026 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:09.576491' WHERE "spree_products"."id" = 1060501026  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501026 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501026) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:49:09.613726' WHERE "spree_products"."id" = 1060501026 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501026 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (37.3ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590881) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501024)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501024 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590881) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501024)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501025 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590885) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501025)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501026 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590889) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501026))  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_products" SQL (40.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (7.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:09.954587' WHERE "spree_products"."id" = 1060501027 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501027], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:09.956548' WHERE "spree_products"."id" = 1060501027  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590895 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:09.958495' WHERE "spree_products"."id" = 1060501027  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501027  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["product_id", nil], ["property_id", 905835261], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501027, "updated_at" = '2012-10-21 18:49:09.966627' WHERE "spree_product_properties"."id" = 1073273581 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501027) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451914 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451914], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501027 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501027, 558399208) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451915 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451915], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501027, 558399209) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501027) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501027 AND "spree_option_types"."id" = 935339371 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501027) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["option_type_id", 935339371], ["position", 1], ["product_id", 1060501027], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339371) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339371], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (15.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.000505' WHERE "spree_products"."id" = 1060501027 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501027], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.017569' WHERE "spree_products"."id" = 1060501027  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590896, 979460480) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339371) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339371], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.023849' WHERE "spree_products"."id" = 1060501027 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501027], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.025119' WHERE "spree_products"."id" = 1060501027  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590897, 979460481) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339371) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339371], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.029371' WHERE "spree_products"."id" = 1060501027 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501027], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.030620' WHERE "spree_products"."id" = 1060501027  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590898, 979460482) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501027]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501027) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590896 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590897 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590898 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501027) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.045855' WHERE "spree_products"."id" = 1060501027  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590896 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.047044' WHERE "spree_products"."id" = 1060501027 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.048120' WHERE "spree_products"."id" = 1060501027  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590897 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.049080' WHERE "spree_products"."id" = 1060501027 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.050128' WHERE "spree_products"."id" = 1060501027  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590898 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.051090' WHERE "spree_products"."id" = 1060501027 Spree::Product Exists (4.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501027) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:49:10.058992' WHERE "spree_products"."id" = 1060501027 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501027 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.073282' WHERE "spree_products"."id" = 1060501028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501028], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.074867' WHERE "spree_products"."id" = 1060501028  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590899 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.076699' WHERE "spree_products"."id" = 1060501028  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501028  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["product_id", nil], ["property_id", 905835262], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501028, "updated_at" = '2012-10-21 18:49:10.083949' WHERE "spree_product_properties"."id" = 1073273582 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501028) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451914 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501028 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501028, 558399208) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451916 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451916], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501028, 558399210) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (6.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451914 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399208 AND "spree_taxons"."taxonomy_id" = 854451914 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399208]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399208], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451914], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399208]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399211]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399211 THEN 558399208 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399208]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399211]] Spree::Taxon Load (1.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399211 AND "spree_taxons"."taxonomy_id" = 854451914 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399211]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399211], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451914], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399211]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399212]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399212 THEN 558399211 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399211]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399212]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501028, 558399211)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501028, 558399212) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501028) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501028 AND "spree_option_types"."id" = 935339371 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501028) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["option_type_id", 935339371], ["position", 1], ["product_id", 1060501028], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.150211' WHERE "spree_products"."id" = 1060501028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501028], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.151665' WHERE "spree_products"."id" = 1060501028  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590900, 979460480) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.154706' WHERE "spree_products"."id" = 1060501028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501028], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.156130' WHERE "spree_products"."id" = 1060501028  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590901, 979460481) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.161577' WHERE "spree_products"."id" = 1060501028 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501028], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.163676' WHERE "spree_products"."id" = 1060501028  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590902, 979460482) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501028]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501028) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590900 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590901 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590902 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501028) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.181516' WHERE "spree_products"."id" = 1060501028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590900 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.182753' WHERE "spree_products"."id" = 1060501028 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.183913' WHERE "spree_products"."id" = 1060501028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590901 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.184904' WHERE "spree_products"."id" = 1060501028 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.186065' WHERE "spree_products"."id" = 1060501028  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590902 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.187084' WHERE "spree_products"."id" = 1060501028 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501028) LIMIT 1  (2.8ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:49:10.192897' WHERE "spree_products"."id" = 1060501028 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501028 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.202950' WHERE "spree_products"."id" = 1060501029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501029], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.204261' WHERE "spree_products"."id" = 1060501029  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590903 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.205752' WHERE "spree_products"."id" = 1060501029  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501029  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["product_id", nil], ["property_id", 905835263], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501029, "updated_at" = '2012-10-21 18:49:10.212655' WHERE "spree_product_properties"."id" = 1073273583 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["product_id", nil], ["property_id", 905835262], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501029, "updated_at" = '2012-10-21 18:49:10.215152' WHERE "spree_product_properties"."id" = 1073273584 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["product_id", nil], ["property_id", 905835264], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501029, "updated_at" = '2012-10-21 18:49:10.218666' WHERE "spree_product_properties"."id" = 1073273585 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501029) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451917 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451917], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501029 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501029, 558399213) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451914 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399208 AND "spree_taxons"."taxonomy_id" = 854451914 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399208]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399208], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451914], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399208]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399214]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399214 THEN 558399208 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399208]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399214]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501029, 558399214)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501029, 558399208) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501029) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501029 AND "spree_option_types"."id" = 935339371 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501029) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["option_type_id", 935339371], ["position", 1], ["product_id", 1060501029], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.250414' WHERE "spree_products"."id" = 1060501029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501029], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.251759' WHERE "spree_products"."id" = 1060501029  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590904, 979460480) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.254483' WHERE "spree_products"."id" = 1060501029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501029], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.255767' WHERE "spree_products"."id" = 1060501029  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590905, 979460481) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339371 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.258564' WHERE "spree_products"."id" = 1060501029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501029], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.259871' WHERE "spree_products"."id" = 1060501029  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590906, 979460482) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501029]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501029 AND "spree_option_types"."id" = 935339372 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501029) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["option_type_id", 935339372], ["position", 2], ["product_id", 1060501029], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339372 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339372) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339372], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.288747' WHERE "spree_products"."id" = 1060501029 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501029], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.290359' WHERE "spree_products"."id" = 1060501029  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590907, 979460483) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339372 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339372) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["name", "colour"], ["option_type_id", 935339372], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.295689' WHERE "spree_products"."id" = 1060501029 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501029], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.297040' WHERE "spree_products"."id" = 1060501029  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590908, 979460484) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501029]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501029) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590904 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590905 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590906 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590907 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590908 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501029) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.314457' WHERE "spree_products"."id" = 1060501029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590904 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.316029' WHERE "spree_products"."id" = 1060501029 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.317234' WHERE "spree_products"."id" = 1060501029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590905 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.318246' WHERE "spree_products"."id" = 1060501029 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.319430' WHERE "spree_products"."id" = 1060501029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590906 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.320444' WHERE "spree_products"."id" = 1060501029 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.321630' WHERE "spree_products"."id" = 1060501029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590907 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.322883' WHERE "spree_products"."id" = 1060501029 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.324524' WHERE "spree_products"."id" = 1060501029  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590908 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:10.325852' WHERE "spree_products"."id" = 1060501029 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501029) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:49:10.328634' WHERE "spree_products"."id" = 1060501029 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501029 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590903) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501029)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590895 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:10 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:11 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013590895, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1142 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501027 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:11.909516' WHERE "spree_products"."id" = 1060501027  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501027 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501027 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:11.930849' WHERE "spree_products"."id" = 1060501027 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501027 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013590895 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590899 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:11 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (3.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:16 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013590899, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1144 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501028 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:20.310188' WHERE "spree_products"."id" = 1060501028  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501028 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501028 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:20.333293' WHERE "spree_products"."id" = 1060501028 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501028 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013590899 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590903 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:20 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (4.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:21 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590903, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1146 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501029 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.198467' WHERE "spree_products"."id" = 1060501029  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501029 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501029 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.223458' WHERE "spree_products"."id" = 1060501029 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501029 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013590903  (7.4ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.9ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501030 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.336251' WHERE "spree_products"."id" = 1060501030 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501030], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.338000' WHERE "spree_products"."id" = 1060501030  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590909 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.339531' WHERE "spree_products"."id" = 1060501030  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501030  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["product_id", nil], ["property_id", 905835265], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501030, "updated_at" = '2012-10-21 18:49:22.347622' WHERE "spree_product_properties"."id" = 1073273586 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451918 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451918], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501030 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501030, 558399215) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451919 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451919], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501030, 558399216) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501030 AND "spree_option_types"."id" = 935339373 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501030) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["option_type_id", 935339373], ["position", 1], ["product_id", 1060501030], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339373) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339373], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.401484' WHERE "spree_products"."id" = 1060501030 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501030], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.403007' WHERE "spree_products"."id" = 1060501030  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590910, 979460485) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339373) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339373], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.407787' WHERE "spree_products"."id" = 1060501030 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501030], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.409290' WHERE "spree_products"."id" = 1060501030  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590911, 979460486) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339373) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339373], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.414020' WHERE "spree_products"."id" = 1060501030 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501030], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.415386' WHERE "spree_products"."id" = 1060501030  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590912, 979460487) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501030]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590910 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590911 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590912 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.430366' WHERE "spree_products"."id" = 1060501030  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590910 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.431551' WHERE "spree_products"."id" = 1060501030 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.432863' WHERE "spree_products"."id" = 1060501030  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590911 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.433710' WHERE "spree_products"."id" = 1060501030 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501030 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.435003' WHERE "spree_products"."id" = 1060501030  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590912 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.436126' WHERE "spree_products"."id" = 1060501030 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:49:22.438754' WHERE "spree_products"."id" = 1060501030 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501030 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501031 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.447060' WHERE "spree_products"."id" = 1060501031 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501031], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.448362' WHERE "spree_products"."id" = 1060501031  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590913 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.450136' WHERE "spree_products"."id" = 1060501031  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501031  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["product_id", nil], ["property_id", 905835266], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501031, "updated_at" = '2012-10-21 18:49:22.457700' WHERE "spree_product_properties"."id" = 1073273587 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501031) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451918 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501031 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501031, 558399215) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451920 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451920], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501031, 558399217) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451918 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399215 AND "spree_taxons"."taxonomy_id" = 854451918 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399215]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399215], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451918], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399215]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399218]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399218 THEN 558399215 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399215]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399218]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399218 AND "spree_taxons"."taxonomy_id" = 854451918 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399218]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399218], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451918], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399218]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399219]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399219 THEN 558399218 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399218]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399219]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501031, 558399218)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501031, 558399219) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501031) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501031 AND "spree_option_types"."id" = 935339373 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501031) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["option_type_id", 935339373], ["position", 1], ["product_id", 1060501031], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501031 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.495110' WHERE "spree_products"."id" = 1060501031 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501031], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.496427' WHERE "spree_products"."id" = 1060501031  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590914, 979460485) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501031 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.499280' WHERE "spree_products"."id" = 1060501031 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501031], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.500332' WHERE "spree_products"."id" = 1060501031  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590915, 979460486) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501031 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.503325' WHERE "spree_products"."id" = 1060501031 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501031], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.504388' WHERE "spree_products"."id" = 1060501031  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590916, 979460487) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501031]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501031) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590914 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590915 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590916 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501031) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501031 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.573791' WHERE "spree_products"."id" = 1060501031  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590914 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.575291' WHERE "spree_products"."id" = 1060501031 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501031 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.576672' WHERE "spree_products"."id" = 1060501031  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590915 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.577913' WHERE "spree_products"."id" = 1060501031 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501031 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.579194' WHERE "spree_products"."id" = 1060501031  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590916 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.580437' WHERE "spree_products"."id" = 1060501031 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501031) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:49:22.583172' WHERE "spree_products"."id" = 1060501031 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501031 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.591159' WHERE "spree_products"."id" = 1060501032 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501032], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.593178' WHERE "spree_products"."id" = 1060501032  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590917 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.594788' WHERE "spree_products"."id" = 1060501032  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501032  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["product_id", nil], ["property_id", 905835267], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501032, "updated_at" = '2012-10-21 18:49:22.604983' WHERE "spree_product_properties"."id" = 1073273588 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["product_id", nil], ["property_id", 905835266], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501032, "updated_at" = '2012-10-21 18:49:22.607757' WHERE "spree_product_properties"."id" = 1073273589 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["product_id", nil], ["property_id", 905835268], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501032, "updated_at" = '2012-10-21 18:49:22.611784' WHERE "spree_product_properties"."id" = 1073273590 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501032) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451921 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451921], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501032 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501032, 558399220) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451918 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399215 AND "spree_taxons"."taxonomy_id" = 854451918 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399215]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399215], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451918], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399215]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399221]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399221 THEN 558399215 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399215]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399221]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501032, 558399221)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501032, 558399215) Current value to assign : Spree::Product Exists (1.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501032) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501032 AND "spree_option_types"."id" = 935339373 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501032) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["option_type_id", 935339373], ["position", 1], ["product_id", 1060501032], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.642782' WHERE "spree_products"."id" = 1060501032 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501032], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.644230' WHERE "spree_products"."id" = 1060501032  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590918, 979460485) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.647210' WHERE "spree_products"."id" = 1060501032 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501032], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.648365' WHERE "spree_products"."id" = 1060501032  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590919, 979460486) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339373 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.651240' WHERE "spree_products"."id" = 1060501032 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501032], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.652499' WHERE "spree_products"."id" = 1060501032  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590920, 979460487) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501032]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501032 AND "spree_option_types"."id" = 935339374 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501032) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["option_type_id", 935339374], ["position", 2], ["product_id", 1060501032], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339374 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339374) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339374], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.684194' WHERE "spree_products"."id" = 1060501032 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501032], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.685576' WHERE "spree_products"."id" = 1060501032  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590921, 979460488) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339374 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339374) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["name", "colour"], ["option_type_id", 935339374], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.690794' WHERE "spree_products"."id" = 1060501032 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501032], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.692901' WHERE "spree_products"."id" = 1060501032  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590922, 979460489) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501032]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501032) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590918 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590919 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590920 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590921 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590922 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501032) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.711757' WHERE "spree_products"."id" = 1060501032  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590918 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.712904' WHERE "spree_products"."id" = 1060501032 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.714406' WHERE "spree_products"."id" = 1060501032  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590919 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.715247' WHERE "spree_products"."id" = 1060501032 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.716520' WHERE "spree_products"."id" = 1060501032  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590920 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.717622' WHERE "spree_products"."id" = 1060501032 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.719568' WHERE "spree_products"."id" = 1060501032  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590921 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.720489' WHERE "spree_products"."id" = 1060501032 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501032 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.722265' WHERE "spree_products"."id" = 1060501032  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590922 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:22.723462' WHERE "spree_products"."id" = 1060501032 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501032) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:49:22.726861' WHERE "spree_products"."id" = 1060501032 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501032 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501032 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590917) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501032)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1 Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590909) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501030)) ORDER BY "spree_assets".position Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:22 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:23 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590909) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501030)) ORDER BY "spree_assets".position Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590909) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501030)) ORDER BY "spree_assets".position Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:24 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (3.1ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590909) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501030)) ORDER BY "spree_assets".position Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501030) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501030 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501030 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501031 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501031) LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590913) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501031)) ORDER BY "spree_assets".position Booted Spree using version 1.1.3 SQL (7.1ms) DELETE FROM "spree_products" SQL (1.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.6ms) begin transaction  (0.3ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (64.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.699867' WHERE "spree_products"."id" = 1060501033 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501033], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.702899' WHERE "spree_products"."id" = 1060501033  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590923 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.706046' WHERE "spree_products"."id" = 1060501033  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501033  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["product_id", nil], ["property_id", 905835269], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501033, "updated_at" = '2012-10-21 18:49:50.780891' WHERE "spree_product_properties"."id" = 1073273591 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501033) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451922 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451922], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501033 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501033, 558399222) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451923 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451923], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501033, 558399223) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501033) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501033 AND "spree_option_types"."id" = 935339375 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501033) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["option_type_id", 935339375], ["position", 1], ["product_id", 1060501033], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339375) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339375], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.980533' WHERE "spree_products"."id" = 1060501033 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501033], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.982069' WHERE "spree_products"."id" = 1060501033  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590924, 979460490) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339375) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339375], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.990577' WHERE "spree_products"."id" = 1060501033 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501033], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.991910' WHERE "spree_products"."id" = 1060501033  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590925, 979460491) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339375) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339375], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.996814' WHERE "spree_products"."id" = 1060501033 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501033], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:50.998458' WHERE "spree_products"."id" = 1060501033  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590926, 979460492) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501033]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501033) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590924 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590925 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590926 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501033) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:51.038124' WHERE "spree_products"."id" = 1060501033  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590924 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:51.039512' WHERE "spree_products"."id" = 1060501033 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:51.040758' WHERE "spree_products"."id" = 1060501033  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590925 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:51.041768' WHERE "spree_products"."id" = 1060501033 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:51.042976' WHERE "spree_products"."id" = 1060501033  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590926 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:51.044045' WHERE "spree_products"."id" = 1060501033 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501033) LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:51 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.9ms) UPDATE "spree_assets" SET "viewable_id" = 1013590923, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1147 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501033 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:51.964197' WHERE "spree_products"."id" = 1060501033  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501033 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501033) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:49:51.996349' WHERE "spree_products"."id" = 1060501033 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.009594' WHERE "spree_products"."id" = 1060501034 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501034], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.011539' WHERE "spree_products"."id" = 1060501034  (0.6ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590927 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.014200' WHERE "spree_products"."id" = 1060501034  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501034  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["product_id", nil], ["property_id", 905835270], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501034, "updated_at" = '2012-10-21 18:49:52.026514' WHERE "spree_product_properties"."id" = 1073273592 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501034) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451922 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501034 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501034, 558399222) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451924 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451924], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501034, 558399224) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451925 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451925], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501034, 558399225) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501034) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501034 AND "spree_option_types"."id" = 935339375 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501034) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["option_type_id", 935339375], ["position", 1], ["product_id", 1060501034], ["updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.068650' WHERE "spree_products"."id" = 1060501034 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501034], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.070234' WHERE "spree_products"."id" = 1060501034  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590928, 979460490) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.073393' WHERE "spree_products"."id" = 1060501034 SQL (1.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501034], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.076204' WHERE "spree_products"."id" = 1060501034  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590929, 979460491) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.079556' WHERE "spree_products"."id" = 1060501034 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501034], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.080787' WHERE "spree_products"."id" = 1060501034  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590930, 979460492) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501034]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501034) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (2.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590928 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590929 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590930 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501034) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.103167' WHERE "spree_products"."id" = 1060501034  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590928 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.104508' WHERE "spree_products"."id" = 1060501034 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.105710' WHERE "spree_products"."id" = 1060501034  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590929 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.108207' WHERE "spree_products"."id" = 1060501034 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.109963' WHERE "spree_products"."id" = 1060501034  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590930 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:52.111127' WHERE "spree_products"."id" = 1060501034 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501034) LIMIT 1 Spree::Asset Load (2.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:52 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590927, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1148 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501034 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.517296' WHERE "spree_products"."id" = 1060501034  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501034 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501034) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:49:56.527889' WHERE "spree_products"."id" = 1060501034 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.541406' WHERE "spree_products"."id" = 1060501035 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501035], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.543582' WHERE "spree_products"."id" = 1060501035  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590931 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.545974' WHERE "spree_products"."id" = 1060501035  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501035  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["product_id", nil], ["property_id", 905835271], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501035, "updated_at" = '2012-10-21 18:49:56.556547' WHERE "spree_product_properties"."id" = 1073273593 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["product_id", nil], ["property_id", 905835270], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501035, "updated_at" = '2012-10-21 18:49:56.561588' WHERE "spree_product_properties"."id" = 1073273594 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["product_id", nil], ["property_id", 905835272], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501035, "updated_at" = '2012-10-21 18:49:56.566406' WHERE "spree_product_properties"."id" = 1073273595 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501035) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451926 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451926], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501035 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501035, 558399226) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501035) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501035 AND "spree_option_types"."id" = 935339375 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501035) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["option_type_id", 935339375], ["position", 1], ["product_id", 1060501035], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.592407' WHERE "spree_products"."id" = 1060501035 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501035], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.594343' WHERE "spree_products"."id" = 1060501035  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590932, 979460490) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.598887' WHERE "spree_products"."id" = 1060501035 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501035], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.600195' WHERE "spree_products"."id" = 1060501035  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590933, 979460491) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339375 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.604636' WHERE "spree_products"."id" = 1060501035 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501035], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.606183' WHERE "spree_products"."id" = 1060501035  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590934, 979460492) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501035]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501035 AND "spree_option_types"."id" = 935339376 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501035) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["option_type_id", 935339376], ["position", 2], ["product_id", 1060501035], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339376 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339376) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339376], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.623546' WHERE "spree_products"."id" = 1060501035 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501035], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.625143' WHERE "spree_products"."id" = 1060501035  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590935, 979460493) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339376 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339376) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["name", "colour"], ["option_type_id", 935339376], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.631210' WHERE "spree_products"."id" = 1060501035 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501035], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.632771' WHERE "spree_products"."id" = 1060501035  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590936, 979460494) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501035]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501035) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590932 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590933 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590934 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590935 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590936 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501035) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.651407' WHERE "spree_products"."id" = 1060501035  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590932 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.652880' WHERE "spree_products"."id" = 1060501035 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.654155' WHERE "spree_products"."id" = 1060501035  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590933 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.655565' WHERE "spree_products"."id" = 1060501035 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.656856' WHERE "spree_products"."id" = 1060501035  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590934 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.657834' WHERE "spree_products"."id" = 1060501035 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.659673' WHERE "spree_products"."id" = 1060501035  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590935 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.660936' WHERE "spree_products"."id" = 1060501035 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.662408' WHERE "spree_products"."id" = 1060501035  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590936 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:56.663398' WHERE "spree_products"."id" = 1060501035 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501035) LIMIT 1 Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:56 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013590931, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1149 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501035 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:57.395695' WHERE "spree_products"."id" = 1060501035  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501035 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501035) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:49:57.407278' WHERE "spree_products"."id" = 1060501035  (16.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590923) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501033)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590923 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501033 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590923) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501033)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501034 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590927) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501034)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501035 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590931) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501035)) SQL (2.6ms) DELETE FROM "spree_products" SQL (1.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.020828' WHERE "spree_products"."id" = 1060501036 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501036], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.022446' WHERE "spree_products"."id" = 1060501036  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590937 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.023995' WHERE "spree_products"."id" = 1060501036  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501036  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["product_id", nil], ["property_id", 905835273], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501036, "updated_at" = '2012-10-21 18:49:58.031881' WHERE "spree_product_properties"."id" = 1073273596 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501036) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451927 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451927], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501036 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501036, 558399227) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451928 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451928], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501036, 558399228) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501036) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501036 AND "spree_option_types"."id" = 935339377 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501036) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["option_type_id", 935339377], ["position", 1], ["product_id", 1060501036], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339377) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339377], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.061068' WHERE "spree_products"."id" = 1060501036 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501036], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.062911' WHERE "spree_products"."id" = 1060501036  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590938, 979460495) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339377) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339377], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.067930' WHERE "spree_products"."id" = 1060501036 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501036], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.069253' WHERE "spree_products"."id" = 1060501036  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590939, 979460496) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339377) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339377], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.073962' WHERE "spree_products"."id" = 1060501036 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501036], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.075347' WHERE "spree_products"."id" = 1060501036  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590940, 979460497) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501036]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501036) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590938 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590939 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590940 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501036) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.090110' WHERE "spree_products"."id" = 1060501036  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590938 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.091265' WHERE "spree_products"."id" = 1060501036 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.092652' WHERE "spree_products"."id" = 1060501036  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590939 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.093727' WHERE "spree_products"."id" = 1060501036 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.094710' WHERE "spree_products"."id" = 1060501036  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590940 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.095677' WHERE "spree_products"."id" = 1060501036 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501036) LIMIT 1 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013590937, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1150 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501036 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.738875' WHERE "spree_products"."id" = 1060501036  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501036 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501036) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:49:58.749069' WHERE "spree_products"."id" = 1060501036 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501036 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (4.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.761043' WHERE "spree_products"."id" = 1060501037 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501037], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.767268' WHERE "spree_products"."id" = 1060501037  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590941 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.768824' WHERE "spree_products"."id" = 1060501037  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501037  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["product_id", nil], ["property_id", 905835274], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501037, "updated_at" = '2012-10-21 18:49:58.777758' WHERE "spree_product_properties"."id" = 1073273597 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501037) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451927 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501037 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501037, 558399227) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451929 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451929], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501037, 558399229) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451930 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451930], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501037, 558399230) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501037) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501037 AND "spree_option_types"."id" = 935339377 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501037) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["option_type_id", 935339377], ["position", 1], ["product_id", 1060501037], ["updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.809976' WHERE "spree_products"."id" = 1060501037 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501037], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.811434' WHERE "spree_products"."id" = 1060501037  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590942, 979460495) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.814537' WHERE "spree_products"."id" = 1060501037 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501037], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.816800' WHERE "spree_products"."id" = 1060501037  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590943, 979460496) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.819595' WHERE "spree_products"."id" = 1060501037 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501037], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.820680' WHERE "spree_products"."id" = 1060501037  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590944, 979460497) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501037]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501037) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590942 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590943 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590944 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501037) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.834645' WHERE "spree_products"."id" = 1060501037  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590942 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.836424' WHERE "spree_products"."id" = 1060501037 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.837531' WHERE "spree_products"."id" = 1060501037  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590943 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.839068' WHERE "spree_products"."id" = 1060501037 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.839878' WHERE "spree_products"."id" = 1060501037  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590944 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:49:58.841048' WHERE "spree_products"."id" = 1060501037 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501037) LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:49:58 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013590941, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1151 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501037 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.201710' WHERE "spree_products"."id" = 1060501037  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501037 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501037) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:50:03.211237' WHERE "spree_products"."id" = 1060501037 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501037 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.239814' WHERE "spree_products"."id" = 1060501038 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501038], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.241389' WHERE "spree_products"."id" = 1060501038  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590945 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.243585' WHERE "spree_products"."id" = 1060501038  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501038  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["product_id", nil], ["property_id", 905835275], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501038, "updated_at" = '2012-10-21 18:50:03.252805' WHERE "spree_product_properties"."id" = 1073273598 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["product_id", nil], ["property_id", 905835274], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501038, "updated_at" = '2012-10-21 18:50:03.256245' WHERE "spree_product_properties"."id" = 1073273599 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["product_id", nil], ["property_id", 905835276], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501038, "updated_at" = '2012-10-21 18:50:03.261323' WHERE "spree_product_properties"."id" = 1073273600 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501038) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451931 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451931], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501038 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501038, 558399231) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501038) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501038 AND "spree_option_types"."id" = 935339377 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501038) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["option_type_id", 935339377], ["position", 1], ["product_id", 1060501038], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.284224' WHERE "spree_products"."id" = 1060501038 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501038], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.285765' WHERE "spree_products"."id" = 1060501038  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590946, 979460495) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.290405' WHERE "spree_products"."id" = 1060501038 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501038], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.291706' WHERE "spree_products"."id" = 1060501038  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590947, 979460496) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339377 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.294888' WHERE "spree_products"."id" = 1060501038 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501038], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.296183' WHERE "spree_products"."id" = 1060501038  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590948, 979460497) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501038]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501038 AND "spree_option_types"."id" = 935339378 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501038) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["option_type_id", 935339378], ["position", 2], ["product_id", 1060501038], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339378 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339378) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339378], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.311793' WHERE "spree_products"."id" = 1060501038 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501038], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.313432' WHERE "spree_products"."id" = 1060501038  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590949, 979460498) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339378 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339378) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["name", "colour"], ["option_type_id", 935339378], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.333011' WHERE "spree_products"."id" = 1060501038 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501038], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.334634' WHERE "spree_products"."id" = 1060501038  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590950, 979460499) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501038]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501038) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590946 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590947 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590948 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590949 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590950 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501038) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.357371' WHERE "spree_products"."id" = 1060501038  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590946 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.359157' WHERE "spree_products"."id" = 1060501038 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.360587' WHERE "spree_products"."id" = 1060501038  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590947 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.361692' WHERE "spree_products"."id" = 1060501038 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.363103' WHERE "spree_products"."id" = 1060501038  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590948 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.364791' WHERE "spree_products"."id" = 1060501038 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.366132' WHERE "spree_products"."id" = 1060501038  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590949 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.367255' WHERE "spree_products"."id" = 1060501038 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.368792' WHERE "spree_products"."id" = 1060501038  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590950 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:03.369859' WHERE "spree_products"."id" = 1060501038 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501038) LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:03 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013590945, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1152 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501038 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.057974' WHERE "spree_products"."id" = 1060501038  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501038 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501038) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:50:04.068435' WHERE "spree_products"."id" = 1060501038 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501038 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (42.8ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590937) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501036)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501036 AND ("spree_variants".is_master = 't') LIMIT 1  (1.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590937) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501036)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501037 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590941) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501037)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501038 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590945) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501038))  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.6ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.487728' WHERE "spree_products"."id" = 1060501039 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501039], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.489412' WHERE "spree_products"."id" = 1060501039  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590951 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.491315' WHERE "spree_products"."id" = 1060501039  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501039  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Created New Property # SQL (1.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["product_id", nil], ["property_id", 905835277], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501039, "updated_at" = '2012-10-21 18:50:04.502505' WHERE "spree_product_properties"."id" = 1073273601 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501039) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451932 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451932], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501039 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501039, 558399232) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451933 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451933], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501039, 558399233) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501039) LIMIT 1 Spree::OptionType Load (1.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501039 AND "spree_option_types"."id" = 935339379 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501039) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["option_type_id", 935339379], ["position", 1], ["product_id", 1060501039], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339379) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339379], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.547054' WHERE "spree_products"."id" = 1060501039 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501039], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.549333' WHERE "spree_products"."id" = 1060501039  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590952, 979460500) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339379) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339379], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.554154' WHERE "spree_products"."id" = 1060501039 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501039], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.555788' WHERE "spree_products"."id" = 1060501039  (1.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590953, 979460501) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339379) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339379], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.561631' WHERE "spree_products"."id" = 1060501039 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501039], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.563331' WHERE "spree_products"."id" = 1060501039  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590954, 979460502) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501039]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501039) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590952 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590953 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590954 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501039) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.583426' WHERE "spree_products"."id" = 1060501039  (1.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590952 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.585901' WHERE "spree_products"."id" = 1060501039 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.587260' WHERE "spree_products"."id" = 1060501039  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590953 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.589561' WHERE "spree_products"."id" = 1060501039 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.590705' WHERE "spree_products"."id" = 1060501039  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590954 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.591773' WHERE "spree_products"."id" = 1060501039 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501039) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:50:04.594507' WHERE "spree_products"."id" = 1060501039 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501039 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.604001' WHERE "spree_products"."id" = 1060501040 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501040], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.606324' WHERE "spree_products"."id" = 1060501040  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590955 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.607765' WHERE "spree_products"."id" = 1060501040  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501040  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["product_id", nil], ["property_id", 905835278], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501040, "updated_at" = '2012-10-21 18:50:04.616058' WHERE "spree_product_properties"."id" = 1073273602 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501040) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451932 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501040 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501040, 558399232) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451934 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451934], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501040, 558399234) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451932 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399232 AND "spree_taxons"."taxonomy_id" = 854451932 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399232]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399232], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451932], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399232]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399235]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399235 THEN 558399232 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399232]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399235]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399235 AND "spree_taxons"."taxonomy_id" = 854451932 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399235]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399235], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451932], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399235]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399236]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399236 THEN 558399235 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399235]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399236]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501040, 558399235)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501040, 558399236) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501040) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501040 AND "spree_option_types"."id" = 935339379 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501040) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["option_type_id", 935339379], ["position", 1], ["product_id", 1060501040], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.664928' WHERE "spree_products"."id" = 1060501040 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501040], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.666809' WHERE "spree_products"."id" = 1060501040  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590956, 979460500) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.670449' WHERE "spree_products"."id" = 1060501040 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501040], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.671966' WHERE "spree_products"."id" = 1060501040  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590957, 979460501) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.674610' WHERE "spree_products"."id" = 1060501040 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501040], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.676116' WHERE "spree_products"."id" = 1060501040  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590958, 979460502) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501040]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501040) LIMIT 1  (2.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590956 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590957 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590958 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501040) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.697002' WHERE "spree_products"."id" = 1060501040  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590956 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.698250' WHERE "spree_products"."id" = 1060501040 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.699357' WHERE "spree_products"."id" = 1060501040  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590957 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.700239' WHERE "spree_products"."id" = 1060501040 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.702599' WHERE "spree_products"."id" = 1060501040  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590958 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.703642' WHERE "spree_products"."id" = 1060501040 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501040) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:50:04.706091' WHERE "spree_products"."id" = 1060501040 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501040 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.718363' WHERE "spree_products"."id" = 1060501041 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501041], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.719508' WHERE "spree_products"."id" = 1060501041  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590959 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.721047' WHERE "spree_products"."id" = 1060501041  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501041  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["product_id", nil], ["property_id", 905835279], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501041, "updated_at" = '2012-10-21 18:50:04.730305' WHERE "spree_product_properties"."id" = 1073273603 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["product_id", nil], ["property_id", 905835278], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501041, "updated_at" = '2012-10-21 18:50:04.734414' WHERE "spree_product_properties"."id" = 1073273604 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["product_id", nil], ["property_id", 905835280], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501041, "updated_at" = '2012-10-21 18:50:04.738109' WHERE "spree_product_properties"."id" = 1073273605 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501041) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451935 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451935], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501041 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501041, 558399237) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451932 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399232 AND "spree_taxons"."taxonomy_id" = 854451932 LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399232]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399232], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451932], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399232]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399238]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399238 THEN 558399232 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399232]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399238]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501041, 558399238)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501041, 558399232) Current value to assign : Spree::Product Exists (1.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501041) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501041 AND "spree_option_types"."id" = 935339379 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501041) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["option_type_id", 935339379], ["position", 1], ["product_id", 1060501041], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.771635' WHERE "spree_products"."id" = 1060501041 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501041], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.773680' WHERE "spree_products"."id" = 1060501041  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590960, 979460500) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.776491' WHERE "spree_products"."id" = 1060501041 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501041], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.777847' WHERE "spree_products"."id" = 1060501041  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590961, 979460501) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339379 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.780715' WHERE "spree_products"."id" = 1060501041 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501041], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.782185' WHERE "spree_products"."id" = 1060501041  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590962, 979460502) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501041]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501041 AND "spree_option_types"."id" = 935339380 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501041) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["option_type_id", 935339380], ["position", 2], ["product_id", 1060501041], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339380 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339380) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339380], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.796206' WHERE "spree_products"."id" = 1060501041 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501041], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.798048' WHERE "spree_products"."id" = 1060501041  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590963, 979460503) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339380 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339380) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["name", "colour"], ["option_type_id", 935339380], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.803425' WHERE "spree_products"."id" = 1060501041 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501041], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.806842' WHERE "spree_products"."id" = 1060501041  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590964, 979460504) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501041]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501041) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590960 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590961 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590962 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590963 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590964 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501041) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.877016' WHERE "spree_products"."id" = 1060501041  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590960 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.878669' WHERE "spree_products"."id" = 1060501041 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.879707' WHERE "spree_products"."id" = 1060501041  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590961 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.880755' WHERE "spree_products"."id" = 1060501041 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.882116' WHERE "spree_products"."id" = 1060501041  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590962 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.883130' WHERE "spree_products"."id" = 1060501041 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.884281' WHERE "spree_products"."id" = 1060501041  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590963 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.885205' WHERE "spree_products"."id" = 1060501041 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.886312' WHERE "spree_products"."id" = 1060501041  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590964 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:04.888225' WHERE "spree_products"."id" = 1060501041 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501041) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:50:04.890725' WHERE "spree_products"."id" = 1060501041 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501041 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590959) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501041)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:04 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013590951, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1153 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501039 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:05.537982' WHERE "spree_products"."id" = 1060501039  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501039 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:05.545491' WHERE "spree_products"."id" = 1060501039 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501039 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013590951 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:05 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.1ms) UPDATE "spree_assets" SET "viewable_id" = 1013590955, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1154 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501040 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:09.533838' WHERE "spree_products"."id" = 1060501040  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501040 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:09.540801' WHERE "spree_products"."id" = 1060501040 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501040 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013590955 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:09 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013590959, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1155 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501041 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.385267' WHERE "spree_products"."id" = 1060501041  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (3.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501041 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.401144' WHERE "spree_products"."id" = 1060501041 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501041 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013590959  (7.4ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501039 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590951) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501039)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501040 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590955) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501040)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501041 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590959) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501041)) SQL (3.3ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501042 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.596348' WHERE "spree_products"."id" = 1060501042 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501042], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.597973' WHERE "spree_products"."id" = 1060501042  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590965 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.601389' WHERE "spree_products"."id" = 1060501042  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501042  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["product_id", nil], ["property_id", 905835281], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501042, "updated_at" = '2012-10-21 18:50:10.609419' WHERE "spree_product_properties"."id" = 1073273606 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451936 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451936], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501042 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501042, 558399239) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451937 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451937], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501042, 558399240) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501042 AND "spree_option_types"."id" = 935339381 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501042) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["option_type_id", 935339381], ["position", 1], ["product_id", 1060501042], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339381) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339381], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501042 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.644451' WHERE "spree_products"."id" = 1060501042 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501042], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.646410' WHERE "spree_products"."id" = 1060501042  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590966, 979460505) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339381) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339381], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501042 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.651285' WHERE "spree_products"."id" = 1060501042 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501042], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.652582' WHERE "spree_products"."id" = 1060501042  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590967, 979460506) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339381) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339381], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501042 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.657232' WHERE "spree_products"."id" = 1060501042 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501042], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.658582' WHERE "spree_products"."id" = 1060501042  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590968, 979460507) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501042]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590966 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590967 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590968 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501042 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.675160' WHERE "spree_products"."id" = 1060501042  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590966 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.676580' WHERE "spree_products"."id" = 1060501042 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501042 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.678043' WHERE "spree_products"."id" = 1060501042  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590967 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.679377' WHERE "spree_products"."id" = 1060501042 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501042 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.680575' WHERE "spree_products"."id" = 1060501042  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590968 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.681583' WHERE "spree_products"."id" = 1060501042 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:50:10.684953' WHERE "spree_products"."id" = 1060501042 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501042 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501043 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.695538' WHERE "spree_products"."id" = 1060501043 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501043], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.697751' WHERE "spree_products"."id" = 1060501043  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590969 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.699724' WHERE "spree_products"."id" = 1060501043  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501043  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["product_id", nil], ["property_id", 905835282], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501043, "updated_at" = '2012-10-21 18:50:10.706916' WHERE "spree_product_properties"."id" = 1073273607 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451936 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501043 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501043, 558399239) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451938 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451938], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501043, 558399241) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451936 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399239 AND "spree_taxons"."taxonomy_id" = 854451936 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399239]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399239], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451936], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399239]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399242]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399242 THEN 558399239 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399239]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399242]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399242 AND "spree_taxons"."taxonomy_id" = 854451936 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399242]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399242], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451936], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399242]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399243]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399243 THEN 558399242 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (3.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399242]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399243]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501043, 558399242)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501043, 558399243) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501043 AND "spree_option_types"."id" = 935339381 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501043) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["option_type_id", 935339381], ["position", 1], ["product_id", 1060501043], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501043 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.754229' WHERE "spree_products"."id" = 1060501043 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501043], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.755713' WHERE "spree_products"."id" = 1060501043  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590970, 979460505) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::Product Load (1.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501043 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.760421' WHERE "spree_products"."id" = 1060501043 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501043], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.761523' WHERE "spree_products"."id" = 1060501043  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590971, 979460506) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501043 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.764422' WHERE "spree_products"."id" = 1060501043 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501043], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.766401' WHERE "spree_products"."id" = 1060501043  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590972, 979460507) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501043]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590970 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590971 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590972 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501043 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.785424' WHERE "spree_products"."id" = 1060501043  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590970 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.786584' WHERE "spree_products"."id" = 1060501043 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501043 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.788116' WHERE "spree_products"."id" = 1060501043  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590971 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.789340' WHERE "spree_products"."id" = 1060501043 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501043 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.790584' WHERE "spree_products"."id" = 1060501043  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590972 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.791530' WHERE "spree_products"."id" = 1060501043 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:50:10.847407' WHERE "spree_products"."id" = 1060501043 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501043 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.857173' WHERE "spree_products"."id" = 1060501044 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501044], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.858965' WHERE "spree_products"."id" = 1060501044  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590973 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.860585' WHERE "spree_products"."id" = 1060501044  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501044  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["product_id", nil], ["property_id", 905835283], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501044, "updated_at" = '2012-10-21 18:50:10.868585' WHERE "spree_product_properties"."id" = 1073273608 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["product_id", nil], ["property_id", 905835282], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501044, "updated_at" = '2012-10-21 18:50:10.871284' WHERE "spree_product_properties"."id" = 1073273609 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["product_id", nil], ["property_id", 905835284], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501044, "updated_at" = '2012-10-21 18:50:10.874803' WHERE "spree_product_properties"."id" = 1073273610 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451939 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451939], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501044 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501044, 558399244) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451936 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399239 AND "spree_taxons"."taxonomy_id" = 854451936 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399239]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399239], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451936], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399239]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399245]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399245 THEN 558399239 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399239]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399245]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501044, 558399245)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501044, 558399239) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501044 AND "spree_option_types"."id" = 935339381 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501044) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["option_type_id", 935339381], ["position", 1], ["product_id", 1060501044], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.906979' WHERE "spree_products"."id" = 1060501044 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501044], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.908506' WHERE "spree_products"."id" = 1060501044  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590974, 979460505) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.911230' WHERE "spree_products"."id" = 1060501044 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501044], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.912561' WHERE "spree_products"."id" = 1060501044  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590975, 979460506) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339381 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.915267' WHERE "spree_products"."id" = 1060501044 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501044], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.916566' WHERE "spree_products"."id" = 1060501044  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590976, 979460507) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501044]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501044 AND "spree_option_types"."id" = 935339382 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501044) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["option_type_id", 935339382], ["position", 2], ["product_id", 1060501044], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339382 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339382) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339382], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.930554' WHERE "spree_products"."id" = 1060501044 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501044], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.933874' WHERE "spree_products"."id" = 1060501044  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590977, 979460508) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339382 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339382) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00], ["name", "colour"], ["option_type_id", 935339382], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.939132' WHERE "spree_products"."id" = 1060501044 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501044], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.940337' WHERE "spree_products"."id" = 1060501044  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590978, 979460509) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501044]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590974 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590975 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590976 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590977 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590978 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.957200' WHERE "spree_products"."id" = 1060501044  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590974 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.958388' WHERE "spree_products"."id" = 1060501044 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.959959' WHERE "spree_products"."id" = 1060501044  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590975 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.961333' WHERE "spree_products"."id" = 1060501044 Spree::Product Load (1.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.963853' WHERE "spree_products"."id" = 1060501044  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590976 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.964993' WHERE "spree_products"."id" = 1060501044 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.966027' WHERE "spree_products"."id" = 1060501044  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590977 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.966968' WHERE "spree_products"."id" = 1060501044 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501044 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.968124' WHERE "spree_products"."id" = 1060501044  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013590978 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:10.969276' WHERE "spree_products"."id" = 1060501044 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-21 18:50:10.971769' WHERE "spree_products"."id" = 1060501044 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501044 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.7ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590973) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501044)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:11 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590965) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501042)) ORDER BY "spree_assets".position Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:11 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590965) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501042)) ORDER BY "spree_assets".position Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501042) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501042 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1 Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:16 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590969) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501043)) ORDER BY "spree_assets".position Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501043) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501043 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501043 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:20 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590973) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501044)) ORDER BY "spree_assets".position Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501044) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501044 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501044  (12.8ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501042 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590965) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501042)) SQL (3.8ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (17.5ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.487414' WHERE "spree_products"."id" = 1060501045 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501045], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.489745' WHERE "spree_products"."id" = 1060501045  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590979 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.491604' WHERE "spree_products"."id" = 1060501045  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501045  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["product_id", nil], ["property_id", 905835285], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501045, "updated_at" = '2012-10-21 18:50:21.500535' WHERE "spree_product_properties"."id" = 1073273611 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451940 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451940], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501045 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501045, 558399246) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (85.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451941 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451941], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501045, 558399247) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501045 AND "spree_option_types"."id" = 935339383 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501045) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["option_type_id", 935339383], ["position", 1], ["product_id", 1060501045], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339383 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339383) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339383], ["position", 1], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.621441' WHERE "spree_products"."id" = 1060501045 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501045], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.623357' WHERE "spree_products"."id" = 1060501045  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590980, 979460510) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339383 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339383) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339383], ["position", 2], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.628258' WHERE "spree_products"."id" = 1060501045 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501045], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.629561' WHERE "spree_products"."id" = 1060501045  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590981, 979460511) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339383 LIMIT 1 Spree::OptionValue Load (14.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339383) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339383], ["position", 3], ["presentation", nil], ["updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.648928' WHERE "spree_products"."id" = 1060501045 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501045], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.650335' WHERE "spree_products"."id" = 1060501045  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590982, 979460512) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501045]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590980 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590981 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590982 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.666434' WHERE "spree_products"."id" = 1060501045  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590980 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.667741' WHERE "spree_products"."id" = 1060501045 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.669030' WHERE "spree_products"."id" = 1060501045  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590981 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.669989' WHERE "spree_products"."id" = 1060501045 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.671166' WHERE "spree_products"."id" = 1060501045  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590982 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:21.672441' WHERE "spree_products"."id" = 1060501045 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1 Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:21 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013590979, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1160 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501045 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:22.302597' WHERE "spree_products"."id" = 1060501045  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501045 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1 Spree::Asset Load (3.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:22 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590979, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1161 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.055951' WHERE "spree_products"."id" = 1060501045 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501045 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590979, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1162 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.715210' WHERE "spree_products"."id" = 1060501045 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501045 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501045) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-21 18:50:23.722616' WHERE "spree_products"."id" = 1060501045 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501045 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.776143' WHERE "spree_products"."id" = 1060501046 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501046], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.778986' WHERE "spree_products"."id" = 1060501046  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590983 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.780986' WHERE "spree_products"."id" = 1060501046  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501046  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["product_id", nil], ["property_id", 905835286], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501046, "updated_at" = '2012-10-21 18:50:23.790746' WHERE "spree_product_properties"."id" = 1073273612 Created New ProductProperty # Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501046) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451940 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501046 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501046, 558399246) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451942 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451942], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501046, 558399248) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451943 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451943], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501046, 558399249) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501046) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501046 AND "spree_option_types"."id" = 935339383 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501046) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["option_type_id", 935339383], ["position", 1], ["product_id", 1060501046], ["updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339383 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.824031' WHERE "spree_products"."id" = 1060501046 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501046], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.825997' WHERE "spree_products"."id" = 1060501046  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590984, 979460510) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339383 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.829815' WHERE "spree_products"."id" = 1060501046 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501046], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.831274' WHERE "spree_products"."id" = 1060501046  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590985, 979460511) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339383 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.834951' WHERE "spree_products"."id" = 1060501046 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501046], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.836326' WHERE "spree_products"."id" = 1060501046  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590986, 979460512) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501046]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501046) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590984 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590985 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590986 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501046) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.853365' WHERE "spree_products"."id" = 1060501046  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590984 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.854747' WHERE "spree_products"."id" = 1060501046 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.856094' WHERE "spree_products"."id" = 1060501046  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590985 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.857349' WHERE "spree_products"."id" = 1060501046 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.858659' WHERE "spree_products"."id" = 1060501046  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590986 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:23.859592' WHERE "spree_products"."id" = 1060501046 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501046) LIMIT 1 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:23 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013590983, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1163 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501046 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:28.337485' WHERE "spree_products"."id" = 1060501046  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501046 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 21 Oct 2012 18:50:28 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013590983, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1164 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-21 18:50:29.119754' WHERE "spree_products"."id" = 1060501046 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501046 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501046) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501046 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-21 18:50:29.131299' WHERE "spree_products"."id" = 1060501046 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501046 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501045 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590979 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (96.5ms) DELETE FROM "spree_products" SQL (2.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (86.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.195472' WHERE "spree_products"."id" = 1060501047 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501047], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.198985' WHERE "spree_products"."id" = 1060501047  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590987 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.212446' WHERE "spree_products"."id" = 1060501047  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501047  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["product_id", nil], ["property_id", 905835287], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501047, "updated_at" = '2012-10-22 09:22:16.326404' WHERE "spree_product_properties"."id" = 1073273613 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501047) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451944 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (6.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451944], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::Taxon Load (3.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501047 Product assigned to Taxons : ["Paintings"]  (2.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501047, 558399250) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451945 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451945], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501047, 558399251) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501047) LIMIT 1 Spree::OptionType Load (1.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::OptionType Exists (7.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501047 AND "spree_option_types"."id" = 935339384 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501047) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["option_type_id", 935339384], ["position", 1], ["product_id", 1060501047], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339384) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339384], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.608156' WHERE "spree_products"."id" = 1060501047 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501047], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.614533' WHERE "spree_products"."id" = 1060501047  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590988, 979460513) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339384) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339384], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.627161' WHERE "spree_products"."id" = 1060501047 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501047], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.628669' WHERE "spree_products"."id" = 1060501047  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590989, 979460514) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339384) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339384], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.633324' WHERE "spree_products"."id" = 1060501047 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501047], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.638061' WHERE "spree_products"."id" = 1060501047  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590990, 979460515) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501047]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501047) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (3.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590988 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590989 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590990 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501047) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.692509' WHERE "spree_products"."id" = 1060501047  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590988 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.694508' WHERE "spree_products"."id" = 1060501047 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.695754' WHERE "spree_products"."id" = 1060501047  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013590989 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.696580' WHERE "spree_products"."id" = 1060501047 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.697895' WHERE "spree_products"."id" = 1060501047  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590990 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:16.699219' WHERE "spree_products"."id" = 1060501047 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:16 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013590987, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1165 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (2.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501047 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:17.939168' WHERE "spree_products"."id" = 1060501047  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501047 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501047) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:22:17.949494' WHERE "spree_products"."id" = 1060501047 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:17.961842' WHERE "spree_products"."id" = 1060501048 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501048], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:17.963437' WHERE "spree_products"."id" = 1060501048  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590991 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:17.965194' WHERE "spree_products"."id" = 1060501048  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501048  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["product_id", nil], ["property_id", 905835288], ["updated_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501048, "updated_at" = '2012-10-22 09:22:17.972951' WHERE "spree_product_properties"."id" = 1073273614 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501048) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451944 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501048 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501048, 558399250) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451946 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451946], ["updated_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501048, 558399252) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451947 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451947], ["updated_at", Mon, 22 Oct 2012 09:22:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501048, 558399253) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501048) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501048 AND "spree_option_types"."id" = 935339384 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501048) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:18 UTC +00:00], ["option_type_id", 935339384], ["position", 1], ["product_id", 1060501048], ["updated_at", Mon, 22 Oct 2012 09:22:18 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.013838' WHERE "spree_products"."id" = 1060501048 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501048], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.015845' WHERE "spree_products"."id" = 1060501048  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590992, 979460513) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.163891' WHERE "spree_products"."id" = 1060501048 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501048], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.166059' WHERE "spree_products"."id" = 1060501048  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590993, 979460514) Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.170064' WHERE "spree_products"."id" = 1060501048 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501048], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.171644' WHERE "spree_products"."id" = 1060501048  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590994, 979460515) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501048]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501048) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590992 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590993 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590994 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501048) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.188420' WHERE "spree_products"."id" = 1060501048  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013590992 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.190380' WHERE "spree_products"."id" = 1060501048 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.191844' WHERE "spree_products"."id" = 1060501048  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590993 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.192710' WHERE "spree_products"."id" = 1060501048 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.194006' WHERE "spree_products"."id" = 1060501048  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013590994 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:18.195351' WHERE "spree_products"."id" = 1060501048 Spree::Asset Load (11.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:18 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013590991, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1166 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501048 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.168937' WHERE "spree_products"."id" = 1060501048  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (3.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501048 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501048) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:22:26.190249' WHERE "spree_products"."id" = 1060501048 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.202193' WHERE "spree_products"."id" = 1060501049 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501049], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.204071' WHERE "spree_products"."id" = 1060501049  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013590995 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.206168' WHERE "spree_products"."id" = 1060501049  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501049  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["product_id", nil], ["property_id", 905835289], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501049, "updated_at" = '2012-10-22 09:22:26.214511' WHERE "spree_product_properties"."id" = 1073273615 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["product_id", nil], ["property_id", 905835288], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501049, "updated_at" = '2012-10-22 09:22:26.217902' WHERE "spree_product_properties"."id" = 1073273616 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["product_id", nil], ["property_id", 905835290], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501049, "updated_at" = '2012-10-22 09:22:26.222825' WHERE "spree_product_properties"."id" = 1073273617 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501049) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451948 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451948], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501049 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501049, 558399254) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501049) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501049 AND "spree_option_types"."id" = 935339384 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501049) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["option_type_id", 935339384], ["position", 1], ["product_id", 1060501049], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.253253' WHERE "spree_products"."id" = 1060501049 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501049], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.255329' WHERE "spree_products"."id" = 1060501049  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590996, 979460513) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.268976' WHERE "spree_products"."id" = 1060501049 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501049], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.270372' WHERE "spree_products"."id" = 1060501049  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590997, 979460514) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339384 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.273685' WHERE "spree_products"."id" = 1060501049 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501049], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.274897' WHERE "spree_products"."id" = 1060501049  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590998, 979460515) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501049]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501049 AND "spree_option_types"."id" = 935339385 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501049) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["option_type_id", 935339385], ["position", 2], ["product_id", 1060501049], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339385 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339385) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339385], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.305443' WHERE "spree_products"."id" = 1060501049 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501049], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.306924' WHERE "spree_products"."id" = 1060501049  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013590999, 979460516) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339385 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339385) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["name", "colour"], ["option_type_id", 935339385], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.314052' WHERE "spree_products"."id" = 1060501049 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501049], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.315932' WHERE "spree_products"."id" = 1060501049  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591000, 979460517) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501049]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501049) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590996 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590997 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590998 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (4.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013590999 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591000 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501049) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.344821' WHERE "spree_products"."id" = 1060501049  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590996 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.346321' WHERE "spree_products"."id" = 1060501049 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.347413' WHERE "spree_products"."id" = 1060501049  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013590997 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.348637' WHERE "spree_products"."id" = 1060501049 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.350078' WHERE "spree_products"."id" = 1060501049  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013590998 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.351223' WHERE "spree_products"."id" = 1060501049 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.352475' WHERE "spree_products"."id" = 1060501049  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013590999 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.353663' WHERE "spree_products"."id" = 1060501049 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.358806' WHERE "spree_products"."id" = 1060501049  (1.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591000 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:26.364168' WHERE "spree_products"."id" = 1060501049 Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (39.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:26 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013590995, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1167 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501049 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:28.161205' WHERE "spree_products"."id" = 1060501049  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501049 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501049) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:22:28.171212' WHERE "spree_products"."id" = 1060501049  (30.2ms) commit transaction  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590987) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501047)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013590987 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501047 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590987) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501047)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501048 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590991) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501048)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501049 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013590995) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501049)) SQL (76.9ms) DELETE FROM "spree_products" SQL (21.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.7ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.4ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (6.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.113597' WHERE "spree_products"."id" = 1060501050 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501050], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.123876' WHERE "spree_products"."id" = 1060501050  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591001 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.126391' WHERE "spree_products"."id" = 1060501050  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501050  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["product_id", nil], ["property_id", 905835291], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501050, "updated_at" = '2012-10-22 09:22:29.136844' WHERE "spree_product_properties"."id" = 1073273618 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501050) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451949 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451949], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501050 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501050, 558399255) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451950 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451950], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501050, 558399256) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501050) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501050 AND "spree_option_types"."id" = 935339386 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501050) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["option_type_id", 935339386], ["position", 1], ["product_id", 1060501050], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339386) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339386], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.188154' WHERE "spree_products"."id" = 1060501050 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501050], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (1.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.190253' WHERE "spree_products"."id" = 1060501050  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591002, 979460518) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339386) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339386], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.197692' WHERE "spree_products"."id" = 1060501050 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501050], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.199559' WHERE "spree_products"."id" = 1060501050  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591003, 979460519) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339386) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339386], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.205252' WHERE "spree_products"."id" = 1060501050 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501050], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.206993' WHERE "spree_products"."id" = 1060501050  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591004, 979460520) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501050]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501050) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591002 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591003 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591004 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501050) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.225435' WHERE "spree_products"."id" = 1060501050  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591002 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.226887' WHERE "spree_products"."id" = 1060501050 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.228423' WHERE "spree_products"."id" = 1060501050  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591003 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.229734' WHERE "spree_products"."id" = 1060501050 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.230796' WHERE "spree_products"."id" = 1060501050  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591004 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:29.231903' WHERE "spree_products"."id" = 1060501050 Spree::Asset Load (3.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:29 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013591001, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1168 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (1.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501050 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.348721' WHERE "spree_products"."id" = 1060501050  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501050 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501050) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:22:30.359879' WHERE "spree_products"."id" = 1060501050 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501050 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.373822' WHERE "spree_products"."id" = 1060501051 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501051], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.377495' WHERE "spree_products"."id" = 1060501051  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591005 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.380317' WHERE "spree_products"."id" = 1060501051  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501051  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["product_id", nil], ["property_id", 905835292], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501051, "updated_at" = '2012-10-22 09:22:30.390861' WHERE "spree_product_properties"."id" = 1073273619 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501051) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451949 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501051 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501051, 558399255) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451951 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451951], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501051, 558399257) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451952 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451952], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501051, 558399258) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501051) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501051 AND "spree_option_types"."id" = 935339386 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501051) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["option_type_id", 935339386], ["position", 1], ["product_id", 1060501051], ["updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.432748' WHERE "spree_products"."id" = 1060501051 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501051], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.434124' WHERE "spree_products"."id" = 1060501051  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591006, 979460518) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.443900' WHERE "spree_products"."id" = 1060501051 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501051], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (2.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.445632' WHERE "spree_products"."id" = 1060501051  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591007, 979460519) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.452208' WHERE "spree_products"."id" = 1060501051 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501051], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.453464' WHERE "spree_products"."id" = 1060501051  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591008, 979460520) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501051]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501051) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591006 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591007 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591008 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501051) LIMIT 1  (1.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.476989' WHERE "spree_products"."id" = 1060501051  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591006 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.480492' WHERE "spree_products"."id" = 1060501051 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.482361' WHERE "spree_products"."id" = 1060501051  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591007 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.486214' WHERE "spree_products"."id" = 1060501051 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.487784' WHERE "spree_products"."id" = 1060501051  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591008 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:30.488863' WHERE "spree_products"."id" = 1060501051 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:30 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591005, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1169 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501051 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.775957' WHERE "spree_products"."id" = 1060501051  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501051 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501051) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.8ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:22:37.787978' WHERE "spree_products"."id" = 1060501051 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501051 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.807543' WHERE "spree_products"."id" = 1060501052 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501052], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.809751' WHERE "spree_products"."id" = 1060501052  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591009 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.811430' WHERE "spree_products"."id" = 1060501052  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501052  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["product_id", nil], ["property_id", 905835293], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501052, "updated_at" = '2012-10-22 09:22:37.821955' WHERE "spree_product_properties"."id" = 1073273620 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["product_id", nil], ["property_id", 905835292], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501052, "updated_at" = '2012-10-22 09:22:37.825184' WHERE "spree_product_properties"."id" = 1073273621 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Created New Property # SQL (1.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["product_id", nil], ["property_id", 905835294], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501052, "updated_at" = '2012-10-22 09:22:37.830184' WHERE "spree_product_properties"."id" = 1073273622 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501052) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451953 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451953], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501052 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501052, 558399259) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501052) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501052 AND "spree_option_types"."id" = 935339386 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501052) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["option_type_id", 935339386], ["position", 1], ["product_id", 1060501052], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.852840' WHERE "spree_products"."id" = 1060501052 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501052], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.855791' WHERE "spree_products"."id" = 1060501052  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591010, 979460518) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.859435' WHERE "spree_products"."id" = 1060501052 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501052], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.861144' WHERE "spree_products"."id" = 1060501052  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591011, 979460519) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339386 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.864324' WHERE "spree_products"."id" = 1060501052 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501052], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.865788' WHERE "spree_products"."id" = 1060501052  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591012, 979460520) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501052]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501052 AND "spree_option_types"."id" = 935339387 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501052) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["option_type_id", 935339387], ["position", 2], ["product_id", 1060501052], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339387 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339387) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339387], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.881915' WHERE "spree_products"."id" = 1060501052 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501052], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.883117' WHERE "spree_products"."id" = 1060501052  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591013, 979460521) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339387 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339387) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["name", "colour"], ["option_type_id", 935339387], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.889141' WHERE "spree_products"."id" = 1060501052 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501052], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.890544' WHERE "spree_products"."id" = 1060501052  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591014, 979460522) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501052]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501052) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591010 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591011 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591012 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591013 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591014 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501052) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.910780' WHERE "spree_products"."id" = 1060501052  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591010 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.911920' WHERE "spree_products"."id" = 1060501052 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.915621' WHERE "spree_products"."id" = 1060501052  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591011 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.918596' WHERE "spree_products"."id" = 1060501052 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.919953' WHERE "spree_products"."id" = 1060501052  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591012 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.921373' WHERE "spree_products"."id" = 1060501052 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.922488' WHERE "spree_products"."id" = 1060501052  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591013 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.923851' WHERE "spree_products"."id" = 1060501052 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.925195' WHERE "spree_products"."id" = 1060501052  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591014 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:37.926299' WHERE "spree_products"."id" = 1060501052 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:37 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591009, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1170 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501052 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:38.913658' WHERE "spree_products"."id" = 1060501052  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501052 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501052) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:22:38.927400' WHERE "spree_products"."id" = 1060501052 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501052 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (54.1ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591001) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501050)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501050 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591001) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501050)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501051 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591005) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501051)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501052 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591009) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501052))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_products" SQL (9.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (8.7ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.8ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.3ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.260148' WHERE "spree_products"."id" = 1060501053 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501053], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.262068' WHERE "spree_products"."id" = 1060501053  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591015 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.263684' WHERE "spree_products"."id" = 1060501053  (2.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501053  (2.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["product_id", nil], ["property_id", 905835295], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501053, "updated_at" = '2012-10-22 09:22:39.281220' WHERE "spree_product_properties"."id" = 1073273623 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501053) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451954 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451954], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501053 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501053, 558399260) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451955 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451955], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501053, 558399261) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501053) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501053 AND "spree_option_types"."id" = 935339388 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501053) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["option_type_id", 935339388], ["position", 1], ["product_id", 1060501053], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339388) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339388], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.334268' WHERE "spree_products"."id" = 1060501053 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501053], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.335805' WHERE "spree_products"."id" = 1060501053  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591016, 979460523) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339388) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339388], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.341286' WHERE "spree_products"."id" = 1060501053 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501053], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.342534' WHERE "spree_products"."id" = 1060501053  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591017, 979460524) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339388) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339388], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.348474' WHERE "spree_products"."id" = 1060501053 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501053], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.349928' WHERE "spree_products"."id" = 1060501053  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591018, 979460525) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501053]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501053) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591016 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591017 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591018 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501053) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.381145' WHERE "spree_products"."id" = 1060501053  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591016 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.382254' WHERE "spree_products"."id" = 1060501053 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.383412' WHERE "spree_products"."id" = 1060501053  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591017 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.384507' WHERE "spree_products"."id" = 1060501053 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.385810' WHERE "spree_products"."id" = 1060501053  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591018 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.387838' WHERE "spree_products"."id" = 1060501053 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501053) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:22:39.390642' WHERE "spree_products"."id" = 1060501053 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501053 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.399428' WHERE "spree_products"."id" = 1060501054 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501054], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.400861' WHERE "spree_products"."id" = 1060501054  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591019 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.402428' WHERE "spree_products"."id" = 1060501054  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501054  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["product_id", nil], ["property_id", 905835296], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501054, "updated_at" = '2012-10-22 09:22:39.411347' WHERE "spree_product_properties"."id" = 1073273624 Created New ProductProperty # Spree::Product Exists (1.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501054) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451954 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501054 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501054, 558399260) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451956 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451956], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501054, 558399262) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451954 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399260 AND "spree_taxons"."taxonomy_id" = 854451954 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399260]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399260], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451954], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399260]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399263]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399263 THEN 558399260 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399260]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399263]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399263 AND "spree_taxons"."taxonomy_id" = 854451954 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399263]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399263], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451954], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399263]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399264]] SQL (1.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399264 THEN 558399263 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399263]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399264]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501054, 558399263)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501054, 558399264) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501054) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501054 AND "spree_option_types"."id" = 935339388 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501054) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["option_type_id", 935339388], ["position", 1], ["product_id", 1060501054], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.494082' WHERE "spree_products"."id" = 1060501054 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501054], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.495584' WHERE "spree_products"."id" = 1060501054  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591020, 979460523) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.499113' WHERE "spree_products"."id" = 1060501054 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501054], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.500428' WHERE "spree_products"."id" = 1060501054  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591021, 979460524) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.503387' WHERE "spree_products"."id" = 1060501054 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501054], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.504646' WHERE "spree_products"."id" = 1060501054  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591022, 979460525) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501054]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501054) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591020 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591021 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591022 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501054) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.533368' WHERE "spree_products"."id" = 1060501054  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591020 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.534605' WHERE "spree_products"."id" = 1060501054 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.535834' WHERE "spree_products"."id" = 1060501054  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591021 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.536873' WHERE "spree_products"."id" = 1060501054 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.538162' WHERE "spree_products"."id" = 1060501054  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591022 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.539217' WHERE "spree_products"."id" = 1060501054 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501054) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:22:39.542090' WHERE "spree_products"."id" = 1060501054 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501054 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.554679' WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501055], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.556027' WHERE "spree_products"."id" = 1060501055  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591023 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.557719' WHERE "spree_products"."id" = 1060501055  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501055  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["product_id", nil], ["property_id", 905835297], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501055, "updated_at" = '2012-10-22 09:22:39.565238' WHERE "spree_product_properties"."id" = 1073273625 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["product_id", nil], ["property_id", 905835296], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501055, "updated_at" = '2012-10-22 09:22:39.567826' WHERE "spree_product_properties"."id" = 1073273626 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["product_id", nil], ["property_id", 905835298], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501055, "updated_at" = '2012-10-22 09:22:39.571954' WHERE "spree_product_properties"."id" = 1073273627 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501055) LIMIT 1 Spree::Taxonomy Load (2.9ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451957 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451957], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501055 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501055, 558399265) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451954 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399260 AND "spree_taxons"."taxonomy_id" = 854451954 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399260]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399260], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451954], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399260]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399266]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399266 THEN 558399260 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399260]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399266]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501055, 558399266)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501055, 558399260) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501055) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501055 AND "spree_option_types"."id" = 935339388 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501055) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["option_type_id", 935339388], ["position", 1], ["product_id", 1060501055], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.626070' WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501055], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.628168' WHERE "spree_products"."id" = 1060501055  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591024, 979460523) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.633588' WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501055], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.635046' WHERE "spree_products"."id" = 1060501055  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591025, 979460524) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339388 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.638171' WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501055], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.639555' WHERE "spree_products"."id" = 1060501055  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591026, 979460525) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501055]] Spree::OptionType Load (1.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501055 AND "spree_option_types"."id" = 935339389 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501055) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["option_type_id", 935339389], ["position", 2], ["product_id", 1060501055], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]] Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339389 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339389) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339389], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.730452' WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501055], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.731934' WHERE "spree_products"."id" = 1060501055  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591027, 979460526) Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339389 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339389) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["name", "colour"], ["option_type_id", 935339389], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (1.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.742011' WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501055], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.746876' WHERE "spree_products"."id" = 1060501055  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591028, 979460527) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501055]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501055) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591024 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591025 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591026 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591027 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591028 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501055) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.767701' WHERE "spree_products"."id" = 1060501055  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591024 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.769213' WHERE "spree_products"."id" = 1060501055 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.770611' WHERE "spree_products"."id" = 1060501055  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591025 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.771573' WHERE "spree_products"."id" = 1060501055 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.772748' WHERE "spree_products"."id" = 1060501055  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591026 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.773828' WHERE "spree_products"."id" = 1060501055 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.775288' WHERE "spree_products"."id" = 1060501055  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591027 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.776288' WHERE "spree_products"."id" = 1060501055 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.777498' WHERE "spree_products"."id" = 1060501055  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591028 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:39.778566' WHERE "spree_products"."id" = 1060501055 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501055) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:22:39.781400' WHERE "spree_products"."id" = 1060501055 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501055 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591023) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501055)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (7.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:39 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591015, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1171 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501053 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:40.830488' WHERE "spree_products"."id" = 1060501053  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501053 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:40.838732' WHERE "spree_products"."id" = 1060501053 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501053 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013591015 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (2.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:41 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013591019, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1172 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501054 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:48.116544' WHERE "spree_products"."id" = 1060501054  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501054 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:48.125321' WHERE "spree_products"."id" = 1060501054 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501054 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013591019 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:48 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591023, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1173 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501055 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.335655' WHERE "spree_products"."id" = 1060501055  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.5ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.350944' WHERE "spree_products"."id" = 1060501055 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501055 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013591023  (24.0ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (3.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501053 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591015) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501053)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501054 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591019) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501054)) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501055 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591023) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501055)) SQL (2.4ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501056 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.489473' WHERE "spree_products"."id" = 1060501056 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501056], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.491086' WHERE "spree_products"."id" = 1060501056  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591029 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.493281' WHERE "spree_products"."id" = 1060501056  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501056  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["product_id", nil], ["property_id", 905835299], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501056, "updated_at" = '2012-10-22 09:22:49.501739' WHERE "spree_product_properties"."id" = 1073273628 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501056) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451958 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451958], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501056 Product assigned to Taxons : ["Paintings"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501056, 558399267) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451959 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451959], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501056, 558399268) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501056) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501056 AND "spree_option_types"."id" = 935339390 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501056) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["option_type_id", 935339390], ["position", 1], ["product_id", 1060501056], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339390) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339390], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501056 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.543959' WHERE "spree_products"."id" = 1060501056 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501056], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.545718' WHERE "spree_products"."id" = 1060501056  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591030, 979460528) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339390) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339390], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501056 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.550656' WHERE "spree_products"."id" = 1060501056 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501056], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.552529' WHERE "spree_products"."id" = 1060501056  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591031, 979460529) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339390) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339390], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501056 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.557558' WHERE "spree_products"."id" = 1060501056 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501056], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.558902' WHERE "spree_products"."id" = 1060501056  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591032, 979460530) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501056]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501056) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591030 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591031 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591032 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501056) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501056 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.574753' WHERE "spree_products"."id" = 1060501056  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591030 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.575823' WHERE "spree_products"."id" = 1060501056 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501056 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.576979' WHERE "spree_products"."id" = 1060501056  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591031 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.578174' WHERE "spree_products"."id" = 1060501056 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501056 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.579596' WHERE "spree_products"."id" = 1060501056  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591032 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.580447' WHERE "spree_products"."id" = 1060501056 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501056) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:22:49.583382' WHERE "spree_products"."id" = 1060501056 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501056 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501057 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.600803' WHERE "spree_products"."id" = 1060501057 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501057], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.603469' WHERE "spree_products"."id" = 1060501057  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591033 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.611140' WHERE "spree_products"."id" = 1060501057  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501057  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["product_id", nil], ["property_id", 905835300], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501057, "updated_at" = '2012-10-22 09:22:49.619269' WHERE "spree_product_properties"."id" = 1073273629 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501057) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451958 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501057 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501057, 558399267) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451960 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451960], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501057, 558399269) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451958 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399267 AND "spree_taxons"."taxonomy_id" = 854451958 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399267]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399267], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451958], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (1.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399267]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399270]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399270 THEN 558399267 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399267]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399270]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399270 AND "spree_taxons"."taxonomy_id" = 854451958 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399270]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399270], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451958], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399270]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399271]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399271 THEN 558399270 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399270]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399271]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501057, 558399270)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501057, 558399271) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501057) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501057 AND "spree_option_types"."id" = 935339390 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501057) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["option_type_id", 935339390], ["position", 1], ["product_id", 1060501057], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501057 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.668063' WHERE "spree_products"."id" = 1060501057 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501057], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.669665' WHERE "spree_products"."id" = 1060501057  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591034, 979460528) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501057 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.672895' WHERE "spree_products"."id" = 1060501057 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501057], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.674002' WHERE "spree_products"."id" = 1060501057  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591035, 979460529) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501057 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.678028' WHERE "spree_products"."id" = 1060501057 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501057], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.679277' WHERE "spree_products"."id" = 1060501057  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591036, 979460530) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501057]] Current value to assign : Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501057) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591034 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591035 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591036 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501057) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501057 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.774873' WHERE "spree_products"."id" = 1060501057  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591034 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.776170' WHERE "spree_products"."id" = 1060501057 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501057 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.777376' WHERE "spree_products"."id" = 1060501057  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591035 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.778662' WHERE "spree_products"."id" = 1060501057 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501057 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.779643' WHERE "spree_products"."id" = 1060501057  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591036 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.780748' WHERE "spree_products"."id" = 1060501057 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501057) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:22:49.784040' WHERE "spree_products"."id" = 1060501057 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501057 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.801237' WHERE "spree_products"."id" = 1060501058 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501058], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.803161' WHERE "spree_products"."id" = 1060501058  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591037 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.805173' WHERE "spree_products"."id" = 1060501058  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501058  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["product_id", nil], ["property_id", 905835301], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501058, "updated_at" = '2012-10-22 09:22:49.812260' WHERE "spree_product_properties"."id" = 1073273630 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["product_id", nil], ["property_id", 905835300], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501058, "updated_at" = '2012-10-22 09:22:49.814672' WHERE "spree_product_properties"."id" = 1073273631 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["product_id", nil], ["property_id", 905835302], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501058, "updated_at" = '2012-10-22 09:22:49.818245' WHERE "spree_product_properties"."id" = 1073273632 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501058) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451961 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (4.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451961], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501058 Product assigned to Taxons : ["Drawings"]  (1.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501058, 558399272) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451958 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399267 AND "spree_taxons"."taxonomy_id" = 854451958 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399267]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399267], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451958], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399267]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399273]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399273 THEN 558399267 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399267]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399273]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501058, 558399273)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501058, 558399267) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501058) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501058 AND "spree_option_types"."id" = 935339390 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501058) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["option_type_id", 935339390], ["position", 1], ["product_id", 1060501058], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.876105' WHERE "spree_products"."id" = 1060501058 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501058], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.877477' WHERE "spree_products"."id" = 1060501058  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591038, 979460528) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.880731' WHERE "spree_products"."id" = 1060501058 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501058], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.882249' WHERE "spree_products"."id" = 1060501058  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591039, 979460529) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339390 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.885268' WHERE "spree_products"."id" = 1060501058 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501058], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.887138' WHERE "spree_products"."id" = 1060501058  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591040, 979460530) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501058]] Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501058 AND "spree_option_types"."id" = 935339391 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501058) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["option_type_id", 935339391], ["position", 2], ["product_id", 1060501058], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339391 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339391) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339391], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.909421' WHERE "spree_products"."id" = 1060501058 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501058], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.910757' WHERE "spree_products"."id" = 1060501058  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591041, 979460531) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339391 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339391) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00], ["name", "colour"], ["option_type_id", 935339391], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:22:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.915667' WHERE "spree_products"."id" = 1060501058 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501058], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.917105' WHERE "spree_products"."id" = 1060501058  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591042, 979460532) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501058]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501058) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591038 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591039 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591040 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591041 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591042 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501058) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.944277' WHERE "spree_products"."id" = 1060501058  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591038 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.946858' WHERE "spree_products"."id" = 1060501058 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.951211' WHERE "spree_products"."id" = 1060501058  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591039 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.952145' WHERE "spree_products"."id" = 1060501058 Spree::Product Load (1.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.956415' WHERE "spree_products"."id" = 1060501058  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591040 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.957939' WHERE "spree_products"."id" = 1060501058 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.959311' WHERE "spree_products"."id" = 1060501058  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591041 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.960561' WHERE "spree_products"."id" = 1060501058 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501058 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.962247' WHERE "spree_products"."id" = 1060501058  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591042 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:22:49.963138' WHERE "spree_products"."id" = 1060501058 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501058) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:22:49.966250' WHERE "spree_products"."id" = 1060501058 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501058 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.5ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591037) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501058)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:50 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591029) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501056)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (3.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:51 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591029) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501056)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501056) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501056) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501056 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:22:57 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591033) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501057)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501057) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501057) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501057 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501057 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Asset Load (2.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:23:04 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591037) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501058)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501058) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501058) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501058 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501058  (29.9ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501056 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591029) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501056)) SQL (3.2ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (79.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.134107' WHERE "spree_products"."id" = 1060501059 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501059], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.136270' WHERE "spree_products"."id" = 1060501059  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591043 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.138092' WHERE "spree_products"."id" = 1060501059  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501059  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["product_id", nil], ["property_id", 905835303], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501059, "updated_at" = '2012-10-22 09:23:06.151268' WHERE "spree_product_properties"."id" = 1073273633 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501059) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451962 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451962], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501059 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501059, 558399274) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451963 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451963], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501059, 558399275) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501059) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501059 AND "spree_option_types"."id" = 935339392 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501059) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["option_type_id", 935339392], ["position", 1], ["product_id", 1060501059], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339392 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339392) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339392], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.182194' WHERE "spree_products"."id" = 1060501059 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501059], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.184015' WHERE "spree_products"."id" = 1060501059  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591044, 979460533) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339392 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339392) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339392], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.188796' WHERE "spree_products"."id" = 1060501059 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501059], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.190270' WHERE "spree_products"."id" = 1060501059  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591045, 979460534) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339392 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339392) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339392], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.195241' WHERE "spree_products"."id" = 1060501059 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501059], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.196482' WHERE "spree_products"."id" = 1060501059  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591046, 979460535) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501059]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501059) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591044 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591045 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591046 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501059) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.215154' WHERE "spree_products"."id" = 1060501059  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591044 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.217119' WHERE "spree_products"."id" = 1060501059 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.218271' WHERE "spree_products"."id" = 1060501059  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591045 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.219471' WHERE "spree_products"."id" = 1060501059 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.220610' WHERE "spree_products"."id" = 1060501059  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591046 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:06.221779' WHERE "spree_products"."id" = 1060501059 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:23:06 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013591043, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1178 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501059 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:07.204270' WHERE "spree_products"."id" = 1060501059  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501059 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:23:07 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (77.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013591043, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1179 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:08.320747' WHERE "spree_products"."id" = 1060501059 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501059 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:23:08 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591043, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1180 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.553403' WHERE "spree_products"."id" = 1060501059 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501059 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501059) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:23:09.561206' WHERE "spree_products"."id" = 1060501059 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501059 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.574575' WHERE "spree_products"."id" = 1060501060 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501060], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.576984' WHERE "spree_products"."id" = 1060501060  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591047 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.578785' WHERE "spree_products"."id" = 1060501060  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501060  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["product_id", nil], ["property_id", 905835304], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501060, "updated_at" = '2012-10-22 09:23:09.587339' WHERE "spree_product_properties"."id" = 1073273634 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501060) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451962 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501060 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501060, 558399274) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451964 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451964], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501060, 558399276) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451965 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451965], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501060, 558399277) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501060) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501060 AND "spree_option_types"."id" = 935339392 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501060) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["option_type_id", 935339392], ["position", 1], ["product_id", 1060501060], ["updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339392 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.620517' WHERE "spree_products"."id" = 1060501060 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501060], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.622246' WHERE "spree_products"."id" = 1060501060  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591048, 979460533) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339392 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.626152' WHERE "spree_products"."id" = 1060501060 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501060], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.627549' WHERE "spree_products"."id" = 1060501060  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591049, 979460534) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339392 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.631404' WHERE "spree_products"."id" = 1060501060 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501060], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.632982' WHERE "spree_products"."id" = 1060501060  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591050, 979460535) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501060]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501060) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591048 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591049 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591050 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501060) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.649888' WHERE "spree_products"."id" = 1060501060  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591048 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.651243' WHERE "spree_products"."id" = 1060501060 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.652593' WHERE "spree_products"."id" = 1060501060  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591049 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.653618' WHERE "spree_products"."id" = 1060501060 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.655591' WHERE "spree_products"."id" = 1060501060  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591050 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:09.656611' WHERE "spree_products"."id" = 1060501060 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:23:09 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591047, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1181 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (3.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:23:16 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591047, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1182 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501060 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:23:17.613997' WHERE "spree_products"."id" = 1060501060  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501060 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501060) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501060 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:23:17.735272' WHERE "spree_products"."id" = 1060501060 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501060 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.9ms) commit transaction  (3.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501059 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591043 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (22.7ms) DELETE FROM "spree_products" SQL (7.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (128.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:26 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:26 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.121226' WHERE "spree_products"."id" = 1060501061 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501061], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.125306' WHERE "spree_products"."id" = 1060501061  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591051 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.128290' WHERE "spree_products"."id" = 1060501061  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501061  (8.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Created New Property # SQL (3.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835305], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501061, "updated_at" = '2012-10-22 09:33:27.277022' WHERE "spree_product_properties"."id" = 1073273635 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501061) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451966 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451966], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501061 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501061, 558399278) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451967 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451967], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501061, 558399279) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501061) LIMIT 1 Spree::OptionType Load (2.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501061 AND "spree_option_types"."id" = 935339393 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501061) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["option_type_id", 935339393], ["position", 1], ["product_id", 1060501061], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339393) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339393], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.622026' WHERE "spree_products"."id" = 1060501061 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501061], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.623852' WHERE "spree_products"."id" = 1060501061  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591052, 979460536) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339393) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339393], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.634225' WHERE "spree_products"."id" = 1060501061 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501061], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.636307' WHERE "spree_products"."id" = 1060501061  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591053, 979460537) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339393) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339393], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.641026' WHERE "spree_products"."id" = 1060501061 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501061], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.643608' WHERE "spree_products"."id" = 1060501061  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591054, 979460538) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501061]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501061) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591052 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591053 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591054 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501061) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.683534' WHERE "spree_products"."id" = 1060501061  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591052 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.685027' WHERE "spree_products"."id" = 1060501061 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.686535' WHERE "spree_products"."id" = 1060501061  (100.7ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591053 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.788828' WHERE "spree_products"."id" = 1060501061 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.790265' WHERE "spree_products"."id" = 1060501061  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591054 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:27.791321' WHERE "spree_products"."id" = 1060501061 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:27 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591051, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1183 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501061 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.391785' WHERE "spree_products"."id" = 1060501061  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501061 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501061) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:33:29.401765' WHERE "spree_products"."id" = 1060501061 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.436711' WHERE "spree_products"."id" = 1060501062 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501062], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.438673' WHERE "spree_products"."id" = 1060501062  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591055 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.440523' WHERE "spree_products"."id" = 1060501062  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501062  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (2.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["product_id", nil], ["property_id", 905835306], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["value", nil]]  (1.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501062, "updated_at" = '2012-10-22 09:33:29.454049' WHERE "spree_product_properties"."id" = 1073273636 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501062) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451966 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501062 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501062, 558399278) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451968 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451968], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501062, 558399280) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00]] Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451969 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451969], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501062, 558399281) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501062) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501062 AND "spree_option_types"."id" = 935339393 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501062) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["option_type_id", 935339393], ["position", 1], ["product_id", 1060501062], ["updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.503707' WHERE "spree_products"."id" = 1060501062 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501062], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.505290' WHERE "spree_products"."id" = 1060501062  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591056, 979460536) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.513233' WHERE "spree_products"."id" = 1060501062 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501062], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.515003' WHERE "spree_products"."id" = 1060501062  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591057, 979460537) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.520837' WHERE "spree_products"."id" = 1060501062 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501062], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.522154' WHERE "spree_products"."id" = 1060501062  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591058, 979460538) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501062]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501062) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591056 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591057 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591058 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501062) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.539050' WHERE "spree_products"."id" = 1060501062  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591056 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.540355' WHERE "spree_products"."id" = 1060501062 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.541520' WHERE "spree_products"."id" = 1060501062  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591057 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.542576' WHERE "spree_products"."id" = 1060501062 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.544050' WHERE "spree_products"."id" = 1060501062  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591058 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:29.547957' WHERE "spree_products"."id" = 1060501062 Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:29 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591055, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1184 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501062 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.114141' WHERE "spree_products"."id" = 1060501062  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501062 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501062) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:33:37.124145' WHERE "spree_products"."id" = 1060501062 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.185752' WHERE "spree_products"."id" = 1060501063 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501063], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.187891' WHERE "spree_products"."id" = 1060501063  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591059 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.189793' WHERE "spree_products"."id" = 1060501063  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501063  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["product_id", nil], ["property_id", 905835307], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501063, "updated_at" = '2012-10-22 09:33:37.198900' WHERE "spree_product_properties"."id" = 1073273637 Created New ProductProperty # Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["product_id", nil], ["property_id", 905835306], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501063, "updated_at" = '2012-10-22 09:33:37.203146' WHERE "spree_product_properties"."id" = 1073273638 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["product_id", nil], ["property_id", 905835308], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501063, "updated_at" = '2012-10-22 09:33:37.208109' WHERE "spree_product_properties"."id" = 1073273639 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501063) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451970 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451970], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501063 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501063, 558399282) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501063) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501063 AND "spree_option_types"."id" = 935339393 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501063) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["option_type_id", 935339393], ["position", 1], ["product_id", 1060501063], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.231696' WHERE "spree_products"."id" = 1060501063 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501063], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.233556' WHERE "spree_products"."id" = 1060501063  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591060, 979460536) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.237082' WHERE "spree_products"."id" = 1060501063 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501063], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.238706' WHERE "spree_products"."id" = 1060501063  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591061, 979460537) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339393 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.241846' WHERE "spree_products"."id" = 1060501063 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501063], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.243384' WHERE "spree_products"."id" = 1060501063  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591062, 979460538) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501063]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501063 AND "spree_option_types"."id" = 935339394 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501063) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["option_type_id", 935339394], ["position", 2], ["product_id", 1060501063], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]] Spree::OptionValue Load (1.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339394 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339394) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339394], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.266610' WHERE "spree_products"."id" = 1060501063 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501063], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.299342' WHERE "spree_products"."id" = 1060501063  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591063, 979460539) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339394 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339394) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["name", "colour"], ["option_type_id", 935339394], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.306097' WHERE "spree_products"."id" = 1060501063 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501063], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.307710' WHERE "spree_products"."id" = 1060501063  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591064, 979460540) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501063]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501063) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591060 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591061 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591062 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591063 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591064 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501063) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.330656' WHERE "spree_products"."id" = 1060501063  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591060 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.333147' WHERE "spree_products"."id" = 1060501063 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.334403' WHERE "spree_products"."id" = 1060501063  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591061 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.335748' WHERE "spree_products"."id" = 1060501063 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.336897' WHERE "spree_products"."id" = 1060501063  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591062 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.338248' WHERE "spree_products"."id" = 1060501063 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.339637' WHERE "spree_products"."id" = 1060501063  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591063 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.340629' WHERE "spree_products"."id" = 1060501063 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.342023' WHERE "spree_products"."id" = 1060501063  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591064 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:37.343405' WHERE "spree_products"."id" = 1060501063 Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:37 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591059, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1185 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501063 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:38.621757' WHERE "spree_products"."id" = 1060501063  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501063 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501063) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:33:38.660381' WHERE "spree_products"."id" = 1060501063  (6.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591051) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501061)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591051 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501061 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591051) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501061)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501062 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591055) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501062)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501063 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591059) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501063)) SQL (4.0ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (52.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.385946' WHERE "spree_products"."id" = 1060501064 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501064], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.387775' WHERE "spree_products"."id" = 1060501064  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591065 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.389486' WHERE "spree_products"."id" = 1060501064  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501064  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["product_id", nil], ["property_id", 905835309], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501064, "updated_at" = '2012-10-22 09:33:39.403707' WHERE "spree_product_properties"."id" = 1073273640 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501064) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451971 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451971], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501064 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501064, 558399283) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451972 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451972], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501064, 558399284) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501064) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501064 AND "spree_option_types"."id" = 935339395 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501064) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["option_type_id", 935339395], ["position", 1], ["product_id", 1060501064], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339395) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339395], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.440653' WHERE "spree_products"."id" = 1060501064 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501064], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.442728' WHERE "spree_products"."id" = 1060501064  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591066, 979460541) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::OptionValue Load (27.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339395) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339395], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.476485' WHERE "spree_products"."id" = 1060501064 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501064], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.478575' WHERE "spree_products"."id" = 1060501064  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591067, 979460542) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339395) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339395], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.487001' WHERE "spree_products"."id" = 1060501064 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501064], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.488316' WHERE "spree_products"."id" = 1060501064  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591068, 979460543) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501064]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501064) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591066 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591067 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591068 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501064) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.506174' WHERE "spree_products"."id" = 1060501064  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591066 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.508174' WHERE "spree_products"."id" = 1060501064 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.509478' WHERE "spree_products"."id" = 1060501064  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591067 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.510673' WHERE "spree_products"."id" = 1060501064 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.512392' WHERE "spree_products"."id" = 1060501064  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591068 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:39.513410' WHERE "spree_products"."id" = 1060501064 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:39 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013591065, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1186 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501064 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.648994' WHERE "spree_products"."id" = 1060501064  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501064 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501064) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:33:40.660122' WHERE "spree_products"."id" = 1060501064 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501064 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.706189' WHERE "spree_products"."id" = 1060501065 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501065], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.707661' WHERE "spree_products"."id" = 1060501065  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591069 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.709346' WHERE "spree_products"."id" = 1060501065  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501065  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["product_id", nil], ["property_id", 905835310], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501065, "updated_at" = '2012-10-22 09:33:40.717393' WHERE "spree_product_properties"."id" = 1073273641 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501065) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451971 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501065 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501065, 558399283) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451973 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451973], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501065, 558399285) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451974 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451974], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501065, 558399286) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501065) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501065 AND "spree_option_types"."id" = 935339395 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501065) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["option_type_id", 935339395], ["position", 1], ["product_id", 1060501065], ["updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.749301' WHERE "spree_products"."id" = 1060501065 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501065], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.750590' WHERE "spree_products"."id" = 1060501065  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591070, 979460541) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.754134' WHERE "spree_products"."id" = 1060501065 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501065], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.755535' WHERE "spree_products"."id" = 1060501065  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591071, 979460542) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.760530' WHERE "spree_products"."id" = 1060501065 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501065], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.761674' WHERE "spree_products"."id" = 1060501065  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591072, 979460543) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501065]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501065) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591070 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591071 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591072 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501065) LIMIT 1  (1.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.783126' WHERE "spree_products"."id" = 1060501065  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591070 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.784107' WHERE "spree_products"."id" = 1060501065 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.785613' WHERE "spree_products"."id" = 1060501065  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591071 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.786797' WHERE "spree_products"."id" = 1060501065 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.787996' WHERE "spree_products"."id" = 1060501065  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591072 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:40.788926' WHERE "spree_products"."id" = 1060501065 Spree::Asset Load (6.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:40 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591069, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1187 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501065 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.048131' WHERE "spree_products"."id" = 1060501065  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501065 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501065) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:33:48.057987' WHERE "spree_products"."id" = 1060501065 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501065 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.101282' WHERE "spree_products"."id" = 1060501066 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501066], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.104009' WHERE "spree_products"."id" = 1060501066  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591073 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.105522' WHERE "spree_products"."id" = 1060501066  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501066  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["product_id", nil], ["property_id", 905835311], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501066, "updated_at" = '2012-10-22 09:33:48.116282' WHERE "spree_product_properties"."id" = 1073273642 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["product_id", nil], ["property_id", 905835310], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501066, "updated_at" = '2012-10-22 09:33:48.120265' WHERE "spree_product_properties"."id" = 1073273643 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["product_id", nil], ["property_id", 905835312], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["value", nil]]  (3.9ms) UPDATE "spree_product_properties" SET "product_id" = 1060501066, "updated_at" = '2012-10-22 09:33:48.131459' WHERE "spree_product_properties"."id" = 1073273644 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501066) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451975 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451975], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501066 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501066, 558399287) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501066) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501066 AND "spree_option_types"."id" = 935339395 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501066) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["option_type_id", 935339395], ["position", 1], ["product_id", 1060501066], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.165754' WHERE "spree_products"."id" = 1060501066 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501066], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.167614' WHERE "spree_products"."id" = 1060501066  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591074, 979460541) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.171042' WHERE "spree_products"."id" = 1060501066 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501066], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.172376' WHERE "spree_products"."id" = 1060501066  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591075, 979460542) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339395 LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.176282' WHERE "spree_products"."id" = 1060501066 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501066], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.177644' WHERE "spree_products"."id" = 1060501066  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591076, 979460543) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501066]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501066 AND "spree_option_types"."id" = 935339396 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501066) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["option_type_id", 935339396], ["position", 2], ["product_id", 1060501066], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339396 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339396) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339396], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.197409' WHERE "spree_products"."id" = 1060501066 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501066], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.199520' WHERE "spree_products"."id" = 1060501066  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591077, 979460544) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339396 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339396) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339396], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.238073' WHERE "spree_products"."id" = 1060501066 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501066], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.240270' WHERE "spree_products"."id" = 1060501066  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591078, 979460545) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501066]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501066) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591074 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591075 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591076 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591077 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591078 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501066) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.267596' WHERE "spree_products"."id" = 1060501066  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591074 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.269211' WHERE "spree_products"."id" = 1060501066 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.270948' WHERE "spree_products"."id" = 1060501066  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591075 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.272432' WHERE "spree_products"."id" = 1060501066 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.273917' WHERE "spree_products"."id" = 1060501066  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591076 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.275259' WHERE "spree_products"."id" = 1060501066 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.276628' WHERE "spree_products"."id" = 1060501066  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591077 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.277585' WHERE "spree_products"."id" = 1060501066 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.278819' WHERE "spree_products"."id" = 1060501066  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591078 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:48.280163' WHERE "spree_products"."id" = 1060501066 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:48 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591073, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1188 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501066 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.267794' WHERE "spree_products"."id" = 1060501066  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501066 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501066) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:33:49.278083' WHERE "spree_products"."id" = 1060501066 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501066 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (58.2ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 't') LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591065) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501064)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501064 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591065) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501064)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501065 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591069) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501065)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501066 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591073) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501066))  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_products" SQL (1.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (34.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.5ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.7ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (29.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.663816' WHERE "spree_products"."id" = 1060501067 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501067], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.673413' WHERE "spree_products"."id" = 1060501067  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591079 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.678490' WHERE "spree_products"."id" = 1060501067  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501067  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["product_id", nil], ["property_id", 905835313], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501067, "updated_at" = '2012-10-22 09:33:49.689441' WHERE "spree_product_properties"."id" = 1073273645 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501067) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451976 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451976], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501067 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501067, 558399288) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451977 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451977], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501067, 558399289) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501067) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501067 AND "spree_option_types"."id" = 935339397 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501067) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["option_type_id", 935339397], ["position", 1], ["product_id", 1060501067], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339397) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339397], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.728736' WHERE "spree_products"."id" = 1060501067 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501067], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.730696' WHERE "spree_products"."id" = 1060501067  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591080, 979460546) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339397) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339397], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.735918' WHERE "spree_products"."id" = 1060501067 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501067], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.763934' WHERE "spree_products"."id" = 1060501067  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591081, 979460547) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339397) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339397], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.774729' WHERE "spree_products"."id" = 1060501067 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501067], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.776231' WHERE "spree_products"."id" = 1060501067  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591082, 979460548) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501067]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501067) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591080 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591081 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591082 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501067) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.806284' WHERE "spree_products"."id" = 1060501067  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591080 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.807619' WHERE "spree_products"."id" = 1060501067 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.809022' WHERE "spree_products"."id" = 1060501067  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591081 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.810403' WHERE "spree_products"."id" = 1060501067 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.811921' WHERE "spree_products"."id" = 1060501067  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591082 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.813215' WHERE "spree_products"."id" = 1060501067 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501067) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:33:49.816395' WHERE "spree_products"."id" = 1060501067 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501067 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.825462' WHERE "spree_products"."id" = 1060501068 SQL (3.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501068], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.830186' WHERE "spree_products"."id" = 1060501068  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591083 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.832135' WHERE "spree_products"."id" = 1060501068  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501068  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["product_id", nil], ["property_id", 905835314], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501068, "updated_at" = '2012-10-22 09:33:49.841096' WHERE "spree_product_properties"."id" = 1073273646 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501068) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451976 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501068 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501068, 558399288) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451978 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451978], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501068, 558399290) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451976 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399288 AND "spree_taxons"."taxonomy_id" = 854451976 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399288]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399288], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451976], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399288]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399291]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399291 THEN 558399288 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399288]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399291]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399291 AND "spree_taxons"."taxonomy_id" = 854451976 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399291]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399291], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451976], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399291]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399292]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399292 THEN 558399291 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.9ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399291]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399292]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501068, 558399291)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501068, 558399292) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501068) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501068 AND "spree_option_types"."id" = 935339397 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501068) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["option_type_id", 935339397], ["position", 1], ["product_id", 1060501068], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.892983' WHERE "spree_products"."id" = 1060501068 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501068], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.894674' WHERE "spree_products"."id" = 1060501068  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591084, 979460546) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.903982' WHERE "spree_products"."id" = 1060501068 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501068], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.905837' WHERE "spree_products"."id" = 1060501068  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591085, 979460547) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.909624' WHERE "spree_products"."id" = 1060501068 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501068], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.910930' WHERE "spree_products"."id" = 1060501068  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591086, 979460548) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501068]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501068) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591084 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591085 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591086 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501068) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.928164' WHERE "spree_products"."id" = 1060501068  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591084 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.929408' WHERE "spree_products"."id" = 1060501068 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.931000' WHERE "spree_products"."id" = 1060501068  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591085 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.932132' WHERE "spree_products"."id" = 1060501068 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.933433' WHERE "spree_products"."id" = 1060501068  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591086 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.934376' WHERE "spree_products"."id" = 1060501068 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501068) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:33:49.937577' WHERE "spree_products"."id" = 1060501068 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501068 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.947462' WHERE "spree_products"."id" = 1060501069 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501069], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.948787' WHERE "spree_products"."id" = 1060501069  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591087 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:49.950379' WHERE "spree_products"."id" = 1060501069  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501069  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["product_id", nil], ["property_id", 905835315], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501069, "updated_at" = '2012-10-22 09:33:49.957264' WHERE "spree_product_properties"."id" = 1073273647 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["product_id", nil], ["property_id", 905835314], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501069, "updated_at" = '2012-10-22 09:33:49.959941' WHERE "spree_product_properties"."id" = 1073273648 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["product_id", nil], ["property_id", 905835316], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501069, "updated_at" = '2012-10-22 09:33:49.963645' WHERE "spree_product_properties"."id" = 1073273649 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501069) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451979 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451979], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501069 Product assigned to Taxons : ["Drawings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501069, 558399293) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451976 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399288 AND "spree_taxons"."taxonomy_id" = 854451976 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399288]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399288], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451976], ["updated_at", Mon, 22 Oct 2012 09:33:49 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399288]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399294]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399294 THEN 558399288 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399288]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399294]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501069, 558399294)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501069, 558399288) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501069) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501069 AND "spree_option_types"."id" = 935339397 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501069) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00], ["option_type_id", 935339397], ["position", 1], ["product_id", 1060501069], ["updated_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00]] Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.013477' WHERE "spree_products"."id" = 1060501069 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501069], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.014961' WHERE "spree_products"."id" = 1060501069  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591088, 979460546) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.017985' WHERE "spree_products"."id" = 1060501069 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501069], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.019294' WHERE "spree_products"."id" = 1060501069  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591089, 979460547) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339397 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.022973' WHERE "spree_products"."id" = 1060501069 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501069], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.024286' WHERE "spree_products"."id" = 1060501069  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591090, 979460548) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501069]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501069 AND "spree_option_types"."id" = 935339398 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501069) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00], ["option_type_id", 935339398], ["position", 2], ["product_id", 1060501069], ["updated_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339398 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339398) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339398], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.131114' WHERE "spree_products"."id" = 1060501069 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501069], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.132636' WHERE "spree_products"."id" = 1060501069  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591091, 979460549) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339398 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339398) ORDER BY position DESC LIMIT 1 SQL (2.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00], ["name", "colour"], ["option_type_id", 935339398], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.157691' WHERE "spree_products"."id" = 1060501069 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501069], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.159230' WHERE "spree_products"."id" = 1060501069  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591092, 979460550) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501069]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501069) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (2.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591088 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591089 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591090 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591091 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591092 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501069) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.187285' WHERE "spree_products"."id" = 1060501069  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591088 SQL (1.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.189266' WHERE "spree_products"."id" = 1060501069 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.194186' WHERE "spree_products"."id" = 1060501069  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591089 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.195258' WHERE "spree_products"."id" = 1060501069 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.197172' WHERE "spree_products"."id" = 1060501069  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591090 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.198080' WHERE "spree_products"."id" = 1060501069 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.199300' WHERE "spree_products"."id" = 1060501069  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591091 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.200243' WHERE "spree_products"."id" = 1060501069 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.201382' WHERE "spree_products"."id" = 1060501069  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591092 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:50.202477' WHERE "spree_products"."id" = 1060501069 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501069) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:33:50.205659' WHERE "spree_products"."id" = 1060501069 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501069 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591087) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501069)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:50 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591079, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1189 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501067 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:51.338322' WHERE "spree_products"."id" = 1060501067  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501067 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:51.345322' WHERE "spree_products"."id" = 1060501067 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501067 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013591079 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (5.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:51 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591083, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1190 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501068 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:59.255190' WHERE "spree_products"."id" = 1060501068  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501068 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:33:59.294409' WHERE "spree_products"."id" = 1060501068 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501068 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013591083 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (2.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:33:59 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591087, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1191 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501069 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.038443' WHERE "spree_products"."id" = 1060501069  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501069 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.078676' WHERE "spree_products"."id" = 1060501069 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501069 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013591087  (17.0ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501067 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591079) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501067)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501068 AND ("spree_variants".is_master = 't') LIMIT 1  (1.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591083) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501068)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501069 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591087) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501069)) SQL (76.4ms) DELETE FROM "spree_products" SQL (2.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (12.5ms) DELETE FROM "spree_taxons" SQL (20.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501070 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.339785' WHERE "spree_products"."id" = 1060501070 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501070], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.341795' WHERE "spree_products"."id" = 1060501070  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591093 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.347447' WHERE "spree_products"."id" = 1060501070  (1.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501070  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Created New Property # SQL (0.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["product_id", nil], ["property_id", 905835317], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501070, "updated_at" = '2012-10-22 09:34:01.361808' WHERE "spree_product_properties"."id" = 1073273650 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501070) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451980 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451980], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501070 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501070, 558399295) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451981 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451981], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501070, 558399296) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501070) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501070 AND "spree_option_types"."id" = 935339399 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501070) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["option_type_id", 935339399], ["position", 1], ["product_id", 1060501070], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339399) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339399], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501070 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.432219' WHERE "spree_products"."id" = 1060501070 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501070], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.434448' WHERE "spree_products"."id" = 1060501070  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591094, 979460551) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339399) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339399], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501070 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.481349' WHERE "spree_products"."id" = 1060501070 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501070], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (2.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.489263' WHERE "spree_products"."id" = 1060501070  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591095, 979460552) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339399) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339399], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501070 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.501146' WHERE "spree_products"."id" = 1060501070 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501070], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.502867' WHERE "spree_products"."id" = 1060501070  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591096, 979460553) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501070]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501070) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591094 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591095 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591096 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501070) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501070 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.521388' WHERE "spree_products"."id" = 1060501070  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591094 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.522721' WHERE "spree_products"."id" = 1060501070 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501070 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.524031' WHERE "spree_products"."id" = 1060501070  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591095 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.525161' WHERE "spree_products"."id" = 1060501070 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501070 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.526446' WHERE "spree_products"."id" = 1060501070  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591096 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.527761' WHERE "spree_products"."id" = 1060501070 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501070) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:34:01.537932' WHERE "spree_products"."id" = 1060501070 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501070 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501071 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.559808' WHERE "spree_products"."id" = 1060501071 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501071], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.561102' WHERE "spree_products"."id" = 1060501071  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591097 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.563116' WHERE "spree_products"."id" = 1060501071  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501071  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Created New Property # SQL (0.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["product_id", nil], ["property_id", 905835318], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501071, "updated_at" = '2012-10-22 09:34:01.572657' WHERE "spree_product_properties"."id" = 1073273651 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501071) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451980 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501071 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501071, 558399295) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451982 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451982], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501071, 558399297) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451980 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399295 AND "spree_taxons"."taxonomy_id" = 854451980 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399295]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399295], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451980], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399295]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399298]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399298 THEN 558399295 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399295]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399298]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399298 AND "spree_taxons"."taxonomy_id" = 854451980 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399298]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399298], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451980], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399298]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399299]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399299 THEN 558399298 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399298]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399299]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501071, 558399298)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501071, 558399299) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501071) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501071 AND "spree_option_types"."id" = 935339399 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501071) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["option_type_id", 935339399], ["position", 1], ["product_id", 1060501071], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501071 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.638157' WHERE "spree_products"."id" = 1060501071 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501071], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.640573' WHERE "spree_products"."id" = 1060501071  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591098, 979460551) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501071 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.643729' WHERE "spree_products"."id" = 1060501071 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501071], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.647549' WHERE "spree_products"."id" = 1060501071  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591099, 979460552) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::Product Load (2.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501071 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.657804' WHERE "spree_products"."id" = 1060501071 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501071], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.660160' WHERE "spree_products"."id" = 1060501071  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591100, 979460553) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501071]] Current value to assign : Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501071) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591098 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591099 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591100 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501071) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501071 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.776207' WHERE "spree_products"."id" = 1060501071  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591098 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.779787' WHERE "spree_products"."id" = 1060501071 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501071 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.781200' WHERE "spree_products"."id" = 1060501071  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591099 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.784413' WHERE "spree_products"."id" = 1060501071 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501071 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.786792' WHERE "spree_products"."id" = 1060501071  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591100 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.787877' WHERE "spree_products"."id" = 1060501071 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501071) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:34:01.792066' WHERE "spree_products"."id" = 1060501071 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501071 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.804796' WHERE "spree_products"."id" = 1060501072 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501072], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.810875' WHERE "spree_products"."id" = 1060501072  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591101 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.812530' WHERE "spree_products"."id" = 1060501072  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501072  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["product_id", nil], ["property_id", 905835319], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501072, "updated_at" = '2012-10-22 09:34:01.824701' WHERE "spree_product_properties"."id" = 1073273652 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["product_id", nil], ["property_id", 905835318], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501072, "updated_at" = '2012-10-22 09:34:01.827347' WHERE "spree_product_properties"."id" = 1073273653 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["product_id", nil], ["property_id", 905835320], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["value", nil]]  (1.8ms) UPDATE "spree_product_properties" SET "product_id" = 1060501072, "updated_at" = '2012-10-22 09:34:01.834986' WHERE "spree_product_properties"."id" = 1073273654 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501072) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451983 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451983], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501072 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501072, 558399300) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451980 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399295 AND "spree_taxons"."taxonomy_id" = 854451980 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399295]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399295], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451980], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399295]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399301]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399301 THEN 558399295 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399295]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399301]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501072, 558399301)  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501072, 558399295) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501072) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501072 AND "spree_option_types"."id" = 935339399 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501072) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["option_type_id", 935339399], ["position", 1], ["product_id", 1060501072], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.905816' WHERE "spree_products"."id" = 1060501072 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501072], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.908839' WHERE "spree_products"."id" = 1060501072  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591102, 979460551) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.914289' WHERE "spree_products"."id" = 1060501072 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501072], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.915785' WHERE "spree_products"."id" = 1060501072  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591103, 979460552) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339399 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.919781' WHERE "spree_products"."id" = 1060501072 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501072], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.921244' WHERE "spree_products"."id" = 1060501072  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591104, 979460553) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501072]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501072 AND "spree_option_types"."id" = 935339400 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501072) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["option_type_id", 935339400], ["position", 2], ["product_id", 1060501072], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339400 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339400) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339400], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.944934' WHERE "spree_products"."id" = 1060501072 SQL (1.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501072], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.988337' WHERE "spree_products"."id" = 1060501072  (1.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591105, 979460554) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339400 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339400) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00], ["name", "colour"], ["option_type_id", 935339400], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:01.996315' WHERE "spree_products"."id" = 1060501072 SQL (163.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501072], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.163039' WHERE "spree_products"."id" = 1060501072  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591106, 979460555) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501072]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501072) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591102 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591103 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591104 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591105 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591106 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501072) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.185598' WHERE "spree_products"."id" = 1060501072  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591102 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.187106' WHERE "spree_products"."id" = 1060501072 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.188552' WHERE "spree_products"."id" = 1060501072  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591103 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.189686' WHERE "spree_products"."id" = 1060501072 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.191985' WHERE "spree_products"."id" = 1060501072  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591104 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.193479' WHERE "spree_products"."id" = 1060501072 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.195242' WHERE "spree_products"."id" = 1060501072  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591105 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.196245' WHERE "spree_products"."id" = 1060501072 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501072 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.197425' WHERE "spree_products"."id" = 1060501072  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591106 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:02.198507' WHERE "spree_products"."id" = 1060501072 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501072) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:34:02.203202' WHERE "spree_products"."id" = 1060501072 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501072 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (82.9ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591101) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501072)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:02 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (8.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591093) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501070)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:04 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591093) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501070)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501070) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501070) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501070 Spree::Product Load (25.8ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:13 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (5.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591097) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501071)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501071) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501071) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (2.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501071 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501071 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:20 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591101) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501072)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501072) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501072) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501072 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501072  (8.5ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501070 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591093) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501070)) SQL (3.2ms) DELETE FROM "spree_products" SQL (39.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (89.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.620118' WHERE "spree_products"."id" = 1060501073 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501073], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.622089' WHERE "spree_products"."id" = 1060501073  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591107 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.624181' WHERE "spree_products"."id" = 1060501073  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501073  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["product_id", nil], ["property_id", 905835321], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501073, "updated_at" = '2012-10-22 09:34:21.637454' WHERE "spree_product_properties"."id" = 1073273655 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501073) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451984 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451984], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501073 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501073, 558399302) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451985 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451985], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501073, 558399303) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501073) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501073 AND "spree_option_types"."id" = 935339401 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501073) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["option_type_id", 935339401], ["position", 1], ["product_id", 1060501073], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339401 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339401) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339401], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.669782' WHERE "spree_products"."id" = 1060501073 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501073], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.671136' WHERE "spree_products"."id" = 1060501073  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591108, 979460556) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339401 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339401) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339401], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.676124' WHERE "spree_products"."id" = 1060501073 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501073], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.677680' WHERE "spree_products"."id" = 1060501073  (26.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591109, 979460557) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339401 LIMIT 1 Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339401) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339401], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.718852' WHERE "spree_products"."id" = 1060501073 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501073], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.721613' WHERE "spree_products"."id" = 1060501073  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591110, 979460558) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501073]] Spree::Variant Load (1.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501073) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591108 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591109 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591110 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501073) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.738828' WHERE "spree_products"."id" = 1060501073  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591108 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.740110' WHERE "spree_products"."id" = 1060501073 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.741454' WHERE "spree_products"."id" = 1060501073  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591109 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.742405' WHERE "spree_products"."id" = 1060501073 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.743701' WHERE "spree_products"."id" = 1060501073  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591110 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:21.744688' WHERE "spree_products"."id" = 1060501073 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:21 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591107, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1196 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501073 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:22.738186' WHERE "spree_products"."id" = 1060501073  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501073 Spree::Asset Load (6.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:22 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013591107, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1197 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:23.801051' WHERE "spree_products"."id" = 1060501073 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501073 Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:23 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591107, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1198 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:24.990271' WHERE "spree_products"."id" = 1060501073 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501073 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501073) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:34:24.997897' WHERE "spree_products"."id" = 1060501073 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501073 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.039627' WHERE "spree_products"."id" = 1060501074 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501074], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.041317' WHERE "spree_products"."id" = 1060501074  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591111 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.043411' WHERE "spree_products"."id" = 1060501074  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501074  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["product_id", nil], ["property_id", 905835322], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501074, "updated_at" = '2012-10-22 09:34:25.053700' WHERE "spree_product_properties"."id" = 1073273656 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501074) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451984 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501074 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501074, 558399302) Spree::Taxonomy Load (1.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451986 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451986], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501074, 558399304) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451987 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451987], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501074, 558399305) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501074) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501074 AND "spree_option_types"."id" = 935339401 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501074) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["option_type_id", 935339401], ["position", 1], ["product_id", 1060501074], ["updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339401 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.087547' WHERE "spree_products"."id" = 1060501074 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501074], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.089172' WHERE "spree_products"."id" = 1060501074  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591112, 979460556) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339401 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.092639' WHERE "spree_products"."id" = 1060501074 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501074], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.094272' WHERE "spree_products"."id" = 1060501074  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591113, 979460557) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339401 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.097377' WHERE "spree_products"."id" = 1060501074 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501074], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.098726' WHERE "spree_products"."id" = 1060501074  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591114, 979460558) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501074]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501074) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591112 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591113 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591114 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501074) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.124416' WHERE "spree_products"."id" = 1060501074  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591112 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.126363' WHERE "spree_products"."id" = 1060501074 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.128346' WHERE "spree_products"."id" = 1060501074  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591113 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.130445' WHERE "spree_products"."id" = 1060501074 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.132744' WHERE "spree_products"."id" = 1060501074  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591114 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:25.133978' WHERE "spree_products"."id" = 1060501074 Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (4.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:25 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591111, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1199 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:34:32 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591111, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1200 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501074 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:34:33.105168' WHERE "spree_products"."id" = 1060501074  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (43.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501074 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501074) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501074 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:34:33.330129' WHERE "spree_products"."id" = 1060501074 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501074 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (51.7ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501073 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591107 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (6.5ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (48.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501075 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.274217' WHERE "spree_products"."id" = 1060501075 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501075], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.278198' WHERE "spree_products"."id" = 1060501075  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591115 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.280612' WHERE "spree_products"."id" = 1060501075  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501075  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["product_id", nil], ["property_id", 905835323], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501075, "updated_at" = '2012-10-22 09:37:43.358226' WHERE "spree_product_properties"."id" = 1073273657 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501075) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451988 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451988], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501075 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501075, 558399306) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451989 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451989], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501075, 558399307) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501075) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501075 AND "spree_option_types"."id" = 935339402 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501075) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["option_type_id", 935339402], ["position", 1], ["product_id", 1060501075], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339402) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339402], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501075 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.563981' WHERE "spree_products"."id" = 1060501075 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501075], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.565220' WHERE "spree_products"."id" = 1060501075  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591116, 979460559) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339402) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339402], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501075 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.573944' WHERE "spree_products"."id" = 1060501075 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501075], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.575605' WHERE "spree_products"."id" = 1060501075  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591117, 979460560) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339402) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339402], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501075 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.580599' WHERE "spree_products"."id" = 1060501075 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501075], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.582070' WHERE "spree_products"."id" = 1060501075  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591118, 979460561) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501075]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501075) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591116 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591117 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591118 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501075) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501075 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.619221' WHERE "spree_products"."id" = 1060501075  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591116 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.620639' WHERE "spree_products"."id" = 1060501075 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501075 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.621873' WHERE "spree_products"."id" = 1060501075  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591117 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.623074' WHERE "spree_products"."id" = 1060501075 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501075 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.624320' WHERE "spree_products"."id" = 1060501075  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591118 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.625632' WHERE "spree_products"."id" = 1060501075 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501075) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:37:43.628400' WHERE "spree_products"."id" = 1060501075 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501075 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501076 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.637054' WHERE "spree_products"."id" = 1060501076 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501076], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.638441' WHERE "spree_products"."id" = 1060501076  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591119 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.639926' WHERE "spree_products"."id" = 1060501076  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501076  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["product_id", nil], ["property_id", 905835324], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501076, "updated_at" = '2012-10-22 09:37:43.646928' WHERE "spree_product_properties"."id" = 1073273658 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501076) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451988 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501076 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501076, 558399306) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451990 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451990], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501076, 558399308) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451988 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399306 AND "spree_taxons"."taxonomy_id" = 854451988 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399306]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399306], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451988], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399306]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399309]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399309 THEN 558399306 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399306]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399309]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399309 AND "spree_taxons"."taxonomy_id" = 854451988 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399309]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399309], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854451988], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399309]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399310]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399310 THEN 558399309 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399309]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399310]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501076, 558399309)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501076, 558399310) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501076) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501076 AND "spree_option_types"."id" = 935339402 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501076) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["option_type_id", 935339402], ["position", 1], ["product_id", 1060501076], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501076 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.738751' WHERE "spree_products"."id" = 1060501076 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501076], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.741153' WHERE "spree_products"."id" = 1060501076  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591120, 979460559) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501076 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.744597' WHERE "spree_products"."id" = 1060501076 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501076], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.746130' WHERE "spree_products"."id" = 1060501076  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591121, 979460560) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501076 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.750057' WHERE "spree_products"."id" = 1060501076 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501076], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.751713' WHERE "spree_products"."id" = 1060501076  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591122, 979460561) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501076]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501076) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591120 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591121 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591122 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501076) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501076 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.772223' WHERE "spree_products"."id" = 1060501076  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591120 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.773637' WHERE "spree_products"."id" = 1060501076 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501076 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.775318' WHERE "spree_products"."id" = 1060501076  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591121 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.776494' WHERE "spree_products"."id" = 1060501076 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501076 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.777663' WHERE "spree_products"."id" = 1060501076  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591122 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.778523' WHERE "spree_products"."id" = 1060501076 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501076) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:37:43.781643' WHERE "spree_products"."id" = 1060501076 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501076 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.790899' WHERE "spree_products"."id" = 1060501077 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501077], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.792223' WHERE "spree_products"."id" = 1060501077  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591123 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.794165' WHERE "spree_products"."id" = 1060501077  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501077  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["product_id", nil], ["property_id", 905835325], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501077, "updated_at" = '2012-10-22 09:37:43.802422' WHERE "spree_product_properties"."id" = 1073273659 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["product_id", nil], ["property_id", 905835324], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501077, "updated_at" = '2012-10-22 09:37:43.805903' WHERE "spree_product_properties"."id" = 1073273660 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["product_id", nil], ["property_id", 905835326], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501077, "updated_at" = '2012-10-22 09:37:43.811223' WHERE "spree_product_properties"."id" = 1073273661 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501077) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451991 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854451991], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501077 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501077, 558399311) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451988 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399306 AND "spree_taxons"."taxonomy_id" = 854451988 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399306]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399306], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854451988], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399306]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399312]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399312 THEN 558399306 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399306]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399312]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501077, 558399312)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501077, 558399306) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501077) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501077 AND "spree_option_types"."id" = 935339402 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501077) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["option_type_id", 935339402], ["position", 1], ["product_id", 1060501077], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.844665' WHERE "spree_products"."id" = 1060501077 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501077], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.846117' WHERE "spree_products"."id" = 1060501077  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591124, 979460559) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.849089' WHERE "spree_products"."id" = 1060501077 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501077], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.850445' WHERE "spree_products"."id" = 1060501077  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591125, 979460560) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339402 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.853320' WHERE "spree_products"."id" = 1060501077 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501077], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.855026' WHERE "spree_products"."id" = 1060501077  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591126, 979460561) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501077]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501077 AND "spree_option_types"."id" = 935339403 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501077) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["option_type_id", 935339403], ["position", 2], ["product_id", 1060501077], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339403 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339403) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339403], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.870025' WHERE "spree_products"."id" = 1060501077 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501077], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.871610' WHERE "spree_products"."id" = 1060501077  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591127, 979460562) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339403 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339403) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00], ["name", "colour"], ["option_type_id", 935339403], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:37:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.877168' WHERE "spree_products"."id" = 1060501077 SQL (25.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501077], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.904224' WHERE "spree_products"."id" = 1060501077  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591128, 979460563) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501077]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501077) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591124 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591125 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591126 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591127 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591128 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501077) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.924852' WHERE "spree_products"."id" = 1060501077  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591124 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.926205' WHERE "spree_products"."id" = 1060501077 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.927823' WHERE "spree_products"."id" = 1060501077  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591125 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.929188' WHERE "spree_products"."id" = 1060501077 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.930793' WHERE "spree_products"."id" = 1060501077  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591126 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.932124' WHERE "spree_products"."id" = 1060501077 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.933290' WHERE "spree_products"."id" = 1060501077  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591127 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.934739' WHERE "spree_products"."id" = 1060501077 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501077 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.936284' WHERE "spree_products"."id" = 1060501077  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591128 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:37:43.937225' WHERE "spree_products"."id" = 1060501077 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501077) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:37:43.940156' WHERE "spree_products"."id" = 1060501077 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501077 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (92.4ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591123) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501077)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (20.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:37:44 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591115) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501075)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:37:45 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591115) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501075)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501075) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501075) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501075 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:37:53 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591119) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501076)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501076) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501076) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501076 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501076 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:38:00 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591123) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501077)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501077) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501077) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501077 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501077  (42.3ms) commit transaction Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501075 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591115) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501075)) Booted Spree using version 1.1.3 SQL (62.0ms) DELETE FROM "spree_products" SQL (3.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (95.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.495166' WHERE "spree_products"."id" = 1060501078 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501078], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.499414' WHERE "spree_products"."id" = 1060501078  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591129 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.502253' WHERE "spree_products"."id" = 1060501078  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501078  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Created New Property # SQL (2.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["product_id", nil], ["property_id", 905835327], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501078, "updated_at" = '2012-10-22 09:41:07.576766' WHERE "spree_product_properties"."id" = 1073273662 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501078) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451992 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451992], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501078 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501078, 558399313) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451993 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451993], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501078, 558399314) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501078) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501078 AND "spree_option_types"."id" = 935339404 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501078) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["option_type_id", 935339404], ["position", 1], ["product_id", 1060501078], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339404 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339404) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339404], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.797683' WHERE "spree_products"."id" = 1060501078 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501078], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.799285' WHERE "spree_products"."id" = 1060501078  (1.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591130, 979460564) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339404 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339404) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339404], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.810027' WHERE "spree_products"."id" = 1060501078 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501078], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.811314' WHERE "spree_products"."id" = 1060501078  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591131, 979460565) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339404 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339404) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339404], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (1.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.816502' WHERE "spree_products"."id" = 1060501078 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501078], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.819319' WHERE "spree_products"."id" = 1060501078  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591132, 979460566) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501078]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501078) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591130 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591131 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591132 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501078) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.858538' WHERE "spree_products"."id" = 1060501078  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591130 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.860020' WHERE "spree_products"."id" = 1060501078 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.861335' WHERE "spree_products"."id" = 1060501078  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591131 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.862585' WHERE "spree_products"."id" = 1060501078 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.863770' WHERE "spree_products"."id" = 1060501078  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591132 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:07.864979' WHERE "spree_products"."id" = 1060501078 Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:41:07 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013591129, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1205 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501078 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:09.069649' WHERE "spree_products"."id" = 1060501078  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501078 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:41:09 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591129, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1206 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:10.336333' WHERE "spree_products"."id" = 1060501078 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501078 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:41:10 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591129, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1207 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.200936' WHERE "spree_products"."id" = 1060501078 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501078 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501078) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:41:11.209159' WHERE "spree_products"."id" = 1060501078 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501078 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.257063' WHERE "spree_products"."id" = 1060501079 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501079], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.258702' WHERE "spree_products"."id" = 1060501079  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591133 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.260364' WHERE "spree_products"."id" = 1060501079  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501079  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["product_id", nil], ["property_id", 905835328], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501079, "updated_at" = '2012-10-22 09:41:11.272033' WHERE "spree_product_properties"."id" = 1073273663 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501079) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451992 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501079 Product assigned to Taxons : ["Paintings"]  (2.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501079, 558399313) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451994 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451994], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501079, 558399315) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451995 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451995], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501079, 558399316) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501079) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501079 AND "spree_option_types"."id" = 935339404 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501079) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["option_type_id", 935339404], ["position", 1], ["product_id", 1060501079], ["updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339404 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.320180' WHERE "spree_products"."id" = 1060501079 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501079], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.321813' WHERE "spree_products"."id" = 1060501079  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591134, 979460564) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339404 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.324634' WHERE "spree_products"."id" = 1060501079 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501079], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.327096' WHERE "spree_products"."id" = 1060501079  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591135, 979460565) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339404 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.329813' WHERE "spree_products"."id" = 1060501079 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501079], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.331007' WHERE "spree_products"."id" = 1060501079  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591136, 979460566) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501079]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501079) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591134 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591135 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591136 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501079) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.346737' WHERE "spree_products"."id" = 1060501079  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591134 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.348004' WHERE "spree_products"."id" = 1060501079 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.349476' WHERE "spree_products"."id" = 1060501079  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591135 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.350476' WHERE "spree_products"."id" = 1060501079 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.351790' WHERE "spree_products"."id" = 1060501079  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591136 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:11.352813' WHERE "spree_products"."id" = 1060501079 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:41:11 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591133, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1208 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:41:18 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591133, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1209 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501079 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:41:20.306718' WHERE "spree_products"."id" = 1060501079  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501079 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501079) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501079 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:41:20.318667' WHERE "spree_products"."id" = 1060501079 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501079 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.2ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501078 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591129 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (51.2ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (6.1ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (114.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:46:11 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:46:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.138291' WHERE "spree_products"."id" = 1060501080 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501080], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.150660' WHERE "spree_products"."id" = 1060501080  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591137 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.156096' WHERE "spree_products"."id" = 1060501080  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501080  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.9ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["product_id", nil], ["property_id", 905835329], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501080, "updated_at" = '2012-10-22 09:46:12.272801' WHERE "spree_product_properties"."id" = 1073273664 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501080) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451996 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854451996], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501080 Product assigned to Taxons : ["Paintings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501080, 558399317) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451997 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854451997], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501080, 558399318) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501080) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501080 AND "spree_option_types"."id" = 935339405 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501080) ORDER BY position DESC LIMIT 1 SQL (4.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["option_type_id", 935339405], ["position", 1], ["product_id", 1060501080], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339405 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339405) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339405], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.672183' WHERE "spree_products"."id" = 1060501080 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501080], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.675972' WHERE "spree_products"."id" = 1060501080  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591138, 979460567) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339405 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339405) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339405], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.686723' WHERE "spree_products"."id" = 1060501080 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501080], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.688342' WHERE "spree_products"."id" = 1060501080  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591139, 979460568) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339405 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339405) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339405], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.699574' WHERE "spree_products"."id" = 1060501080 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501080], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.700966' WHERE "spree_products"."id" = 1060501080  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591140, 979460569) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501080]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501080) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591138 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591139 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591140 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501080) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.758276' WHERE "spree_products"."id" = 1060501080  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591138 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.759575' WHERE "spree_products"."id" = 1060501080 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.761162' WHERE "spree_products"."id" = 1060501080  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591139 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.762196' WHERE "spree_products"."id" = 1060501080 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.764723' WHERE "spree_products"."id" = 1060501080  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591140 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:12.765722' WHERE "spree_products"."id" = 1060501080 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:46:12 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591137, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1210 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501080 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:14.360486' WHERE "spree_products"."id" = 1060501080  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501080 Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:46:14 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.2ms) UPDATE "spree_assets" SET "viewable_id" = 1013591137, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1211 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:15.744749' WHERE "spree_products"."id" = 1060501080 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501080 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:46:15 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591137, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1212 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.178462' WHERE "spree_products"."id" = 1060501080 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501080 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501080) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:46:17.185630' WHERE "spree_products"."id" = 1060501080 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501080 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.232021' WHERE "spree_products"."id" = 1060501081 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501081], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.236190' WHERE "spree_products"."id" = 1060501081  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591141 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.238558' WHERE "spree_products"."id" = 1060501081  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501081  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["product_id", nil], ["property_id", 905835330], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501081, "updated_at" = '2012-10-22 09:46:17.249301' WHERE "spree_product_properties"."id" = 1073273665 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501081) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451996 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501081 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501081, 558399317) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451998 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854451998], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501081, 558399319) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451999 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854451999], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501081, 558399320) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501081) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501081 AND "spree_option_types"."id" = 935339405 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501081) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["option_type_id", 935339405], ["position", 1], ["product_id", 1060501081], ["updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339405 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.287816' WHERE "spree_products"."id" = 1060501081 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501081], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.289228' WHERE "spree_products"."id" = 1060501081  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591142, 979460567) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339405 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.292255' WHERE "spree_products"."id" = 1060501081 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501081], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.293736' WHERE "spree_products"."id" = 1060501081  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591143, 979460568) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339405 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.297099' WHERE "spree_products"."id" = 1060501081 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501081], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.298430' WHERE "spree_products"."id" = 1060501081  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591144, 979460569) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501081]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501081) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591142 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591143 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591144 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501081) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.313610' WHERE "spree_products"."id" = 1060501081  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591142 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.314955' WHERE "spree_products"."id" = 1060501081 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.316205' WHERE "spree_products"."id" = 1060501081  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591143 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.317357' WHERE "spree_products"."id" = 1060501081 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.318903' WHERE "spree_products"."id" = 1060501081  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591144 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:17.320123' WHERE "spree_products"."id" = 1060501081 Spree::Asset Load (2.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:46:17 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591141, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1213 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:46:29 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.1ms) UPDATE "spree_assets" SET "viewable_id" = 1013591141, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1214 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501081 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:46:30.417219' WHERE "spree_products"."id" = 1060501081  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501081 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501081) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501081 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (64.9ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:46:30.429211' WHERE "spree_products"."id" = 1060501081 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501081 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (52.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501080 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591137 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (53.8ms) DELETE FROM "spree_products" SQL (3.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (77.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501082 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.122071' WHERE "spree_products"."id" = 1060501082 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501082], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.126183' WHERE "spree_products"."id" = 1060501082  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591145 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.129038' WHERE "spree_products"."id" = 1060501082  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501082  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["product_id", nil], ["property_id", 905835331], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501082, "updated_at" = '2012-10-22 09:54:16.226186' WHERE "spree_product_properties"."id" = 1073273666 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501082) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452000 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452000], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (1.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501082 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501082, 558399321) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452001 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452001], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501082, 558399322) Current value to assign : Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501082) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::OptionType Exists (11.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501082 AND "spree_option_types"."id" = 935339406 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501082) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["option_type_id", 935339406], ["position", 1], ["product_id", 1060501082], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339406) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339406], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501082 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.538819' WHERE "spree_products"."id" = 1060501082 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501082], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.541688' WHERE "spree_products"."id" = 1060501082  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591146, 979460570) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339406) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339406], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501082 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.553613' WHERE "spree_products"."id" = 1060501082 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501082], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.555190' WHERE "spree_products"."id" = 1060501082  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591147, 979460571) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339406) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339406], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501082 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.560052' WHERE "spree_products"."id" = 1060501082 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501082], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.561611' WHERE "spree_products"."id" = 1060501082  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591148, 979460572) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501082]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501082) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (3.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591146 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591147 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591148 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501082) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501082 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.609233' WHERE "spree_products"."id" = 1060501082  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591146 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.611483' WHERE "spree_products"."id" = 1060501082 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501082 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.613153' WHERE "spree_products"."id" = 1060501082  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591147 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.614203' WHERE "spree_products"."id" = 1060501082 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501082 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.615735' WHERE "spree_products"."id" = 1060501082  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591148 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.617101' WHERE "spree_products"."id" = 1060501082 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501082) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:54:16.620336' WHERE "spree_products"."id" = 1060501082 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501082 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501083 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.630880' WHERE "spree_products"."id" = 1060501083 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501083], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.632584' WHERE "spree_products"."id" = 1060501083  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591149 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.634472' WHERE "spree_products"."id" = 1060501083  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501083  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["product_id", nil], ["property_id", 905835332], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501083, "updated_at" = '2012-10-22 09:54:16.643052' WHERE "spree_product_properties"."id" = 1073273667 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501083) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452000 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501083 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501083, 558399321) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452002 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452002], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501083, 558399323) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452000 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399321 AND "spree_taxons"."taxonomy_id" = 854452000 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399321]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399321], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452000], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399321]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399324]] SQL (4.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399324 THEN 558399321 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399321]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399324]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399324 AND "spree_taxons"."taxonomy_id" = 854452000 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399324]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399324], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452000], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399324]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399325]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399325 THEN 558399324 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399324]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399325]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501083, 558399324)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501083, 558399325) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501083) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501083 AND "spree_option_types"."id" = 935339406 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501083) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["option_type_id", 935339406], ["position", 1], ["product_id", 1060501083], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501083 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.766889' WHERE "spree_products"."id" = 1060501083 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501083], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.768193' WHERE "spree_products"."id" = 1060501083  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591150, 979460570) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501083 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.772923' WHERE "spree_products"."id" = 1060501083 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501083], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.774183' WHERE "spree_products"."id" = 1060501083  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591151, 979460571) Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501083 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.779035' WHERE "spree_products"."id" = 1060501083 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501083], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.781888' WHERE "spree_products"."id" = 1060501083  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591152, 979460572) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501083]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501083) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591150 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591151 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591152 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501083) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501083 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.814036' WHERE "spree_products"."id" = 1060501083  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591150 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.815457' WHERE "spree_products"."id" = 1060501083 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501083 LIMIT 1 SQL (3.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.817368' WHERE "spree_products"."id" = 1060501083  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591151 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.822191' WHERE "spree_products"."id" = 1060501083 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501083 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.823930' WHERE "spree_products"."id" = 1060501083  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591152 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.825050' WHERE "spree_products"."id" = 1060501083 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501083) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:54:16.831477' WHERE "spree_products"."id" = 1060501083 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501083 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.840194' WHERE "spree_products"."id" = 1060501084 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501084], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.841909' WHERE "spree_products"."id" = 1060501084  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591153 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.843612' WHERE "spree_products"."id" = 1060501084  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501084  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["product_id", nil], ["property_id", 905835333], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501084, "updated_at" = '2012-10-22 09:54:16.851320' WHERE "spree_product_properties"."id" = 1073273668 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["product_id", nil], ["property_id", 905835332], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501084, "updated_at" = '2012-10-22 09:54:16.854421' WHERE "spree_product_properties"."id" = 1073273669 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["product_id", nil], ["property_id", 905835334], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501084, "updated_at" = '2012-10-22 09:54:16.858088' WHERE "spree_product_properties"."id" = 1073273670 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501084) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452003 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452003], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501084 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501084, 558399326) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452000 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399321 AND "spree_taxons"."taxonomy_id" = 854452000 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399321]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399321], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452000], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399321]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399327]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399327 THEN 558399321 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399321]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399327]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501084, 558399327)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501084, 558399321) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501084) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501084 AND "spree_option_types"."id" = 935339406 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501084) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["option_type_id", 935339406], ["position", 1], ["product_id", 1060501084], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::Product Load (1.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.905942' WHERE "spree_products"."id" = 1060501084 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501084], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.911449' WHERE "spree_products"."id" = 1060501084  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591154, 979460570) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.917898' WHERE "spree_products"."id" = 1060501084 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501084], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.919424' WHERE "spree_products"."id" = 1060501084  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591155, 979460571) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339406 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.922083' WHERE "spree_products"."id" = 1060501084 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501084], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.923291' WHERE "spree_products"."id" = 1060501084  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591156, 979460572) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501084]] Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501084 AND "spree_option_types"."id" = 935339407 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501084) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["option_type_id", 935339407], ["position", 2], ["product_id", 1060501084], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339407 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339407) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339407], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]]  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.950704' WHERE "spree_products"."id" = 1060501084 SQL (31.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501084], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.985484' WHERE "spree_products"."id" = 1060501084  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591157, 979460573) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339407 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339407) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00], ["name", "colour"], ["option_type_id", 935339407], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:54:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.993428' WHERE "spree_products"."id" = 1060501084 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501084], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:16.995618' WHERE "spree_products"."id" = 1060501084  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591158, 979460574) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501084]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501084) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591154 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591155 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591156 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591157 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591158 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501084) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.031188' WHERE "spree_products"."id" = 1060501084  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591154 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.033174' WHERE "spree_products"."id" = 1060501084 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.037196' WHERE "spree_products"."id" = 1060501084  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591155 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.040848' WHERE "spree_products"."id" = 1060501084 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.044619' WHERE "spree_products"."id" = 1060501084  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591156 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.045847' WHERE "spree_products"."id" = 1060501084 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.048878' WHERE "spree_products"."id" = 1060501084  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591157 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.051336' WHERE "spree_products"."id" = 1060501084 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501084 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.052427' WHERE "spree_products"."id" = 1060501084  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591158 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:54:17.053514' WHERE "spree_products"."id" = 1060501084 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501084) LIMIT 1  (0.9ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:54:17.056619' WHERE "spree_products"."id" = 1060501084 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501084 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (16.5ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591153) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501084)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (33.6ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:54:17 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591145) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501082)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:54:18 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591145) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501082)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501082) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501082) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501082 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:54:28 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591149) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501083)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501083) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501083) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501083 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501083 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Asset Load (117.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:54:39 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591153) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501084)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501084) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501084) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501084 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501084  (56.5ms) commit transaction Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501082 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591145) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501082)) Booted Spree using version 1.1.3 SQL (53.2ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (72.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501085 LIMIT 1 SQL (1.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:07.782148' WHERE "spree_products"."id" = 1060501085 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501085], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:07.789063' WHERE "spree_products"."id" = 1060501085  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591159 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:07.792001' WHERE "spree_products"."id" = 1060501085  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501085  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["product_id", nil], ["property_id", 905835335], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501085, "updated_at" = '2012-10-22 09:56:07.892590' WHERE "spree_product_properties"."id" = 1073273671 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501085) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00]] Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452004 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452004], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501085 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501085, 558399328) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452005 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452005], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501085, 558399329) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501085) LIMIT 1 Spree::OptionType Load (3.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 09:56:07 UTC +00:00]] Spree::OptionType Exists (2.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501085 AND "spree_option_types"."id" = 935339408 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501085) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["option_type_id", 935339408], ["position", 1], ["product_id", 1060501085], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339408) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339408], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501085 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.129986' WHERE "spree_products"."id" = 1060501085 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501085], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.135005' WHERE "spree_products"."id" = 1060501085  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591160, 979460575) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339408) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339408], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501085 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.153547' WHERE "spree_products"."id" = 1060501085 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501085], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.155533' WHERE "spree_products"."id" = 1060501085  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591161, 979460576) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339408) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339408], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501085 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.160283' WHERE "spree_products"."id" = 1060501085 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501085], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.161975' WHERE "spree_products"."id" = 1060501085  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591162, 979460577) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501085]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501085) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591160 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591161 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591162 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501085) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501085 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.208814' WHERE "spree_products"."id" = 1060501085  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591160 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.209998' WHERE "spree_products"."id" = 1060501085 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501085 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.213347' WHERE "spree_products"."id" = 1060501085  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591161 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.218644' WHERE "spree_products"."id" = 1060501085 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501085 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.219968' WHERE "spree_products"."id" = 1060501085  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591162 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.221210' WHERE "spree_products"."id" = 1060501085 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501085) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 09:56:08.224006' WHERE "spree_products"."id" = 1060501085 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501085 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501086 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.249279' WHERE "spree_products"."id" = 1060501086 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501086], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.250713' WHERE "spree_products"."id" = 1060501086  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591163 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.252332' WHERE "spree_products"."id" = 1060501086  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501086  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["product_id", nil], ["property_id", 905835336], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501086, "updated_at" = '2012-10-22 09:56:08.260487' WHERE "spree_product_properties"."id" = 1073273672 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501086) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452004 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501086 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501086, 558399328) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452006 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452006], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501086, 558399330) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452004 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399328 AND "spree_taxons"."taxonomy_id" = 854452004 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399328]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399328], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452004], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399328]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399331]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399331 THEN 558399328 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399328]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399331]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399331 AND "spree_taxons"."taxonomy_id" = 854452004 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399331]] SQL (1.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399331], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452004], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399331]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399332]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399332 THEN 558399331 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399331]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399332]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501086, 558399331)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501086, 558399332) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501086) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501086 AND "spree_option_types"."id" = 935339408 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501086) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["option_type_id", 935339408], ["position", 1], ["product_id", 1060501086], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501086 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.390246' WHERE "spree_products"."id" = 1060501086 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501086], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.392052' WHERE "spree_products"."id" = 1060501086  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591164, 979460575) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501086 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.395418' WHERE "spree_products"."id" = 1060501086 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501086], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.396870' WHERE "spree_products"."id" = 1060501086  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591165, 979460576) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501086 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.399861' WHERE "spree_products"."id" = 1060501086 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501086], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.401466' WHERE "spree_products"."id" = 1060501086  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591166, 979460577) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501086]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501086) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591164 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591165 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591166 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501086) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501086 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.428424' WHERE "spree_products"."id" = 1060501086  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591164 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.429768' WHERE "spree_products"."id" = 1060501086 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501086 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.431088' WHERE "spree_products"."id" = 1060501086  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591165 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.432152' WHERE "spree_products"."id" = 1060501086 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501086 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.433783' WHERE "spree_products"."id" = 1060501086  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591166 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.436744' WHERE "spree_products"."id" = 1060501086 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501086) LIMIT 1  (1.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 09:56:08.443701' WHERE "spree_products"."id" = 1060501086 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501086 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.458985' WHERE "spree_products"."id" = 1060501087 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501087], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.460731' WHERE "spree_products"."id" = 1060501087  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591167 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.463075' WHERE "spree_products"."id" = 1060501087  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501087  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["product_id", nil], ["property_id", 905835337], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["value", nil]]  (1.7ms) UPDATE "spree_product_properties" SET "product_id" = 1060501087, "updated_at" = '2012-10-22 09:56:08.472706' WHERE "spree_product_properties"."id" = 1073273673 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["product_id", nil], ["property_id", 905835336], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501087, "updated_at" = '2012-10-22 09:56:08.480010' WHERE "spree_product_properties"."id" = 1073273674 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["product_id", nil], ["property_id", 905835338], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501087, "updated_at" = '2012-10-22 09:56:08.486393' WHERE "spree_product_properties"."id" = 1073273675 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501087) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452007 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452007], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501087 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501087, 558399333) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452004 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399328 AND "spree_taxons"."taxonomy_id" = 854452004 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399328]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399328], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452004], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399328]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399334]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399334 THEN 558399328 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399328]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399334]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501087, 558399334)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501087, 558399328) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501087) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501087 AND "spree_option_types"."id" = 935339408 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501087) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["option_type_id", 935339408], ["position", 1], ["product_id", 1060501087], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.532869' WHERE "spree_products"."id" = 1060501087 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501087], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.534323' WHERE "spree_products"."id" = 1060501087  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591168, 979460575) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.538987' WHERE "spree_products"."id" = 1060501087 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501087], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.540316' WHERE "spree_products"."id" = 1060501087  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591169, 979460576) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339408 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.543795' WHERE "spree_products"."id" = 1060501087 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501087], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.545264' WHERE "spree_products"."id" = 1060501087  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591170, 979460577) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501087]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501087 AND "spree_option_types"."id" = 935339409 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501087) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["option_type_id", 935339409], ["position", 2], ["product_id", 1060501087], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339409 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339409) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339409], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.571000' WHERE "spree_products"."id" = 1060501087 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501087], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.572482' WHERE "spree_products"."id" = 1060501087  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591171, 979460578) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339409 LIMIT 1 Spree::OptionValue Load (3.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339409) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["name", "colour"], ["option_type_id", 935339409], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.587259' WHERE "spree_products"."id" = 1060501087 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501087], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.589219' WHERE "spree_products"."id" = 1060501087  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591172, 979460579) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501087]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501087) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591168 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591169 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591170 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591171 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591172 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501087) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.608604' WHERE "spree_products"."id" = 1060501087  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591168 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.610199' WHERE "spree_products"."id" = 1060501087 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.611509' WHERE "spree_products"."id" = 1060501087  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591169 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.612565' WHERE "spree_products"."id" = 1060501087 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.613932' WHERE "spree_products"."id" = 1060501087  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591170 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.616231' WHERE "spree_products"."id" = 1060501087 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.619484' WHERE "spree_products"."id" = 1060501087  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591171 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.620572' WHERE "spree_products"."id" = 1060501087 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501087 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.625517' WHERE "spree_products"."id" = 1060501087  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591172 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 09:56:08.627632' WHERE "spree_products"."id" = 1060501087 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501087) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 09:56:08.631877' WHERE "spree_products"."id" = 1060501087 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501087 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (23.5ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 't') LIMIT 1  (1.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591167) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501087)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:56:08 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591159) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501085)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (3.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:56:10 UTC +00:00], ["attachment_width", 2424], ["position", 2], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Image Load (3.6ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591159) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501085)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501085) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501085) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501085 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 09:56:18 UTC +00:00], ["attachment_width", 2424], ["position", 3], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591163) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501086)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501086) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501086) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501086 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501086 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (3.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 09:56:25 UTC +00:00], ["attachment_width", 240], ["position", 4], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]] Spree::Variant Load (2.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591167) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501087)) ORDER BY "spree_assets".position Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501087) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501087) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501087 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501087  (10.4ms) commit transaction Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501085 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591159) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501085)) Booted Spree using version 1.1.3 SQL (15.8ms) DELETE FROM "spree_products" SQL (2.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (74.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Product Load (1.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501088 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.178483' WHERE "spree_products"."id" = 1060501088 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501088], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.182065' WHERE "spree_products"."id" = 1060501088  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591173 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.184486' WHERE "spree_products"."id" = 1060501088  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501088  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["product_id", nil], ["property_id", 905835339], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501088, "updated_at" = '2012-10-22 11:12:20.262066' WHERE "spree_product_properties"."id" = 1073273676 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501088) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452008 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (3.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452008], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (1.6ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501088 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501088, 558399335) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452009 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452009], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501088, 558399336) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501088) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::OptionType Exists (4.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501088 AND "spree_option_types"."id" = 935339410 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501088) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["option_type_id", 935339410], ["position", 1], ["product_id", 1060501088], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339410) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339410], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501088 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.460728' WHERE "spree_products"."id" = 1060501088 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501088], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.462348' WHERE "spree_products"."id" = 1060501088  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591174, 979460580) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339410) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339410], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501088 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.470216' WHERE "spree_products"."id" = 1060501088 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501088], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.471584' WHERE "spree_products"."id" = 1060501088  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591175, 979460581) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339410) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339410], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501088 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.476440' WHERE "spree_products"."id" = 1060501088 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501088], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.477623' WHERE "spree_products"."id" = 1060501088  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591176, 979460582) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501088]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501088) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591174 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591175 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591176 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501088) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501088 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.512061' WHERE "spree_products"."id" = 1060501088  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591174 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.513547' WHERE "spree_products"."id" = 1060501088 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501088 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.515354' WHERE "spree_products"."id" = 1060501088  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591175 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.516313' WHERE "spree_products"."id" = 1060501088 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501088 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.517377' WHERE "spree_products"."id" = 1060501088  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591176 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.518332' WHERE "spree_products"."id" = 1060501088 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501088) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501088 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 11:12:20.521287' WHERE "spree_products"."id" = 1060501088 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501088 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501089 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.530186' WHERE "spree_products"."id" = 1060501089 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501089], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.532472' WHERE "spree_products"."id" = 1060501089  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591177 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.534008' WHERE "spree_products"."id" = 1060501089  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501089  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["product_id", nil], ["property_id", 905835340], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501089, "updated_at" = '2012-10-22 11:12:20.540862' WHERE "spree_product_properties"."id" = 1073273677 Created New ProductProperty # Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501089) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452008 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501089 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501089, 558399335) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452010 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452010], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501089, 558399337) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452008 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399335 AND "spree_taxons"."taxonomy_id" = 854452008 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399335]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399335], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452008], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399335]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399338]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399338 THEN 558399335 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399335]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399338]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399338 AND "spree_taxons"."taxonomy_id" = 854452008 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399338]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399338], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452008], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399338]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399339]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399339 THEN 558399338 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399338]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399339]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501089, 558399338)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501089, 558399339) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501089) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501089 AND "spree_option_types"."id" = 935339410 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501089) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["option_type_id", 935339410], ["position", 1], ["product_id", 1060501089], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501089 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.582233' WHERE "spree_products"."id" = 1060501089 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501089], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.584070' WHERE "spree_products"."id" = 1060501089  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591178, 979460580) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501089 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.586988' WHERE "spree_products"."id" = 1060501089 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501089], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.588460' WHERE "spree_products"."id" = 1060501089  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591179, 979460581) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501089 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.591175' WHERE "spree_products"."id" = 1060501089 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501089], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.592652' WHERE "spree_products"."id" = 1060501089  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591180, 979460582) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501089]] Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501089) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591178 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591179 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591180 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501089) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501089 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.611505' WHERE "spree_products"."id" = 1060501089  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591178 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.612614' WHERE "spree_products"."id" = 1060501089 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501089 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.613969' WHERE "spree_products"."id" = 1060501089  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591179 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.614983' WHERE "spree_products"."id" = 1060501089 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501089 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.665993' WHERE "spree_products"."id" = 1060501089  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591180 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.668286' WHERE "spree_products"."id" = 1060501089 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501089) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501089 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 11:12:20.671476' WHERE "spree_products"."id" = 1060501089 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501089 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.679981' WHERE "spree_products"."id" = 1060501090 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501090], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.683367' WHERE "spree_products"."id" = 1060501090  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591181 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.684869' WHERE "spree_products"."id" = 1060501090  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501090  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["product_id", nil], ["property_id", 905835341], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501090, "updated_at" = '2012-10-22 11:12:20.691609' WHERE "spree_product_properties"."id" = 1073273678 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["product_id", nil], ["property_id", 905835340], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501090, "updated_at" = '2012-10-22 11:12:20.694872' WHERE "spree_product_properties"."id" = 1073273679 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["product_id", nil], ["property_id", 905835342], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501090, "updated_at" = '2012-10-22 11:12:20.698672' WHERE "spree_product_properties"."id" = 1073273680 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501090) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452011 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452011], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501090 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501090, 558399340) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452008 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399335 AND "spree_taxons"."taxonomy_id" = 854452008 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399335]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399335], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452008], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399335]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399341]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399341 THEN 558399335 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399335]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399341]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501090, 558399341)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501090, 558399335) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501090) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501090 AND "spree_option_types"."id" = 935339410 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501090) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["option_type_id", 935339410], ["position", 1], ["product_id", 1060501090], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.730007' WHERE "spree_products"."id" = 1060501090 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501090], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.731863' WHERE "spree_products"."id" = 1060501090  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591182, 979460580) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.734761' WHERE "spree_products"."id" = 1060501090 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501090], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.736072' WHERE "spree_products"."id" = 1060501090  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591183, 979460581) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339410 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.738629' WHERE "spree_products"."id" = 1060501090 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501090], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.740282' WHERE "spree_products"."id" = 1060501090  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591184, 979460582) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501090]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501090 AND "spree_option_types"."id" = 935339411 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501090) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["option_type_id", 935339411], ["position", 2], ["product_id", 1060501090], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339411 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339411) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339411], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.757369' WHERE "spree_products"."id" = 1060501090 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501090], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.759072' WHERE "spree_products"."id" = 1060501090  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591185, 979460583) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339411 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339411) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00], ["name", "colour"], ["option_type_id", 935339411], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:12:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.785340' WHERE "spree_products"."id" = 1060501090 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501090], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.787303' WHERE "spree_products"."id" = 1060501090  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591186, 979460584) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501090]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501090) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591182 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591183 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591184 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591185 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591186 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501090) LIMIT 1  (1.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.809037' WHERE "spree_products"."id" = 1060501090  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591182 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.811073' WHERE "spree_products"."id" = 1060501090 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.812548' WHERE "spree_products"."id" = 1060501090  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591183 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.813702' WHERE "spree_products"."id" = 1060501090 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.814652' WHERE "spree_products"."id" = 1060501090  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591184 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.815802' WHERE "spree_products"."id" = 1060501090 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.817073' WHERE "spree_products"."id" = 1060501090  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591185 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.818352' WHERE "spree_products"."id" = 1060501090 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501090 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.819221' WHERE "spree_products"."id" = 1060501090  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591186 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:12:20.820073' WHERE "spree_products"."id" = 1060501090 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501090) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 11:12:20.823042' WHERE "spree_products"."id" = 1060501090 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501090 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (21.3ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501090 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591181) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501090)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (1.5ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (7.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (8.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.5ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (55.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 11:14:23 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 11:14:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501091 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:23.948497' WHERE "spree_products"."id" = 1060501091 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501091], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:23.951567' WHERE "spree_products"."id" = 1060501091  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591187 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:23.954445' WHERE "spree_products"."id" = 1060501091  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501091  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["product_id", nil], ["property_id", 905835343], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501091, "updated_at" = '2012-10-22 11:14:24.053057' WHERE "spree_product_properties"."id" = 1073273681 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501091) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452012 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452012], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501091 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501091, 558399342) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452013 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452013], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501091, 558399343) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501091) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501091 AND "spree_option_types"."id" = 935339412 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501091) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["option_type_id", 935339412], ["position", 1], ["product_id", 1060501091], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339412) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339412], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501091 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.249817' WHERE "spree_products"."id" = 1060501091 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501091], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.251240' WHERE "spree_products"."id" = 1060501091  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591188, 979460585) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339412) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339412], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501091 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.259669' WHERE "spree_products"."id" = 1060501091 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501091], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.261504' WHERE "spree_products"."id" = 1060501091  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591189, 979460586) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339412) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339412], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501091 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.266436' WHERE "spree_products"."id" = 1060501091 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501091], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.267932' WHERE "spree_products"."id" = 1060501091  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591190, 979460587) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501091]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501091) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591188 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591189 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591190 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501091) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501091 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.301354' WHERE "spree_products"."id" = 1060501091  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591188 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.302636' WHERE "spree_products"."id" = 1060501091 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501091 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.303826' WHERE "spree_products"."id" = 1060501091  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.304883' WHERE "spree_products"."id" = 1060501091 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501091 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.306054' WHERE "spree_products"."id" = 1060501091  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591190 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.307107' WHERE "spree_products"."id" = 1060501091 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501091) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 11:14:24.310243' WHERE "spree_products"."id" = 1060501091 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501091 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501092 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.319414' WHERE "spree_products"."id" = 1060501092 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501092], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.320735' WHERE "spree_products"."id" = 1060501092  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591191 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.322210' WHERE "spree_products"."id" = 1060501092  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501092  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["product_id", nil], ["property_id", 905835344], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501092, "updated_at" = '2012-10-22 11:14:24.328924' WHERE "spree_product_properties"."id" = 1073273682 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501092) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452012 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501092 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501092, 558399342) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452014 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452014], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501092, 558399344) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452012 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399342 AND "spree_taxons"."taxonomy_id" = 854452012 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399342]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399342], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452012], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399342]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399345]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399345 THEN 558399342 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399342]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399345]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399345 AND "spree_taxons"."taxonomy_id" = 854452012 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399345]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399345], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452012], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399345]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399346]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399346 THEN 558399345 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399345]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399346]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501092, 558399345)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501092, 558399346) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501092) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501092 AND "spree_option_types"."id" = 935339412 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501092) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["option_type_id", 935339412], ["position", 1], ["product_id", 1060501092], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501092 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.368268' WHERE "spree_products"."id" = 1060501092 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501092], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.369664' WHERE "spree_products"."id" = 1060501092  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591192, 979460585) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501092 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.373096' WHERE "spree_products"."id" = 1060501092 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501092], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.374508' WHERE "spree_products"."id" = 1060501092  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591193, 979460586) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501092 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.377366' WHERE "spree_products"."id" = 1060501092 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501092], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.378637' WHERE "spree_products"."id" = 1060501092  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591194, 979460587) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501092]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501092) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591192 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591193 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591194 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501092) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501092 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.397496' WHERE "spree_products"."id" = 1060501092  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591192 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.398564' WHERE "spree_products"."id" = 1060501092 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501092 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.399530' WHERE "spree_products"."id" = 1060501092  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591193 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.400358' WHERE "spree_products"."id" = 1060501092 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501092 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.454616' WHERE "spree_products"."id" = 1060501092  (1.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591194 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.457989' WHERE "spree_products"."id" = 1060501092 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501092) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 11:14:24.460943' WHERE "spree_products"."id" = 1060501092 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501092 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.469564' WHERE "spree_products"."id" = 1060501093 SQL (1.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501093], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.472290' WHERE "spree_products"."id" = 1060501093  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591195 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.473616' WHERE "spree_products"."id" = 1060501093  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501093  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["product_id", nil], ["property_id", 905835345], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501093, "updated_at" = '2012-10-22 11:14:24.481265' WHERE "spree_product_properties"."id" = 1073273683 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["product_id", nil], ["property_id", 905835344], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501093, "updated_at" = '2012-10-22 11:14:24.483751' WHERE "spree_product_properties"."id" = 1073273684 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["product_id", nil], ["property_id", 905835346], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501093, "updated_at" = '2012-10-22 11:14:24.488292' WHERE "spree_product_properties"."id" = 1073273685 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501093) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452015 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452015], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501093 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501093, 558399347) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452012 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399342 AND "spree_taxons"."taxonomy_id" = 854452012 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399342]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399342], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452012], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399342]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399348]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399348 THEN 558399342 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399342]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399348]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501093, 558399348)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501093, 558399342) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501093) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501093 AND "spree_option_types"."id" = 935339412 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501093) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["option_type_id", 935339412], ["position", 1], ["product_id", 1060501093], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.519698' WHERE "spree_products"."id" = 1060501093 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501093], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.521128' WHERE "spree_products"."id" = 1060501093  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591196, 979460585) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.523935' WHERE "spree_products"."id" = 1060501093 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501093], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.525248' WHERE "spree_products"."id" = 1060501093  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591197, 979460586) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339412 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.527930' WHERE "spree_products"."id" = 1060501093 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501093], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.529156' WHERE "spree_products"."id" = 1060501093  (0.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591198, 979460587) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501093]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501093 AND "spree_option_types"."id" = 935339413 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501093) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["option_type_id", 935339413], ["position", 2], ["product_id", 1060501093], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339413 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339413) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339413], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.544024' WHERE "spree_products"."id" = 1060501093 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501093], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.545322' WHERE "spree_products"."id" = 1060501093  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591199, 979460588) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339413 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339413) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["name", "colour"], ["option_type_id", 935339413], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.550943' WHERE "spree_products"."id" = 1060501093 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501093], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.552189' WHERE "spree_products"."id" = 1060501093  (15.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591200, 979460589) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501093]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501093) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591196 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591197 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591198 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591199 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591200 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501093) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.591035' WHERE "spree_products"."id" = 1060501093  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591196 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.592799' WHERE "spree_products"."id" = 1060501093 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.593969' WHERE "spree_products"."id" = 1060501093  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591197 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.595110' WHERE "spree_products"."id" = 1060501093 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.596928' WHERE "spree_products"."id" = 1060501093  (2.7ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591198 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.600499' WHERE "spree_products"."id" = 1060501093 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.602215' WHERE "spree_products"."id" = 1060501093  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591199 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.603450' WHERE "spree_products"."id" = 1060501093 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501093 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.604618' WHERE "spree_products"."id" = 1060501093  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591200 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 11:14:24.605613' WHERE "spree_products"."id" = 1060501093 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501093) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 11:14:24.609329' WHERE "spree_products"."id" = 1060501093 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501093 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (21.0ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591195) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501093)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 11:14:24 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591187, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1223 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 11:14:25 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013591187, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1224 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501091) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501091) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501091 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (3.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 11:14:32 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591191, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1225 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501092) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501092) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501092 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 11:14:38 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013591195, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1226 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501093) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501093) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501093  (79.1ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501091 AND ("spree_variants".is_master = 't') LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591187) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501091)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501092 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591191) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501092)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501093 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591195) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501093)) Booted Spree using version 1.1.3 Spree::Preference Load (0.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE ("spree_preferences"."key" IS NOT NULL) AND ("spree_preferences"."value_type" IS NOT NULL) SQL (52.0ms) DELETE FROM "spree_products" SQL (9.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:50.314000', 'f', 'Rest of World', 'ROW', '2012-10-22 22:19:50.314000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 59 Row org.apache.poi.hssf.usermodel.HSSFRow@70b7d succesfully SAVED : ID 59 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:50.398000', 'f', 'United Kingdom', 'UK', '2012-10-22 22:19:50.398000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 60 Row org.apache.poi.hssf.usermodel.HSSFRow@18054fe succesfully SAVED : ID 60 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:50.416000', 'f', 'Europe', 'EUR', '2012-10-22 22:19:50.416000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 61 Row org.apache.poi.hssf.usermodel.HSSFRow@2fff0 succesfully SAVED : ID 61 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:50.718000', 'f', 'North America', 'NA', '2012-10-22 22:19:50.718000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 62 Row org.apache.poi.hssf.usermodel.HSSFRow@da831e succesfully SAVED : ID 62 Current value to assign : Current value to assign :  (2.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (114.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:51.172000', 'f', 'Rest of World', 'ROW', '2012-10-22 22:19:51.172000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 63 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:51.194000', 'f', 'United Kingdom', 'UK', '2012-10-22 22:19:51.194000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 64 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:51.209000', 'f', 'Europe', 'EUR', '2012-10-22 22:19:51.209000', 0) Spree::ZoneMember Load (3.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 65 Current value to assign : NA Current value to assign : North America Saving csv row NANorth America to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-22 22:19:51.303000', 'f', 'North America', 'NA', '2012-10-22 22:19:51.303000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 66  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (28.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:19:51.684000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:51.684000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501094 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:51.718000' WHERE "spree_products"."id" = 1060501094 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501094, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:51.729000' WHERE "spree_products"."id" = 1060501094  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591201 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:51.736000' WHERE "spree_products"."id" = 1060501094  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501094 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501094 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501094  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501094 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591201 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501094) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:51.887000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:51.887000') Spree::OptionType Exists (83.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501094 AND "spree_option_types"."id" = 935339414 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501094) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:52.092000', 935339414, 1, 1060501094, '2012-10-22 22:19:52.092000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501094) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-22 22:19:52.111000' WHERE "spree_products"."id" = 1060501094  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591201 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.124000' WHERE "spree_products"."id" = 1060501094 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501094 Row org.apache.poi.hssf.usermodel.HSSFRow@14fc8f4 succesfully SAVED : ID 1060501094 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:19:52.144000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:19:52.144000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501095 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.157000' WHERE "spree_products"."id" = 1060501095 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501095, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.164000' WHERE "spree_products"."id" = 1060501095  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591202 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.171000' WHERE "spree_products"."id" = 1060501095  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501095 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501095 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501095  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501095 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591202 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501095) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501095 AND "spree_option_types"."id" = 935339414 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501095) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:52.242000', 935339414, 1, 1060501095, '2012-10-22 22:19:52.242000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501095) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:19:52.249000' WHERE "spree_products"."id" = 1060501095  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591202 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.271000' WHERE "spree_products"."id" = 1060501095 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501095 Row org.apache.poi.hssf.usermodel.HSSFRow@15c3705 succesfully SAVED : ID 1060501095 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-22 22:19:52.297000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-22 22:19:52.297000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501096 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.323000' WHERE "spree_products"."id" = 1060501096 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501096, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.329000' WHERE "spree_products"."id" = 1060501096  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591203 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.335000' WHERE "spree_products"."id" = 1060501096  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501096 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501096 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501096  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501096 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591203 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501096) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501096 AND "spree_option_types"."id" = 935339414 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501096) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:52.398000', 935339414, 1, 1060501096, '2012-10-22 22:19:52.398000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:52.406000', 'print_type', 0, 'Print type', '2012-10-22 22:19:52.406000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501096 AND "spree_option_types"."id" = 935339415 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501096) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:52.439000', 935339415, 2, 1060501096, '2012-10-22 22:19:52.439000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501096) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-22 22:19:52.453000' WHERE "spree_products"."id" = 1060501096  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591203 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.459000' WHERE "spree_products"."id" = 1060501096 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501096 Row org.apache.poi.hssf.usermodel.HSSFRow@6b0b91 succesfully SAVED : ID 1060501096 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-22 22:19:52.584000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-22 22:19:52.585000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501094 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501094 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501094 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501096 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:19:52.735000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:52.735000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501097 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.744000' WHERE "spree_products"."id" = 1060501097 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501097, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.748000' WHERE "spree_products"."id" = 1060501097  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591204 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.753000' WHERE "spree_products"."id" = 1060501097  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501097 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501097 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501097  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501097 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591204 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501097) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:52.845000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:52.845000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501097 AND "spree_option_types"."id" = 935339416 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501097) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:52.860000', 935339416, 1, 1060501097, '2012-10-22 22:19:52.860000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501097) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-22 22:19:52.870000' WHERE "spree_products"."id" = 1060501097  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591204 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.898000' WHERE "spree_products"."id" = 1060501097 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501097 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:19:52.931000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:19:52.931000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501098 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.971000' WHERE "spree_products"."id" = 1060501098 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501098, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.978000' WHERE "spree_products"."id" = 1060501098  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591205 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:52.996000' WHERE "spree_products"."id" = 1060501098  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501098 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501098 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501098  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501098 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591205 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501098) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501098 AND "spree_option_types"."id" = 935339416 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501098) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:53.079000', 935339416, 1, 1060501098, '2012-10-22 22:19:53.079000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501098) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:19:53.086000' WHERE "spree_products"."id" = 1060501098  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591205 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.102000' WHERE "spree_products"."id" = 1060501098 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501098 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-22 22:19:53.130000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-22 22:19:53.130000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501099 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.143000' WHERE "spree_products"."id" = 1060501099 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501099, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.148000' WHERE "spree_products"."id" = 1060501099  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591206 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.179000' WHERE "spree_products"."id" = 1060501099  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501099 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501099 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501099  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501099 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591206 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501099) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501099 AND "spree_option_types"."id" = 935339416 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501099) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:53.327000', 935339416, 1, 1060501099, '2012-10-22 22:19:53.327000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:53.337000', 'print_type', 0, 'Print type', '2012-10-22 22:19:53.337000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501099 AND "spree_option_types"."id" = 935339417 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501099) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:53.356000', 935339417, 2, 1060501099, '2012-10-22 22:19:53.356000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501099) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-22 22:19:53.361000' WHERE "spree_products"."id" = 1060501099  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591206 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.437000' WHERE "spree_products"."id" = 1060501099 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501099  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-22 22:19:53.461000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-22 22:19:53.463000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501097 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501097 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501097 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501099 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (5.0ms) DELETE FROM "spree_variants" SQL (27.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-22 23:19:53.000000', 0, '2012-10-22 22:19:53.658000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:53.658000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501100 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.666000' WHERE "spree_products"."id" = 1060501100 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501100, 'SPEC_SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.669000' WHERE "spree_products"."id" = 1060501100  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591207 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.680000' WHERE "spree_products"."id" = 1060501100  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501100 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501100  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:53.696000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:53.696000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501100 AND "spree_option_types"."id" = 935339418 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (18.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501100) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:53.733000', 935339418, 1, 1060501100, '2012-10-22 22:19:53.733000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501100) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@80d6b4 succesfully SAVED : ID 1060501100 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-22 23:19:53.000000', 0, '2012-10-22 22:19:53.760000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:19:53.760000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501101 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.769000' WHERE "spree_products"."id" = 1060501101 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501101, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.798000' WHERE "spree_products"."id" = 1060501101  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591208 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.818000' WHERE "spree_products"."id" = 1060501101  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501101 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501101 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501101  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501101 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501101 AND "spree_option_types"."id" = 935339418 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501101) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:53.872000', 935339418, 1, 1060501101, '2012-10-22 22:19:53.872000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501101) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@e87db3 succesfully SAVED : ID 1060501101 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-22 23:19:53.000000', 0, '2012-10-22 22:19:53.942000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-22 22:19:53.942000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501102 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.948000' WHERE "spree_products"."id" = 1060501102 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501102, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.953000' WHERE "spree_products"."id" = 1060501102  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591209 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:53.961000' WHERE "spree_products"."id" = 1060501102  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501102 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501102  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501102 AND "spree_option_types"."id" = 935339418 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501102) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:53.977000', 935339418, 1, 1060501102, '2012-10-22 22:19:53.977000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:53.993000', 'print_type', 0, 'Print type', '2012-10-22 22:19:53.993000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501102 AND "spree_option_types"."id" = 935339419 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501102) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:54.006000', 935339419, 2, 1060501102, '2012-10-22 22:19:54.006000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501102) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@4113f8 succesfully SAVED : ID 1060501102 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501100 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (27.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-22 22:19:54.235000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:54.235000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501103 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.264000' WHERE "spree_products"."id" = 1060501103 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501103, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.269000' WHERE "spree_products"."id" = 1060501103  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591210 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.302000' WHERE "spree_products"."id" = 1060501103  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501103 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501103  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:54.311000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:54.311000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501103 AND "spree_option_types"."id" = 935339420 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501103) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:54.331000', 935339420, 1, 1060501103, '2012-10-22 22:19:54.331000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501103) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@f19c35 succesfully SAVED : ID 1060501103 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-22 22:19:54.377000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:19:54.377000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501104 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.388000' WHERE "spree_products"."id" = 1060501104 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501104, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.445000' WHERE "spree_products"."id" = 1060501104  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591211 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.451000' WHERE "spree_products"."id" = 1060501104  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501104 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501104  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501104 AND "spree_option_types"."id" = 935339420 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501104) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:54.467000', 935339420, 1, 1060501104, '2012-10-22 22:19:54.467000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501104) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1b8191d succesfully SAVED : ID 1060501104 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-22 22:19:54.541000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-22 22:19:54.541000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501105 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.548000' WHERE "spree_products"."id" = 1060501105 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501105, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.556000' WHERE "spree_products"."id" = 1060501105  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591212 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.559000' WHERE "spree_products"."id" = 1060501105  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501105 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501105  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501105 AND "spree_option_types"."id" = 935339420 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501105) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:54.575000', 935339420, 1, 1060501105, '2012-10-22 22:19:54.575000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:54.581000', 'print_type', 0, 'Print type', '2012-10-22 22:19:54.581000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501105 AND "spree_option_types"."id" = 935339421 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501105) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:54.593000', 935339421, 2, 1060501105, '2012-10-22 22:19:54.593000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501105) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@21b936 succesfully SAVED : ID 1060501105 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (28.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501103 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:54.759000', 'test_pp_001', 'Test PP 001', '2012-10-22 22:19:54.759000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:19:54.844000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:54.844000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.852000' WHERE "spree_products"."id" = 1060501106 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501106, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.856000' WHERE "spree_products"."id" = 1060501106  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591213 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:54.868000' WHERE "spree_products"."id" = 1060501106  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501106  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:54.919000', NULL, 905835347, '2012-10-22 22:19:54.919000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501106, "updated_at" = '2012-10-22 22:19:54.936000' WHERE "spree_product_properties"."id" = 1073273686 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501106) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:54.954000', 'Paintings', '2012-10-22 22:19:54.954000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452016 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:54.997000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452016, '2012-10-22 22:19:54.997000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501106 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501106, 558399349) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:55.028000', 'WaterColour', '2012-10-22 22:19:55.028000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452017 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:55.033000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452017, '2012-10-22 22:19:55.033000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501106, 558399350) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501106) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501106) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.069000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:55.069000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501106 AND "spree_option_types"."id" = 935339422 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501106) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:55.084000', 935339422, 1, 1060501106, '2012-10-22 22:19:55.084000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339422) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.147000', 'jpeg', 935339422, 1, NULL, '2012-10-22 22:19:55.147000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.154000' WHERE "spree_products"."id" = 1060501106 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501106, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.161000' WHERE "spree_products"."id" = 1060501106  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591214, 979460590) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339422) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.171000', 'PDF', 935339422, 2, NULL, '2012-10-22 22:19:55.171000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.178000' WHERE "spree_products"."id" = 1060501106 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501106, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.182000' WHERE "spree_products"."id" = 1060501106  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591215, 979460591) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339422) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.186000', 'PNG', 935339422, 3, NULL, '2012-10-22 22:19:55.186000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.202000' WHERE "spree_products"."id" = 1060501106 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501106, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.210000' WHERE "spree_products"."id" = 1060501106  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591216, 979460592) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501106) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591214 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591215 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591216 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501106) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.250000' WHERE "spree_products"."id" = 1060501106  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591214 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.256000' WHERE "spree_products"."id" = 1060501106 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.259000' WHERE "spree_products"."id" = 1060501106  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591215 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.262000' WHERE "spree_products"."id" = 1060501106 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501106 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.263000' WHERE "spree_products"."id" = 1060501106  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591216 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.269000' WHERE "spree_products"."id" = 1060501106 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501106) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:19:55.305000' WHERE "spree_products"."id" = 1060501106 Row org.apache.poi.hssf.usermodel.HSSFRow@e049fb succesfully SAVED : ID 1060501106 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:19:55.342000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:19:55.342000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.348000' WHERE "spree_products"."id" = 1060501107 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501107, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.350000' WHERE "spree_products"."id" = 1060501107  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591217 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.354000' WHERE "spree_products"."id" = 1060501107  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501107  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.364000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:19:55.364000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:55.376000', NULL, 905835348, '2012-10-22 22:19:55.376000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501107, "updated_at" = '2012-10-22 22:19:55.379000' WHERE "spree_product_properties"."id" = 1073273687 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501107) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452016 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501107 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501107, 558399349) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:55.402000', 'Oils', '2012-10-22 22:19:55.402000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452018 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:55.407000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452018, '2012-10-22 22:19:55.407000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501107, 558399351) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452016 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399349 AND "spree_taxons"."taxonomy_id" = 854452016 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399349 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:55.428000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558399349, 'paintings/nature', 0, 8, 854452016, '2012-10-22 22:19:55.428000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399349 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399352 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399352 THEN 558399349 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399349 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399352 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399352 AND "spree_taxons"."taxonomy_id" = 854452016 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399352 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:55.450000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558399352, 'paintings/nature/seascape', 0, 10, 854452016, '2012-10-22 22:19:55.450000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399352 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399353 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399353 THEN 558399352 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399352 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399353 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501107, 558399352)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501107, 558399353) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501107) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501107 AND "spree_option_types"."id" = 935339422 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501107) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:55.480000', 935339422, 1, 1060501107, '2012-10-22 22:19:55.480000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.507000' WHERE "spree_products"."id" = 1060501107 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501107, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.513000' WHERE "spree_products"."id" = 1060501107  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591218, 979460590) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.521000' WHERE "spree_products"."id" = 1060501107 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501107, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.528000' WHERE "spree_products"."id" = 1060501107  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591219, 979460591) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.535000' WHERE "spree_products"."id" = 1060501107 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501107, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.537000' WHERE "spree_products"."id" = 1060501107  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591220, 979460592) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501107) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501107) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591218 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591219 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591220 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501107) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.568000' WHERE "spree_products"."id" = 1060501107  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591218 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.574000' WHERE "spree_products"."id" = 1060501107 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.577000' WHERE "spree_products"."id" = 1060501107  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591219 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.579000' WHERE "spree_products"."id" = 1060501107 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.581000' WHERE "spree_products"."id" = 1060501107  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591220 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.607000' WHERE "spree_products"."id" = 1060501107 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501107) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:19:55.613000' WHERE "spree_products"."id" = 1060501107 Row org.apache.poi.hssf.usermodel.HSSFRow@7e29d7 succesfully SAVED : ID 1060501107 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:19:55.634000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:19:55.634000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.640000' WHERE "spree_products"."id" = 1060501108 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501108, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.643000' WHERE "spree_products"."id" = 1060501108  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591221 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.645000' WHERE "spree_products"."id" = 1060501108  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501108  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.655000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:19:55.655000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:55.659000', NULL, 905835349, '2012-10-22 22:19:55.659000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501108, "updated_at" = '2012-10-22 22:19:55.662000' WHERE "spree_product_properties"."id" = 1073273688 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:55.666000', NULL, 905835348, '2012-10-22 22:19:55.666000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501108, "updated_at" = '2012-10-22 22:19:55.675000' WHERE "spree_product_properties"."id" = 1073273689 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.691000', 'yet_another_property', 'Yet another property', '2012-10-22 22:19:55.691000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:55.697000', NULL, 905835350, '2012-10-22 22:19:55.697000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501108, "updated_at" = '2012-10-22 22:19:55.699000' WHERE "spree_product_properties"."id" = 1073273690 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501108) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:55.707000', 'Drawings', '2012-10-22 22:19:55.707000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452019 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:55.714000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452019, '2012-10-22 22:19:55.714000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501108 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501108, 558399354) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452016 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399349 AND "spree_taxons"."taxonomy_id" = 854452016 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399349 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:55.738000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558399349, 'paintings/landscape', 0, 14, 854452016, '2012-10-22 22:19:55.738000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399349 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399355 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399355 THEN 558399349 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399349 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399355 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501108, 558399355)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501108, 558399349) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501108) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501108) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501108 AND "spree_option_types"."id" = 935339422 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501108) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:55.766000', 935339422, 1, 1060501108, '2012-10-22 22:19:55.766000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.772000' WHERE "spree_products"."id" = 1060501108 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501108, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.775000' WHERE "spree_products"."id" = 1060501108  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591222, 979460590) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.803000' WHERE "spree_products"."id" = 1060501108 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501108, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.806000' WHERE "spree_products"."id" = 1060501108  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591223, 979460591) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339422 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.814000' WHERE "spree_products"."id" = 1060501108 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501108, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.817000' WHERE "spree_products"."id" = 1060501108  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591224, 979460592) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.832000', 'print_type', 0, 'Print type', '2012-10-22 22:19:55.832000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501108 AND "spree_option_types"."id" = 935339423 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501108) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:55.843000', 935339423, 2, 1060501108, '2012-10-22 22:19:55.843000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339423 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339423) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.848000', 'black_white', 935339423, 1, NULL, '2012-10-22 22:19:55.848000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.884000' WHERE "spree_products"."id" = 1060501108 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501108, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.889000' WHERE "spree_products"."id" = 1060501108  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591225, 979460593) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339423 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339423) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:55.894000', 'colour', 935339423, 2, NULL, '2012-10-22 22:19:55.894000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.902000' WHERE "spree_products"."id" = 1060501108 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501108, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.905000' WHERE "spree_products"."id" = 1060501108  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591226, 979460594) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501108) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591222 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591223 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591224 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591225 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591226 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501108) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.947000' WHERE "spree_products"."id" = 1060501108  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591222 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.949000' WHERE "spree_products"."id" = 1060501108 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.951000' WHERE "spree_products"."id" = 1060501108  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591223 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.953000' WHERE "spree_products"."id" = 1060501108 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.955000' WHERE "spree_products"."id" = 1060501108  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591224 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.957000' WHERE "spree_products"."id" = 1060501108 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.959000' WHERE "spree_products"."id" = 1060501108  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591225 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.963000' WHERE "spree_products"."id" = 1060501108 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.965000' WHERE "spree_products"."id" = 1060501108  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591226 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:55.967000' WHERE "spree_products"."id" = 1060501108 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501108) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:19:55.975000' WHERE "spree_products"."id" = 1060501108 Row org.apache.poi.hssf.usermodel.HSSFRow@1cd0dbb succesfully SAVED : ID 1060501108 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501106 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501108 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501108 SQL (54.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.187000', 'test_pp_001', 'Test PP 001', '2012-10-22 22:19:56.187000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:19:56.284000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:56.284000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.288000' WHERE "spree_products"."id" = 1060501109 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501109, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.291000' WHERE "spree_products"."id" = 1060501109  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591227 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.294000' WHERE "spree_products"."id" = 1060501109  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501109  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:56.302000', NULL, 905835351, '2012-10-22 22:19:56.302000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501109, "updated_at" = '2012-10-22 22:19:56.305000' WHERE "spree_product_properties"."id" = 1073273691 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:56.326000', 'Paintings', '2012-10-22 22:19:56.326000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452020 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:56.337000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452020, '2012-10-22 22:19:56.337000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501109 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501109, 558399356) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:56.359000', 'WaterColour', '2012-10-22 22:19:56.359000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452021 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:56.365000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452021, '2012-10-22 22:19:56.365000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501109, 558399357) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.377000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:56.377000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501109 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501109) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:56.388000', 935339424, 1, 1060501109, '2012-10-22 22:19:56.388000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339424) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.396000', 'jpeg', 935339424, 1, NULL, '2012-10-22 22:19:56.396000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.445000' WHERE "spree_products"."id" = 1060501109 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501109, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.449000' WHERE "spree_products"."id" = 1060501109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591228, 979460595) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501109 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339424) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.462000', 'PDF', 935339424, 2, NULL, '2012-10-22 22:19:56.462000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.477000' WHERE "spree_products"."id" = 1060501109 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501109, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.479000' WHERE "spree_products"."id" = 1060501109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591229, 979460596) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501109 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339424) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.491000', 'PNG', 935339424, 3, NULL, '2012-10-22 22:19:56.491000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.500000' WHERE "spree_products"."id" = 1060501109 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501109, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.503000' WHERE "spree_products"."id" = 1060501109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591230, 979460597) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591228 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591229 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591230 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.555000' WHERE "spree_products"."id" = 1060501109  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591228 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.557000' WHERE "spree_products"."id" = 1060501109 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.561000' WHERE "spree_products"."id" = 1060501109  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591229 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.566000' WHERE "spree_products"."id" = 1060501109 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.569000' WHERE "spree_products"."id" = 1060501109  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591230 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.573000' WHERE "spree_products"."id" = 1060501109 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501109) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:19:56.578000' WHERE "spree_products"."id" = 1060501109 Row org.apache.poi.hssf.usermodel.HSSFRow@16d438 succesfully SAVED : ID 1060501109 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:19:56.600000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:19:56.600000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.609000' WHERE "spree_products"."id" = 1060501110 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501110, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.611000' WHERE "spree_products"."id" = 1060501110  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591231 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.614000' WHERE "spree_products"."id" = 1060501110  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501110  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.623000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:19:56.623000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:56.629000', NULL, 905835352, '2012-10-22 22:19:56.629000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501110, "updated_at" = '2012-10-22 22:19:56.630000' WHERE "spree_product_properties"."id" = 1073273692 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452020 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501110 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501110, 558399356) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:56.656000', 'Oils', '2012-10-22 22:19:56.656000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452022 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:56.663000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452022, '2012-10-22 22:19:56.663000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501110, 558399358) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452020 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399356 AND "spree_taxons"."taxonomy_id" = 854452020 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399356 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:56.684000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558399356, 'paintings/nature', 0, 8, 854452020, '2012-10-22 22:19:56.684000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399356 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399359 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399359 THEN 558399356 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399356 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399359 AND "spree_taxons"."taxonomy_id" = 854452020 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399359 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:56.704000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558399359, 'paintings/nature/seascape', 0, 10, 854452020, '2012-10-22 22:19:56.704000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399359 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399360 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399360 THEN 558399359 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (2.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399360 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501110, 558399359)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501110, 558399360) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501110 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501110) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:56.731000', 935339424, 1, 1060501110, '2012-10-22 22:19:56.731000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.744000' WHERE "spree_products"."id" = 1060501110 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501110, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.746000' WHERE "spree_products"."id" = 1060501110  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591232, 979460595) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501110 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.763000' WHERE "spree_products"."id" = 1060501110 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501110, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.770000' WHERE "spree_products"."id" = 1060501110  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591233, 979460596) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501110 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.795000' WHERE "spree_products"."id" = 1060501110 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501110, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.798000' WHERE "spree_products"."id" = 1060501110  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591234, 979460597) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591232 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591233 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591234 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.849000' WHERE "spree_products"."id" = 1060501110  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591232 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.852000' WHERE "spree_products"."id" = 1060501110 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.855000' WHERE "spree_products"."id" = 1060501110  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591233 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.857000' WHERE "spree_products"."id" = 1060501110 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501110 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.862000' WHERE "spree_products"."id" = 1060501110  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591234 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.866000' WHERE "spree_products"."id" = 1060501110 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501110) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:19:56.873000' WHERE "spree_products"."id" = 1060501110 Row org.apache.poi.hssf.usermodel.HSSFRow@4ef207 succesfully SAVED : ID 1060501110 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:19:56.887000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:19:56.887000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.892000' WHERE "spree_products"."id" = 1060501111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501111, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.894000' WHERE "spree_products"."id" = 1060501111  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591235 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:56.897000' WHERE "spree_products"."id" = 1060501111  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501111  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.912000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:19:56.912000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:56.918000', NULL, 905835353, '2012-10-22 22:19:56.918000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501111, "updated_at" = '2012-10-22 22:19:56.921000' WHERE "spree_product_properties"."id" = 1073273693 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:56.925000', NULL, 905835352, '2012-10-22 22:19:56.925000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501111, "updated_at" = '2012-10-22 22:19:56.928000' WHERE "spree_product_properties"."id" = 1073273694 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:56.932000', 'yet_another_property', 'Yet another property', '2012-10-22 22:19:56.932000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:56.934000', NULL, 905835354, '2012-10-22 22:19:56.934000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501111, "updated_at" = '2012-10-22 22:19:56.935000' WHERE "spree_product_properties"."id" = 1073273695 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (3.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:56.943000', 'Drawings', '2012-10-22 22:19:56.943000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452023 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:56.952000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452023, '2012-10-22 22:19:56.952000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501111 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501111, 558399361) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452020 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399356 AND "spree_taxons"."taxonomy_id" = 854452020 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399356 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:56.968000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558399356, 'paintings/landscape', 0, 14, 854452020, '2012-10-22 22:19:56.968000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399356 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399362 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399362 THEN 558399356 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399356 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399362 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501111, 558399362)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501111, 558399356) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501111 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501111) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:57.000000', 935339424, 1, 1060501111, '2012-10-22 22:19:57.000000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.008000' WHERE "spree_products"."id" = 1060501111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501111, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.010000' WHERE "spree_products"."id" = 1060501111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591236, 979460595) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501111 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.024000' WHERE "spree_products"."id" = 1060501111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501111, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.026000' WHERE "spree_products"."id" = 1060501111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591237, 979460596) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501111 AND "spree_option_types"."id" = 935339424 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339424 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.047000' WHERE "spree_products"."id" = 1060501111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501111, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.050000' WHERE "spree_products"."id" = 1060501111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591238, 979460597) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:57.077000', 'print_type', 0, 'Print type', '2012-10-22 22:19:57.077000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501111 AND "spree_option_types"."id" = 935339425 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501111) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:57.084000', 935339425, 2, 1060501111, '2012-10-22 22:19:57.084000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339425 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339425) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:57.091000', 'black_white', 935339425, 1, NULL, '2012-10-22 22:19:57.091000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.129000' WHERE "spree_products"."id" = 1060501111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501111, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.132000' WHERE "spree_products"."id" = 1060501111  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591239, 979460598) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501111 AND "spree_option_types"."id" = 935339425 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339425 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339425) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:57.146000', 'colour', 935339425, 2, NULL, '2012-10-22 22:19:57.146000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.151000' WHERE "spree_products"."id" = 1060501111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501111, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.154000' WHERE "spree_products"."id" = 1060501111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591240, 979460599) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591236 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591237 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591238 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591239 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591240 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.186000' WHERE "spree_products"."id" = 1060501111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591236 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.188000' WHERE "spree_products"."id" = 1060501111 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.190000' WHERE "spree_products"."id" = 1060501111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591237 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.193000' WHERE "spree_products"."id" = 1060501111 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.195000' WHERE "spree_products"."id" = 1060501111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591238 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.196000' WHERE "spree_products"."id" = 1060501111 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.199000' WHERE "spree_products"."id" = 1060501111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591239 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.206000' WHERE "spree_products"."id" = 1060501111 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501111 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.209000' WHERE "spree_products"."id" = 1060501111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591240 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:57.213000' WHERE "spree_products"."id" = 1060501111 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501111) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:19:57.217000' WHERE "spree_products"."id" = 1060501111 Row org.apache.poi.hssf.usermodel.HSSFRow@db0561 succesfully SAVED : ID 1060501111 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501109 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501111 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501111 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (29.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (24.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (23.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (21.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (34.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:57.943000', 'Paintings', '2012-10-22 22:19:57.943000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452024 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:57.957000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452024, '2012-10-22 22:19:57.957000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:57.981000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452024, '2012-10-22 22:19:57.981000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:19:58.016000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:58.016000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.055000' WHERE "spree_products"."id" = 1060501112 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501112, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.059000' WHERE "spree_products"."id" = 1060501112  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591241 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.067000' WHERE "spree_products"."id" = 1060501112  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501112  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.081000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:19:58.081000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:58.085000', NULL, 905835355, '2012-10-22 22:19:58.085000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501112, "updated_at" = '2012-10-22 22:19:58.087000' WHERE "spree_product_properties"."id" = 1073273696 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501112) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452024 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501112 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501112, 558399363) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:58.098000', 'WaterColour', '2012-10-22 22:19:58.098000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452025 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:58.103000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452025, '2012-10-22 22:19:58.103000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501112, 558399365) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501112) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501112) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.129000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:58.129000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501112 AND "spree_option_types"."id" = 935339426 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501112) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:58.144000', 935339426, 1, 1060501112, '2012-10-22 22:19:58.144000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339426) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.180000', 'jpeg', 935339426, 1, NULL, '2012-10-22 22:19:58.180000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.184000' WHERE "spree_products"."id" = 1060501112 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501112, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.187000' WHERE "spree_products"."id" = 1060501112  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591242, 979460600) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339426) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.192000', 'PDF', 935339426, 2, NULL, '2012-10-22 22:19:58.192000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.197000' WHERE "spree_products"."id" = 1060501112 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501112, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.199000' WHERE "spree_products"."id" = 1060501112  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591243, 979460601) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339426) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.204000', 'PNG', 935339426, 3, NULL, '2012-10-22 22:19:58.204000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.216000' WHERE "spree_products"."id" = 1060501112 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501112, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.219000' WHERE "spree_products"."id" = 1060501112  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591244, 979460602) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501112) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591242 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591243 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591244 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501112) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.244000' WHERE "spree_products"."id" = 1060501112  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591242 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.253000' WHERE "spree_products"."id" = 1060501112 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.256000' WHERE "spree_products"."id" = 1060501112  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591243 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.258000' WHERE "spree_products"."id" = 1060501112 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.260000' WHERE "spree_products"."id" = 1060501112  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591244 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.264000' WHERE "spree_products"."id" = 1060501112 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501112) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:19:58.267000' WHERE "spree_products"."id" = 1060501112 Row org.apache.poi.hssf.usermodel.HSSFRow@27c4b0 succesfully SAVED : ID 1060501112 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:19:58.281000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:19:58.281000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.285000' WHERE "spree_products"."id" = 1060501113 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501113, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.287000' WHERE "spree_products"."id" = 1060501113  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591245 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.289000' WHERE "spree_products"."id" = 1060501113  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501113  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.297000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:19:58.297000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:58.299000', NULL, 905835356, '2012-10-22 22:19:58.299000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501113, "updated_at" = '2012-10-22 22:19:58.300000' WHERE "spree_product_properties"."id" = 1073273697 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501113) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452024 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501113 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501113, 558399363) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:58.310000', 'Oils', '2012-10-22 22:19:58.310000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452026 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:58.316000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452026, '2012-10-22 22:19:58.316000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501113, 558399366) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452024 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399363 AND "spree_taxons"."taxonomy_id" = 854452024 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399363 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:58.349000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399363, 'paintings/nature', 0, 10, 854452024, '2012-10-22 22:19:58.349000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399363 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399367 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399367 THEN 558399363 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399363 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399367 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399367 AND "spree_taxons"."taxonomy_id" = 854452024 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399367 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:58.392000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399367, 'paintings/nature/seascape', 0, 12, 854452024, '2012-10-22 22:19:58.392000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399367 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399368 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399368 THEN 558399367 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399367 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399368 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501113, 558399367)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501113, 558399368) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501113) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501113 AND "spree_option_types"."id" = 935339426 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501113) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:58.415000', 935339426, 1, 1060501113, '2012-10-22 22:19:58.415000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.427000' WHERE "spree_products"."id" = 1060501113 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501113, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.429000' WHERE "spree_products"."id" = 1060501113  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591246, 979460600) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.440000' WHERE "spree_products"."id" = 1060501113 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501113, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.447000' WHERE "spree_products"."id" = 1060501113  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591247, 979460601) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.452000' WHERE "spree_products"."id" = 1060501113 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501113, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.454000' WHERE "spree_products"."id" = 1060501113  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591248, 979460602) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501113) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501113) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591246 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591247 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591248 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501113) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.514000' WHERE "spree_products"."id" = 1060501113  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591246 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.516000' WHERE "spree_products"."id" = 1060501113 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.519000' WHERE "spree_products"."id" = 1060501113  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591247 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.523000' WHERE "spree_products"."id" = 1060501113 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.529000' WHERE "spree_products"."id" = 1060501113  (3.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591248 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.537000' WHERE "spree_products"."id" = 1060501113 Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501113) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:19:58.542000' WHERE "spree_products"."id" = 1060501113 Row org.apache.poi.hssf.usermodel.HSSFRow@1a417e7 succesfully SAVED : ID 1060501113 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:19:58.552000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:19:58.552000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.555000' WHERE "spree_products"."id" = 1060501114 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501114, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.558000' WHERE "spree_products"."id" = 1060501114  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591249 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.563000' WHERE "spree_products"."id" = 1060501114  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501114  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.688000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:19:58.688000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:58.691000', NULL, 905835357, '2012-10-22 22:19:58.691000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501114, "updated_at" = '2012-10-22 22:19:58.694000' WHERE "spree_product_properties"."id" = 1073273698 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:58.698000', NULL, 905835356, '2012-10-22 22:19:58.698000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501114, "updated_at" = '2012-10-22 22:19:58.700000' WHERE "spree_product_properties"."id" = 1073273699 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.713000', 'yet_another_property', 'Yet another property', '2012-10-22 22:19:58.713000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:58.717000', NULL, 905835358, '2012-10-22 22:19:58.717000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501114, "updated_at" = '2012-10-22 22:19:58.719000' WHERE "spree_product_properties"."id" = 1073273700 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501114) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:58.725000', 'Drawings', '2012-10-22 22:19:58.725000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452027 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:58.729000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452027, '2012-10-22 22:19:58.729000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501114 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501114, 558399369) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452024 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399363 AND "spree_taxons"."taxonomy_id" = 854452024 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399363 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:58.742000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399363, 'paintings/landscape', 0, 16, 854452024, '2012-10-22 22:19:58.742000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399363 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399370 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399370 THEN 558399363 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399363 LIMIT 1 Spree::Taxon Load (2.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399370 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501114, 558399370)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501114, 558399363) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501114) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501114) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501114 AND "spree_option_types"."id" = 935339426 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501114) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:58.780000', 935339426, 1, 1060501114, '2012-10-22 22:19:58.780000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.785000' WHERE "spree_products"."id" = 1060501114 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501114, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.791000' WHERE "spree_products"."id" = 1060501114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591250, 979460600) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.800000' WHERE "spree_products"."id" = 1060501114 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501114, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.802000' WHERE "spree_products"."id" = 1060501114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591251, 979460601) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339426 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.811000' WHERE "spree_products"."id" = 1060501114 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501114, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.816000' WHERE "spree_products"."id" = 1060501114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591252, 979460602) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.822000', 'print_type', 0, 'Print type', '2012-10-22 22:19:58.822000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501114 AND "spree_option_types"."id" = 935339427 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501114) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:58.879000', 935339427, 2, 1060501114, '2012-10-22 22:19:58.879000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339427 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339427) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.885000', 'black_white', 935339427, 1, NULL, '2012-10-22 22:19:58.885000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.893000' WHERE "spree_products"."id" = 1060501114 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501114, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.894000' WHERE "spree_products"."id" = 1060501114  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591253, 979460603) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339427 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339427) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:58.904000', 'colour', 935339427, 2, NULL, '2012-10-22 22:19:58.904000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.909000' WHERE "spree_products"."id" = 1060501114 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501114, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.911000' WHERE "spree_products"."id" = 1060501114  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591254, 979460604) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501114) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591250 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591251 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591252 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591253 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591254 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501114) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.955000' WHERE "spree_products"."id" = 1060501114  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591250 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.958000' WHERE "spree_products"."id" = 1060501114 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.981000' WHERE "spree_products"."id" = 1060501114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591251 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.983000' WHERE "spree_products"."id" = 1060501114 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.985000' WHERE "spree_products"."id" = 1060501114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591252 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.986000' WHERE "spree_products"."id" = 1060501114 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.989000' WHERE "spree_products"."id" = 1060501114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591253 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.991000' WHERE "spree_products"."id" = 1060501114 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:58.994000' WHERE "spree_products"."id" = 1060501114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591254 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:59.001000' WHERE "spree_products"."id" = 1060501114 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501114) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:19:59.012000' WHERE "spree_products"."id" = 1060501114 Row org.apache.poi.hssf.usermodel.HSSFRow@138c9ee succesfully SAVED : ID 1060501114 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501113 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501114 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501112 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591242 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591243 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339426 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591244 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (26.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:59.268000', 'Paintings', '2012-10-22 22:19:59.268000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452028 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:59.754000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452028, '2012-10-22 22:19:59.754000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:59.831000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452028, '2012-10-22 22:19:59.831000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (29.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:19:59.865000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:19:59.865000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:59.900000' WHERE "spree_products"."id" = 1060501115 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501115, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:59.903000' WHERE "spree_products"."id" = 1060501115  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591255 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:59.908000' WHERE "spree_products"."id" = 1060501115  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501115  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:19:59.916000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:19:59.916000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:19:59.919000', NULL, 905835359, '2012-10-22 22:19:59.919000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501115, "updated_at" = '2012-10-22 22:19:59.922000' WHERE "spree_product_properties"."id" = 1073273701 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452028 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501115 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501115, 558399371) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:19:59.937000', 'WaterColour', '2012-10-22 22:19:59.937000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452029 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:19:59.941000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452029, '2012-10-22 22:19:59.941000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501115, 558399373) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:59.952000', 'mime_type', 0, 'Mime type', '2012-10-22 22:19:59.952000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501115 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501115) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:19:59.961000', 935339428, 1, 1060501115, '2012-10-22 22:19:59.961000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339428) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:19:59.967000', 'jpeg', 935339428, 1, NULL, '2012-10-22 22:19:59.967000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:19:59.998000' WHERE "spree_products"."id" = 1060501115 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501115, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.001000' WHERE "spree_products"."id" = 1060501115  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591256, 979460605) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501115 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339428) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.013000', 'PDF', 935339428, 2, NULL, '2012-10-22 22:20:00.013000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.021000' WHERE "spree_products"."id" = 1060501115 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501115, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.023000' WHERE "spree_products"."id" = 1060501115  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591257, 979460606) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501115 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339428) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.036000', 'PNG', 935339428, 3, NULL, '2012-10-22 22:20:00.036000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.041000' WHERE "spree_products"."id" = 1060501115 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501115, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.043000' WHERE "spree_products"."id" = 1060501115  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591258, 979460607) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591256 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591258 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.069000' WHERE "spree_products"."id" = 1060501115  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591256 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.071000' WHERE "spree_products"."id" = 1060501115 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.073000' WHERE "spree_products"."id" = 1060501115  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591257 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.076000' WHERE "spree_products"."id" = 1060501115 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.078000' WHERE "spree_products"."id" = 1060501115  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591258 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.080000' WHERE "spree_products"."id" = 1060501115 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501115) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:00.087000' WHERE "spree_products"."id" = 1060501115 Row org.apache.poi.hssf.usermodel.HSSFRow@1a3e776 succesfully SAVED : ID 1060501115 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:00.096000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:00.096000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.101000' WHERE "spree_products"."id" = 1060501116 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501116, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.103000' WHERE "spree_products"."id" = 1060501116  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591259 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.105000' WHERE "spree_products"."id" = 1060501116  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501116  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.111000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:00.111000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:00.113000', NULL, 905835360, '2012-10-22 22:20:00.113000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501116, "updated_at" = '2012-10-22 22:20:00.116000' WHERE "spree_product_properties"."id" = 1073273702 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452028 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501116 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501116, 558399371) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:00.135000', 'Oils', '2012-10-22 22:20:00.135000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452030 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:00.138000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452030, '2012-10-22 22:20:00.138000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501116, 558399374) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452028 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399371 AND "spree_taxons"."taxonomy_id" = 854452028 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399371 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:00.156000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399371, 'paintings/nature', 0, 10, 854452028, '2012-10-22 22:20:00.156000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399371 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399375 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399375 THEN 558399371 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399371 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399375 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399375 AND "spree_taxons"."taxonomy_id" = 854452028 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399375 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:00.183000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399375, 'paintings/nature/seascape', 0, 12, 854452028, '2012-10-22 22:20:00.183000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399375 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399376 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399376 THEN 558399375 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399375 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399376 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501116, 558399375)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501116, 558399376) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501116 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501116) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:00.208000', 935339428, 1, 1060501116, '2012-10-22 22:20:00.208000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.216000' WHERE "spree_products"."id" = 1060501116 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501116, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.218000' WHERE "spree_products"."id" = 1060501116  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591260, 979460605) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501116 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.232000' WHERE "spree_products"."id" = 1060501116 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501116, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.234000' WHERE "spree_products"."id" = 1060501116  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591261, 979460606) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501116 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.252000' WHERE "spree_products"."id" = 1060501116 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501116, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.255000' WHERE "spree_products"."id" = 1060501116  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591262, 979460607) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591260 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591261 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591262 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.292000' WHERE "spree_products"."id" = 1060501116  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591260 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.294000' WHERE "spree_products"."id" = 1060501116 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.296000' WHERE "spree_products"."id" = 1060501116  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591261 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.298000' WHERE "spree_products"."id" = 1060501116 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.300000' WHERE "spree_products"."id" = 1060501116  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591262 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.302000' WHERE "spree_products"."id" = 1060501116 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501116) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:00.308000' WHERE "spree_products"."id" = 1060501116 Row org.apache.poi.hssf.usermodel.HSSFRow@377ff6 succesfully SAVED : ID 1060501116 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:00.320000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:00.320000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.325000' WHERE "spree_products"."id" = 1060501117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501117, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.326000' WHERE "spree_products"."id" = 1060501117  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591263 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.329000' WHERE "spree_products"."id" = 1060501117  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501117  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.335000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:00.335000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:00.342000', NULL, 905835361, '2012-10-22 22:20:00.342000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501117, "updated_at" = '2012-10-22 22:20:00.345000' WHERE "spree_product_properties"."id" = 1073273703 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:00.349000', NULL, 905835360, '2012-10-22 22:20:00.349000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501117, "updated_at" = '2012-10-22 22:20:00.351000' WHERE "spree_product_properties"."id" = 1073273704 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.354000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:00.354000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:00.357000', NULL, 905835362, '2012-10-22 22:20:00.357000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501117, "updated_at" = '2012-10-22 22:20:00.361000' WHERE "spree_product_properties"."id" = 1073273705 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:00.365000', 'Drawings', '2012-10-22 22:20:00.365000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452031 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:00.371000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452031, '2012-10-22 22:20:00.371000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501117 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501117, 558399377) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452028 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399371 AND "spree_taxons"."taxonomy_id" = 854452028 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399371 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:00.387000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399371, 'paintings/landscape', 0, 16, 854452028, '2012-10-22 22:20:00.387000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399371 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399378 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399378 THEN 558399371 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399371 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399378 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501117, 558399378)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501117, 558399371) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501117 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501117) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:00.429000', 935339428, 1, 1060501117, '2012-10-22 22:20:00.429000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.433000' WHERE "spree_products"."id" = 1060501117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501117, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.436000' WHERE "spree_products"."id" = 1060501117  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591264, 979460605) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501117 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.453000' WHERE "spree_products"."id" = 1060501117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501117, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.455000' WHERE "spree_products"."id" = 1060501117  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591265, 979460606) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501117 AND "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339428 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.472000' WHERE "spree_products"."id" = 1060501117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501117, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.474000' WHERE "spree_products"."id" = 1060501117  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591266, 979460607) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.487000', 'print_type', 0, 'Print type', '2012-10-22 22:20:00.487000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501117 AND "spree_option_types"."id" = 935339429 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501117) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:00.537000', 935339429, 2, 1060501117, '2012-10-22 22:20:00.537000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339429 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339429) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.541000', 'black_white', 935339429, 1, NULL, '2012-10-22 22:20:00.541000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.546000' WHERE "spree_products"."id" = 1060501117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501117, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.548000' WHERE "spree_products"."id" = 1060501117  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591267, 979460608) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501117 AND "spree_option_types"."id" = 935339429 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339429 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339429) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.559000', 'colour', 935339429, 2, NULL, '2012-10-22 22:20:00.559000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.563000' WHERE "spree_products"."id" = 1060501117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501117, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.565000' WHERE "spree_products"."id" = 1060501117  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591268, 979460609) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591264 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591265 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591266 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591267 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591268 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.607000' WHERE "spree_products"."id" = 1060501117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591264 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.611000' WHERE "spree_products"."id" = 1060501117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.614000' WHERE "spree_products"."id" = 1060501117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591265 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.616000' WHERE "spree_products"."id" = 1060501117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.618000' WHERE "spree_products"."id" = 1060501117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591266 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.619000' WHERE "spree_products"."id" = 1060501117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.621000' WHERE "spree_products"."id" = 1060501117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591267 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.622000' WHERE "spree_products"."id" = 1060501117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.624000' WHERE "spree_products"."id" = 1060501117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591268 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.626000' WHERE "spree_products"."id" = 1060501117 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501117) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:00.630000' WHERE "spree_products"."id" = 1060501117 Row org.apache.poi.hssf.usermodel.HSSFRow@c6079f succesfully SAVED : ID 1060501117 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501116 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501117 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501115 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591256 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591257 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339428 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591258 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:00.848000', 'Paintings', '2012-10-22 22:20:00.848000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452032 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:00.854000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452032, '2012-10-22 22:20:00.854000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:00.870000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452032, '2012-10-22 22:20:00.870000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:00.922000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:00.922000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.928000' WHERE "spree_products"."id" = 1060501118 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501118, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.931000' WHERE "spree_products"."id" = 1060501118  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591269 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:00.933000' WHERE "spree_products"."id" = 1060501118  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501118  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:00.963000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:00.963000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:00.966000', NULL, 905835363, '2012-10-22 22:20:00.966000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501118, "updated_at" = '2012-10-22 22:20:00.968000' WHERE "spree_product_properties"."id" = 1073273706 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452032 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501118 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501118, 558399379) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:00.989000', 'WaterColour', '2012-10-22 22:20:00.989000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452033 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.022000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452033, '2012-10-22 22:20:01.022000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501118, 558399381) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.078000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:01.078000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501118 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501118) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:01.088000', 935339430, 1, 1060501118, '2012-10-22 22:20:01.088000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339430) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.092000', 'jpeg', 935339430, 1, NULL, '2012-10-22 22:20:01.092000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.101000' WHERE "spree_products"."id" = 1060501118 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501118, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.129000' WHERE "spree_products"."id" = 1060501118  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591270, 979460610) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501118 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339430) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.140000', 'PDF', 935339430, 2, NULL, '2012-10-22 22:20:01.140000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.145000' WHERE "spree_products"."id" = 1060501118 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501118, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.152000' WHERE "spree_products"."id" = 1060501118  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591271, 979460611) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501118 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339430) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.179000', 'PNG', 935339430, 3, NULL, '2012-10-22 22:20:01.179000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.185000' WHERE "spree_products"."id" = 1060501118 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501118, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.187000' WHERE "spree_products"."id" = 1060501118  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591272, 979460612) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591270 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591271 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591272 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.228000' WHERE "spree_products"."id" = 1060501118  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591270 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.230000' WHERE "spree_products"."id" = 1060501118 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.232000' WHERE "spree_products"."id" = 1060501118  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591271 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.236000' WHERE "spree_products"."id" = 1060501118 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.237000' WHERE "spree_products"."id" = 1060501118  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591272 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.239000' WHERE "spree_products"."id" = 1060501118 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501118) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:01.243000' WHERE "spree_products"."id" = 1060501118 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:01.251000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:01.251000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.254000' WHERE "spree_products"."id" = 1060501119 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501119, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.255000' WHERE "spree_products"."id" = 1060501119  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591273 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.258000' WHERE "spree_products"."id" = 1060501119  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501119  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.267000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:01.267000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:01.271000', NULL, 905835364, '2012-10-22 22:20:01.271000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501119, "updated_at" = '2012-10-22 22:20:01.275000' WHERE "spree_product_properties"."id" = 1073273707 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452032 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501119 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501119, 558399379) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:01.295000', 'Oils', '2012-10-22 22:20:01.295000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452034 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.298000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452034, '2012-10-22 22:20:01.298000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501119, 558399382) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452032 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399379 AND "spree_taxons"."taxonomy_id" = 854452032 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399379 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.309000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399379, 'paintings/nature', 0, 10, 854452032, '2012-10-22 22:20:01.309000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399379 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399383 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399383 THEN 558399379 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399379 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399383 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399383 AND "spree_taxons"."taxonomy_id" = 854452032 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399383 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.319000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399383, 'paintings/nature/seascape', 0, 12, 854452032, '2012-10-22 22:20:01.319000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399383 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399384 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399384 THEN 558399383 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399383 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399384 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501119, 558399383)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501119, 558399384) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501119 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501119) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:01.347000', 935339430, 1, 1060501119, '2012-10-22 22:20:01.347000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.352000' WHERE "spree_products"."id" = 1060501119 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501119, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.356000' WHERE "spree_products"."id" = 1060501119  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591274, 979460610) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501119 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.376000' WHERE "spree_products"."id" = 1060501119 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501119, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.378000' WHERE "spree_products"."id" = 1060501119  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591275, 979460611) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501119 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.399000' WHERE "spree_products"."id" = 1060501119 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501119, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.401000' WHERE "spree_products"."id" = 1060501119  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591276, 979460612) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591274 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591275 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591276 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.441000' WHERE "spree_products"."id" = 1060501119  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591274 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.443000' WHERE "spree_products"."id" = 1060501119 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.447000' WHERE "spree_products"."id" = 1060501119  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591275 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.449000' WHERE "spree_products"."id" = 1060501119 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.457000' WHERE "spree_products"."id" = 1060501119  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591276 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.459000' WHERE "spree_products"."id" = 1060501119 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501119) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:01.463000' WHERE "spree_products"."id" = 1060501119 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:01.470000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:01.470000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.475000' WHERE "spree_products"."id" = 1060501120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501120, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.477000' WHERE "spree_products"."id" = 1060501120  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591277 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.479000' WHERE "spree_products"."id" = 1060501120  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501120  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.487000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:01.487000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:01.490000', NULL, 905835365, '2012-10-22 22:20:01.490000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501120, "updated_at" = '2012-10-22 22:20:01.493000' WHERE "spree_product_properties"."id" = 1073273708 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:01.498000', NULL, 905835364, '2012-10-22 22:20:01.498000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501120, "updated_at" = '2012-10-22 22:20:01.499000' WHERE "spree_product_properties"."id" = 1073273709 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.504000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:01.504000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:01.505000', NULL, 905835366, '2012-10-22 22:20:01.505000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501120, "updated_at" = '2012-10-22 22:20:01.520000' WHERE "spree_product_properties"."id" = 1073273710 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:01.525000', 'Drawings', '2012-10-22 22:20:01.525000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452035 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.528000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452035, '2012-10-22 22:20:01.528000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501120 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501120, 558399385) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452032 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399379 AND "spree_taxons"."taxonomy_id" = 854452032 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399379 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.548000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399379, 'paintings/landscape', 0, 16, 854452032, '2012-10-22 22:20:01.548000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399379 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399386 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399386 THEN 558399379 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399379 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399386 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501120, 558399386)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501120, 558399379) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501120 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501120) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:01.580000', 935339430, 1, 1060501120, '2012-10-22 22:20:01.580000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.584000' WHERE "spree_products"."id" = 1060501120 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501120, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.586000' WHERE "spree_products"."id" = 1060501120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591278, 979460610) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501120 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.600000' WHERE "spree_products"."id" = 1060501120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501120, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.602000' WHERE "spree_products"."id" = 1060501120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591279, 979460611) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501120 AND "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339430 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.621000' WHERE "spree_products"."id" = 1060501120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501120, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.623000' WHERE "spree_products"."id" = 1060501120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591280, 979460612) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.634000', 'print_type', 0, 'Print type', '2012-10-22 22:20:01.634000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501120 AND "spree_option_types"."id" = 935339431 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501120) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:01.641000', 935339431, 2, 1060501120, '2012-10-22 22:20:01.641000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339431 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339431) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.652000', 'black_white', 935339431, 1, NULL, '2012-10-22 22:20:01.652000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.658000' WHERE "spree_products"."id" = 1060501120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501120, 'DEMO_003_4', NULL, NULL) SQL (21.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.660000' WHERE "spree_products"."id" = 1060501120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591281, 979460613) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501120 AND "spree_option_types"."id" = 935339431 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339431 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339431) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.691000', 'colour', 935339431, 2, NULL, '2012-10-22 22:20:01.691000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.711000' WHERE "spree_products"."id" = 1060501120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501120, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.714000' WHERE "spree_products"."id" = 1060501120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591282, 979460614) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591278 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591279 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591280 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591281 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591282 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.741000' WHERE "spree_products"."id" = 1060501120  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591278 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.744000' WHERE "spree_products"."id" = 1060501120 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.747000' WHERE "spree_products"."id" = 1060501120  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591279 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.749000' WHERE "spree_products"."id" = 1060501120 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.750000' WHERE "spree_products"."id" = 1060501120  (2.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591280 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.755000' WHERE "spree_products"."id" = 1060501120 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.759000' WHERE "spree_products"."id" = 1060501120  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591281 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.761000' WHERE "spree_products"."id" = 1060501120 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.763000' WHERE "spree_products"."id" = 1060501120  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591282 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.765000' WHERE "spree_products"."id" = 1060501120 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501120) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:01.768000' WHERE "spree_products"."id" = 1060501120  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501119 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501118 ORDER BY spree_option_types.position Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591270 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591271 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339430 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591272 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:01.878000', 'Paintings', '2012-10-22 22:20:01.878000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452036 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.883000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452036, '2012-10-22 22:20:01.883000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:01.891000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452036, '2012-10-22 22:20:01.891000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:01.927000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:01.927000') Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.936000' WHERE "spree_products"."id" = 1060501121 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501121, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.962000' WHERE "spree_products"."id" = 1060501121  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591283 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:01.967000' WHERE "spree_products"."id" = 1060501121  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501121  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.974000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:01.974000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501121 AND "spree_option_types"."id" = 935339432 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501121) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:01.980000', 935339432, 1, 1060501121, '2012-10-22 22:20:01.980000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.985000', 'print_type', 0, 'Print type', '2012-10-22 22:20:01.985000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501121 AND "spree_option_types"."id" = 935339433 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501121) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:01.991000', 935339433, 2, 1060501121, '2012-10-22 22:20:01.991000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339432) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:01.994000', 'jpeg', 935339432, 1, NULL, '2012-10-22 22:20:01.994000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339433 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339433) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.018000', 'colour', 935339433, 1, NULL, '2012-10-22 22:20:02.018000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.050000' WHERE "spree_products"."id" = 1060501121 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501121, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.055000' WHERE "spree_products"."id" = 1060501121  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591284, 979460615)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591284, 979460616) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339432) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.059000', 'PDF', 935339432, 2, NULL, '2012-10-22 22:20:02.059000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339433 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.065000' WHERE "spree_products"."id" = 1060501121 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501121, 'MV_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.067000' WHERE "spree_products"."id" = 1060501121  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591285, 979460617)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591285, 979460616) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501121) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501121 AND "spree_option_types"."id" = 935339432 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339432) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.084000', 'PNG', 935339432, 3, NULL, '2012-10-22 22:20:02.084000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.087000' WHERE "spree_products"."id" = 1060501121 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501121, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.091000' WHERE "spree_products"."id" = 1060501121  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591286, 979460618) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501121) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591284 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591285 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591286 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501121) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.110000' WHERE "spree_products"."id" = 1060501121  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591284 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.111000' WHERE "spree_products"."id" = 1060501121 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.113000' WHERE "spree_products"."id" = 1060501121  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591285 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.115000' WHERE "spree_products"."id" = 1060501121 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.117000' WHERE "spree_products"."id" = 1060501121  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591286 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.118000' WHERE "spree_products"."id" = 1060501121 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501121) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:02.124000' WHERE "spree_products"."id" = 1060501121 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:02.132000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:02.132000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501122 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.135000' WHERE "spree_products"."id" = 1060501122 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501122, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.137000' WHERE "spree_products"."id" = 1060501122  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591287 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.139000' WHERE "spree_products"."id" = 1060501122  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501122  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (2.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501122 AND "spree_option_types"."id" = 935339432 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501122) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:02.159000', 935339432, 1, 1060501122, '2012-10-22 22:20:02.159000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501122 AND "spree_option_types"."id" = 935339433 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501122) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:02.169000', 935339433, 2, 1060501122, '2012-10-22 22:20:02.169000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339433 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339433) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.173000', 'black_white', 935339433, 2, NULL, '2012-10-22 22:20:02.173000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501122 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.177000' WHERE "spree_products"."id" = 1060501122 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501122, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.179000' WHERE "spree_products"."id" = 1060501122  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591288, 979460619)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591288, 979460615) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501122 LIMIT 1 Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501122) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501122 AND "spree_option_types"."id" = 935339432 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501122 AND "spree_option_types"."id" = 935339433 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339433 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501122 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.200000' WHERE "spree_products"."id" = 1060501122 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501122, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.202000' WHERE "spree_products"."id" = 1060501122  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591289, 979460619)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591289, 979460618) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501122 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501122) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591288 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591289 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501122) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501122 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.221000' WHERE "spree_products"."id" = 1060501122  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591288 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.223000' WHERE "spree_products"."id" = 1060501122 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501122 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.225000' WHERE "spree_products"."id" = 1060501122  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591289 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.227000' WHERE "spree_products"."id" = 1060501122 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501122) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-22 22:20:02.232000' WHERE "spree_products"."id" = 1060501122 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:02.248000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:02.248000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.250000' WHERE "spree_products"."id" = 1060501123 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501123, 'MV_003', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.255000' WHERE "spree_products"."id" = 1060501123  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591290 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.258000' WHERE "spree_products"."id" = 1060501123  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501123  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501123 AND "spree_option_types"."id" = 935339432 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501123) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:02.267000', 935339432, 1, 1060501123, '2012-10-22 22:20:02.267000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501123 AND "spree_option_types"."id" = 935339433 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501123) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:02.273000', 935339433, 2, 1060501123, '2012-10-22 22:20:02.273000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.277000', 'size', 0, 'Size', '2012-10-22 22:20:02.277000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501123 AND "spree_option_types"."id" = 935339434 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501123) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:02.294000', 935339434, 3, 1060501123, '2012-10-22 22:20:02.294000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339433 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339434 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339434) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.323000', 'large', 935339434, 1, NULL, '2012-10-22 22:20:02.323000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.331000' WHERE "spree_products"."id" = 1060501123 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501123, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.333000' WHERE "spree_products"."id" = 1060501123  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591291, 979460616)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591291, 979460620)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591291, 979460615) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339433 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339433) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.337000', 'sepia', 935339433, 3, NULL, '2012-10-22 22:20:02.337000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339434 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.344000' WHERE "spree_products"."id" = 1060501123 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501123, 'MV_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.347000' WHERE "spree_products"."id" = 1060501123  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591292, 979460621)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591292, 979460620)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591292, 979460615) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501123 AND "spree_option_types"."id" = 935339432 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.363000' WHERE "spree_products"."id" = 1060501123 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501123, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.365000' WHERE "spree_products"."id" = 1060501123  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591293, 979460618) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501123) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501123 AND "spree_option_types"."id" = 935339432 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339432 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.376000' WHERE "spree_products"."id" = 1060501123 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501123, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.378000' WHERE "spree_products"."id" = 1060501123  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591294, 979460617) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501123 AND "spree_option_types"."id" = 935339433 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339433 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.395000' WHERE "spree_products"."id" = 1060501123 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501123, 'MV_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.397000' WHERE "spree_products"."id" = 1060501123  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591295, 979460619) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501123 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501123) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501123) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501121 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591284 Booted Spree using version 1.1.3 SQL (9.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-22 22:20:02.760000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:02.760000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.764000' WHERE "spree_products"."id" = 1060501124 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501124, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.769000' WHERE "spree_products"."id" = 1060501124  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591296 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.780000' WHERE "spree_products"."id" = 1060501124  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501124  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.789000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:02.789000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:02.795000', NULL, 905835367, '2012-10-22 22:20:02.795000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501124, "updated_at" = '2012-10-22 22:20:02.798000' WHERE "spree_product_properties"."id" = 1073273711 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501124) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:02.804000', 'Paintings', '2012-10-22 22:20:02.804000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452037 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:02.811000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452037, '2012-10-22 22:20:02.811000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501124 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501124, 558399389) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:02.831000', 'WaterColour', '2012-10-22 22:20:02.831000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452038 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:02.835000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452038, '2012-10-22 22:20:02.835000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501124, 558399390) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501124) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.847000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:02.847000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501124 AND "spree_option_types"."id" = 935339435 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501124) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:02.855000', 935339435, 1, 1060501124, '2012-10-22 22:20:02.855000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339435) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.859000', 'jpeg', 935339435, 1, NULL, '2012-10-22 22:20:02.859000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.864000' WHERE "spree_products"."id" = 1060501124 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501124, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.867000' WHERE "spree_products"."id" = 1060501124  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591297, 979460622) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339435) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.897000', 'PDF', 935339435, 2, NULL, '2012-10-22 22:20:02.897000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.904000' WHERE "spree_products"."id" = 1060501124 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501124, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.908000' WHERE "spree_products"."id" = 1060501124  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591298, 979460623) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339435) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:02.912000', 'PNG', 935339435, 3, NULL, '2012-10-22 22:20:02.912000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.915000' WHERE "spree_products"."id" = 1060501124 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501124, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.917000' WHERE "spree_products"."id" = 1060501124  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591299, 979460624) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501124) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591297 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591298 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591299 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501124) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.934000' WHERE "spree_products"."id" = 1060501124  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591297 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.936000' WHERE "spree_products"."id" = 1060501124 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.939000' WHERE "spree_products"."id" = 1060501124  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591298 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.944000' WHERE "spree_products"."id" = 1060501124 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.946000' WHERE "spree_products"."id" = 1060501124  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591299 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:02.949000' WHERE "spree_products"."id" = 1060501124 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-22 22:20:03.037000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591296, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1227 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501124 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.728000' WHERE "spree_products"."id" = 1060501124  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501124 Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501124) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:03.770000' WHERE "spree_products"."id" = 1060501124 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-22 22:20:03.782000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:03.782000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.785000' WHERE "spree_products"."id" = 1060501125 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501125, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.788000' WHERE "spree_products"."id" = 1060501125  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591300 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.793000' WHERE "spree_products"."id" = 1060501125  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501125  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:03.799000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:03.799000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:03.802000', NULL, 905835368, '2012-10-22 22:20:03.802000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501125, "updated_at" = '2012-10-22 22:20:03.803000' WHERE "spree_product_properties"."id" = 1073273712 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501125) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452037 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501125 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501125, 558399389) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:03.810000', 'Landscape', '2012-10-22 22:20:03.810000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452039 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:03.815000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854452039, '2012-10-22 22:20:03.815000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501125, 558399391) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:03.819000', 'Oils', '2012-10-22 22:20:03.819000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452040 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:03.824000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452040, '2012-10-22 22:20:03.824000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501125, 558399392) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501125) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501125 AND "spree_option_types"."id" = 935339435 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501125) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:03.835000', 935339435, 1, 1060501125, '2012-10-22 22:20:03.835000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.839000' WHERE "spree_products"."id" = 1060501125 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501125, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.842000' WHERE "spree_products"."id" = 1060501125  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591301, 979460622) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.846000' WHERE "spree_products"."id" = 1060501125 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501125, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.848000' WHERE "spree_products"."id" = 1060501125  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591302, 979460623) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.855000' WHERE "spree_products"."id" = 1060501125 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501125, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.858000' WHERE "spree_products"."id" = 1060501125  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591303, 979460624) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501125) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591301 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591302 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591303 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501125) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.884000' WHERE "spree_products"."id" = 1060501125  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591301 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.886000' WHERE "spree_products"."id" = 1060501125 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.888000' WHERE "spree_products"."id" = 1060501125  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591302 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.890000' WHERE "spree_products"."id" = 1060501125 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.892000' WHERE "spree_products"."id" = 1060501125  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591303 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:03.894000' WHERE "spree_products"."id" = 1060501125 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-22 22:20:03.991000', 2424, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591300, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1228 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.068000' WHERE "spree_products"."id" = 1060501125  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501125 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501125) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:11.078000' WHERE "spree_products"."id" = 1060501125 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-10-22 22:20:11.087000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:11.087000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.090000' WHERE "spree_products"."id" = 1060501126 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501126, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.093000' WHERE "spree_products"."id" = 1060501126  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591304 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.096000' WHERE "spree_products"."id" = 1060501126  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501126  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:11.101000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:11.101000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:11.103000', NULL, 905835369, '2012-10-22 22:20:11.103000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501126, "updated_at" = '2012-10-22 22:20:11.106000' WHERE "spree_product_properties"."id" = 1073273713 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:11.108000', NULL, 905835368, '2012-10-22 22:20:11.108000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501126, "updated_at" = '2012-10-22 22:20:11.110000' WHERE "spree_product_properties"."id" = 1073273714 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:11.115000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:11.115000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:11.117000', NULL, 905835370, '2012-10-22 22:20:11.117000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501126, "updated_at" = '2012-10-22 22:20:11.119000' WHERE "spree_product_properties"."id" = 1073273715 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501126) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:11.123000', 'Drawings', '2012-10-22 22:20:11.123000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452041 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:11.129000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 854452041, '2012-10-22 22:20:11.129000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501126 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501126, 558399393) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501126) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501126 AND "spree_option_types"."id" = 935339435 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501126) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:11.139000', 935339435, 1, 1060501126, '2012-10-22 22:20:11.139000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.146000' WHERE "spree_products"."id" = 1060501126 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501126, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.148000' WHERE "spree_products"."id" = 1060501126  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591305, 979460622) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.154000' WHERE "spree_products"."id" = 1060501126 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501126, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.156000' WHERE "spree_products"."id" = 1060501126  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591306, 979460623) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339435 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.165000' WHERE "spree_products"."id" = 1060501126 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501126, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.171000' WHERE "spree_products"."id" = 1060501126  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591307, 979460624) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:11.175000', 'print_type', 0, 'Print type', '2012-10-22 22:20:11.175000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501126 AND "spree_option_types"."id" = 935339436 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501126) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:11.180000', 935339436, 2, 1060501126, '2012-10-22 22:20:11.180000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339436 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339436) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:11.183000', 'black_white', 935339436, 1, NULL, '2012-10-22 22:20:11.183000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.188000' WHERE "spree_products"."id" = 1060501126 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501126, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.190000' WHERE "spree_products"."id" = 1060501126  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591308, 979460625) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339436 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339436) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:11.195000', 'colour', 935339436, 2, NULL, '2012-10-22 22:20:11.195000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.199000' WHERE "spree_products"."id" = 1060501126 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501126, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.201000' WHERE "spree_products"."id" = 1060501126  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591309, 979460626) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501126) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591305 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591306 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591307 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591308 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591309 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501126) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.223000' WHERE "spree_products"."id" = 1060501126  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591305 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.225000' WHERE "spree_products"."id" = 1060501126 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.227000' WHERE "spree_products"."id" = 1060501126  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591306 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.229000' WHERE "spree_products"."id" = 1060501126 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.231000' WHERE "spree_products"."id" = 1060501126  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591307 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.232000' WHERE "spree_products"."id" = 1060501126 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.234000' WHERE "spree_products"."id" = 1060501126  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591308 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.235000' WHERE "spree_products"."id" = 1060501126 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.237000' WHERE "spree_products"."id" = 1060501126  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591309 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:11.238000' WHERE "spree_products"."id" = 1060501126 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-22 22:20:11.244000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591304, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1229 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.005000' WHERE "spree_products"."id" = 1060501126  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501126 Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501126) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:12.014000' WHERE "spree_products"."id" = 1060501126  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591296) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501124)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591296 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501124 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591296) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501124)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501125 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591300) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501125)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501126 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591304) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501126)) SQL (5.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:12.448000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:12.448000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.452000' WHERE "spree_products"."id" = 1060501127 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.479000' WHERE "spree_products"."id" = 1060501127  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591310 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.482000' WHERE "spree_products"."id" = 1060501127  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501127  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:12.496000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:12.496000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:12.502000', NULL, 905835371, '2012-10-22 22:20:12.502000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501127, "updated_at" = '2012-10-22 22:20:12.504000' WHERE "spree_product_properties"."id" = 1073273716 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:12.508000', 'Paintings', '2012-10-22 22:20:12.508000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452042 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:12.512000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452042, '2012-10-22 22:20:12.512000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501127 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501127, 558399394) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:12.523000', 'WaterColour', '2012-10-22 22:20:12.523000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452043 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:12.536000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452043, '2012-10-22 22:20:12.536000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501127, 558399395) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:12.544000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:12.544000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501127 AND "spree_option_types"."id" = 935339437 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501127) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:12.551000', 935339437, 1, 1060501127, '2012-10-22 22:20:12.551000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339437) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:12.554000', 'jpeg', 935339437, 1, NULL, '2012-10-22 22:20:12.554000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.558000' WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.559000' WHERE "spree_products"."id" = 1060501127  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591311, 979460627) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339437) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:12.562000', 'PDF', 935339437, 2, NULL, '2012-10-22 22:20:12.562000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.594000' WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.596000' WHERE "spree_products"."id" = 1060501127  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591312, 979460628) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339437) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:12.602000', 'PNG', 935339437, 3, NULL, '2012-10-22 22:20:12.602000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.606000' WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.608000' WHERE "spree_products"."id" = 1060501127  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591313, 979460629) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591311 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591312 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591313 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.631000' WHERE "spree_products"."id" = 1060501127  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591311 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.634000' WHERE "spree_products"."id" = 1060501127 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.636000' WHERE "spree_products"."id" = 1060501127  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591312 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.637000' WHERE "spree_products"."id" = 1060501127 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.639000' WHERE "spree_products"."id" = 1060501127  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591313 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:12.642000' WHERE "spree_products"."id" = 1060501127 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-22 22:20:12.647000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591310, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1230 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.374000' WHERE "spree_products"."id" = 1060501127  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501127 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:13.416000' WHERE "spree_products"."id" = 1060501127 Row org.apache.poi.hssf.usermodel.HSSFRow@16ef96 succesfully SAVED : ID 1060501127 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:13.430000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:13.430000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.433000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.435000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591314 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.437000' WHERE "spree_products"."id" = 1060501128  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501128  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:13.445000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:13.445000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:13.448000', NULL, 905835372, '2012-10-22 22:20:13.448000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501128, "updated_at" = '2012-10-22 22:20:13.451000' WHERE "spree_product_properties"."id" = 1073273717 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452042 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501128 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501128, 558399394) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:13.458000', 'Landscape', '2012-10-22 22:20:13.458000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452044 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:13.462000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854452044, '2012-10-22 22:20:13.462000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501128, 558399396) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:13.470000', 'Oils', '2012-10-22 22:20:13.470000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452045 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:13.474000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452045, '2012-10-22 22:20:13.474000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501128, 558399397) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501128 AND "spree_option_types"."id" = 935339437 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501128) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:13.489000', 935339437, 1, 1060501128, '2012-10-22 22:20:13.489000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.493000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.496000' WHERE "spree_products"."id" = 1060501128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591315, 979460627) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.500000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.504000' WHERE "spree_products"."id" = 1060501128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591316, 979460628) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.507000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.511000' WHERE "spree_products"."id" = 1060501128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591317, 979460629) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591315 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591316 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591317 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.531000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591315 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.532000' WHERE "spree_products"."id" = 1060501128 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.534000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591316 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.535000' WHERE "spree_products"."id" = 1060501128 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.537000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591317 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:13.539000' WHERE "spree_products"."id" = 1060501128 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-22 22:20:13.665000', 2424, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591314, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1231 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.558000' WHERE "spree_products"."id" = 1060501128  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501128 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:20.568000' WHERE "spree_products"."id" = 1060501128 Row org.apache.poi.hssf.usermodel.HSSFRow@1a6633f succesfully SAVED : ID 1060501128 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:20.576000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:20.576000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.580000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.581000' WHERE "spree_products"."id" = 1060501129  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591318 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.584000' WHERE "spree_products"."id" = 1060501129  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501129  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:20.591000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:20.591000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:20.593000', NULL, 905835373, '2012-10-22 22:20:20.593000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501129, "updated_at" = '2012-10-22 22:20:20.595000' WHERE "spree_product_properties"."id" = 1073273718 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:20.597000', NULL, 905835372, '2012-10-22 22:20:20.597000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501129, "updated_at" = '2012-10-22 22:20:20.600000' WHERE "spree_product_properties"."id" = 1073273719 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:20.603000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:20.603000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:20.605000', NULL, 905835374, '2012-10-22 22:20:20.605000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501129, "updated_at" = '2012-10-22 22:20:20.607000' WHERE "spree_product_properties"."id" = 1073273720 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:20.611000', 'Drawings', '2012-10-22 22:20:20.611000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452046 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:20.632000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 854452046, '2012-10-22 22:20:20.632000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501129 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501129, 558399398) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501129 AND "spree_option_types"."id" = 935339437 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501129) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:20.686000', 935339437, 1, 1060501129, '2012-10-22 22:20:20.686000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.696000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.699000' WHERE "spree_products"."id" = 1060501129  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591319, 979460627) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.707000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.712000' WHERE "spree_products"."id" = 1060501129  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591320, 979460628) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.717000' WHERE "spree_products"."id" = 1060501129 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.719000' WHERE "spree_products"."id" = 1060501129  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591321, 979460629) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:20.724000', 'print_type', 0, 'Print type', '2012-10-22 22:20:20.724000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501129 AND "spree_option_types"."id" = 935339438 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501129) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:20.731000', 935339438, 2, 1060501129, '2012-10-22 22:20:20.731000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339438 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339438) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:20.734000', 'black_white', 935339438, 1, NULL, '2012-10-22 22:20:20.734000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.739000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.742000' WHERE "spree_products"."id" = 1060501129  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591322, 979460630) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339438 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339438) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:20.745000', 'colour', 935339438, 2, NULL, '2012-10-22 22:20:20.745000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.749000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.751000' WHERE "spree_products"."id" = 1060501129  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591323, 979460631) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591319 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591320 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591321 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591322 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591323 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.770000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591319 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.773000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.780000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591320 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.781000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.783000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591321 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.784000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.786000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591322 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.788000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.790000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591323 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:20.792000' WHERE "spree_products"."id" = 1060501129 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-22 22:20:20.801000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591318, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1232 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:21.559000' WHERE "spree_products"."id" = 1060501129  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501129 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:21.603000' WHERE "spree_products"."id" = 1060501129 Row org.apache.poi.hssf.usermodel.HSSFRow@1e761b7 succesfully SAVED : ID 1060501129 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 SQL (175.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:21.932000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:21.932000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:21.936000' WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:21.940000' WHERE "spree_products"."id" = 1060501127  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591310 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:21.943000' WHERE "spree_products"."id" = 1060501127  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501127  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:21.949000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:21.949000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:21.952000', NULL, 905835371, '2012-10-22 22:20:21.952000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501127, "updated_at" = '2012-10-22 22:20:21.953000' WHERE "spree_product_properties"."id" = 1073273716 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:21.957000', 'Paintings', '2012-10-22 22:20:21.957000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452042 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:21.962000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452042, '2012-10-22 22:20:21.962000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501127 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501127, 558399394) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:21.968000', 'WaterColour', '2012-10-22 22:20:21.968000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452043 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:21.972000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452043, '2012-10-22 22:20:21.972000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501127, 558399395) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:21.980000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:21.980000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501127 AND "spree_option_types"."id" = 935339437 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501127) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:21.989000', 935339437, 1, 1060501127, '2012-10-22 22:20:21.989000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339437) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:21.998000', 'jpeg', 935339437, 1, NULL, '2012-10-22 22:20:21.998000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.002000' WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.029000' WHERE "spree_products"."id" = 1060501127  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591311, 979460627) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339437) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.032000', 'PDF', 935339437, 2, NULL, '2012-10-22 22:20:22.032000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.035000' WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.038000' WHERE "spree_products"."id" = 1060501127  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591312, 979460628) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339437) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.041000', 'PNG', 935339437, 3, NULL, '2012-10-22 22:20:22.041000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.046000' WHERE "spree_products"."id" = 1060501127 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501127, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.048000' WHERE "spree_products"."id" = 1060501127  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591313, 979460629) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591311 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591312 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591313 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.067000' WHERE "spree_products"."id" = 1060501127  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591311 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.070000' WHERE "spree_products"."id" = 1060501127 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.072000' WHERE "spree_products"."id" = 1060501127  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591312 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.074000' WHERE "spree_products"."id" = 1060501127 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.076000' WHERE "spree_products"."id" = 1060501127  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591313 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.078000' WHERE "spree_products"."id" = 1060501127 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501127) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:22.082000' WHERE "spree_products"."id" = 1060501127 Row org.apache.poi.hssf.usermodel.HSSFRow@1717494 succesfully SAVED : ID 1060501127 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:22.094000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:22.094000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.099000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.101000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591314 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.104000' WHERE "spree_products"."id" = 1060501128  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501128  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.124000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:22.124000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:22.131000', NULL, 905835372, '2012-10-22 22:20:22.131000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501128, "updated_at" = '2012-10-22 22:20:22.133000' WHERE "spree_product_properties"."id" = 1073273717 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452042 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501128 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501128, 558399394) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:22.146000', 'Oils', '2012-10-22 22:20:22.146000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452044 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:22.150000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452044, '2012-10-22 22:20:22.150000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501128, 558399396) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452042 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399394 AND "spree_taxons"."taxonomy_id" = 854452042 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399394 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:22.164000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558399394, 'paintings/nature', 0, 8, 854452042, '2012-10-22 22:20:22.164000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399394 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399397 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399397 THEN 558399394 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399394 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399397 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399397 AND "spree_taxons"."taxonomy_id" = 854452042 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399397 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:22.174000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558399397, 'paintings/nature/seascape', 0, 10, 854452042, '2012-10-22 22:20:22.174000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399397 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399398 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399398 THEN 558399397 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399397 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399398 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501128, 558399397)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501128, 558399398) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501128 AND "spree_option_types"."id" = 935339437 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501128) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:22.196000', 935339437, 1, 1060501128, '2012-10-22 22:20:22.196000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.200000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.203000' WHERE "spree_products"."id" = 1060501128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591315, 979460627) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.210000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.214000' WHERE "spree_products"."id" = 1060501128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591316, 979460628) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.223000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501128, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.225000' WHERE "spree_products"."id" = 1060501128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591317, 979460629) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591315 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591316 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591317 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.254000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591315 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.256000' WHERE "spree_products"."id" = 1060501128 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.258000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591316 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.261000' WHERE "spree_products"."id" = 1060501128 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.264000' WHERE "spree_products"."id" = 1060501128  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591317 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.265000' WHERE "spree_products"."id" = 1060501128 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501128) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:22.269000' WHERE "spree_products"."id" = 1060501128 Row org.apache.poi.hssf.usermodel.HSSFRow@1fd4b0f succesfully SAVED : ID 1060501128 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:22.277000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:22.277000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.284000' WHERE "spree_products"."id" = 1060501129 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.287000' WHERE "spree_products"."id" = 1060501129  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591318 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.290000' WHERE "spree_products"."id" = 1060501129  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501129  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.298000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:22.298000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:22.300000', NULL, 905835373, '2012-10-22 22:20:22.300000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501129, "updated_at" = '2012-10-22 22:20:22.302000' WHERE "spree_product_properties"."id" = 1073273718 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:22.307000', NULL, 905835372, '2012-10-22 22:20:22.307000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501129, "updated_at" = '2012-10-22 22:20:22.311000' WHERE "spree_product_properties"."id" = 1073273719 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.317000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:22.317000') Created New Property # SQL (2.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:22.319000', NULL, 905835374, '2012-10-22 22:20:22.319000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501129, "updated_at" = '2012-10-22 22:20:22.322000' WHERE "spree_product_properties"."id" = 1073273720 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:22.327000', 'Drawings', '2012-10-22 22:20:22.327000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452045 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:22.331000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452045, '2012-10-22 22:20:22.331000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501129 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501129, 558399399) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452042 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399394 AND "spree_taxons"."taxonomy_id" = 854452042 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399394 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:22.340000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558399394, 'paintings/landscape', 0, 14, 854452042, '2012-10-22 22:20:22.340000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399394 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399400 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399400 THEN 558399394 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399394 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399400 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501129, 558399400)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501129, 558399394) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501129 AND "spree_option_types"."id" = 935339437 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501129) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:22.354000', 935339437, 1, 1060501129, '2012-10-22 22:20:22.354000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.358000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.360000' WHERE "spree_products"."id" = 1060501129  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591319, 979460627) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.364000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.367000' WHERE "spree_products"."id" = 1060501129  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591320, 979460628) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339437 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.371000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.372000' WHERE "spree_products"."id" = 1060501129  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591321, 979460629) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.379000', 'print_type', 0, 'Print type', '2012-10-22 22:20:22.379000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501129 AND "spree_option_types"."id" = 935339438 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501129) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:22.385000', 935339438, 2, 1060501129, '2012-10-22 22:20:22.385000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339438 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339438) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.388000', 'black_white', 935339438, 1, NULL, '2012-10-22 22:20:22.388000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.394000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.396000' WHERE "spree_products"."id" = 1060501129  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591322, 979460630) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339438 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339438) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:22.400000', 'colour', 935339438, 2, NULL, '2012-10-22 22:20:22.400000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.436000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501129, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.438000' WHERE "spree_products"."id" = 1060501129  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591323, 979460631) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591319 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591320 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591321 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591322 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591323 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.460000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591319 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.462000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.464000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591320 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.465000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.471000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591321 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.472000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.475000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591322 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.476000' WHERE "spree_products"."id" = 1060501129 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.479000' WHERE "spree_products"."id" = 1060501129  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591323 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:22.480000' WHERE "spree_products"."id" = 1060501129 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501129) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:22.484000' WHERE "spree_products"."id" = 1060501129 Row org.apache.poi.hssf.usermodel.HSSFRow@17c5427 succesfully SAVED : ID 1060501129 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591318) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501129)) Excel Loader processing 70 rows Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-22 22:20:22.607000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591310, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1230 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501127 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:23.303000' WHERE "spree_products"."id" = 1060501127  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:23.311000' WHERE "spree_products"."id" = 1060501127 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501127 Row org.apache.poi.hssf.usermodel.HSSFRow@91c2c succesfully SAVED : ID 1013591310 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-22 22:20:23.410000', 2424, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591314, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1231 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501128 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:30.048000' WHERE "spree_products"."id" = 1060501128  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:30.053000' WHERE "spree_products"."id" = 1060501128 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501128 Row org.apache.poi.hssf.usermodel.HSSFRow@18b8d3b succesfully SAVED : ID 1013591314 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-22 22:20:30.062000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591318, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1232 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:30.900000' WHERE "spree_products"."id" = 1060501129  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:30.907000' WHERE "spree_products"."id" = 1060501129 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501129 Row org.apache.poi.hssf.usermodel.HSSFRow@1371ece succesfully SAVED : ID 1013591318 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = '') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501127 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591310) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501127)) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501128 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591314) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501128)) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501129 AND ("spree_variants".is_master = 't') LIMIT 1  (2.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591318) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501129)) SQL (7.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: #  (1.0ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:31.267000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:31.267000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.272000' WHERE "spree_products"."id" = 1060501130 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501130, 'DEMO_001', NULL, NULL) SQL (4.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.274000' WHERE "spree_products"."id" = 1060501130  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591324 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.280000' WHERE "spree_products"."id" = 1060501130  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501130  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.286000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:31.286000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:31.287000', NULL, 905835375, '2012-10-22 22:20:31.287000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501130, "updated_at" = '2012-10-22 22:20:31.289000' WHERE "spree_product_properties"."id" = 1073273721 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:31.293000', 'Paintings', '2012-10-22 22:20:31.293000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452046 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:31.301000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452046, '2012-10-22 22:20:31.301000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501130 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501130, 558399401) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:31.312000', 'WaterColour', '2012-10-22 22:20:31.312000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452047 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:31.320000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452047, '2012-10-22 22:20:31.320000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501130, 558399402) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.331000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:31.331000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501130 AND "spree_option_types"."id" = 935339439 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501130) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:31.338000', 935339439, 1, 1060501130, '2012-10-22 22:20:31.338000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339439) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.343000', 'jpeg', 935339439, 1, NULL, '2012-10-22 22:20:31.343000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.347000' WHERE "spree_products"."id" = 1060501130 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501130, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.349000' WHERE "spree_products"."id" = 1060501130  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591325, 979460632) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339439) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.353000', 'PDF', 935339439, 2, NULL, '2012-10-22 22:20:31.353000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.389000' WHERE "spree_products"."id" = 1060501130 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501130, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.392000' WHERE "spree_products"."id" = 1060501130  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591326, 979460633) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339439) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.409000', 'PNG', 935339439, 3, NULL, '2012-10-22 22:20:31.409000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.413000' WHERE "spree_products"."id" = 1060501130 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501130, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.418000' WHERE "spree_products"."id" = 1060501130  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591327, 979460634) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591325 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591326 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591327 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.453000' WHERE "spree_products"."id" = 1060501130  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591325 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.454000' WHERE "spree_products"."id" = 1060501130 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.456000' WHERE "spree_products"."id" = 1060501130  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591326 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.458000' WHERE "spree_products"."id" = 1060501130 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501130 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.460000' WHERE "spree_products"."id" = 1060501130  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591327 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.461000' WHERE "spree_products"."id" = 1060501130 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:31.464000' WHERE "spree_products"."id" = 1060501130 Row org.apache.poi.hssf.usermodel.HSSFRow@1171dc7 succesfully SAVED : ID 1060501130 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:31.485000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:31.485000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.489000' WHERE "spree_products"."id" = 1060501131 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501131, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.491000' WHERE "spree_products"."id" = 1060501131  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591328 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.495000' WHERE "spree_products"."id" = 1060501131  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501131  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.505000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:31.505000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:31.509000', NULL, 905835376, '2012-10-22 22:20:31.509000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501131, "updated_at" = '2012-10-22 22:20:31.512000' WHERE "spree_product_properties"."id" = 1073273722 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452046 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501131 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501131, 558399401) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:31.519000', 'Oils', '2012-10-22 22:20:31.519000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452048 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:31.523000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452048, '2012-10-22 22:20:31.523000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501131, 558399403) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452046 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399401 AND "spree_taxons"."taxonomy_id" = 854452046 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399401 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:31.537000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558399401, 'paintings/nature', 0, 8, 854452046, '2012-10-22 22:20:31.537000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399401 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399404 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399404 THEN 558399401 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399401 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399404 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399404 AND "spree_taxons"."taxonomy_id" = 854452046 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399404 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:31.554000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558399404, 'paintings/nature/seascape', 0, 10, 854452046, '2012-10-22 22:20:31.554000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399404 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399405 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399405 THEN 558399404 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399404 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399405 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501131, 558399404)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501131, 558399405) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501131 AND "spree_option_types"."id" = 935339439 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501131) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:31.568000', 935339439, 1, 1060501131, '2012-10-22 22:20:31.568000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.572000' WHERE "spree_products"."id" = 1060501131 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501131, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.574000' WHERE "spree_products"."id" = 1060501131  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591329, 979460632) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.578000' WHERE "spree_products"."id" = 1060501131 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501131, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.580000' WHERE "spree_products"."id" = 1060501131  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591330, 979460633) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.585000' WHERE "spree_products"."id" = 1060501131 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501131, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.586000' WHERE "spree_products"."id" = 1060501131  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591331, 979460634) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591329 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591330 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591331 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1  (13.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.617000' WHERE "spree_products"."id" = 1060501131  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591329 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.619000' WHERE "spree_products"."id" = 1060501131 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.621000' WHERE "spree_products"."id" = 1060501131  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591330 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.622000' WHERE "spree_products"."id" = 1060501131 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501131 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.625000' WHERE "spree_products"."id" = 1060501131  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591331 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.626000' WHERE "spree_products"."id" = 1060501131 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:31.630000' WHERE "spree_products"."id" = 1060501131 Row org.apache.poi.hssf.usermodel.HSSFRow@1641e47 succesfully SAVED : ID 1060501131 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:31.641000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:31.641000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.646000' WHERE "spree_products"."id" = 1060501132 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501132, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.648000' WHERE "spree_products"."id" = 1060501132  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591332 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.650000' WHERE "spree_products"."id" = 1060501132  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501132  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.657000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:31.657000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:31.659000', NULL, 905835377, '2012-10-22 22:20:31.659000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501132, "updated_at" = '2012-10-22 22:20:31.660000' WHERE "spree_product_properties"."id" = 1073273723 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:31.665000', NULL, 905835376, '2012-10-22 22:20:31.665000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501132, "updated_at" = '2012-10-22 22:20:31.667000' WHERE "spree_product_properties"."id" = 1073273724 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.671000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:31.671000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:31.673000', NULL, 905835378, '2012-10-22 22:20:31.673000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501132, "updated_at" = '2012-10-22 22:20:31.675000' WHERE "spree_product_properties"."id" = 1073273725 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:31.680000', 'Drawings', '2012-10-22 22:20:31.680000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452049 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:31.684000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452049, '2012-10-22 22:20:31.684000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501132 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501132, 558399406) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452046 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399401 AND "spree_taxons"."taxonomy_id" = 854452046 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399401 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:31.698000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558399401, 'paintings/landscape', 0, 14, 854452046, '2012-10-22 22:20:31.698000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399401 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399407 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399407 THEN 558399401 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399401 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399407 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501132, 558399407)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501132, 558399401) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501132 AND "spree_option_types"."id" = 935339439 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501132) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:31.712000', 935339439, 1, 1060501132, '2012-10-22 22:20:31.712000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.716000' WHERE "spree_products"."id" = 1060501132 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501132, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.718000' WHERE "spree_products"."id" = 1060501132  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591333, 979460632) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.722000' WHERE "spree_products"."id" = 1060501132 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501132, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.724000' WHERE "spree_products"."id" = 1060501132  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591334, 979460633) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339439 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.730000' WHERE "spree_products"."id" = 1060501132 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501132, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.732000' WHERE "spree_products"."id" = 1060501132  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591335, 979460634) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.736000', 'print_type', 0, 'Print type', '2012-10-22 22:20:31.736000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501132 AND "spree_option_types"."id" = 935339440 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (4.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501132) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:31.748000', 935339440, 2, 1060501132, '2012-10-22 22:20:31.748000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339440 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339440) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.752000', 'black_white', 935339440, 1, NULL, '2012-10-22 22:20:31.752000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.787000' WHERE "spree_products"."id" = 1060501132 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501132, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.790000' WHERE "spree_products"."id" = 1060501132  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591336, 979460635) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339440 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339440) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:31.793000', 'colour', 935339440, 2, NULL, '2012-10-22 22:20:31.793000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.798000' WHERE "spree_products"."id" = 1060501132 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501132, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.800000' WHERE "spree_products"."id" = 1060501132  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591337, 979460636) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591333 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591334 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591335 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591336 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591337 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.826000' WHERE "spree_products"."id" = 1060501132  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591333 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.828000' WHERE "spree_products"."id" = 1060501132 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.830000' WHERE "spree_products"."id" = 1060501132  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591334 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.831000' WHERE "spree_products"."id" = 1060501132 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.833000' WHERE "spree_products"."id" = 1060501132  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591335 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.834000' WHERE "spree_products"."id" = 1060501132 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.838000' WHERE "spree_products"."id" = 1060501132  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591336 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.840000' WHERE "spree_products"."id" = 1060501132 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501132 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.842000' WHERE "spree_products"."id" = 1060501132  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591337 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:31.844000' WHERE "spree_products"."id" = 1060501132 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:31.854000' WHERE "spree_products"."id" = 1060501132 Row org.apache.poi.hssf.usermodel.HSSFRow@1c8dd17 succesfully SAVED : ID 1060501132 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591332) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501132)) Excel Loader processing 70 rows Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (3.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-22 22:20:32.021000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591324, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1233 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (3.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-22 22:20:32.830000', 2424, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591324, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1234 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501130) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@135b322 succesfully SAVED : ID 1060501130 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-22 22:20:39.635000', 2424, 1, 'Spree::Image', NULL, NULL)  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591328, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1235 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501131) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@15faad4 succesfully SAVED : ID 1060501131 Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-22 22:20:46.639000', 240, 1, 'Spree::Image', NULL, NULL)  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591332, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1236 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501132) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@983553 succesfully SAVED : ID 1060501132 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = '') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501130 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591324) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501130)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501131 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591328) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501131)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501132 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591332) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501132)) SQL (2.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (30.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 69 rows Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (28.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:47.717000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:47.717000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (12.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.749000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'MULTI_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.764000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591338 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.767000' WHERE "spree_products"."id" = 1060501133  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501133  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:47.775000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:47.775000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:47.777000', NULL, 905835379, '2012-10-22 22:20:47.777000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501133, "updated_at" = '2012-10-22 22:20:47.779000' WHERE "spree_product_properties"."id" = 1073273726 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:47.782000', 'Paintings', '2012-10-22 22:20:47.782000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452050 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:47.787000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452050, '2012-10-22 22:20:47.787000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501133 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501133, 558399408) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:47.793000', 'WaterColour', '2012-10-22 22:20:47.793000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452051 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:47.797000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452051, '2012-10-22 22:20:47.797000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501133, 558399409) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:47.808000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:47.808000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501133 AND "spree_option_types"."id" = 935339441 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501133) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:47.817000', 935339441, 1, 1060501133, '2012-10-22 22:20:47.817000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339441) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:47.824000', 'jpeg', 935339441, 1, NULL, '2012-10-22 22:20:47.824000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.828000' WHERE "spree_products"."id" = 1060501133 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'MULTI_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.857000' WHERE "spree_products"."id" = 1060501133  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591339, 979460637) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339441) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:47.861000', 'PDF', 935339441, 2, NULL, '2012-10-22 22:20:47.861000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.866000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'MULTI_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.868000' WHERE "spree_products"."id" = 1060501133  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591340, 979460638) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339441) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:47.873000', 'PNG', 935339441, 3, NULL, '2012-10-22 22:20:47.873000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.877000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'MULTI_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.879000' WHERE "spree_products"."id" = 1060501133  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591341, 979460639) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591339 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591340 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591341 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.896000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591339 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.898000' WHERE "spree_products"."id" = 1060501133 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.900000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591340 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.902000' WHERE "spree_products"."id" = 1060501133 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.905000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591341 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:47.906000' WHERE "spree_products"."id" = 1060501133 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-22 22:20:47.912000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591338, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1237 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:48.625000' WHERE "spree_products"."id" = 1060501133  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501133 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-22 22:20:48.634000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591338, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1238 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:49.350000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501133 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-22 22:20:49.362000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591338, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1239 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.077000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501133 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:50.083000' WHERE "spree_products"."id" = 1060501133 Row org.apache.poi.hssf.usermodel.HSSFRow@1124ec6 succesfully SAVED : ID 1060501133 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (28.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:50.121000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:50.121000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.124000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'MULTI_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.127000' WHERE "spree_products"."id" = 1060501134  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591342 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.129000' WHERE "spree_products"."id" = 1060501134  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501134  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:50.138000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:50.138000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:50.141000', NULL, 905835380, '2012-10-22 22:20:50.141000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501134, "updated_at" = '2012-10-22 22:20:50.143000' WHERE "spree_product_properties"."id" = 1073273727 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452050 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501134 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501134, 558399408) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:50.151000', 'Landscape', '2012-10-22 22:20:50.151000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:50.156000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854452052, '2012-10-22 22:20:50.156000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501134, 558399410) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:50.160000', 'Oils', '2012-10-22 22:20:50.160000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452053 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:50.163000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452053, '2012-10-22 22:20:50.163000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501134, 558399411) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501134 AND "spree_option_types"."id" = 935339441 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501134) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:50.176000', 935339441, 1, 1060501134, '2012-10-22 22:20:50.176000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.180000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'MULTI_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.182000' WHERE "spree_products"."id" = 1060501134  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591343, 979460637) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.187000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'MULTI_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.190000' WHERE "spree_products"."id" = 1060501134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591344, 979460638) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.198000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'MULTI_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.201000' WHERE "spree_products"."id" = 1060501134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591345, 979460639) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591343 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591344 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591345 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.219000' WHERE "spree_products"."id" = 1060501134  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591343 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.220000' WHERE "spree_products"."id" = 1060501134 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.222000' WHERE "spree_products"."id" = 1060501134  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591344 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.226000' WHERE "spree_products"."id" = 1060501134 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.228000' WHERE "spree_products"."id" = 1060501134  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591345 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:50.230000' WHERE "spree_products"."id" = 1060501134 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-22 22:20:50.295000', 2424, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591342, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1240 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-22 22:20:56.815000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591342, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1241 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:57.497000' WHERE "spree_products"."id" = 1060501134  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:57.503000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:57.506000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501134 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:57.511000' WHERE "spree_products"."id" = 1060501134 Row org.apache.poi.hssf.usermodel.HSSFRow@55b354 succesfully SAVED : ID 1060501134 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Booted Spree using version 1.1.3 SQL (167.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:58.000000', 'Paintings', '2012-10-22 22:20:58.000000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452050 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.007000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452050, '2012-10-22 22:20:58.007000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.022000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452050, '2012-10-22 22:20:58.022000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.033000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 854452050, '2012-10-22 22:20:58.033000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (37.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:58.148000', 'Paintings', '2012-10-22 22:20:58.148000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452051 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.154000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452051, '2012-10-22 22:20:58.154000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.164000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452051, '2012-10-22 22:20:58.164000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.170000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 854452051, '2012-10-22 22:20:58.170000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452051 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452051 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452051 LIMIT 1 Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:58.436000', 'Paintings', '2012-10-22 22:20:58.436000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.442000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452052, '2012-10-22 22:20:58.442000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.454000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452052, '2012-10-22 22:20:58.454000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 558399414, "updated_at" = '2012-10-22 22:20:58.467000' WHERE "spree_taxons"."id" = 558399415 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399414 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399415 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399415 THEN 558399414 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399414 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399415 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399414 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:58.507000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:58.507000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.512000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.514000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591338 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.544000' WHERE "spree_products"."id" = 1060501133  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501133  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.553000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:58.553000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:58.555000', NULL, 905835379, '2012-10-22 22:20:58.555000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501133, "updated_at" = '2012-10-22 22:20:58.557000' WHERE "spree_product_properties"."id" = 1073273726 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501133 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501133, 558399414) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:58.573000', 'WaterColour', '2012-10-22 22:20:58.573000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452053 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.585000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452053, '2012-10-22 22:20:58.585000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501133, 558399416) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.596000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:58.596000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501133 AND "spree_option_types"."id" = 935339441 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501133) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:58.603000', 935339441, 1, 1060501133, '2012-10-22 22:20:58.603000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339441) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.607000', 'jpeg', 935339441, 1, NULL, '2012-10-22 22:20:58.607000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.611000' WHERE "spree_products"."id" = 1060501133 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.613000' WHERE "spree_products"."id" = 1060501133  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591339, 979460637) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339441) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.617000', 'PDF', 935339441, 2, NULL, '2012-10-22 22:20:58.617000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.646000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.648000' WHERE "spree_products"."id" = 1060501133  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591340, 979460638) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339441) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.653000', 'PNG', 935339441, 3, NULL, '2012-10-22 22:20:58.653000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.656000' WHERE "spree_products"."id" = 1060501133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501133, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.662000' WHERE "spree_products"."id" = 1060501133  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591341, 979460639) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591339 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591340 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591341 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.692000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591339 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.694000' WHERE "spree_products"."id" = 1060501133 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.696000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591340 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.697000' WHERE "spree_products"."id" = 1060501133 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.699000' WHERE "spree_products"."id" = 1060501133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591341 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.700000' WHERE "spree_products"."id" = 1060501133 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501133) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:58.704000' WHERE "spree_products"."id" = 1060501133 Row org.apache.poi.hssf.usermodel.HSSFRow@2d66b2 succesfully SAVED : ID 1060501133 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:58.711000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:58.711000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.714000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.717000' WHERE "spree_products"."id" = 1060501134  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591342 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.719000' WHERE "spree_products"."id" = 1060501134  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501134  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.724000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:58.724000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:58.726000', NULL, 905835380, '2012-10-22 22:20:58.726000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501134, "updated_at" = '2012-10-22 22:20:58.727000' WHERE "spree_product_properties"."id" = 1073273727 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501134 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501134, 558399414) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:58.734000', 'Oils', '2012-10-22 22:20:58.734000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452054 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.738000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452054, '2012-10-22 22:20:58.738000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501134, 558399417) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399414 AND "spree_taxons"."taxonomy_id" = 854452052 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399414 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.746000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399414, 'paintings/nature', 0, 10, 854452052, '2012-10-22 22:20:58.746000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399414 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399418 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399418 THEN 558399414 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399414 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399418 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399418 AND "spree_taxons"."taxonomy_id" = 854452052 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399418 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.762000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399418, 'paintings/nature/seascape', 0, 12, 854452052, '2012-10-22 22:20:58.762000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399418 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399419 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399419 THEN 558399418 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399418 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399419 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501134, 558399418)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501134, 558399419) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501134 AND "spree_option_types"."id" = 935339441 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501134) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:58.778000', 935339441, 1, 1060501134, '2012-10-22 22:20:58.778000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.788000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.790000' WHERE "spree_products"."id" = 1060501134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591343, 979460637) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.797000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.798000' WHERE "spree_products"."id" = 1060501134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591344, 979460638) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.803000' WHERE "spree_products"."id" = 1060501134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501134, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.805000' WHERE "spree_products"."id" = 1060501134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591345, 979460639) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591343 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591344 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591345 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.821000' WHERE "spree_products"."id" = 1060501134  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591343 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.823000' WHERE "spree_products"."id" = 1060501134 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.825000' WHERE "spree_products"."id" = 1060501134  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591344 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.827000' WHERE "spree_products"."id" = 1060501134 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.829000' WHERE "spree_products"."id" = 1060501134  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591345 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.830000' WHERE "spree_products"."id" = 1060501134 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501134) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:58.833000' WHERE "spree_products"."id" = 1060501134 Row org.apache.poi.hssf.usermodel.HSSFRow@6c8a0b succesfully SAVED : ID 1060501134 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:58.842000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:58.842000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.844000' WHERE "spree_products"."id" = 1060501135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501135, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.848000' WHERE "spree_products"."id" = 1060501135  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591346 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.850000' WHERE "spree_products"."id" = 1060501135  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501135  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.861000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:58.861000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:58.866000', NULL, 905835381, '2012-10-22 22:20:58.866000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501135, "updated_at" = '2012-10-22 22:20:58.871000' WHERE "spree_product_properties"."id" = 1073273728 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:58.874000', NULL, 905835380, '2012-10-22 22:20:58.874000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501135, "updated_at" = '2012-10-22 22:20:58.875000' WHERE "spree_product_properties"."id" = 1073273729 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.878000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:58.878000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:58.880000', NULL, 905835382, '2012-10-22 22:20:58.880000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501135, "updated_at" = '2012-10-22 22:20:58.881000' WHERE "spree_product_properties"."id" = 1073273730 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501135) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:58.885000', 'Drawings', '2012-10-22 22:20:58.885000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452055 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:58.894000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452055, '2012-10-22 22:20:58.894000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501135 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501135, 558399420) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399414 AND "spree_taxons"."taxonomy_id" = 854452052 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501135, 558399415)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501135, 558399414) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501135) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501135) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501135 AND "spree_option_types"."id" = 935339441 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501135) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:58.920000', 935339441, 1, 1060501135, '2012-10-22 22:20:58.920000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.926000' WHERE "spree_products"."id" = 1060501135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501135, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.928000' WHERE "spree_products"."id" = 1060501135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591347, 979460637) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.931000' WHERE "spree_products"."id" = 1060501135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501135, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.933000' WHERE "spree_products"."id" = 1060501135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591348, 979460638) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339441 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.937000' WHERE "spree_products"."id" = 1060501135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501135, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.939000' WHERE "spree_products"."id" = 1060501135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591349, 979460639) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.943000', 'print_type', 0, 'Print type', '2012-10-22 22:20:58.943000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501135 AND "spree_option_types"."id" = 935339442 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501135) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:58.948000', 935339442, 2, 1060501135, '2012-10-22 22:20:58.948000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339442 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339442) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.951000', 'black_white', 935339442, 1, NULL, '2012-10-22 22:20:58.951000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.956000' WHERE "spree_products"."id" = 1060501135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501135, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.958000' WHERE "spree_products"."id" = 1060501135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591350, 979460640) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339442 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339442) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:58.994000', 'colour', 935339442, 2, NULL, '2012-10-22 22:20:58.994000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:58.999000' WHERE "spree_products"."id" = 1060501135 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501135, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.003000' WHERE "spree_products"."id" = 1060501135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591351, 979460641) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501135) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591347 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591348 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591349 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591350 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591351 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501135) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.029000' WHERE "spree_products"."id" = 1060501135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591347 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.031000' WHERE "spree_products"."id" = 1060501135 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.033000' WHERE "spree_products"."id" = 1060501135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591348 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.034000' WHERE "spree_products"."id" = 1060501135 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.035000' WHERE "spree_products"."id" = 1060501135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591349 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.037000' WHERE "spree_products"."id" = 1060501135 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.039000' WHERE "spree_products"."id" = 1060501135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591350 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.040000' WHERE "spree_products"."id" = 1060501135 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.042000' WHERE "spree_products"."id" = 1060501135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591351 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.043000' WHERE "spree_products"."id" = 1060501135 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501135) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:59.047000' WHERE "spree_products"."id" = 1060501135 Row org.apache.poi.hssf.usermodel.HSSFRow@1902c71 succesfully SAVED : ID 1060501135 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501133 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501133 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501134 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501134 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399414 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452052 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399418 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399418 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399419 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (26.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:59.235000', 'Paintings', '2012-10-22 22:20:59.235000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452056 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:59.244000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452056, '2012-10-22 22:20:59.244000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:59.253000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452056, '2012-10-22 22:20:59.253000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 558399421, "updated_at" = '2012-10-22 22:20:59.261000' WHERE "spree_taxons"."id" = 558399422 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399421 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399422 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399422 THEN 558399421 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399421 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399422 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399421 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:20:59.307000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:20:59.307000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.310000' WHERE "spree_products"."id" = 1060501136 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501136, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.337000' WHERE "spree_products"."id" = 1060501136  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591352 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.340000' WHERE "spree_products"."id" = 1060501136  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501136  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.346000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:20:59.346000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:59.348000', NULL, 905835383, '2012-10-22 22:20:59.348000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501136, "updated_at" = '2012-10-22 22:20:59.351000' WHERE "spree_product_properties"."id" = 1073273731 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452056 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501136 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501136, 558399421) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:59.363000', 'WaterColour', '2012-10-22 22:20:59.363000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452057 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:59.367000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452057, '2012-10-22 22:20:59.367000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501136, 558399423) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.378000', 'mime_type', 0, 'Mime type', '2012-10-22 22:20:59.378000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501136 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501136) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:59.385000', 935339443, 1, 1060501136, '2012-10-22 22:20:59.385000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339443) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.391000', 'jpeg', 935339443, 1, NULL, '2012-10-22 22:20:59.391000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.394000' WHERE "spree_products"."id" = 1060501136 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501136, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.397000' WHERE "spree_products"."id" = 1060501136  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591353, 979460642) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501136 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339443) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.432000', 'PDF', 935339443, 2, NULL, '2012-10-22 22:20:59.432000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.436000' WHERE "spree_products"."id" = 1060501136 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501136, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.438000' WHERE "spree_products"."id" = 1060501136  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591354, 979460643) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501136 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339443) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.446000', 'PNG', 935339443, 3, NULL, '2012-10-22 22:20:59.446000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.451000' WHERE "spree_products"."id" = 1060501136 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501136, 'DEMO_001_3', NULL, NULL) SQL (6.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.454000' WHERE "spree_products"."id" = 1060501136  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591355, 979460644) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591353 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591354 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591355 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.494000' WHERE "spree_products"."id" = 1060501136  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591353 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.496000' WHERE "spree_products"."id" = 1060501136 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.498000' WHERE "spree_products"."id" = 1060501136  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591354 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.500000' WHERE "spree_products"."id" = 1060501136 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.501000' WHERE "spree_products"."id" = 1060501136  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591355 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.506000' WHERE "spree_products"."id" = 1060501136 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501136) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:20:59.510000' WHERE "spree_products"."id" = 1060501136 Row org.apache.poi.hssf.usermodel.HSSFRow@38c9ca succesfully SAVED : ID 1060501136 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:20:59.519000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:20:59.519000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.522000' WHERE "spree_products"."id" = 1060501137 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501137, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.524000' WHERE "spree_products"."id" = 1060501137  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591356 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.526000' WHERE "spree_products"."id" = 1060501137  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501137  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.533000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:20:59.533000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:59.535000', NULL, 905835384, '2012-10-22 22:20:59.535000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501137, "updated_at" = '2012-10-22 22:20:59.537000' WHERE "spree_product_properties"."id" = 1073273732 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::Taxonomy Load (2.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452056 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501137 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501137, 558399421) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:59.551000', 'Oils', '2012-10-22 22:20:59.551000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452058 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:59.557000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452058, '2012-10-22 22:20:59.557000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501137, 558399424) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452056 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399421 AND "spree_taxons"."taxonomy_id" = 854452056 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399421 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:59.566000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399421, 'paintings/nature', 0, 10, 854452056, '2012-10-22 22:20:59.566000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399421 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399425 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399425 THEN 558399421 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399421 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399425 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399425 AND "spree_taxons"."taxonomy_id" = 854452056 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399425 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:59.582000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399425, 'paintings/nature/seascape', 0, 12, 854452056, '2012-10-22 22:20:59.582000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399425 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399426 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399426 THEN 558399425 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399425 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399426 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501137, 558399425)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501137, 558399426) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501137 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501137) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:59.600000', 935339443, 1, 1060501137, '2012-10-22 22:20:59.600000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.604000' WHERE "spree_products"."id" = 1060501137 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501137, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.606000' WHERE "spree_products"."id" = 1060501137  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591357, 979460642) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501137 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.618000' WHERE "spree_products"."id" = 1060501137 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501137, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.620000' WHERE "spree_products"."id" = 1060501137  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591358, 979460643) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501137 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.630000' WHERE "spree_products"."id" = 1060501137 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501137, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.633000' WHERE "spree_products"."id" = 1060501137  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591359, 979460644) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591357 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591359 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.655000' WHERE "spree_products"."id" = 1060501137  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591357 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.657000' WHERE "spree_products"."id" = 1060501137 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.660000' WHERE "spree_products"."id" = 1060501137  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591358 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.662000' WHERE "spree_products"."id" = 1060501137 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.663000' WHERE "spree_products"."id" = 1060501137  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591359 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.665000' WHERE "spree_products"."id" = 1060501137 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501137) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:20:59.669000' WHERE "spree_products"."id" = 1060501137 Row org.apache.poi.hssf.usermodel.HSSFRow@1d55b5f succesfully SAVED : ID 1060501137 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:20:59.682000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:20:59.682000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.687000' WHERE "spree_products"."id" = 1060501138 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501138, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.692000' WHERE "spree_products"."id" = 1060501138  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591360 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.701000' WHERE "spree_products"."id" = 1060501138  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501138  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.709000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:20:59.709000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:59.712000', NULL, 905835385, '2012-10-22 22:20:59.712000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501138, "updated_at" = '2012-10-22 22:20:59.714000' WHERE "spree_product_properties"."id" = 1073273733 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:59.719000', NULL, 905835384, '2012-10-22 22:20:59.719000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501138, "updated_at" = '2012-10-22 22:20:59.720000' WHERE "spree_product_properties"."id" = 1073273734 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.725000', 'yet_another_property', 'Yet another property', '2012-10-22 22:20:59.725000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:20:59.729000', NULL, 905835386, '2012-10-22 22:20:59.729000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501138, "updated_at" = '2012-10-22 22:20:59.730000' WHERE "spree_product_properties"."id" = 1073273735 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:20:59.734000', 'Drawings', '2012-10-22 22:20:59.734000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452059 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:20:59.739000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452059, '2012-10-22 22:20:59.739000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501138 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501138, 558399427) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452056 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399421 AND "spree_taxons"."taxonomy_id" = 854452056 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501138, 558399422)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501138, 558399421) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501138 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501138) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:59.774000', 935339443, 1, 1060501138, '2012-10-22 22:20:59.774000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.781000' WHERE "spree_products"."id" = 1060501138 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501138, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.782000' WHERE "spree_products"."id" = 1060501138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591361, 979460642) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501138 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.798000' WHERE "spree_products"."id" = 1060501138 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501138, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.802000' WHERE "spree_products"."id" = 1060501138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591362, 979460643) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501138 AND "spree_option_types"."id" = 935339443 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339443 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.813000' WHERE "spree_products"."id" = 1060501138 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501138, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.814000' WHERE "spree_products"."id" = 1060501138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591363, 979460644) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.822000', 'print_type', 0, 'Print type', '2012-10-22 22:20:59.822000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501138 AND "spree_option_types"."id" = 935339444 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501138) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:20:59.829000', 935339444, 2, 1060501138, '2012-10-22 22:20:59.829000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339444 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339444) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.832000', 'black_white', 935339444, 1, NULL, '2012-10-22 22:20:59.832000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.837000' WHERE "spree_products"."id" = 1060501138 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501138, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.838000' WHERE "spree_products"."id" = 1060501138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591364, 979460645) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501138 AND "spree_option_types"."id" = 935339444 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339444 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339444) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:20:59.883000', 'colour', 935339444, 2, NULL, '2012-10-22 22:20:59.883000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.888000' WHERE "spree_products"."id" = 1060501138 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501138, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.890000' WHERE "spree_products"."id" = 1060501138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591365, 979460646) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591361 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591362 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591363 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591364 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591365 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.919000' WHERE "spree_products"."id" = 1060501138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591361 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.921000' WHERE "spree_products"."id" = 1060501138 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.923000' WHERE "spree_products"."id" = 1060501138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591362 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.924000' WHERE "spree_products"."id" = 1060501138 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.926000' WHERE "spree_products"."id" = 1060501138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591363 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.927000' WHERE "spree_products"."id" = 1060501138 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.929000' WHERE "spree_products"."id" = 1060501138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591364 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.930000' WHERE "spree_products"."id" = 1060501138 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.933000' WHERE "spree_products"."id" = 1060501138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591365 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:20:59.935000' WHERE "spree_products"."id" = 1060501138 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501138) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:20:59.938000' WHERE "spree_products"."id" = 1060501138 Row org.apache.poi.hssf.usermodel.HSSFRow@1997685 succesfully SAVED : ID 1060501138 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501136 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501136 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501137 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501137 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452056 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399421 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452056 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399425 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399425 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399426 ORDER BY "lft" SQL (8.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (36.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:00.137000', 'Paintings', '2012-10-22 22:21:00.137000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452060 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:00.143000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452060, '2012-10-22 22:21:00.143000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:00.151000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452060, '2012-10-22 22:21:00.151000')  (2.0ms) UPDATE "spree_taxons" SET "parent_id" = 558399428, "updated_at" = '2012-10-22 22:21:00.158000' WHERE "spree_taxons"."id" = 558399429 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399428 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399429 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399429 THEN 558399428 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399428 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399429 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399428 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:21:00.188000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:21:00.188000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.192000' WHERE "spree_products"."id" = 1060501139 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501139, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.195000' WHERE "spree_products"."id" = 1060501139  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591366 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.197000' WHERE "spree_products"."id" = 1060501139  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501139  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.229000', 'test_pp_001', 'Test pp 001', '2012-10-22 22:21:00.229000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:21:00.231000', NULL, 905835387, '2012-10-22 22:21:00.231000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501139, "updated_at" = '2012-10-22 22:21:00.232000' WHERE "spree_product_properties"."id" = 1073273736 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452060 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501139 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501139, 558399428) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:00.250000', 'WaterColour', '2012-10-22 22:21:00.250000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452061 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:00.256000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452061, '2012-10-22 22:21:00.256000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501139, 558399430) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.281000', 'mime_type', 0, 'Mime type', '2012-10-22 22:21:00.281000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501139 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501139) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:21:00.289000', 935339445, 1, 1060501139, '2012-10-22 22:21:00.289000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339445) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.292000', 'jpeg', 935339445, 1, NULL, '2012-10-22 22:21:00.292000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.296000' WHERE "spree_products"."id" = 1060501139 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501139, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.298000' WHERE "spree_products"."id" = 1060501139  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591367, 979460647) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501139 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339445) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.333000', 'PDF', 935339445, 2, NULL, '2012-10-22 22:21:00.333000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.337000' WHERE "spree_products"."id" = 1060501139 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501139, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.339000' WHERE "spree_products"."id" = 1060501139  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591368, 979460648) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501139 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339445) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.348000', 'PNG', 935339445, 3, NULL, '2012-10-22 22:21:00.348000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.354000' WHERE "spree_products"."id" = 1060501139 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501139, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.356000' WHERE "spree_products"."id" = 1060501139  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591369, 979460649) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591367 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591369 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.393000' WHERE "spree_products"."id" = 1060501139  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591367 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.395000' WHERE "spree_products"."id" = 1060501139 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.396000' WHERE "spree_products"."id" = 1060501139  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591368 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.398000' WHERE "spree_products"."id" = 1060501139 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.399000' WHERE "spree_products"."id" = 1060501139  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591369 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.401000' WHERE "spree_products"."id" = 1060501139 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501139) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:21:00.405000' WHERE "spree_products"."id" = 1060501139 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:21:00.414000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-22 22:21:00.414000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.417000' WHERE "spree_products"."id" = 1060501140 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501140, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.419000' WHERE "spree_products"."id" = 1060501140  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591370 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.421000' WHERE "spree_products"."id" = 1060501140  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501140  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.427000', 'test_pp_003', 'Test pp 003', '2012-10-22 22:21:00.427000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:21:00.432000', NULL, 905835388, '2012-10-22 22:21:00.432000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501140, "updated_at" = '2012-10-22 22:21:00.434000' WHERE "spree_product_properties"."id" = 1073273737 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452060 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501140 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501140, 558399428) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:00.463000', 'Oils', '2012-10-22 22:21:00.463000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452062 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:00.469000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452062, '2012-10-22 22:21:00.469000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501140, 558399431) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452060 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399428 AND "spree_taxons"."taxonomy_id" = 854452060 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399428 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:00.486000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399428, 'paintings/nature', 0, 10, 854452060, '2012-10-22 22:21:00.486000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399428 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399432 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399432 THEN 558399428 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399428 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399432 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399432 AND "spree_taxons"."taxonomy_id" = 854452060 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399432 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:00.496000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558399432, 'paintings/nature/seascape', 0, 12, 854452060, '2012-10-22 22:21:00.496000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399432 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399433 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399433 THEN 558399432 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399432 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399433 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501140, 558399432)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501140, 558399433) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501140 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501140) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:21:00.511000', 935339445, 1, 1060501140, '2012-10-22 22:21:00.511000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.515000' WHERE "spree_products"."id" = 1060501140 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501140, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.517000' WHERE "spree_products"."id" = 1060501140  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591371, 979460647) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501140 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.528000' WHERE "spree_products"."id" = 1060501140 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501140, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.530000' WHERE "spree_products"."id" = 1060501140  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591372, 979460648) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501140 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.539000' WHERE "spree_products"."id" = 1060501140 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501140, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.541000' WHERE "spree_products"."id" = 1060501140  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591373, 979460649) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591371 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591372 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591373 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.576000' WHERE "spree_products"."id" = 1060501140  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591371 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.579000' WHERE "spree_products"."id" = 1060501140 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.583000' WHERE "spree_products"."id" = 1060501140  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591372 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.585000' WHERE "spree_products"."id" = 1060501140 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.587000' WHERE "spree_products"."id" = 1060501140  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591373 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.588000' WHERE "spree_products"."id" = 1060501140 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501140) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:21:00.592000' WHERE "spree_products"."id" = 1060501140 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:21:00.605000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:21:00.605000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.608000' WHERE "spree_products"."id" = 1060501141 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501141, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.610000' WHERE "spree_products"."id" = 1060501141  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591374 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.612000' WHERE "spree_products"."id" = 1060501141  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501141  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.618000', 'test_pp_002', 'Test pp 002', '2012-10-22 22:21:00.618000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:21:00.620000', NULL, 905835389, '2012-10-22 22:21:00.620000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501141, "updated_at" = '2012-10-22 22:21:00.621000' WHERE "spree_product_properties"."id" = 1073273738 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:21:00.626000', NULL, 905835388, '2012-10-22 22:21:00.626000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501141, "updated_at" = '2012-10-22 22:21:00.627000' WHERE "spree_product_properties"."id" = 1073273739 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.639000', 'yet_another_property', 'Yet another property', '2012-10-22 22:21:00.639000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-22 22:21:00.642000', NULL, 905835390, '2012-10-22 22:21:00.642000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501141, "updated_at" = '2012-10-22 22:21:00.643000' WHERE "spree_product_properties"."id" = 1073273740 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:00.646000', 'Drawings', '2012-10-22 22:21:00.646000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452063 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:00.650000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452063, '2012-10-22 22:21:00.650000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501141 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501141, 558399434) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452060 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399428 AND "spree_taxons"."taxonomy_id" = 854452060 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501141, 558399429)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501141, 558399428) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501141 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501141) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:21:00.677000', 935339445, 1, 1060501141, '2012-10-22 22:21:00.677000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.685000' WHERE "spree_products"."id" = 1060501141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501141, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.688000' WHERE "spree_products"."id" = 1060501141  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591375, 979460647) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501141 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.699000' WHERE "spree_products"."id" = 1060501141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501141, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.701000' WHERE "spree_products"."id" = 1060501141  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591376, 979460648) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501141 AND "spree_option_types"."id" = 935339445 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339445 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.714000' WHERE "spree_products"."id" = 1060501141 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501141, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.716000' WHERE "spree_products"."id" = 1060501141  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591377, 979460649) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.722000', 'print_type', 0, 'Print type', '2012-10-22 22:21:00.722000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501141 AND "spree_option_types"."id" = 935339446 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501141) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-22 22:21:00.727000', 935339446, 2, 1060501141, '2012-10-22 22:21:00.727000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339446 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339446) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.730000', 'black_white', 935339446, 1, NULL, '2012-10-22 22:21:00.730000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.735000' WHERE "spree_products"."id" = 1060501141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501141, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.737000' WHERE "spree_products"."id" = 1060501141  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591378, 979460650) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501141 AND "spree_option_types"."id" = 935339446 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339446 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339446) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-22 22:21:00.771000', 'colour', 935339446, 2, NULL, '2012-10-22 22:21:00.771000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (3.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.775000' WHERE "spree_products"."id" = 1060501141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501141, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.783000' WHERE "spree_products"."id" = 1060501141  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591379, 979460651) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591375 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591376 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591377 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591378 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591379 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.806000' WHERE "spree_products"."id" = 1060501141  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591375 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.808000' WHERE "spree_products"."id" = 1060501141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.810000' WHERE "spree_products"."id" = 1060501141  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591376 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.812000' WHERE "spree_products"."id" = 1060501141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.813000' WHERE "spree_products"."id" = 1060501141  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591377 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.815000' WHERE "spree_products"."id" = 1060501141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.816000' WHERE "spree_products"."id" = 1060501141  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591378 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.817000' WHERE "spree_products"."id" = 1060501141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.819000' WHERE "spree_products"."id" = 1060501141  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591379 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.821000' WHERE "spree_products"."id" = 1060501141 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501141) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:21:00.825000' WHERE "spree_products"."id" = 1060501141 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501139 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501139 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501140 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501140 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452060 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399428 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452060 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399432 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399432 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399433 ORDER BY "lft" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (31.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (6.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:21:00.973000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:21:00.973000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.977000' WHERE "spree_products"."id" = 1060501142 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501142, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:00.979000' WHERE "spree_products"."id" = 1060501142  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591380 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.005000' WHERE "spree_products"."id" = 1060501142  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501142 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501142 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501142  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501142 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.025000', 'Paintings', '2012-10-22 22:21:01.025000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452064 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.033000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452064, '2012-10-22 22:21:01.033000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399435 AND "spree_taxons"."taxonomy_id" = 854452064 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399435 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.039000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 558399435, 'paintings/landscape', 0, 4, 854452064, '2012-10-22 22:21:01.039000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399435 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399436 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399436 THEN 558399435 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399435 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399436 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501142 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501142, 558399436)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501142, 558399435) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501142) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.050000', 'WaterColour', '2012-10-22 22:21:01.050000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452065 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.053000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452065, '2012-10-22 22:21:01.053000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501142, 558399437) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501142) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501142) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591380 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501142) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-22 22:21:01.062000' WHERE "spree_products"."id" = 1060501142  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591380 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.068000' WHERE "spree_products"."id" = 1060501142 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501142 Row org.apache.poi.hssf.usermodel.HSSFRow@e60a39 succesfully SAVED : ID 1060501142 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:21:01.076000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-22 22:21:01.076000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501143 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.079000' WHERE "spree_products"."id" = 1060501143 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501143, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.082000' WHERE "spree_products"."id" = 1060501143  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591381 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.084000' WHERE "spree_products"."id" = 1060501143  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501143 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501143 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501143  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501143 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452064 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501143 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501143, 558399435) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501143) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.094000', 'Oils', '2012-10-22 22:21:01.094000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452066 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.097000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452066, '2012-10-22 22:21:01.097000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501143, 558399438) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501143) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452064 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399435 AND "spree_taxons"."taxonomy_id" = 854452064 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399435 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.116000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399435, 'paintings/nature', 0, 10, 854452064, '2012-10-22 22:21:01.116000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399435 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399439 THEN 558399435 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399435 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399439 AND "spree_taxons"."taxonomy_id" = 854452064 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.126000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 558399439, 'paintings/nature/landscape', 0, 12, 854452064, '2012-10-22 22:21:01.126000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399440 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399440 THEN 558399439 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399440 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501143, 558399439)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501143, 558399440) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501143) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591381 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501143) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:21:01.143000' WHERE "spree_products"."id" = 1060501143  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591381 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.150000' WHERE "spree_products"."id" = 1060501143 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501143 Row org.apache.poi.hssf.usermodel.HSSFRow@bbca6 succesfully SAVED : ID 1060501143 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:21:01.162000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:21:01.162000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.165000' WHERE "spree_products"."id" = 1060501144 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501144, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.167000' WHERE "spree_products"."id" = 1060501144  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591382 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.169000' WHERE "spree_products"."id" = 1060501144  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501144 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501144  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.178000', 'Drawings', '2012-10-22 22:21:01.178000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452067 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.182000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452067, '2012-10-22 22:21:01.182000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399441 AND "spree_taxons"."taxonomy_id" = 854452067 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399441 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.189000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399441, 'drawings/landscape', 0, 16, 854452067, '2012-10-22 22:21:01.189000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399441 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399442 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399442 THEN 558399441 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399441 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399442 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501144 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501144, 558399442)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501144, 558399441) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501144) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.200000', 'Landscape', '2012-10-22 22:21:01.200000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452068 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.204000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 854452068, '2012-10-22 22:21:01.204000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501144, 558399443) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501144) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501144) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591382 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501144) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-22 22:21:01.213000' WHERE "spree_products"."id" = 1060501144  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591382 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.216000' WHERE "spree_products"."id" = 1060501144 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501144 Row org.apache.poi.hssf.usermodel.HSSFRow@19e1f0e succesfully SAVED : ID 1060501144 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:21:01.224000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-22 22:21:01.224000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501145 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.228000' WHERE "spree_products"."id" = 1060501145 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1060501145, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.231000' WHERE "spree_products"."id" = 1060501145  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591383 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.234000' WHERE "spree_products"."id" = 1060501145  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501145 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501145  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452067 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399441 AND "spree_taxons"."taxonomy_id" = 854452067 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501145 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501145, 558399442)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501145, 558399441) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501145) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501145) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452064 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399435 AND "spree_taxons"."taxonomy_id" = 854452064 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399439 AND "spree_taxons"."taxonomy_id" = 854452064 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.250000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 558399439, 'paintings/nature/seascape', 0, 20, 854452064, '2012-10-22 22:21:01.250000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399444 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399444 THEN 558399439 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399444 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399444 AND "spree_taxons"."taxonomy_id" = 854452064 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399444 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.271000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 558399444, 'paintings/nature/seascape/cliffs', 0, 22, 854452064, '2012-10-22 22:21:01.271000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399444 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399445 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399445 THEN 558399444 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399444 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399445 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501145, 558399439)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501145, 558399444)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501145, 558399445)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501145, 558399435) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501145) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591383 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501145) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:21:01.284000' WHERE "spree_products"."id" = 1060501145  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591383 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.286000' WHERE "spree_products"."id" = 1060501145 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501145 Row org.apache.poi.hssf.usermodel.HSSFRow@15986ed succesfully SAVED : ID 1060501145 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:21:01.297000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-22 22:21:01.297000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501146 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.300000' WHERE "spree_products"."id" = 1060501146 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1060501146, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.302000' WHERE "spree_products"."id" = 1060501146  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591384 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.304000' WHERE "spree_products"."id" = 1060501146  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501146 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501146  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452067 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399441 AND "spree_taxons"."taxonomy_id" = 854452067 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399442 AND "spree_taxons"."taxonomy_id" = 854452067 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399442 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.315000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 558399442, 'drawings/landscape/bristol', 0, 24, 854452067, '2012-10-22 22:21:01.315000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399442 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399446 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399446 THEN 558399442 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399442 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399446 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501146 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501146, 558399442)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501146, 558399446)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501146, 558399441) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501146) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452066 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501146, 558399438) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501146) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501146) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591384 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501146) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:21:01.332000' WHERE "spree_products"."id" = 1060501146  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591384 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.344000' WHERE "spree_products"."id" = 1060501146 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501146 Row org.apache.poi.hssf.usermodel.HSSFRow@1cf2357 succesfully SAVED : ID 1060501146 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452064 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452065 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452066 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452067 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452068 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452064 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452064 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399435 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399435) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399439 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399439) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399439) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399435 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399439 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399444 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399445 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399444) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452067 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452067 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399442 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399442 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399446 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399446) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452066 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452066 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399438 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452068 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452068 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399443 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (31.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-22 22:21:01.542000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-22 22:21:01.542000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501147 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.550000' WHERE "spree_products"."id" = 1060501147 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501147, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.553000' WHERE "spree_products"."id" = 1060501147  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591385 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.555000' WHERE "spree_products"."id" = 1060501147  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501147 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501147  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.562000', 'Paintings', '2012-10-22 22:21:01.562000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452069 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.590000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452069, '2012-10-22 22:21:01.590000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399447 AND "spree_taxons"."taxonomy_id" = 854452069 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399447 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.596000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 558399447, 'paintings/landscape', 0, 4, 854452069, '2012-10-22 22:21:01.596000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399447 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399448 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399448 THEN 558399447 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399447 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399448 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501147 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501147, 558399448)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501147, 558399447) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501147) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.609000', 'WaterColour', '2012-10-22 22:21:01.609000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452070 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.613000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452070, '2012-10-22 22:21:01.613000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501147, 558399449) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501147) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591385 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501147) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-22 22:21:01.628000' WHERE "spree_products"."id" = 1060501147  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591385 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.630000' WHERE "spree_products"."id" = 1060501147 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501147 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-22 22:21:01.638000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-22 22:21:01.638000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501148 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.641000' WHERE "spree_products"."id" = 1060501148 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501148, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.643000' WHERE "spree_products"."id" = 1060501148  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591386 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.646000' WHERE "spree_products"."id" = 1060501148  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501148 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501148  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452069 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501148 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501148, 558399447) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501148) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.664000', 'Oils', '2012-10-22 22:21:01.664000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452071 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.670000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452071, '2012-10-22 22:21:01.670000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501148, 558399450) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501148) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452069 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399447 AND "spree_taxons"."taxonomy_id" = 854452069 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399447 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.680000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558399447, 'paintings/nature', 0, 10, 854452069, '2012-10-22 22:21:01.680000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399447 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399451 THEN 558399447 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399447 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399451 AND "spree_taxons"."taxonomy_id" = 854452069 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.690000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 558399451, 'paintings/nature/landscape', 0, 12, 854452069, '2012-10-22 22:21:01.690000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399452 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399452 THEN 558399451 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399452 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501148, 558399451)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501148, 558399452) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501148) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591386 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501148) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:21:01.703000' WHERE "spree_products"."id" = 1060501148  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591386 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.705000' WHERE "spree_products"."id" = 1060501148 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501148 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:21:01.713000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-22 22:21:01.713000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501149 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.715000' WHERE "spree_products"."id" = 1060501149 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501149, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.717000' WHERE "spree_products"."id" = 1060501149  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591387 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.720000' WHERE "spree_products"."id" = 1060501149  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501149 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501149  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.725000', 'Drawings', '2012-10-22 22:21:01.725000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452072 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.729000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452072, '2012-10-22 22:21:01.729000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399453 AND "spree_taxons"."taxonomy_id" = 854452072 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399453 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.735000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558399453, 'drawings/landscape', 0, 16, 854452072, '2012-10-22 22:21:01.735000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399453 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399454 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399454 THEN 558399453 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399453 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399454 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501149 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501149, 558399454)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501149, 558399453) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501149) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-22 22:21:01.746000', 'Landscape', '2012-10-22 22:21:01.746000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452073 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.750000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 854452073, '2012-10-22 22:21:01.750000') Product assigned to Taxons : ["Landscape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501149, 558399455) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501149) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591387 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501149) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-22 22:21:01.790000' WHERE "spree_products"."id" = 1060501149  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591387 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.792000' WHERE "spree_products"."id" = 1060501149 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501149 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:21:01.800000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-22 22:21:01.800000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501150 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.802000' WHERE "spree_products"."id" = 1060501150 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1060501150, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.804000' WHERE "spree_products"."id" = 1060501150  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591388 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.807000' WHERE "spree_products"."id" = 1060501150  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501150 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501150  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452072 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399453 AND "spree_taxons"."taxonomy_id" = 854452072 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501150 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501150, 558399454)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501150, 558399453) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501150) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452069 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399447 AND "spree_taxons"."taxonomy_id" = 854452069 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399451 AND "spree_taxons"."taxonomy_id" = 854452069 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.827000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 558399451, 'paintings/nature/seascape', 0, 20, 854452069, '2012-10-22 22:21:01.827000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399456 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399456 THEN 558399451 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399456 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399456 AND "spree_taxons"."taxonomy_id" = 854452069 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399456 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.837000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 558399456, 'paintings/nature/seascape/cliffs', 0, 22, 854452069, '2012-10-22 22:21:01.837000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399456 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399457 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399457 THEN 558399456 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399456 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399457 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501150, 558399451)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501150, 558399456)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501150, 558399457)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501150, 558399447) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501150) LIMIT 1 Spree::InventoryUnit Load (3.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591388 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501150) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:21:01.854000' WHERE "spree_products"."id" = 1060501150  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591388 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.857000' WHERE "spree_products"."id" = 1060501150 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501150 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-22 22:21:01.864000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-22 22:21:01.864000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501151 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.868000' WHERE "spree_products"."id" = 1060501151 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1060501151, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.874000' WHERE "spree_products"."id" = 1060501151  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591389 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.880000' WHERE "spree_products"."id" = 1060501151  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501151 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501151  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452072 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399453 AND "spree_taxons"."taxonomy_id" = 854452072 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399454 AND "spree_taxons"."taxonomy_id" = 854452072 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399454 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-22 22:21:01.890000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 558399454, 'drawings/landscape/bristol', 0, 24, 854452072, '2012-10-22 22:21:01.890000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399454 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399458 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399458 THEN 558399454 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399454 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399458 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501151 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501151, 558399454)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501151, 558399458)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501151, 558399453) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501151) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452071 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501151, 558399450) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501151) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591389 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501151) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:21:01.913000' WHERE "spree_products"."id" = 1060501151  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591389 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:21:01.916000' WHERE "spree_products"."id" = 1060501151 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501151  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452069 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452070 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452071 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452072 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452073 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452069 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452069 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399447 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399447) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399451 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399451) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399451) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399447 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399451 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399456 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399457 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399456) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452072 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452072 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399454 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399454 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399458 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399458) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452071 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452071 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399450 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452073 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452073 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399455 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (27.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (6.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (29.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (6.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (8.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (5.4ms) DELETE FROM "spree_zones"  (0.6ms) begin transaction SQL (118.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:01 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452074 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452074], ["updated_at", Mon, 22 Oct 2012 22:23:02 UTC +00:00]]  (10.8ms) commit transaction  (0.1ms) begin transaction  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452074], ["updated_at", Mon, 22 Oct 2012 22:23:02 UTC +00:00]]  (5.0ms) commit transaction  (0.0ms) begin transaction  (2.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452074], ["updated_at", Mon, 22 Oct 2012 22:23:02 UTC +00:00]]  (2.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (32.1ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.8ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452075 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452075], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452075], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452075], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]]  (4.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (5.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (18.2ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (3.8ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452076 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452076], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]]  (3.3ms) commit transaction  (0.4ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452076], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452076], ["updated_at", Mon, 22 Oct 2012 22:23:03 UTC +00:00]]  (6.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (1.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (5.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (57.1ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.3ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (15.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 67 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 67 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 68 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 68 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 69 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 69 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 70 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 70 Current value to assign : Current value to assign :  (2.7ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (13.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.9ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 71 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 72 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 73 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 22 Oct 2012 22:23:04 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 74  (22.0ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (21.3ms) DELETE FROM "spree_product_properties" SQL (6.0ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (5.6ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (10.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (12.1ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (45.3ms) DELETE FROM "spree_properties" SQL (39.1ms) DELETE FROM "spree_product_properties" SQL (168.9ms) DELETE FROM "spree_variants" SQL (4.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (16.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (5.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501152 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.153452' WHERE "spree_products"."id" = 1060501152 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501152], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.202873' WHERE "spree_products"."id" = 1060501152  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591390 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.220346' WHERE "spree_products"."id" = 1060501152  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (4.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501152 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501152  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591390 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501152) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::OptionType Exists (27.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501152 AND "spree_option_types"."id" = 935339447 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501152) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["option_type_id", 935339447], ["position", 1], ["product_id", 1060501152], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501152) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-22 22:23:05.764150' WHERE "spree_products"."id" = 1060501152  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591390 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.772600' WHERE "spree_products"."id" = 1060501152 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501152 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501152 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501153 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.843985' WHERE "spree_products"."id" = 1060501153 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501153], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.846394' WHERE "spree_products"."id" = 1060501153  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591391 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.848876' WHERE "spree_products"."id" = 1060501153  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501153 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501153 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501153  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501153 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591391 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501153) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501153 AND "spree_option_types"."id" = 935339447 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501153) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["option_type_id", 935339447], ["position", 1], ["product_id", 1060501153], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501153) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:23:05.874718' WHERE "spree_products"."id" = 1060501153  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591391 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.876763' WHERE "spree_products"."id" = 1060501153 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501153 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501153 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501154 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.888358' WHERE "spree_products"."id" = 1060501154 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501154], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.889857' WHERE "spree_products"."id" = 1060501154  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591392 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.891453' WHERE "spree_products"."id" = 1060501154  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501154 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501154  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591392 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501154) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501154 AND "spree_option_types"."id" = 935339447 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501154) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["option_type_id", 935339447], ["position", 1], ["product_id", 1060501154], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501154 AND "spree_option_types"."id" = 935339448 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501154) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00], ["option_type_id", 935339448], ["position", 2], ["product_id", 1060501154], ["updated_at", Mon, 22 Oct 2012 22:23:05 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501154) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-22 22:23:05.921971' WHERE "spree_products"."id" = 1060501154  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591392 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:05.924657' WHERE "spree_products"."id" = 1060501154 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501154 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501154 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (43.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-22 22:23:05.981064')  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-22 22:23:05.982128')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501152 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.9ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501152 ORDER BY spree_option_types.position  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (3.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501154 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (16.2ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (72.2ms) DELETE FROM "spree_option_types" SQL (6.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (7.6ms) DELETE FROM "spree_product_properties" SQL (10.1ms) DELETE FROM "spree_variants" SQL (21.4ms) DELETE FROM "spree_taxons" SQL (6.4ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501155 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.363236' WHERE "spree_products"."id" = 1060501155 SQL (3.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501155], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.368579' WHERE "spree_products"."id" = 1060501155  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591393 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.370470' WHERE "spree_products"."id" = 1060501155  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501155 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501155  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591393 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501155) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501155 AND "spree_option_types"."id" = 935339449 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501155) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["option_type_id", 935339449], ["position", 1], ["product_id", 1060501155], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501155) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-22 22:23:06.425005' WHERE "spree_products"."id" = 1060501155  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591393 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.428154' WHERE "spree_products"."id" = 1060501155 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501155 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501156 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.459991' WHERE "spree_products"."id" = 1060501156 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501156], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.462633' WHERE "spree_products"."id" = 1060501156  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591394 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.464473' WHERE "spree_products"."id" = 1060501156  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501156 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501156  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591394 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501156) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (3.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501156 AND "spree_option_types"."id" = 935339449 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501156) ORDER BY position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["option_type_id", 935339449], ["position", 1], ["product_id", 1060501156], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501156) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:23:06.504645' WHERE "spree_products"."id" = 1060501156  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591394 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.514798' WHERE "spree_products"."id" = 1060501156 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501156 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.538311' WHERE "spree_products"."id" = 1060501157 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501157], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.539796' WHERE "spree_products"."id" = 1060501157  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591395 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.543515' WHERE "spree_products"."id" = 1060501157  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501157 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501157  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591395 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501157) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501157 AND "spree_option_types"."id" = 935339449 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501157) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["option_type_id", 935339449], ["position", 1], ["product_id", 1060501157], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501157 AND "spree_option_types"."id" = 935339450 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501157) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["option_type_id", 935339450], ["position", 2], ["product_id", 1060501157], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501157) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-22 22:23:06.568387' WHERE "spree_products"."id" = 1060501157  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591395 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.570291' WHERE "spree_products"."id" = 1060501157 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501157  (3.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-22 22:23:06.576696')  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-22 22:23:06.577371')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501155 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (4.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501155 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501157 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (10.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (7.7ms) DELETE FROM "spree_properties" SQL (8.3ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 22 Oct 2012 23:23:06 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501158 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.949790' WHERE "spree_products"."id" = 1060501158 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501158], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.956803' WHERE "spree_products"."id" = 1060501158  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591396 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:06.963334' WHERE "spree_products"."id" = 1060501158  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501158 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501158  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (6.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::OptionType Exists (6.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501158 AND "spree_option_types"."id" = 935339451 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501158) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00], ["option_type_id", 935339451], ["position", 1], ["product_id", 1060501158], ["updated_at", Mon, 22 Oct 2012 22:23:06 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501158) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501158 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 22 Oct 2012 23:23:06 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.042199' WHERE "spree_products"."id" = 1060501159 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501159], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.043657' WHERE "spree_products"."id" = 1060501159  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591397 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.046075' WHERE "spree_products"."id" = 1060501159  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501159 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501159  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501159 AND "spree_option_types"."id" = 935339451 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501159) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["option_type_id", 935339451], ["position", 1], ["product_id", 1060501159], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Exists (1.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501159) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501159 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 22 Oct 2012 23:23:06 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501160 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.092364' WHERE "spree_products"."id" = 1060501160 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501160], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.093666' WHERE "spree_products"."id" = 1060501160  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591398 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.095695' WHERE "spree_products"."id" = 1060501160  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501160 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501160  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501160 AND "spree_option_types"."id" = 935339451 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501160) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["option_type_id", 935339451], ["position", 1], ["product_id", 1060501160], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501160 AND "spree_option_types"."id" = 935339452 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501160) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["option_type_id", 935339452], ["position", 2], ["product_id", 1060501160], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501160) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501160 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (31.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501158 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products"  SQL (6.4ms) DELETE FROM "spree_products" SQL (18.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (5.4ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501161 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.361566' WHERE "spree_products"."id" = 1060501161 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501161], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.363431' WHERE "spree_products"."id" = 1060501161  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591399 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.366346' WHERE "spree_products"."id" = 1060501161  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501161 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501161 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501161  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501161 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::OptionType Exists (2.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501161 AND "spree_option_types"."id" = 935339453 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501161) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["option_type_id", 935339453], ["position", 1], ["product_id", 1060501161], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501161) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501161 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501162 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.415494' WHERE "spree_products"."id" = 1060501162 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501162], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.416984' WHERE "spree_products"."id" = 1060501162  (0.8ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591400 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.419650' WHERE "spree_products"."id" = 1060501162  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501162 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501162 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501162  (1.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501162 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (3.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501162 AND "spree_option_types"."id" = 935339453 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501162) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["option_type_id", 935339453], ["position", 1], ["product_id", 1060501162], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501162) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501162 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501163 LIMIT 1 SQL (5.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.626316' WHERE "spree_products"."id" = 1060501163 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501163], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.633461' WHERE "spree_products"."id" = 1060501163  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591401 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:07.637976' WHERE "spree_products"."id" = 1060501163  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501163 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501163 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501163  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501163 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501163 AND "spree_option_types"."id" = 935339453 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501163) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["option_type_id", 935339453], ["position", 1], ["product_id", 1060501163], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501163 AND "spree_option_types"."id" = 935339454 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501163) ORDER BY position DESC LIMIT 1 SQL (21.9ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["option_type_id", 935339454], ["position", 2], ["product_id", 1060501163], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501163) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501163 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (13.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501161 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (4.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (20.0ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (9.9ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (1.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (1.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 22 Oct 2012 22:23:07 UTC +00:00]]  (4.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.4ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (1.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501164 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:08.003368' WHERE "spree_products"."id" = 1060501164 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501164], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:08.005574' WHERE "spree_products"."id" = 1060501164  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591402 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:08.007572' WHERE "spree_products"."id" = 1060501164  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501164  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["product_id", nil], ["property_id", 905835391], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["value", nil]]  (1.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501164, "updated_at" = '2012-10-22 22:23:08.051716' WHERE "spree_product_properties"."id" = 1073273741 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501164) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452077 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452077], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501164 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501164, 558399468) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452078 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (189.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452078], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501164, 558399469) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501164) LIMIT 1 Spree::OptionType Load (9.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501164 AND "spree_option_types"."id" = 935339455 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501164) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00], ["option_type_id", 935339455], ["position", 1], ["product_id", 1060501164], ["updated_at", Mon, 22 Oct 2012 22:23:08 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::OptionValue Load (2194.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339455) ORDER BY position DESC LIMIT 1 EXPLAIN (0.8ms) EXPLAIN QUERY PLAN SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339455) ORDER BY position DESC LIMIT 1 EXPLAIN for: SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339455) ORDER BY position DESC LIMIT 1 0|0|TABLE spree_option_values SQL (1.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339455], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501164 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.567482' WHERE "spree_products"."id" = 1060501164 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501164], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.569320' WHERE "spree_products"."id" = 1060501164  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591403, 979460652) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::OptionValue Load (2.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339455) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339455], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501164 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.595746' WHERE "spree_products"."id" = 1060501164 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501164], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.599291' WHERE "spree_products"."id" = 1060501164  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591404, 979460653) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339455) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339455], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501164 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.606265' WHERE "spree_products"."id" = 1060501164 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501164], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.607859' WHERE "spree_products"."id" = 1060501164  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591405, 979460654) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501164]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501164) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591403 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591404 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591405 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501164) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501164 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.625112' WHERE "spree_products"."id" = 1060501164  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591403 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.626471' WHERE "spree_products"."id" = 1060501164 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501164 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.627905' WHERE "spree_products"."id" = 1060501164  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591404 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.629215' WHERE "spree_products"."id" = 1060501164 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501164 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.630710' WHERE "spree_products"."id" = 1060501164  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591405 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.631854' WHERE "spree_products"."id" = 1060501164 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501164) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:12.641078' WHERE "spree_products"."id" = 1060501164 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501164 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (22.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501165 LIMIT 1 SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.678436' WHERE "spree_products"."id" = 1060501165 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501165], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.681162' WHERE "spree_products"."id" = 1060501165  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591406 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.682574' WHERE "spree_products"."id" = 1060501165  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501165  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["product_id", nil], ["property_id", 905835392], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501165, "updated_at" = '2012-10-22 22:23:12.690077' WHERE "spree_product_properties"."id" = 1073273742 Created New ProductProperty # Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501165) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452077 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (2.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501165 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501165, 558399468) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452079 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452079], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501165, 558399470) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452077 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399468 AND "spree_taxons"."taxonomy_id" = 854452077 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399468]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399468], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452077], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399468]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399471]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399471 THEN 558399468 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399468]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399471]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399471 AND "spree_taxons"."taxonomy_id" = 854452077 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399471]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399471], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452077], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399471]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399472]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399472 THEN 558399471 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399471]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399472]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501165, 558399471)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501165, 558399472) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501165) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501165 AND "spree_option_types"."id" = 935339455 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501165) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00], ["option_type_id", 935339455], ["position", 1], ["product_id", 1060501165], ["updated_at", Mon, 22 Oct 2012 22:23:12 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501165 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.807897' WHERE "spree_products"."id" = 1060501165 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501165], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.809250' WHERE "spree_products"."id" = 1060501165  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591407, 979460652) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501165 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.812284' WHERE "spree_products"."id" = 1060501165 SQL (1.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501165], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.818534' WHERE "spree_products"."id" = 1060501165  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591408, 979460653) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501165 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.822995' WHERE "spree_products"."id" = 1060501165 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501165], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.824826' WHERE "spree_products"."id" = 1060501165  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591409, 979460654) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501165]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501165) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591407 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591408 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591409 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501165) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.853191' WHERE "spree_products"."id" = 1060501165  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591407 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.854293' WHERE "spree_products"."id" = 1060501165 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501165 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.856708' WHERE "spree_products"."id" = 1060501165  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591408 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.859094' WHERE "spree_products"."id" = 1060501165 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501165 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.860408' WHERE "spree_products"."id" = 1060501165  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591409 SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:12.861602' WHERE "spree_products"."id" = 1060501165 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501165) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:13.015583' WHERE "spree_products"."id" = 1060501165 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501165 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.026226' WHERE "spree_products"."id" = 1060501166 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501166], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.027795' WHERE "spree_products"."id" = 1060501166  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591410 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.029398' WHERE "spree_products"."id" = 1060501166  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501166  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.9ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["product_id", nil], ["property_id", 905835393], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501166, "updated_at" = '2012-10-22 22:23:13.037530' WHERE "spree_product_properties"."id" = 1073273743 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["product_id", nil], ["property_id", 905835392], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501166, "updated_at" = '2012-10-22 22:23:13.041657' WHERE "spree_product_properties"."id" = 1073273744 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["product_id", nil], ["property_id", 905835394], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501166, "updated_at" = '2012-10-22 22:23:13.045901' WHERE "spree_product_properties"."id" = 1073273745 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501166) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452080 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452080], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501166 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501166, 558399473) Spree::Taxonomy Load (1.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452077 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399468 AND "spree_taxons"."taxonomy_id" = 854452077 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399468]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399468], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452077], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399468]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399474]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399474 THEN 558399468 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399468]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399474]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501166, 558399474)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501166, 558399468) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501166) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501166 AND "spree_option_types"."id" = 935339455 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501166) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["option_type_id", 935339455], ["position", 1], ["product_id", 1060501166], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.091949' WHERE "spree_products"."id" = 1060501166 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501166], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.093786' WHERE "spree_products"."id" = 1060501166  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591411, 979460652) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.097459' WHERE "spree_products"."id" = 1060501166 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501166], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.105482' WHERE "spree_products"."id" = 1060501166  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591412, 979460653) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339455 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.111081' WHERE "spree_products"."id" = 1060501166 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501166], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.112787' WHERE "spree_products"."id" = 1060501166  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591413, 979460654) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501166]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501166 AND "spree_option_types"."id" = 935339456 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501166) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["option_type_id", 935339456], ["position", 2], ["product_id", 1060501166], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339456 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339456) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339456], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.132982' WHERE "spree_products"."id" = 1060501166 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501166], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.135140' WHERE "spree_products"."id" = 1060501166  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591414, 979460655) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339456 LIMIT 1 Spree::OptionValue Load (18.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339456) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "colour"], ["option_type_id", 935339456], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.159274' WHERE "spree_products"."id" = 1060501166 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501166], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.160809' WHERE "spree_products"."id" = 1060501166  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591415, 979460656) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501166]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501166) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591411 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591412 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591413 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591414 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591415 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501166) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.181872' WHERE "spree_products"."id" = 1060501166  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591411 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.184490' WHERE "spree_products"."id" = 1060501166 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.185893' WHERE "spree_products"."id" = 1060501166  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591412 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.187023' WHERE "spree_products"."id" = 1060501166 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.188220' WHERE "spree_products"."id" = 1060501166  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.189347' WHERE "spree_products"."id" = 1060501166 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.190677' WHERE "spree_products"."id" = 1060501166  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591414 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.191520' WHERE "spree_products"."id" = 1060501166 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501166 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.193344' WHERE "spree_products"."id" = 1060501166  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591415 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.195124' WHERE "spree_products"."id" = 1060501166 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501166) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:13.198090' WHERE "spree_products"."id" = 1060501166 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501166 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (175.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501164 Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501166 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501166 SQL (12.6ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (20.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.5ms) begin transaction SQL (55.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501167 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.617342' WHERE "spree_products"."id" = 1060501167 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501167], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.619196' WHERE "spree_products"."id" = 1060501167  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591416 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.621137' WHERE "spree_products"."id" = 1060501167  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501167  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["product_id", nil], ["property_id", 905835395], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501167, "updated_at" = '2012-10-22 22:23:13.628401' WHERE "spree_product_properties"."id" = 1073273746 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452081 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452081], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501167 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501167, 558399475) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452082 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452082], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501167, 558399476) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501167 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501167) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["option_type_id", 935339457], ["position", 1], ["product_id", 1060501167], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339457) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339457], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501167 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.669218' WHERE "spree_products"."id" = 1060501167 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501167], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.670896' WHERE "spree_products"."id" = 1060501167  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591417, 979460657) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501167]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501167 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339457) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339457], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501167 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.699204' WHERE "spree_products"."id" = 1060501167 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501167], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.701038' WHERE "spree_products"."id" = 1060501167  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591418, 979460658) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501167]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501167 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339457) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339457], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]]  (89.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501167 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.809084' WHERE "spree_products"."id" = 1060501167 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501167], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.811178' WHERE "spree_products"."id" = 1060501167  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591419, 979460659) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501167]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591417 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591418 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591419 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501167 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.834350' WHERE "spree_products"."id" = 1060501167  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.835684' WHERE "spree_products"."id" = 1060501167 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501167 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.836991' WHERE "spree_products"."id" = 1060501167  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591418 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.837978' WHERE "spree_products"."id" = 1060501167 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501167 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.839196' WHERE "spree_products"."id" = 1060501167  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591419 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.840325' WHERE "spree_products"."id" = 1060501167 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501167) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:13.843497' WHERE "spree_products"."id" = 1060501167 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501167 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501168 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.852448' WHERE "spree_products"."id" = 1060501168 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501168], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.853774' WHERE "spree_products"."id" = 1060501168  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.855370' WHERE "spree_products"."id" = 1060501168  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501168  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["product_id", nil], ["property_id", 905835396], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501168, "updated_at" = '2012-10-22 22:23:13.862109' WHERE "spree_product_properties"."id" = 1073273747 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452081 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501168 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501168, 558399475) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452083 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452083], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501168, 558399477) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452081 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399475 AND "spree_taxons"."taxonomy_id" = 854452081 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399475]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399475], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452081], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399475]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399478]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399478 THEN 558399475 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399475]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399478]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399478 AND "spree_taxons"."taxonomy_id" = 854452081 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399478]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399478], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452081], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399478]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399479]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399479 THEN 558399478 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399478]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399479]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501168, 558399478)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501168, 558399479) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501168 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501168) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00], ["option_type_id", 935339457], ["position", 1], ["product_id", 1060501168], ["updated_at", Mon, 22 Oct 2012 22:23:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501168 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.991806' WHERE "spree_products"."id" = 1060501168 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501168], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:13.993188' WHERE "spree_products"."id" = 1060501168  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591421, 979460657) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501168]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501168 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501168 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.001914' WHERE "spree_products"."id" = 1060501168 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501168], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.003241' WHERE "spree_products"."id" = 1060501168  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591422, 979460658) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501168]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501168 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501168 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.011209' WHERE "spree_products"."id" = 1060501168 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501168], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.012555' WHERE "spree_products"."id" = 1060501168  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591423, 979460659) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501168]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591421 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591422 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591423 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501168 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.086491' WHERE "spree_products"."id" = 1060501168  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.087690' WHERE "spree_products"."id" = 1060501168 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501168 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.088944' WHERE "spree_products"."id" = 1060501168  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.089985' WHERE "spree_products"."id" = 1060501168 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501168 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.091253' WHERE "spree_products"."id" = 1060501168  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.092282' WHERE "spree_products"."id" = 1060501168 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501168) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:14.095305' WHERE "spree_products"."id" = 1060501168 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501168 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.104211' WHERE "spree_products"."id" = 1060501169 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501169], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.105832' WHERE "spree_products"."id" = 1060501169  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591424 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.107221' WHERE "spree_products"."id" = 1060501169  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501169  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["product_id", nil], ["property_id", 905835397], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501169, "updated_at" = '2012-10-22 22:23:14.114341' WHERE "spree_product_properties"."id" = 1073273748 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["product_id", nil], ["property_id", 905835396], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501169, "updated_at" = '2012-10-22 22:23:14.117941' WHERE "spree_product_properties"."id" = 1073273749 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["product_id", nil], ["property_id", 905835398], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501169, "updated_at" = '2012-10-22 22:23:14.123050' WHERE "spree_product_properties"."id" = 1073273750 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452084 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452084], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501169 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501169, 558399480) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452081 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399475 AND "spree_taxons"."taxonomy_id" = 854452081 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399475]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399475], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452081], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399475]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399481]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399481 THEN 558399475 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399475]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399481]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501169, 558399481)  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501169, 558399475) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501169 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501169) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["option_type_id", 935339457], ["position", 1], ["product_id", 1060501169], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.156847' WHERE "spree_products"."id" = 1060501169 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501169], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.158380' WHERE "spree_products"."id" = 1060501169  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591425, 979460657) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501169]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501169 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.167230' WHERE "spree_products"."id" = 1060501169 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501169], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.168636' WHERE "spree_products"."id" = 1060501169  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591426, 979460658) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501169]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501169 AND "spree_option_types"."id" = 935339457 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339457 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.176717' WHERE "spree_products"."id" = 1060501169 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501169], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.178000' WHERE "spree_products"."id" = 1060501169  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591427, 979460659) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501169]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501169 AND "spree_option_types"."id" = 935339458 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501169) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["option_type_id", 935339458], ["position", 2], ["product_id", 1060501169], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339458 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339458) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339458], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.192521' WHERE "spree_products"."id" = 1060501169 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501169], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.194424' WHERE "spree_products"."id" = 1060501169  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591428, 979460660) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501169]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501169 AND "spree_option_types"."id" = 935339458 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339458 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339458) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["name", "colour"], ["option_type_id", 935339458], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (2.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.224443' WHERE "spree_products"."id" = 1060501169 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501169], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.226293' WHERE "spree_products"."id" = 1060501169  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591429, 979460661) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501169]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591425 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591426 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591427 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591428 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591429 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.244443' WHERE "spree_products"."id" = 1060501169  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591425 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.245929' WHERE "spree_products"."id" = 1060501169 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.247384' WHERE "spree_products"."id" = 1060501169  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591426 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.248540' WHERE "spree_products"."id" = 1060501169 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.249923' WHERE "spree_products"."id" = 1060501169  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591427 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.251315' WHERE "spree_products"."id" = 1060501169 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.253406' WHERE "spree_products"."id" = 1060501169  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591428 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.254535' WHERE "spree_products"."id" = 1060501169 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.255915' WHERE "spree_products"."id" = 1060501169  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591429 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:14.256937' WHERE "spree_products"."id" = 1060501169 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501169) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:14.259978' WHERE "spree_products"."id" = 1060501169 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501169 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501167 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501169 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.2ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501169 SQL (3.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (18.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (5.2ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (19.8ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (21.0ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (23.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.4ms) DELETE FROM "spree_products" SQL (1.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (19.8ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (147.3ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (1.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452085 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452085], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]]  (5.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452085], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501170 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.007284' WHERE "spree_products"."id" = 1060501170 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501170], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.009429' WHERE "spree_products"."id" = 1060501170  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591430 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.012259' WHERE "spree_products"."id" = 1060501170  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501170  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["product_id", nil], ["property_id", 905835399], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501170, "updated_at" = '2012-10-22 22:23:15.030502' WHERE "spree_product_properties"."id" = 1073273751 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501170) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452085 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501170 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501170, 558399482) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452086 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452086], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501170, 558399484) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501170) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501170 AND "spree_option_types"."id" = 935339459 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501170) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["option_type_id", 935339459], ["position", 1], ["product_id", 1060501170], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339459) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339459], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501170 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.067419' WHERE "spree_products"."id" = 1060501170 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501170], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.068858' WHERE "spree_products"."id" = 1060501170  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591431, 979460662) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339459) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339459], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501170 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.073911' WHERE "spree_products"."id" = 1060501170 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501170], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.075211' WHERE "spree_products"."id" = 1060501170  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591432, 979460663) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339459) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339459], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501170 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.096117' WHERE "spree_products"."id" = 1060501170 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501170], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.097778' WHERE "spree_products"."id" = 1060501170  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591433, 979460664) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501170]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501170) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591431 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591432 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (5.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591433 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501170) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501170 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.126302' WHERE "spree_products"."id" = 1060501170  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591431 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.127430' WHERE "spree_products"."id" = 1060501170 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501170 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.128673' WHERE "spree_products"."id" = 1060501170  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591432 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.130012' WHERE "spree_products"."id" = 1060501170 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501170 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.131289' WHERE "spree_products"."id" = 1060501170  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591433 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.136359' WHERE "spree_products"."id" = 1060501170 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501170) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:15.140704' WHERE "spree_products"."id" = 1060501170 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501170 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501171 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.154347' WHERE "spree_products"."id" = 1060501171 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501171], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.156004' WHERE "spree_products"."id" = 1060501171  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591434 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.157637' WHERE "spree_products"."id" = 1060501171  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501171  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["product_id", nil], ["property_id", 905835400], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501171, "updated_at" = '2012-10-22 22:23:15.168071' WHERE "spree_product_properties"."id" = 1073273752 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501171) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452085 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501171 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501171, 558399482) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452087 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452087], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501171, 558399485) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452085 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399482 AND "spree_taxons"."taxonomy_id" = 854452085 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399482]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399482], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452085], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399482]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399486]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399486 THEN 558399482 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399482]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399486]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399486 AND "spree_taxons"."taxonomy_id" = 854452085 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399486]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399486], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452085], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399486]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399487]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399487 THEN 558399486 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399486]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399487]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501171, 558399486)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501171, 558399487) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501171) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501171 AND "spree_option_types"."id" = 935339459 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501171) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["option_type_id", 935339459], ["position", 1], ["product_id", 1060501171], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501171 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.209081' WHERE "spree_products"."id" = 1060501171 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501171], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.210571' WHERE "spree_products"."id" = 1060501171  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591435, 979460662) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501171 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.213225' WHERE "spree_products"."id" = 1060501171 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501171], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.214571' WHERE "spree_products"."id" = 1060501171  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591436, 979460663) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501171 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.218591' WHERE "spree_products"."id" = 1060501171 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501171], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.219959' WHERE "spree_products"."id" = 1060501171  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591437, 979460664) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501171]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501171) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591435 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591436 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591437 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501171) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501171 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.245861' WHERE "spree_products"."id" = 1060501171  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591435 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.247125' WHERE "spree_products"."id" = 1060501171 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501171 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.248098' WHERE "spree_products"."id" = 1060501171  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591436 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.249193' WHERE "spree_products"."id" = 1060501171 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501171 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.250441' WHERE "spree_products"."id" = 1060501171  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591437 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.251416' WHERE "spree_products"."id" = 1060501171 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501171) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:15.254216' WHERE "spree_products"."id" = 1060501171 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501171 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (4.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.269098' WHERE "spree_products"."id" = 1060501172 SQL (1.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501172], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.272676' WHERE "spree_products"."id" = 1060501172  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591438 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.278570' WHERE "spree_products"."id" = 1060501172  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501172  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["product_id", nil], ["property_id", 905835401], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501172, "updated_at" = '2012-10-22 22:23:15.287660' WHERE "spree_product_properties"."id" = 1073273753 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["product_id", nil], ["property_id", 905835400], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501172, "updated_at" = '2012-10-22 22:23:15.290356' WHERE "spree_product_properties"."id" = 1073273754 Created New ProductProperty # Spree::Property Load (2.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["product_id", nil], ["property_id", 905835402], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501172, "updated_at" = '2012-10-22 22:23:15.298569' WHERE "spree_product_properties"."id" = 1073273755 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501172) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452088 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452088], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501172 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501172, 558399488) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452085 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399482 AND "spree_taxons"."taxonomy_id" = 854452085 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399482]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399482], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452085], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399482]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399489]] SQL (2.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399489 THEN 558399482 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399482]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399489]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501172, 558399489)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501172, 558399482) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501172) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501172 AND "spree_option_types"."id" = 935339459 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501172) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["option_type_id", 935339459], ["position", 1], ["product_id", 1060501172], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.405835' WHERE "spree_products"."id" = 1060501172 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501172], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.407456' WHERE "spree_products"."id" = 1060501172  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591439, 979460662) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.410391' WHERE "spree_products"."id" = 1060501172 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501172], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.411544' WHERE "spree_products"."id" = 1060501172  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591440, 979460663) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339459 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.414876' WHERE "spree_products"."id" = 1060501172 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501172], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.416126' WHERE "spree_products"."id" = 1060501172  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591441, 979460664) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501172]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501172 AND "spree_option_types"."id" = 935339460 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501172) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["option_type_id", 935339460], ["position", 2], ["product_id", 1060501172], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339460 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339460) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339460], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.431197' WHERE "spree_products"."id" = 1060501172 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501172], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.432623' WHERE "spree_products"."id" = 1060501172  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591442, 979460665) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339460 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339460) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "colour"], ["option_type_id", 935339460], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (21.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.459864' WHERE "spree_products"."id" = 1060501172 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501172], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.461543' WHERE "spree_products"."id" = 1060501172  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591443, 979460666) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501172]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501172) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591439 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591440 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591441 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591442 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591443 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501172) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.481066' WHERE "spree_products"."id" = 1060501172  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591439 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.484981' WHERE "spree_products"."id" = 1060501172 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.486500' WHERE "spree_products"."id" = 1060501172  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591440 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.488021' WHERE "spree_products"."id" = 1060501172 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.489320' WHERE "spree_products"."id" = 1060501172  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591441 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.490723' WHERE "spree_products"."id" = 1060501172 Spree::Product Load (1.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.498542' WHERE "spree_products"."id" = 1060501172  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591442 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.499938' WHERE "spree_products"."id" = 1060501172 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.501605' WHERE "spree_products"."id" = 1060501172  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591443 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.502542' WHERE "spree_products"."id" = 1060501172 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501172) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:15.507941' WHERE "spree_products"."id" = 1060501172 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501172 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (14.2ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (3.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501171 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501172 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (18.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501170 ORDER BY spree_option_types.position Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591431 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591432 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339459 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591433 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (8.4ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (35.5ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (3.7ms) DELETE FROM "spree_properties" SQL (6.9ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (4.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452089 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452089], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]]  (3.1ms) commit transaction  (1.5ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452089], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501173 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.794697' WHERE "spree_products"."id" = 1060501173 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501173], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.798137' WHERE "spree_products"."id" = 1060501173  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591444 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.800056' WHERE "spree_products"."id" = 1060501173  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501173  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["product_id", nil], ["property_id", 905835403], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["value", nil]]  (0.7ms) UPDATE "spree_product_properties" SET "product_id" = 1060501173, "updated_at" = '2012-10-22 22:23:15.808295' WHERE "spree_product_properties"."id" = 1073273756 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452089 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501173 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501173, 558399490) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452090 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452090], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501173, 558399492) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501173 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501173) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["option_type_id", 935339461], ["position", 1], ["product_id", 1060501173], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339461) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339461], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.853900' WHERE "spree_products"."id" = 1060501173 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501173], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (2.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.939510' WHERE "spree_products"."id" = 1060501173  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591445, 979460667) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501173]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501173 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339461) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339461], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.960326' WHERE "spree_products"."id" = 1060501173 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501173], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.961807' WHERE "spree_products"."id" = 1060501173  (3.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591446, 979460668) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501173]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501173 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339461) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339461], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501173 LIMIT 1 SQL (2.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.980529' WHERE "spree_products"."id" = 1060501173 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501173], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:15.987064' WHERE "spree_products"."id" = 1060501173  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591447, 979460669) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501173]] Current value to assign : Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591445 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591446 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591447 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.017406' WHERE "spree_products"."id" = 1060501173  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591445 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.018825' WHERE "spree_products"."id" = 1060501173 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501173 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.020160' WHERE "spree_products"."id" = 1060501173  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591446 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.021357' WHERE "spree_products"."id" = 1060501173 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.022509' WHERE "spree_products"."id" = 1060501173  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591447 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.023252' WHERE "spree_products"."id" = 1060501173 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501173) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:16.025851' WHERE "spree_products"."id" = 1060501173 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501173 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.036048' WHERE "spree_products"."id" = 1060501174 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501174], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.044528' WHERE "spree_products"."id" = 1060501174  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591448 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.046419' WHERE "spree_products"."id" = 1060501174  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501174  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["product_id", nil], ["property_id", 905835404], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501174, "updated_at" = '2012-10-22 22:23:16.058822' WHERE "spree_product_properties"."id" = 1073273757 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452089 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (5.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501174 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501174, 558399490) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452091 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452091], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501174, 558399493) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452089 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399490 AND "spree_taxons"."taxonomy_id" = 854452089 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399490]] SQL (1.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399490], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452089], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399490]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399494]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399494 THEN 558399490 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399490]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399494]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399494 AND "spree_taxons"."taxonomy_id" = 854452089 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399494]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399494], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452089], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399494]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399495]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399495 THEN 558399494 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399494]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399495]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501174, 558399494)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501174, 558399495) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501174 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501174) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["option_type_id", 935339461], ["position", 1], ["product_id", 1060501174], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.127481' WHERE "spree_products"."id" = 1060501174 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501174], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (1.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.129425' WHERE "spree_products"."id" = 1060501174  (1.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591449, 979460667) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501174]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501174 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.146295' WHERE "spree_products"."id" = 1060501174 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501174], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.147750' WHERE "spree_products"."id" = 1060501174  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591450, 979460668) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501174]] Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1 Spree::OptionType Load (1.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501174 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501174 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.161506' WHERE "spree_products"."id" = 1060501174 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501174], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.163525' WHERE "spree_products"."id" = 1060501174  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591451, 979460669) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501174]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591449 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591450 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591451 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.187916' WHERE "spree_products"."id" = 1060501174  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591449 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.190769' WHERE "spree_products"."id" = 1060501174 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.192235' WHERE "spree_products"."id" = 1060501174  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591450 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.193124' WHERE "spree_products"."id" = 1060501174 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501174 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.194473' WHERE "spree_products"."id" = 1060501174  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591451 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.195717' WHERE "spree_products"."id" = 1060501174 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501174) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:16.198728' WHERE "spree_products"."id" = 1060501174 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501174 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.217366' WHERE "spree_products"."id" = 1060501175 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501175], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.218761' WHERE "spree_products"."id" = 1060501175  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591452 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.220969' WHERE "spree_products"."id" = 1060501175  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501175  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["product_id", nil], ["property_id", 905835405], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501175, "updated_at" = '2012-10-22 22:23:16.227698' WHERE "spree_product_properties"."id" = 1073273758 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["product_id", nil], ["property_id", 905835404], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501175, "updated_at" = '2012-10-22 22:23:16.232671' WHERE "spree_product_properties"."id" = 1073273759 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["product_id", nil], ["property_id", 905835406], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501175, "updated_at" = '2012-10-22 22:23:16.240866' WHERE "spree_product_properties"."id" = 1073273760 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452092 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452092], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501175 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501175, 558399496) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452089 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399490 AND "spree_taxons"."taxonomy_id" = 854452089 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399490]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399490], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452089], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399490]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399497]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399497 THEN 558399490 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399490]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399497]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501175, 558399497)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501175, 558399490) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501175 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501175) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["option_type_id", 935339461], ["position", 1], ["product_id", 1060501175], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.280694' WHERE "spree_products"."id" = 1060501175 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501175], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.284026' WHERE "spree_products"."id" = 1060501175  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591453, 979460667) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501175]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501175 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.299997' WHERE "spree_products"."id" = 1060501175 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501175], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.301521' WHERE "spree_products"."id" = 1060501175  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591454, 979460668) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501175]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501175 AND "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339461 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.309646' WHERE "spree_products"."id" = 1060501175 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501175], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.311891' WHERE "spree_products"."id" = 1060501175  (0.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591455, 979460669) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501175]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501175 AND "spree_option_types"."id" = 935339462 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501175) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["option_type_id", 935339462], ["position", 2], ["product_id", 1060501175], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339462 LIMIT 1 Spree::OptionValue Load (1.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339462) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339462], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.369632' WHERE "spree_products"."id" = 1060501175 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501175], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.371306' WHERE "spree_products"."id" = 1060501175  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591456, 979460670) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501175]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501175 AND "spree_option_types"."id" = 935339462 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339462 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339462) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "colour"], ["option_type_id", 935339462], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.386776' WHERE "spree_products"."id" = 1060501175 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501175], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.388581' WHERE "spree_products"."id" = 1060501175  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591457, 979460671) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501175]] Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591453 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591454 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591455 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591456 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591457 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.412143' WHERE "spree_products"."id" = 1060501175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591453 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.413518' WHERE "spree_products"."id" = 1060501175 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.415215' WHERE "spree_products"."id" = 1060501175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.416411' WHERE "spree_products"."id" = 1060501175 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.417451' WHERE "spree_products"."id" = 1060501175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591455 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.418696' WHERE "spree_products"."id" = 1060501175 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.419739' WHERE "spree_products"."id" = 1060501175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.420891' WHERE "spree_products"."id" = 1060501175 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.422518' WHERE "spree_products"."id" = 1060501175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.423518' WHERE "spree_products"."id" = 1060501175 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501175) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:16.427326' WHERE "spree_products"."id" = 1060501175 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501175 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (12.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501174 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501173 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591445 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591446 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339461 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591447 Spree::Variant Load (16.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (28.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (5.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (1.3ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452093 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452093], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]]  (3.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452093], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]]  (3.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (4.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501176 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.760195' WHERE "spree_products"."id" = 1060501176 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501176], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.762509' WHERE "spree_products"."id" = 1060501176  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.764288' WHERE "spree_products"."id" = 1060501176  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501176  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["product_id", nil], ["property_id", 905835407], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501176, "updated_at" = '2012-10-22 22:23:16.774764' WHERE "spree_product_properties"."id" = 1073273761 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452093 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501176 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501176, 558399498) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452094 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452094], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501176, 558399500) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501176 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501176) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["option_type_id", 935339463], ["position", 1], ["product_id", 1060501176], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1 Spree::OptionValue Load (0.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339463) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339463], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501176 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.867176' WHERE "spree_products"."id" = 1060501176 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501176], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.869045' WHERE "spree_products"."id" = 1060501176  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591459, 979460672) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501176]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501176 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339463) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339463], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.883506' WHERE "spree_products"."id" = 1060501176 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501176], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.885261' WHERE "spree_products"."id" = 1060501176  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591460, 979460673) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501176]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501176 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339463) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339463], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.895462' WHERE "spree_products"."id" = 1060501176 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501176], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.897479' WHERE "spree_products"."id" = 1060501176  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591461, 979460674) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501176]] Current value to assign : Current value to assign : Spree::Variant Load (2.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.9ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591459 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591460 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591461 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1  (2.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501176 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.949221' WHERE "spree_products"."id" = 1060501176  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.954986' WHERE "spree_products"."id" = 1060501176 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.956775' WHERE "spree_products"."id" = 1060501176  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591460 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.957785' WHERE "spree_products"."id" = 1060501176 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.959350' WHERE "spree_products"."id" = 1060501176  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591461 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.960220' WHERE "spree_products"."id" = 1060501176 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501176) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:16.963709' WHERE "spree_products"."id" = 1060501176 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501177 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.973256' WHERE "spree_products"."id" = 1060501177 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501177], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.974742' WHERE "spree_products"."id" = 1060501177  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591462 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:16.976485' WHERE "spree_products"."id" = 1060501177  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501177  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["product_id", nil], ["property_id", 905835408], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501177, "updated_at" = '2012-10-22 22:23:16.983825' WHERE "spree_product_properties"."id" = 1073273762 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452093 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501177 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501177, 558399498) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452095 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452095], ["updated_at", Mon, 22 Oct 2012 22:23:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501177, 558399501) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452093 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399498 AND "spree_taxons"."taxonomy_id" = 854452093 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399498]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399498], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452093], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399498]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399502]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399502 THEN 558399498 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399498]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399502]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399502 AND "spree_taxons"."taxonomy_id" = 854452093 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399502]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399502], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452093], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399502]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399503]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399503 THEN 558399502 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399502]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399503]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501177, 558399502)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501177, 558399503) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501177 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501177) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339463], ["position", 1], ["product_id", 1060501177], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.037467' WHERE "spree_products"."id" = 1060501177 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501177], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.038923' WHERE "spree_products"."id" = 1060501177  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591463, 979460672) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501177]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501177 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.056651' WHERE "spree_products"."id" = 1060501177 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501177], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (4.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.058064' WHERE "spree_products"."id" = 1060501177  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591464, 979460673) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501177]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501177 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.079002' WHERE "spree_products"."id" = 1060501177 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501177], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.080203' WHERE "spree_products"."id" = 1060501177  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591465, 979460674) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501177]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591463 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591464 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591465 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501177 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.099489' WHERE "spree_products"."id" = 1060501177  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591463 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.100934' WHERE "spree_products"."id" = 1060501177 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.102562' WHERE "spree_products"."id" = 1060501177  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591464 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.103496' WHERE "spree_products"."id" = 1060501177 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.104814' WHERE "spree_products"."id" = 1060501177  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591465 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.106133' WHERE "spree_products"."id" = 1060501177 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501177) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:17.108683' WHERE "spree_products"."id" = 1060501177 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.117232' WHERE "spree_products"."id" = 1060501178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501178], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.118740' WHERE "spree_products"."id" = 1060501178  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591466 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.120467' WHERE "spree_products"."id" = 1060501178  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501178  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["product_id", nil], ["property_id", 905835409], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501178, "updated_at" = '2012-10-22 22:23:17.127195' WHERE "spree_product_properties"."id" = 1073273763 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["product_id", nil], ["property_id", 905835408], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501178, "updated_at" = '2012-10-22 22:23:17.131450' WHERE "spree_product_properties"."id" = 1073273764 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["product_id", nil], ["property_id", 905835410], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501178, "updated_at" = '2012-10-22 22:23:17.139226' WHERE "spree_product_properties"."id" = 1073273765 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452096 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452096], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501178 Product assigned to Taxons : ["Drawings"]  (1.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501178, 558399504) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452093 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399498 AND "spree_taxons"."taxonomy_id" = 854452093 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399498]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399498], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452093], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399498]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399505]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399505 THEN 558399498 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399498]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399505]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501178, 558399505)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501178, 558399498) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501178 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501178) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339463], ["position", 1], ["product_id", 1060501178], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.215816' WHERE "spree_products"."id" = 1060501178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501178], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.217497' WHERE "spree_products"."id" = 1060501178  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591467, 979460672) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501178]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501178 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.226142' WHERE "spree_products"."id" = 1060501178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501178], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.227358' WHERE "spree_products"."id" = 1060501178  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591468, 979460673) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501178]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501178 AND "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339463 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (1.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.240323' WHERE "spree_products"."id" = 1060501178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501178], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.242906' WHERE "spree_products"."id" = 1060501178  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591469, 979460674) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501178]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501178 AND "spree_option_types"."id" = 935339464 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501178) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339464], ["position", 2], ["product_id", 1060501178], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339464 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339464) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339464], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.267143' WHERE "spree_products"."id" = 1060501178 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501178], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.407729' WHERE "spree_products"."id" = 1060501178  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591470, 979460675) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501178]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501178 AND "spree_option_types"."id" = 935339464 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339464 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339464) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "colour"], ["option_type_id", 935339464], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.420894' WHERE "spree_products"."id" = 1060501178 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501178], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.422405' WHERE "spree_products"."id" = 1060501178  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591471, 979460676) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501178]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591467 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591468 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591469 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591470 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591471 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.442367' WHERE "spree_products"."id" = 1060501178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591467 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.443941' WHERE "spree_products"."id" = 1060501178 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.445291' WHERE "spree_products"."id" = 1060501178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591468 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.446999' WHERE "spree_products"."id" = 1060501178 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.448132' WHERE "spree_products"."id" = 1060501178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591469 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.449340' WHERE "spree_products"."id" = 1060501178 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.450937' WHERE "spree_products"."id" = 1060501178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591470 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.451812' WHERE "spree_products"."id" = 1060501178 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.453926' WHERE "spree_products"."id" = 1060501178  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591471 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.455363' WHERE "spree_products"."id" = 1060501178 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501178) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:17.458451' WHERE "spree_products"."id" = 1060501178  (44.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501177 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501176 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591459 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591460 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339463 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591461 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (18.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452097 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452097], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452097], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501179 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.701235' WHERE "spree_products"."id" = 1060501179 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501179], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.703918' WHERE "spree_products"."id" = 1060501179  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591472 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.705795' WHERE "spree_products"."id" = 1060501179  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501179  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501179 AND "spree_option_types"."id" = 935339465 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501179) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339465], ["position", 1], ["product_id", 1060501179], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501179 AND "spree_option_types"."id" = 935339466 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501179) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339466], ["position", 2], ["product_id", 1060501179], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339465) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339465], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339466 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339466) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "colour"], ["option_type_id", 935339466], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.731791' WHERE "spree_products"."id" = 1060501179 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501179], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (18.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.733364' WHERE "spree_products"."id" = 1060501179  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591473, 979460677)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591473, 979460678) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339465) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339465], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339466 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.759422' WHERE "spree_products"."id" = 1060501179 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501179], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.760483' WHERE "spree_products"."id" = 1060501179  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591474, 979460679)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591474, 979460678) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501179]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501179) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501179 AND "spree_option_types"."id" = 935339465 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339465) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339465], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.777593' WHERE "spree_products"."id" = 1060501179 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501179], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.778927' WHERE "spree_products"."id" = 1060501179  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591475, 979460680) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501179]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501179) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591473 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591474 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591475 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501179) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.792613' WHERE "spree_products"."id" = 1060501179  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591473 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.794146' WHERE "spree_products"."id" = 1060501179 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501179 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.796152' WHERE "spree_products"."id" = 1060501179  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591474 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.797097' WHERE "spree_products"."id" = 1060501179 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.798317' WHERE "spree_products"."id" = 1060501179  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591475 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.799481' WHERE "spree_products"."id" = 1060501179 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501179) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:17.802482' WHERE "spree_products"."id" = 1060501179 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.810816' WHERE "spree_products"."id" = 1060501180 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501180], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.812292' WHERE "spree_products"."id" = 1060501180  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591476 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.813633' WHERE "spree_products"."id" = 1060501180  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501180  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501180 AND "spree_option_types"."id" = 935339465 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501180) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339465], ["position", 1], ["product_id", 1060501180], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501180 AND "spree_option_types"."id" = 935339466 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501180) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339466], ["position", 2], ["product_id", 1060501180], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339466 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339466) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339466], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.831330' WHERE "spree_products"."id" = 1060501180 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501180], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.832468' WHERE "spree_products"."id" = 1060501180  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591477, 979460681)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591477, 979460677) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501180]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501180) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501180 AND "spree_option_types"."id" = 935339465 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501180 AND "spree_option_types"."id" = 935339466 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339466 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501180 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.846256' WHERE "spree_products"."id" = 1060501180 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501180], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.848116' WHERE "spree_products"."id" = 1060501180  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591478, 979460681)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591478, 979460680) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501180]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501180) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591477 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591478 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501180) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.860593' WHERE "spree_products"."id" = 1060501180  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591477 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.862249' WHERE "spree_products"."id" = 1060501180 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.863480' WHERE "spree_products"."id" = 1060501180  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591478 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.864480' WHERE "spree_products"."id" = 1060501180 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501180) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-22 22:23:17.867480' WHERE "spree_products"."id" = 1060501180 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.875890' WHERE "spree_products"."id" = 1060501181 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501181], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.877480' WHERE "spree_products"."id" = 1060501181  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591479 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.879289' WHERE "spree_products"."id" = 1060501181  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501181  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501181 AND "spree_option_types"."id" = 935339465 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501181) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339465], ["position", 1], ["product_id", 1060501181], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501181 AND "spree_option_types"."id" = 935339466 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501181) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339466], ["position", 2], ["product_id", 1060501181], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501181 AND "spree_option_types"."id" = 935339467 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501181) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["option_type_id", 935339467], ["position", 3], ["product_id", 1060501181], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339466 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339467 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339467) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "large"], ["option_type_id", 935339467], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.902962' WHERE "spree_products"."id" = 1060501181 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501181], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.904677' WHERE "spree_products"."id" = 1060501181  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591480, 979460678)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591480, 979460682)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591480, 979460677) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339466 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339466) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339466], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339467 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.910850' WHERE "spree_products"."id" = 1060501181 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501181], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.912479' WHERE "spree_products"."id" = 1060501181  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591481, 979460683)  (18.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591481, 979460682)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591481, 979460677) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501181]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501181 AND "spree_option_types"."id" = 935339465 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501181 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.940246' WHERE "spree_products"."id" = 1060501181 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501181], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.941862' WHERE "spree_products"."id" = 1060501181  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591482, 979460680) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501181]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501181) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501181 AND "spree_option_types"."id" = 935339465 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339465 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.951608' WHERE "spree_products"."id" = 1060501181 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501181], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.953674' WHERE "spree_products"."id" = 1060501181  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591483, 979460679) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501181]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501181 AND "spree_option_types"."id" = 935339466 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339466 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.963571' WHERE "spree_products"."id" = 1060501181 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501181], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:17.964886' WHERE "spree_products"."id" = 1060501181  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591484, 979460681) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501181]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501181) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501181) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (5.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501179 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591473 Booted Spree using version 1.1.3 SQL (6.6ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (23.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.095572' WHERE "spree_products"."id" = 1060501182 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501182], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.097334' WHERE "spree_products"."id" = 1060501182  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591485 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.099759' WHERE "spree_products"."id" = 1060501182  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501182  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["product_id", nil], ["property_id", 905835411], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501182, "updated_at" = '2012-10-22 22:23:18.123991' WHERE "spree_product_properties"."id" = 1073273766 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501182) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452098 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452098], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501182 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501182, 558399508) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452099 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452099], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501182, 558399509) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501182) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501182 AND "spree_option_types"."id" = 935339468 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501182) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["option_type_id", 935339468], ["position", 1], ["product_id", 1060501182], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339468) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339468], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.162357' WHERE "spree_products"."id" = 1060501182 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501182], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.163467' WHERE "spree_products"."id" = 1060501182  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591486, 979460684) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339468) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339468], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.187098' WHERE "spree_products"."id" = 1060501182 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501182], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.188472' WHERE "spree_products"."id" = 1060501182  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591487, 979460685) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339468) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339468], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.193900' WHERE "spree_products"."id" = 1060501182 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501182], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.195013' WHERE "spree_products"."id" = 1060501182  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591488, 979460686) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501182]] Spree::Variant Load (58.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501182) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.9ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591486 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591487 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591488 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501182) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.270925' WHERE "spree_products"."id" = 1060501182  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591486 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.271925' WHERE "spree_products"."id" = 1060501182 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.273289' WHERE "spree_products"."id" = 1060501182  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591487 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.274429' WHERE "spree_products"."id" = 1060501182 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.275701' WHERE "spree_products"."id" = 1060501182  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591488 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:18.276858' WHERE "spree_products"."id" = 1060501182 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:18 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591485, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1237 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501182 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.095715' WHERE "spree_products"."id" = 1060501182  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501182 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501182) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:19.128673' WHERE "spree_products"."id" = 1060501182 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.140342' WHERE "spree_products"."id" = 1060501183 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501183], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.141939' WHERE "spree_products"."id" = 1060501183  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591489 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.143899' WHERE "spree_products"."id" = 1060501183  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501183  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["product_id", nil], ["property_id", 905835412], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060501183, "updated_at" = '2012-10-22 22:23:19.154257' WHERE "spree_product_properties"."id" = 1073273767 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501183) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452098 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501183 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501183, 558399508) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452100 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452100], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501183, 558399510) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452101 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (4.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452101], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501183, 558399511) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501183) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501183 AND "spree_option_types"."id" = 935339468 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501183) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["option_type_id", 935339468], ["position", 1], ["product_id", 1060501183], ["updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.192371' WHERE "spree_products"."id" = 1060501183 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501183], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.194141' WHERE "spree_products"."id" = 1060501183  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591490, 979460684) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.197892' WHERE "spree_products"."id" = 1060501183 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501183], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.199394' WHERE "spree_products"."id" = 1060501183  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591491, 979460685) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.206542' WHERE "spree_products"."id" = 1060501183 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501183], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.207921' WHERE "spree_products"."id" = 1060501183  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591492, 979460686) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501183]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501183) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591490 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591491 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591492 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501183) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.234226' WHERE "spree_products"."id" = 1060501183  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591490 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.235633' WHERE "spree_products"."id" = 1060501183 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.548275' WHERE "spree_products"."id" = 1060501183  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591491 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.549844' WHERE "spree_products"."id" = 1060501183 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.551588' WHERE "spree_products"."id" = 1060501183  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591492 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:19.552844' WHERE "spree_products"."id" = 1060501183 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:19 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591489, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1238 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501183 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.670761' WHERE "spree_products"."id" = 1060501183  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501183 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501183) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:28.680336' WHERE "spree_products"."id" = 1060501183 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.723533' WHERE "spree_products"."id" = 1060501184 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501184], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.725595' WHERE "spree_products"."id" = 1060501184  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591493 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.727399' WHERE "spree_products"."id" = 1060501184  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501184  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Created New Property # SQL (2.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["product_id", nil], ["property_id", 905835413], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501184, "updated_at" = '2012-10-22 22:23:28.747767' WHERE "spree_product_properties"."id" = 1073273768 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["product_id", nil], ["property_id", 905835412], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["value", "Example free value"]]  (0.8ms) UPDATE "spree_product_properties" SET "product_id" = 1060501184, "updated_at" = '2012-10-22 22:23:28.753303' WHERE "spree_product_properties"."id" = 1073273769 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["product_id", nil], ["property_id", 905835414], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501184, "updated_at" = '2012-10-22 22:23:28.766049' WHERE "spree_product_properties"."id" = 1073273770 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501184) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452102 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452102], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501184 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501184, 558399512) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501184) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501184 AND "spree_option_types"."id" = 935339468 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501184) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["option_type_id", 935339468], ["position", 1], ["product_id", 1060501184], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.791854' WHERE "spree_products"."id" = 1060501184 SQL (1.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501184], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.794713' WHERE "spree_products"."id" = 1060501184  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591494, 979460684) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.797849' WHERE "spree_products"."id" = 1060501184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501184], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.799484' WHERE "spree_products"."id" = 1060501184  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591495, 979460685) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339468 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.802515' WHERE "spree_products"."id" = 1060501184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501184], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.803952' WHERE "spree_products"."id" = 1060501184  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591496, 979460686) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501184]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501184 AND "spree_option_types"."id" = 935339469 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501184) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["option_type_id", 935339469], ["position", 2], ["product_id", 1060501184], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339469 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339469) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339469], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.826014' WHERE "spree_products"."id" = 1060501184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501184], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.827511' WHERE "spree_products"."id" = 1060501184  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591497, 979460687) Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339469 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339469) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["name", "colour"], ["option_type_id", 935339469], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.880505' WHERE "spree_products"."id" = 1060501184 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501184], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.885632' WHERE "spree_products"."id" = 1060501184  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591498, 979460688) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501184]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501184) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591494 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591495 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591496 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591497 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591498 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501184) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.911074' WHERE "spree_products"."id" = 1060501184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591494 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.912571' WHERE "spree_products"."id" = 1060501184 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.915367' WHERE "spree_products"."id" = 1060501184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591495 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.916415' WHERE "spree_products"."id" = 1060501184 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.917613' WHERE "spree_products"."id" = 1060501184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591496 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.918871' WHERE "spree_products"."id" = 1060501184 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.920192' WHERE "spree_products"."id" = 1060501184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591497 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.921466' WHERE "spree_products"."id" = 1060501184 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.922686' WHERE "spree_products"."id" = 1060501184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591498 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:28.923744' WHERE "spree_products"."id" = 1060501184 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:28 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591493, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1239 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501184 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:30.369870' WHERE "spree_products"."id" = 1060501184  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501184 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501184) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:30.711072' WHERE "spree_products"."id" = 1060501184  (5.9ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591485) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501182)) Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591485 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501182 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591485) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501182)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501183 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591489) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501183)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501184 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591493) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501184)) SQL (3.3ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (23.5ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (22.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.012465' WHERE "spree_products"."id" = 1060501185 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501185], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.014396' WHERE "spree_products"."id" = 1060501185  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591499 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.015778' WHERE "spree_products"."id" = 1060501185  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501185  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["product_id", nil], ["property_id", 905835415], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501185, "updated_at" = '2012-10-22 22:23:31.023494' WHERE "spree_product_properties"."id" = 1073273771 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501185) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452103 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452103], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501185 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501185, 558399513) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452104 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452104], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501185, 558399514) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501185) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501185 AND "spree_option_types"."id" = 935339470 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501185) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["option_type_id", 935339470], ["position", 1], ["product_id", 1060501185], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339470) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339470], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.056821' WHERE "spree_products"."id" = 1060501185 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501185], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.058179' WHERE "spree_products"."id" = 1060501185  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591500, 979460689) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339470) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339470], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.063322' WHERE "spree_products"."id" = 1060501185 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501185], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.064693' WHERE "spree_products"."id" = 1060501185  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591501, 979460690) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339470) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339470], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.091910' WHERE "spree_products"."id" = 1060501185 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501185], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.093338' WHERE "spree_products"."id" = 1060501185  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591502, 979460691) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501185]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501185) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591500 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591501 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591502 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501185) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.108712' WHERE "spree_products"."id" = 1060501185  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591500 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.110015' WHERE "spree_products"."id" = 1060501185 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.111439' WHERE "spree_products"."id" = 1060501185  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591501 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.112435' WHERE "spree_products"."id" = 1060501185 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.113600' WHERE "spree_products"."id" = 1060501185  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591502 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:31.114703' WHERE "spree_products"."id" = 1060501185 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591499, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1240 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501185 LIMIT 1 SQL (23.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.404319' WHERE "spree_products"."id" = 1060501185  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501185 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501185) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:32.436883' WHERE "spree_products"."id" = 1060501185 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501185 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.451554' WHERE "spree_products"."id" = 1060501186 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501186], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.453460' WHERE "spree_products"."id" = 1060501186  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591503 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.456100' WHERE "spree_products"."id" = 1060501186  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501186  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["product_id", nil], ["property_id", 905835416], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501186, "updated_at" = '2012-10-22 22:23:32.468092' WHERE "spree_product_properties"."id" = 1073273772 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501186) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452103 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501186 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501186, 558399513) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452105 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452105], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501186, 558399515) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452106 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452106], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501186, 558399516) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501186) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501186 AND "spree_option_types"."id" = 935339470 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501186) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["option_type_id", 935339470], ["position", 1], ["product_id", 1060501186], ["updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.508425' WHERE "spree_products"."id" = 1060501186 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501186], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.510298' WHERE "spree_products"."id" = 1060501186  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591504, 979460689) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (1.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.513285' WHERE "spree_products"."id" = 1060501186 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501186], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.521939' WHERE "spree_products"."id" = 1060501186  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591505, 979460690) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.528992' WHERE "spree_products"."id" = 1060501186 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501186], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.530340' WHERE "spree_products"."id" = 1060501186  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591506, 979460691) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501186]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501186) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (3.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (5.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591504 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591505 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591506 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501186) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.558697' WHERE "spree_products"."id" = 1060501186  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591504 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.560097' WHERE "spree_products"."id" = 1060501186 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.561598' WHERE "spree_products"."id" = 1060501186  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591505 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.562636' WHERE "spree_products"."id" = 1060501186 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.564434' WHERE "spree_products"."id" = 1060501186  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591506 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:32.565475' WHERE "spree_products"."id" = 1060501186 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:32 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591503, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1241 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501186 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.691341' WHERE "spree_products"."id" = 1060501186  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501186 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501186) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:41.745137' WHERE "spree_products"."id" = 1060501186 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501186 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.765519' WHERE "spree_products"."id" = 1060501187 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501187], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.767262' WHERE "spree_products"."id" = 1060501187  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591507 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.769533' WHERE "spree_products"."id" = 1060501187  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501187  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["product_id", nil], ["property_id", 905835417], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501187, "updated_at" = '2012-10-22 22:23:41.778607' WHERE "spree_product_properties"."id" = 1073273773 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["product_id", nil], ["property_id", 905835416], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501187, "updated_at" = '2012-10-22 22:23:41.783142' WHERE "spree_product_properties"."id" = 1073273774 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["product_id", nil], ["property_id", 905835418], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501187, "updated_at" = '2012-10-22 22:23:41.787293' WHERE "spree_product_properties"."id" = 1073273775 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501187) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452107 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (6.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452107], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501187 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501187, 558399517) Spree::Product Exists (1.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501187) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501187 AND "spree_option_types"."id" = 935339470 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501187) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["option_type_id", 935339470], ["position", 1], ["product_id", 1060501187], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.816517' WHERE "spree_products"."id" = 1060501187 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501187], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.818094' WHERE "spree_products"."id" = 1060501187  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591508, 979460689) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.821522' WHERE "spree_products"."id" = 1060501187 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501187], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.823460' WHERE "spree_products"."id" = 1060501187  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591509, 979460690) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339470 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (1.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.827408' WHERE "spree_products"."id" = 1060501187 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501187], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.832554' WHERE "spree_products"."id" = 1060501187  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591510, 979460691) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501187]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501187 AND "spree_option_types"."id" = 935339471 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501187) ORDER BY position DESC LIMIT 1 SQL (3.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["option_type_id", 935339471], ["position", 2], ["product_id", 1060501187], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339471 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339471) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339471], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (23.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.857234' WHERE "spree_products"."id" = 1060501187 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501187], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.885211' WHERE "spree_products"."id" = 1060501187  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591511, 979460692) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339471 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339471) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00], ["name", "colour"], ["option_type_id", 935339471], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.890711' WHERE "spree_products"."id" = 1060501187 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501187], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.892080' WHERE "spree_products"."id" = 1060501187  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591512, 979460693) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501187]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501187) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591508 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591509 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591510 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591511 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591512 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501187) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.924591' WHERE "spree_products"."id" = 1060501187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591508 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.926018' WHERE "spree_products"."id" = 1060501187 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.927610' WHERE "spree_products"."id" = 1060501187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591509 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.928822' WHERE "spree_products"."id" = 1060501187 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.930379' WHERE "spree_products"."id" = 1060501187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591510 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.931591' WHERE "spree_products"."id" = 1060501187 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.933092' WHERE "spree_products"."id" = 1060501187  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591511 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.934407' WHERE "spree_products"."id" = 1060501187 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.936012' WHERE "spree_products"."id" = 1060501187  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591512 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:41.943853' WHERE "spree_products"."id" = 1060501187 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:42 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013591507, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1242 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.542745' WHERE "spree_products"."id" = 1060501187  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501187 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501187) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:43.553280' WHERE "spree_products"."id" = 1060501187 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501187 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (52.2ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591499) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501185)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501185 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591499) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501185)) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501186 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591503) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501186)) Spree::Variant Load (30.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501187 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591507) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501187))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (34.2ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.4ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.852896' WHERE "spree_products"."id" = 1060501188 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501188], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.854998' WHERE "spree_products"."id" = 1060501188  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591513 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.856571' WHERE "spree_products"."id" = 1060501188  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501188  (2.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["product_id", nil], ["property_id", 905835419], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501188, "updated_at" = '2012-10-22 22:23:43.869618' WHERE "spree_product_properties"."id" = 1073273776 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501188) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452108 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452108], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501188 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501188, 558399518) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452109 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452109], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501188, 558399519) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501188) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501188 AND "spree_option_types"."id" = 935339472 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501188) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["option_type_id", 935339472], ["position", 1], ["product_id", 1060501188], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339472) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339472], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.909475' WHERE "spree_products"."id" = 1060501188 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501188], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.911136' WHERE "spree_products"."id" = 1060501188  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591514, 979460694) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339472) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339472], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Product Load (2.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.918565' WHERE "spree_products"."id" = 1060501188 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501188], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.919802' WHERE "spree_products"."id" = 1060501188  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591515, 979460695) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339472) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339472], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.949318' WHERE "spree_products"."id" = 1060501188 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501188], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.951263' WHERE "spree_products"."id" = 1060501188  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591516, 979460696) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501188]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501188) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591514 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591515 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591516 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501188) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.966927' WHERE "spree_products"."id" = 1060501188  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591514 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.968299' WHERE "spree_products"."id" = 1060501188 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.969892' WHERE "spree_products"."id" = 1060501188  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591515 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.971068' WHERE "spree_products"."id" = 1060501188 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.972649' WHERE "spree_products"."id" = 1060501188  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591516 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.974086' WHERE "spree_products"."id" = 1060501188 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501188) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:43.977293' WHERE "spree_products"."id" = 1060501188 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501188 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.989970' WHERE "spree_products"."id" = 1060501189 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501189], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.991304' WHERE "spree_products"."id" = 1060501189  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591517 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:43.993563' WHERE "spree_products"."id" = 1060501189  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501189  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:43 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["product_id", nil], ["property_id", 905835420], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501189, "updated_at" = '2012-10-22 22:23:44.003799' WHERE "spree_product_properties"."id" = 1073273777 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501189) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452108 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501189 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501189, 558399518) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452110 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452110], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501189, 558399520) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452108 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399518 AND "spree_taxons"."taxonomy_id" = 854452108 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399518]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399518], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452108], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399518]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399521]] SQL (1.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399521 THEN 558399518 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399518]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399521]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399521 AND "spree_taxons"."taxonomy_id" = 854452108 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399521]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399521], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452108], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399521]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399522]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399522 THEN 558399521 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399521]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399522]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501189, 558399521)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501189, 558399522) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501189) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501189 AND "spree_option_types"."id" = 935339472 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501189) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["option_type_id", 935339472], ["position", 1], ["product_id", 1060501189], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.047709' WHERE "spree_products"."id" = 1060501189 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501189], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.049683' WHERE "spree_products"."id" = 1060501189  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591518, 979460694) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.055294' WHERE "spree_products"."id" = 1060501189 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501189], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.056615' WHERE "spree_products"."id" = 1060501189  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591519, 979460695) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.059443' WHERE "spree_products"."id" = 1060501189 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501189], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.126509' WHERE "spree_products"."id" = 1060501189  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591520, 979460696) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501189]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501189) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591518 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591519 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591520 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501189) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.149695' WHERE "spree_products"."id" = 1060501189  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591518 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.151063' WHERE "spree_products"."id" = 1060501189 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.152462' WHERE "spree_products"."id" = 1060501189  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591519 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.153416' WHERE "spree_products"."id" = 1060501189 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.154839' WHERE "spree_products"."id" = 1060501189  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591520 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.155795' WHERE "spree_products"."id" = 1060501189 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501189) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:44.158577' WHERE "spree_products"."id" = 1060501189 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501189 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.167691' WHERE "spree_products"."id" = 1060501190 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501190], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.169193' WHERE "spree_products"."id" = 1060501190  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591521 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.170686' WHERE "spree_products"."id" = 1060501190  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501190  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["product_id", nil], ["property_id", 905835421], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501190, "updated_at" = '2012-10-22 22:23:44.178266' WHERE "spree_product_properties"."id" = 1073273778 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["product_id", nil], ["property_id", 905835420], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501190, "updated_at" = '2012-10-22 22:23:44.180795' WHERE "spree_product_properties"."id" = 1073273779 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["product_id", nil], ["property_id", 905835422], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501190, "updated_at" = '2012-10-22 22:23:44.184419' WHERE "spree_product_properties"."id" = 1073273780 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501190) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452111 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452111], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501190 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501190, 558399523) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452108 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399518 AND "spree_taxons"."taxonomy_id" = 854452108 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399518]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399518], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452108], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399518]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399524]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399524 THEN 558399518 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399518]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399524]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501190, 558399524)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501190, 558399518) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501190) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501190 AND "spree_option_types"."id" = 935339472 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501190) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["option_type_id", 935339472], ["position", 1], ["product_id", 1060501190], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.216779' WHERE "spree_products"."id" = 1060501190 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501190], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.218254' WHERE "spree_products"."id" = 1060501190  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591522, 979460694) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.221030' WHERE "spree_products"."id" = 1060501190 SQL (3.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501190], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.226906' WHERE "spree_products"."id" = 1060501190  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591523, 979460695) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339472 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.230503' WHERE "spree_products"."id" = 1060501190 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501190], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.232001' WHERE "spree_products"."id" = 1060501190  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591524, 979460696) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501190]] Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501190 AND "spree_option_types"."id" = 935339473 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501190) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["option_type_id", 935339473], ["position", 2], ["product_id", 1060501190], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339473 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339473) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339473], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.245923' WHERE "spree_products"."id" = 1060501190 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501190], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.247270' WHERE "spree_products"."id" = 1060501190  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591525, 979460697) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339473 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339473) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["name", "colour"], ["option_type_id", 935339473], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.252876' WHERE "spree_products"."id" = 1060501190 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501190], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.254189' WHERE "spree_products"."id" = 1060501190  (24.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591526, 979460698) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501190]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501190) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591522 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591523 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591524 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591525 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591526 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501190) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.303572' WHERE "spree_products"."id" = 1060501190  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591522 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.304792' WHERE "spree_products"."id" = 1060501190 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.306376' WHERE "spree_products"."id" = 1060501190  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591523 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.307396' WHERE "spree_products"."id" = 1060501190 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.308676' WHERE "spree_products"."id" = 1060501190  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591524 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.309791' WHERE "spree_products"."id" = 1060501190 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.311006' WHERE "spree_products"."id" = 1060501190  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591525 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.311927' WHERE "spree_products"."id" = 1060501190 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.313322' WHERE "spree_products"."id" = 1060501190  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591526 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:44.314488' WHERE "spree_products"."id" = 1060501190 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501190) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:44.317565' WHERE "spree_products"."id" = 1060501190 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501190 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591521) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501190)) Excel Loader processing 0 rows  (0.3ms) begin transaction Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (3.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:44 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591513, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1243 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501188 LIMIT 1 SQL (10.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:45.515061' WHERE "spree_products"."id" = 1060501188  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (32.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501188 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:45.566026' WHERE "spree_products"."id" = 1060501188 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501188 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013591513 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:45 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591517, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1244 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501189 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:53.592131' WHERE "spree_products"."id" = 1060501189  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:53.599876' WHERE "spree_products"."id" = 1060501189 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501189 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013591517 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:53 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591521, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1245 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:55.221228' WHERE "spree_products"."id" = 1060501190  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501190 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:55.228227' WHERE "spree_products"."id" = 1060501190 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501190 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013591521  (84.6ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501188 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591513) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501188)) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501189 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591517) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501189)) Spree::Product Load (1.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501190 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591521) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501190)) SQL (117.1ms) DELETE FROM "spree_products" SQL (45.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (62.5ms) DELETE FROM "spree_option_types" SQL (57.1ms) DELETE FROM "spree_option_values" SQL (91.1ms) DELETE FROM "spree_properties" SQL (84.0ms) DELETE FROM "spree_product_properties" SQL (65.4ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501191 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.012978' WHERE "spree_products"."id" = 1060501191 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501191], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.014917' WHERE "spree_products"."id" = 1060501191  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591527 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.017052' WHERE "spree_products"."id" = 1060501191  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501191  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["product_id", nil], ["property_id", 905835423], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501191, "updated_at" = '2012-10-22 22:23:56.024616' WHERE "spree_product_properties"."id" = 1073273781 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501191) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452112 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452112], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501191 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501191, 558399525) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452113 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452113], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501191, 558399526) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501191) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501191 AND "spree_option_types"."id" = 935339474 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501191) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["option_type_id", 935339474], ["position", 1], ["product_id", 1060501191], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339474) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339474], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.066507' WHERE "spree_products"."id" = 1060501191 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501191], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.067920' WHERE "spree_products"."id" = 1060501191  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591528, 979460699) Spree::OptionValue Load (31.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339474) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339474], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.105615' WHERE "spree_products"."id" = 1060501191 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501191], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.107003' WHERE "spree_products"."id" = 1060501191  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591529, 979460700) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339474) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339474], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.117287' WHERE "spree_products"."id" = 1060501191 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501191], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.122539' WHERE "spree_products"."id" = 1060501191  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591530, 979460701) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501191]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501191) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591528 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591529 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591530 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501191) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.140662' WHERE "spree_products"."id" = 1060501191  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591528 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.141840' WHERE "spree_products"."id" = 1060501191 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.143055' WHERE "spree_products"."id" = 1060501191  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591529 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.144105' WHERE "spree_products"."id" = 1060501191 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.145279' WHERE "spree_products"."id" = 1060501191  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591530 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.146636' WHERE "spree_products"."id" = 1060501191 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501191) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:23:56.149662' WHERE "spree_products"."id" = 1060501191 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501191 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.158322' WHERE "spree_products"."id" = 1060501192 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501192], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.159658' WHERE "spree_products"."id" = 1060501192  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591531 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.161183' WHERE "spree_products"."id" = 1060501192  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501192  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["product_id", nil], ["property_id", 905835424], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501192, "updated_at" = '2012-10-22 22:23:56.171930' WHERE "spree_product_properties"."id" = 1073273782 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501192) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452112 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501192 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501192, 558399525) Spree::Taxonomy Load (1.8ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452114 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452114], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501192, 558399527) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452112 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399525 AND "spree_taxons"."taxonomy_id" = 854452112 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399525]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399525], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452112], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399525]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399528]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399528 THEN 558399525 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399525]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399528]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399528 AND "spree_taxons"."taxonomy_id" = 854452112 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399528]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399528], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452112], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399528]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399529]] SQL (1.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399529 THEN 558399528 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399528]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399529]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501192, 558399528)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501192, 558399529) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501192) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501192 AND "spree_option_types"."id" = 935339474 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501192) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["option_type_id", 935339474], ["position", 1], ["product_id", 1060501192], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.282397' WHERE "spree_products"."id" = 1060501192 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501192], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.283684' WHERE "spree_products"."id" = 1060501192  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591532, 979460699) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.286770' WHERE "spree_products"."id" = 1060501192 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501192], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.288225' WHERE "spree_products"."id" = 1060501192  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591533, 979460700) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.291420' WHERE "spree_products"."id" = 1060501192 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501192], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.292839' WHERE "spree_products"."id" = 1060501192  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591534, 979460701) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501192]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501192) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591532 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591533 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591534 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501192) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.331864' WHERE "spree_products"."id" = 1060501192  (110.8ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591532 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.444315' WHERE "spree_products"."id" = 1060501192 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.447559' WHERE "spree_products"."id" = 1060501192  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591533 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.448779' WHERE "spree_products"."id" = 1060501192 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.450267' WHERE "spree_products"."id" = 1060501192  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591534 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.451295' WHERE "spree_products"."id" = 1060501192 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501192) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:23:56.454586' WHERE "spree_products"."id" = 1060501192 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501192 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.464095' WHERE "spree_products"."id" = 1060501193 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501193], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.465502' WHERE "spree_products"."id" = 1060501193  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591535 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.468497' WHERE "spree_products"."id" = 1060501193  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501193  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Created New Property # SQL (2.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["product_id", nil], ["property_id", 905835425], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501193, "updated_at" = '2012-10-22 22:23:56.482357' WHERE "spree_product_properties"."id" = 1073273783 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["product_id", nil], ["property_id", 905835424], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501193, "updated_at" = '2012-10-22 22:23:56.485925' WHERE "spree_product_properties"."id" = 1073273784 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["product_id", nil], ["property_id", 905835426], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501193, "updated_at" = '2012-10-22 22:23:56.490177' WHERE "spree_product_properties"."id" = 1073273785 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501193) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452115 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452115], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501193 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501193, 558399530) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452112 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399525 AND "spree_taxons"."taxonomy_id" = 854452112 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399525]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399525], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452112], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399525]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399531]] SQL (1.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399531 THEN 558399525 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399525]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399531]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501193, 558399531)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501193, 558399525) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501193) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501193 AND "spree_option_types"."id" = 935339474 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501193) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["option_type_id", 935339474], ["position", 1], ["product_id", 1060501193], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.603305' WHERE "spree_products"."id" = 1060501193 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501193], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.604850' WHERE "spree_products"."id" = 1060501193  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591536, 979460699) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.607983' WHERE "spree_products"."id" = 1060501193 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501193], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.609327' WHERE "spree_products"."id" = 1060501193  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591537, 979460700) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339474 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.612055' WHERE "spree_products"."id" = 1060501193 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501193], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.614070' WHERE "spree_products"."id" = 1060501193  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591538, 979460701) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501193]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501193 AND "spree_option_types"."id" = 935339475 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501193) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["option_type_id", 935339475], ["position", 2], ["product_id", 1060501193], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339475 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339475) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339475], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.684034' WHERE "spree_products"."id" = 1060501193 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501193], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.686991' WHERE "spree_products"."id" = 1060501193  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591539, 979460702) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339475 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339475) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00], ["name", "colour"], ["option_type_id", 935339475], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:23:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.694646' WHERE "spree_products"."id" = 1060501193 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501193], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.696147' WHERE "spree_products"."id" = 1060501193  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591540, 979460703) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501193]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501193) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591536 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591537 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591538 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591539 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591540 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501193) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.730093' WHERE "spree_products"."id" = 1060501193  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591536 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.732027' WHERE "spree_products"."id" = 1060501193 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.733721' WHERE "spree_products"."id" = 1060501193  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591537 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.735123' WHERE "spree_products"."id" = 1060501193 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.736856' WHERE "spree_products"."id" = 1060501193  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591538 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.738110' WHERE "spree_products"."id" = 1060501193 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.742296' WHERE "spree_products"."id" = 1060501193  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591539 SQL (3.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.744304' WHERE "spree_products"."id" = 1060501193 Spree::Product Load (1.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501193 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.853085' WHERE "spree_products"."id" = 1060501193  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591540 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:23:56.855465' WHERE "spree_products"."id" = 1060501193 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501193) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:23:56.873400' WHERE "spree_products"."id" = 1060501193 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501193 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (112.1ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591535) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501193)) Excel Loader processing 0 rows  (1.8ms) begin transaction Spree::Product Load (24.6ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:57 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.9ms) UPDATE "spree_assets" SET "viewable_id" = 1013591527, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1246 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 22:23:58 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591527, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1247 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501191) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501191) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501191 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 22:24:05 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591531, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1248 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501192) LIMIT 1  (21.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501192) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501192 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (3.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:24:14 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591535, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1249 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501193) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501193) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501193  (71.0ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501191 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591527) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501191)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501192 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591531) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501192)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501193 AND ("spree_variants".is_master = 't') LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591535) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501193)) SQL (86.4ms) DELETE FROM "spree_products" SQL (46.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (30.4ms) DELETE FROM "spree_option_types" SQL (25.4ms) DELETE FROM "spree_option_values" SQL (6.7ms) DELETE FROM "spree_properties" SQL (6.6ms) DELETE FROM "spree_product_properties" SQL (14.2ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.402452' WHERE "spree_products"."id" = 1060501194 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501194], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.404704' WHERE "spree_products"."id" = 1060501194  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591541 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.406569' WHERE "spree_products"."id" = 1060501194  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501194  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["product_id", nil], ["property_id", 905835427], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501194, "updated_at" = '2012-10-22 22:24:17.415068' WHERE "spree_product_properties"."id" = 1073273786 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501194) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452116 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452116], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501194 Product assigned to Taxons : ["Paintings"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501194, 558399532) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452117 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452117], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501194, 558399533) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501194) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501194 AND "spree_option_types"."id" = 935339476 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501194) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["option_type_id", 935339476], ["position", 1], ["product_id", 1060501194], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339476 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339476) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339476], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.457350' WHERE "spree_products"."id" = 1060501194 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501194], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.458730' WHERE "spree_products"."id" = 1060501194  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591542, 979460704) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339476 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339476) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339476], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.465695' WHERE "spree_products"."id" = 1060501194 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501194], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.467721' WHERE "spree_products"."id" = 1060501194  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591543, 979460705) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339476 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339476) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339476], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.473663' WHERE "spree_products"."id" = 1060501194 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501194], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.474928' WHERE "spree_products"."id" = 1060501194  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591544, 979460706) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501194]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501194) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591542 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591543 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591544 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501194) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.503622' WHERE "spree_products"."id" = 1060501194  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591542 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.514632' WHERE "spree_products"."id" = 1060501194 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.516396' WHERE "spree_products"."id" = 1060501194  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591543 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.517316' WHERE "spree_products"."id" = 1060501194 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.518787' WHERE "spree_products"."id" = 1060501194  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591544 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:17.519660' WHERE "spree_products"."id" = 1060501194 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:24:17 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013591541, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1250 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501194 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:18.728422' WHERE "spree_products"."id" = 1060501194  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501194 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:24:18 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591541, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1251 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:19.776220' WHERE "spree_products"."id" = 1060501194 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501194 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (5.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:24:19 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591541, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1252 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.734490' WHERE "spree_products"."id" = 1060501194 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501194 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501194) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:24:20.742686' WHERE "spree_products"."id" = 1060501194 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501194 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.862426' WHERE "spree_products"."id" = 1060501195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501195], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.863863' WHERE "spree_products"."id" = 1060501195  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591545 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.865438' WHERE "spree_products"."id" = 1060501195  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501195  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["product_id", nil], ["property_id", 905835428], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501195, "updated_at" = '2012-10-22 22:24:20.873545' WHERE "spree_product_properties"."id" = 1073273787 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501195) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452116 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501195 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501195, 558399532) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452118 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.9ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452118], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501195, 558399534) Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452119 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452119], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501195, 558399535) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501195) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501195 AND "spree_option_types"."id" = 935339476 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501195) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["option_type_id", 935339476], ["position", 1], ["product_id", 1060501195], ["updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339476 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.923405' WHERE "spree_products"."id" = 1060501195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501195], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.925058' WHERE "spree_products"."id" = 1060501195  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591546, 979460704) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339476 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.928097' WHERE "spree_products"."id" = 1060501195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501195], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.929263' WHERE "spree_products"."id" = 1060501195  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591547, 979460705) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339476 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.932351' WHERE "spree_products"."id" = 1060501195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501195], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.933618' WHERE "spree_products"."id" = 1060501195  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591548, 979460706) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501195]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501195) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591546 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591547 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591548 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501195) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.947907' WHERE "spree_products"."id" = 1060501195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591546 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.949082' WHERE "spree_products"."id" = 1060501195 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.950288' WHERE "spree_products"."id" = 1060501195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591547 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.951347' WHERE "spree_products"."id" = 1060501195 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.953022' WHERE "spree_products"."id" = 1060501195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591548 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:20.954056' WHERE "spree_products"."id" = 1060501195 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Mon, 22 Oct 2012 22:24:20 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591545, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1253 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 22 Oct 2012 22:24:27 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.1ms) UPDATE "spree_assets" SET "viewable_id" = 1013591545, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1254 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501195 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:29.212313' WHERE "spree_products"."id" = 1060501195  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501195 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501195) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:24:29.227940' WHERE "spree_products"."id" = 1060501195 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501195 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.2ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501194 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591541 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (23.1ms) DELETE FROM "spree_products" SQL (6.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452120 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452120], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452120], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452120], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (2.4ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (10.5ms) DELETE FROM "spree_option_types" SQL (5.0ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (4.9ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452121 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452121], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452121], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452121], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (2.2ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452121 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452121 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452121 LIMIT 1 Booted Spree using version 1.1.3 SQL (92.3ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452122 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452122], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452122], ["updated_at", Mon, 22 Oct 2012 22:24:29 UTC +00:00]]  (4.2ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "spree_taxons" SET "parent_id" = 558399542, "updated_at" = '2012-10-22 22:24:29.864246' WHERE "spree_taxons"."id" = 558399543 Spree::Taxon Load (3.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399542]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399543]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399543 THEN 558399542 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399542]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399543]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399542 ORDER BY "lft" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.006179' WHERE "spree_products"."id" = 1060501196 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501196], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.008538' WHERE "spree_products"."id" = 1060501196  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591549 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.010910' WHERE "spree_products"."id" = 1060501196  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501196  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["product_id", nil], ["property_id", 905835429], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501196, "updated_at" = '2012-10-22 22:24:30.020679' WHERE "spree_product_properties"."id" = 1073273788 Created New ProductProperty # Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501196) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452122 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501196 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501196, 558399542) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452123 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452123], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501196, 558399544) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501196) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionType Exists (3.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501196 AND "spree_option_types"."id" = 935339477 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501196) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["option_type_id", 935339477], ["position", 1], ["product_id", 1060501196], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::OptionValue Load (20.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339477) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339477], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.088817' WHERE "spree_products"."id" = 1060501196 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501196], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.090599' WHERE "spree_products"."id" = 1060501196  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591550, 979460707) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339477) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339477], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.096988' WHERE "spree_products"."id" = 1060501196 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501196], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.101072' WHERE "spree_products"."id" = 1060501196  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591551, 979460708) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339477) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339477], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.119430' WHERE "spree_products"."id" = 1060501196 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501196], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.121017' WHERE "spree_products"."id" = 1060501196  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591552, 979460709) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501196]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501196) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591550 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591551 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591552 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501196) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 SQL (1.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.137254' WHERE "spree_products"."id" = 1060501196  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591550 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.139911' WHERE "spree_products"."id" = 1060501196 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.141055' WHERE "spree_products"."id" = 1060501196  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591551 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.142138' WHERE "spree_products"."id" = 1060501196 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.143598' WHERE "spree_products"."id" = 1060501196  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591552 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.144598' WHERE "spree_products"."id" = 1060501196 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501196) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:24:30.148490' WHERE "spree_products"."id" = 1060501196 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501196 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.158321' WHERE "spree_products"."id" = 1060501197 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501197], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.159597' WHERE "spree_products"."id" = 1060501197  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591553 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.161049' WHERE "spree_products"."id" = 1060501197  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501197  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["product_id", nil], ["property_id", 905835430], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501197, "updated_at" = '2012-10-22 22:24:30.175312' WHERE "spree_product_properties"."id" = 1073273789 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501197) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452122 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501197 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501197, 558399542) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452124 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452124], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501197, 558399545) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452122 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399542 AND "spree_taxons"."taxonomy_id" = 854452122 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399542]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399542], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452122], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (2.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399542]] Spree::Taxon Load (1.6ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399546]] SQL (3.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399546 THEN 558399542 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399542]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399546]] Spree::Taxon Load (2.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399546 AND "spree_taxons"."taxonomy_id" = 854452122 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399546]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399546], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452122], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399546]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399547]] SQL (1.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399547 THEN 558399546 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399546]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399547]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501197, 558399546)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501197, 558399547) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501197) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501197 AND "spree_option_types"."id" = 935339477 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501197) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["option_type_id", 935339477], ["position", 1], ["product_id", 1060501197], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.239506' WHERE "spree_products"."id" = 1060501197 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501197], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.240881' WHERE "spree_products"."id" = 1060501197  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591554, 979460707) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.244345' WHERE "spree_products"."id" = 1060501197 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501197], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.245671' WHERE "spree_products"."id" = 1060501197  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591555, 979460708) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.248954' WHERE "spree_products"."id" = 1060501197 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501197], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.251241' WHERE "spree_products"."id" = 1060501197  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591556, 979460709) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501197]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501197) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591554 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591555 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591556 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501197) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.450427' WHERE "spree_products"."id" = 1060501197  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591554 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.451486' WHERE "spree_products"."id" = 1060501197 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.453028' WHERE "spree_products"."id" = 1060501197  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591555 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.454095' WHERE "spree_products"."id" = 1060501197 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.455429' WHERE "spree_products"."id" = 1060501197  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591556 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.456767' WHERE "spree_products"."id" = 1060501197 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501197) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:24:30.459475' WHERE "spree_products"."id" = 1060501197 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501197 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.468831' WHERE "spree_products"."id" = 1060501198 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501198], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.470477' WHERE "spree_products"."id" = 1060501198  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591557 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.472095' WHERE "spree_products"."id" = 1060501198  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501198  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["product_id", nil], ["property_id", 905835431], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060501198, "updated_at" = '2012-10-22 22:24:30.479149' WHERE "spree_product_properties"."id" = 1073273790 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["product_id", nil], ["property_id", 905835430], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501198, "updated_at" = '2012-10-22 22:24:30.482855' WHERE "spree_product_properties"."id" = 1073273791 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Created New Property # SQL (1.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["product_id", nil], ["property_id", 905835432], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501198, "updated_at" = '2012-10-22 22:24:30.487231' WHERE "spree_product_properties"."id" = 1073273792 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501198) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452125 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452125], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501198 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501198, 558399548) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452122 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399542 AND "spree_taxons"."taxonomy_id" = 854452122 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501198, 558399543)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501198, 558399542) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501198) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501198 AND "spree_option_types"."id" = 935339477 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501198) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["option_type_id", 935339477], ["position", 1], ["product_id", 1060501198], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.511588' WHERE "spree_products"."id" = 1060501198 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501198], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.513471' WHERE "spree_products"."id" = 1060501198  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591558, 979460707) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.516324' WHERE "spree_products"."id" = 1060501198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501198], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.517673' WHERE "spree_products"."id" = 1060501198  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591559, 979460708) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339477 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.520682' WHERE "spree_products"."id" = 1060501198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501198], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.521973' WHERE "spree_products"."id" = 1060501198  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591560, 979460709) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501198]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501198 AND "spree_option_types"."id" = 935339478 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501198) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["option_type_id", 935339478], ["position", 2], ["product_id", 1060501198], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339478 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339478) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339478], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.536839' WHERE "spree_products"."id" = 1060501198 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501198], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.537965' WHERE "spree_products"."id" = 1060501198  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591561, 979460710) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339478 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339478) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "colour"], ["option_type_id", 935339478], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.543041' WHERE "spree_products"."id" = 1060501198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501198], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.544300' WHERE "spree_products"."id" = 1060501198  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591562, 979460711) Spree::Product Load (14.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501198]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501198) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591558 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591559 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591560 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591561 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591562 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501198) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.579115' WHERE "spree_products"."id" = 1060501198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591558 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.580435' WHERE "spree_products"."id" = 1060501198 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.582428' WHERE "spree_products"."id" = 1060501198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591559 SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.583567' WHERE "spree_products"."id" = 1060501198 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.585974' WHERE "spree_products"."id" = 1060501198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591560 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.587317' WHERE "spree_products"."id" = 1060501198 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.592784' WHERE "spree_products"."id" = 1060501198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591561 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.594078' WHERE "spree_products"."id" = 1060501198 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501198 LIMIT 1 SQL (3.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.595556' WHERE "spree_products"."id" = 1060501198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591562 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.599872' WHERE "spree_products"."id" = 1060501198 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501198) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:24:30.602897' WHERE "spree_products"."id" = 1060501198 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501198 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (70.0ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501196 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501196 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501197 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501197 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452122 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399542 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452122 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399546 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399546 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399547 ORDER BY "lft" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (16.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452126 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452126], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452126], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]]  (4.3ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_taxons" SET "parent_id" = 558399549, "updated_at" = '2012-10-22 22:24:30.796257' WHERE "spree_taxons"."id" = 558399550 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399549]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399550]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399550 THEN 558399549 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399549]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399550]]  (2.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399549 ORDER BY "lft" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.918123' WHERE "spree_products"."id" = 1060501199 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501199], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.919554' WHERE "spree_products"."id" = 1060501199  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591563 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.921577' WHERE "spree_products"."id" = 1060501199  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501199  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["product_id", nil], ["property_id", 905835433], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501199, "updated_at" = '2012-10-22 22:24:30.928577' WHERE "spree_product_properties"."id" = 1073273793 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452126 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501199 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501199, 558399549) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452127 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452127], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501199, 558399551) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501199 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501199) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["option_type_id", 935339479], ["position", 1], ["product_id", 1060501199], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339479) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339479], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.965576' WHERE "spree_products"."id" = 1060501199 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501199], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.967779' WHERE "spree_products"."id" = 1060501199  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591564, 979460712) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501199]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501199 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339479) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339479], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:30 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.995907' WHERE "spree_products"."id" = 1060501199 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501199], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:30.999770' WHERE "spree_products"."id" = 1060501199  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591565, 979460713) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501199]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501199 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339479) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339479], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.010575' WHERE "spree_products"."id" = 1060501199 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501199], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.012364' WHERE "spree_products"."id" = 1060501199  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591566, 979460714) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501199]] Current value to assign : Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591564 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591565 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591566 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.034398' WHERE "spree_products"."id" = 1060501199  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591564 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.035761' WHERE "spree_products"."id" = 1060501199 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.037190' WHERE "spree_products"."id" = 1060501199  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591565 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.038182' WHERE "spree_products"."id" = 1060501199 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.039387' WHERE "spree_products"."id" = 1060501199  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591566 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.040574' WHERE "spree_products"."id" = 1060501199 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501199) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:24:31.043151' WHERE "spree_products"."id" = 1060501199 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501199 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.052071' WHERE "spree_products"."id" = 1060501200 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501200], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.053574' WHERE "spree_products"."id" = 1060501200  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591567 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.055265' WHERE "spree_products"."id" = 1060501200  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501200  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835434], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501200, "updated_at" = '2012-10-22 22:24:31.063512' WHERE "spree_product_properties"."id" = 1073273794 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452126 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501200 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501200, 558399549) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452128 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452128], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501200, 558399552) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452126 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399549 AND "spree_taxons"."taxonomy_id" = 854452126 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399549]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399549], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452126], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399549]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399553]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399553 THEN 558399549 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399549]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399553]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399553 AND "spree_taxons"."taxonomy_id" = 854452126 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399553]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399553], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452126], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399553]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399554]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399554 THEN 558399553 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399553]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399554]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501200, 558399553)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501200, 558399554) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501200 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501200) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["option_type_id", 935339479], ["position", 1], ["product_id", 1060501200], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.116572' WHERE "spree_products"."id" = 1060501200 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501200], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.118075' WHERE "spree_products"."id" = 1060501200  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591568, 979460712) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501200]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501200 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.126071' WHERE "spree_products"."id" = 1060501200 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501200], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.127572' WHERE "spree_products"."id" = 1060501200  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591569, 979460713) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501200]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501200 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.135482' WHERE "spree_products"."id" = 1060501200 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501200], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.136842' WHERE "spree_products"."id" = 1060501200  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591570, 979460714) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501200]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591569 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591570 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.155726' WHERE "spree_products"."id" = 1060501200  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591568 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.156989' WHERE "spree_products"."id" = 1060501200 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.158371' WHERE "spree_products"."id" = 1060501200  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591569 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.159481' WHERE "spree_products"."id" = 1060501200 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.160571' WHERE "spree_products"."id" = 1060501200  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591570 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.162088' WHERE "spree_products"."id" = 1060501200 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501200) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:24:31.164653' WHERE "spree_products"."id" = 1060501200 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501200 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.173386' WHERE "spree_products"."id" = 1060501201 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501201], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.174892' WHERE "spree_products"."id" = 1060501201  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591571 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.176571' WHERE "spree_products"."id" = 1060501201  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501201  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835435], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501201, "updated_at" = '2012-10-22 22:24:31.184340' WHERE "spree_product_properties"."id" = 1073273795 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835434], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501201, "updated_at" = '2012-10-22 22:24:31.187571' WHERE "spree_product_properties"."id" = 1073273796 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835436], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501201, "updated_at" = '2012-10-22 22:24:31.192368' WHERE "spree_product_properties"."id" = 1073273797 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452129 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452129], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501201 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501201, 558399555) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::Taxonomy Load (52.8ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452126 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399549 AND "spree_taxons"."taxonomy_id" = 854452126 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501201, 558399550)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501201, 558399549) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501201 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501201) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["option_type_id", 935339479], ["position", 1], ["product_id", 1060501201], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.272381' WHERE "spree_products"."id" = 1060501201 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501201], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.274148' WHERE "spree_products"."id" = 1060501201  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591572, 979460712) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501201]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501201 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.283567' WHERE "spree_products"."id" = 1060501201 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501201], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.284963' WHERE "spree_products"."id" = 1060501201  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591573, 979460713) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501201]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501201 AND "spree_option_types"."id" = 935339479 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339479 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.293427' WHERE "spree_products"."id" = 1060501201 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501201], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.294568' WHERE "spree_products"."id" = 1060501201  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591574, 979460714) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501201]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501201 AND "spree_option_types"."id" = 935339480 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501201) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["option_type_id", 935339480], ["position", 2], ["product_id", 1060501201], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339480 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339480) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339480], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.309567' WHERE "spree_products"."id" = 1060501201 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501201], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.311567' WHERE "spree_products"."id" = 1060501201  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591575, 979460715) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501201]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501201 AND "spree_option_types"."id" = 935339480 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339480 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339480) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "colour"], ["option_type_id", 935339480], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (14.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.335868' WHERE "spree_products"."id" = 1060501201 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501201], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.337567' WHERE "spree_products"."id" = 1060501201  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591576, 979460716) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501201]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591573 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591574 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591575 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591576 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.357147' WHERE "spree_products"."id" = 1060501201  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591572 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.358566' WHERE "spree_products"."id" = 1060501201 Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.360631' WHERE "spree_products"."id" = 1060501201  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591573 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.361566' WHERE "spree_products"."id" = 1060501201 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.363033' WHERE "spree_products"."id" = 1060501201  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591574 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.364312' WHERE "spree_products"."id" = 1060501201 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.365566' WHERE "spree_products"."id" = 1060501201  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591575 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.367328' WHERE "spree_products"."id" = 1060501201 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501201 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.369239' WHERE "spree_products"."id" = 1060501201  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591576 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.370311' WHERE "spree_products"."id" = 1060501201 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501201) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:24:31.373521' WHERE "spree_products"."id" = 1060501201 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501201 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.1ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501199 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501199 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501200 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501200 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452126 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399549 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452126 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399553 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399553 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399554 ORDER BY "lft" SQL (16.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (16.9ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452130 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452130], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (3.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452130], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_taxons" SET "parent_id" = 558399556, "updated_at" = '2012-10-22 22:24:31.513294' WHERE "spree_taxons"."id" = 558399557 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399556]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399557]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399557 THEN 558399556 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399556]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399557]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.4ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399556 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.544706' WHERE "spree_products"."id" = 1060501202 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501202], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.547561' WHERE "spree_products"."id" = 1060501202  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591577 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.549355' WHERE "spree_products"."id" = 1060501202  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501202  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835437], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501202, "updated_at" = '2012-10-22 22:24:31.572795' WHERE "spree_product_properties"."id" = 1073273798 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452130 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501202 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501202, 558399556) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452131 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452131], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501202, 558399558) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501202 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501202) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["option_type_id", 935339481], ["position", 1], ["product_id", 1060501202], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339481) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339481], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.611646' WHERE "spree_products"."id" = 1060501202 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501202], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.613309' WHERE "spree_products"."id" = 1060501202  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591578, 979460717) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501202]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501202 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339481) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339481], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.639742' WHERE "spree_products"."id" = 1060501202 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501202], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.641788' WHERE "spree_products"."id" = 1060501202  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591579, 979460718) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501202]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501202 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339481) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339481], ["position", 3], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.652301' WHERE "spree_products"."id" = 1060501202 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501202], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.653805' WHERE "spree_products"."id" = 1060501202  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591580, 979460719) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501202]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591578 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591579 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591580 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.674691' WHERE "spree_products"."id" = 1060501202  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591578 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.676005' WHERE "spree_products"."id" = 1060501202 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.677239' WHERE "spree_products"."id" = 1060501202  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591579 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.678596' WHERE "spree_products"."id" = 1060501202 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.679711' WHERE "spree_products"."id" = 1060501202  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591580 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.680874' WHERE "spree_products"."id" = 1060501202 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501202) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-22 22:24:31.683558' WHERE "spree_products"."id" = 1060501202 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.694312' WHERE "spree_products"."id" = 1060501203 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501203], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.695963' WHERE "spree_products"."id" = 1060501203  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591581 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.697557' WHERE "spree_products"."id" = 1060501203  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501203  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835438], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501203, "updated_at" = '2012-10-22 22:24:31.704359' WHERE "spree_product_properties"."id" = 1073273799 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452130 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501203 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501203, 558399556) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452132 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452132], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501203, 558399559) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452130 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399556 AND "spree_taxons"."taxonomy_id" = 854452130 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399556]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399556], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452130], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399556]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399560]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399560 THEN 558399556 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399556]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399560]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399560 AND "spree_taxons"."taxonomy_id" = 854452130 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399560]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399560], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452130], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399560]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399561]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399561 THEN 558399560 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399560]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399561]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501203, 558399560)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501203, 558399561) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501203 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501203) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["option_type_id", 935339481], ["position", 1], ["product_id", 1060501203], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.749876' WHERE "spree_products"."id" = 1060501203 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501203], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.751491' WHERE "spree_products"."id" = 1060501203  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591582, 979460717) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501203]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501203 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.759389' WHERE "spree_products"."id" = 1060501203 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501203], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.761127' WHERE "spree_products"."id" = 1060501203  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591583, 979460718) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501203]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501203 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.770227' WHERE "spree_products"."id" = 1060501203 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501203], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.771555' WHERE "spree_products"."id" = 1060501203  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591584, 979460719) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501203]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591582 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591583 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591584 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.790576' WHERE "spree_products"."id" = 1060501203  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591582 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.791842' WHERE "spree_products"."id" = 1060501203 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.792981' WHERE "spree_products"."id" = 1060501203  (2.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591583 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.856914' WHERE "spree_products"."id" = 1060501203 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.859158' WHERE "spree_products"."id" = 1060501203  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591584 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.860239' WHERE "spree_products"."id" = 1060501203 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501203) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-22 22:24:31.863757' WHERE "spree_products"."id" = 1060501203 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.872750' WHERE "spree_products"."id" = 1060501204 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501204], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.874213' WHERE "spree_products"."id" = 1060501204  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591585 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.875748' WHERE "spree_products"."id" = 1060501204  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501204  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835439], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501204, "updated_at" = '2012-10-22 22:24:31.882552' WHERE "spree_product_properties"."id" = 1073273800 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835438], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501204, "updated_at" = '2012-10-22 22:24:31.886367' WHERE "spree_product_properties"."id" = 1073273801 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["product_id", nil], ["property_id", 905835440], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501204, "updated_at" = '2012-10-22 22:24:31.891969' WHERE "spree_product_properties"."id" = 1073273802 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452133 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452133], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501204 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501204, 558399562) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452130 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399556 AND "spree_taxons"."taxonomy_id" = 854452130 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501204, 558399557)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501204, 558399556) Current value to assign : Spree::Product Exists (4.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501204 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501204) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["option_type_id", 935339481], ["position", 1], ["product_id", 1060501204], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.942796' WHERE "spree_products"."id" = 1060501204 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501204], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.944631' WHERE "spree_products"."id" = 1060501204  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591586, 979460717) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501204]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501204 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.956371' WHERE "spree_products"."id" = 1060501204 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501204], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.957936' WHERE "spree_products"."id" = 1060501204  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591587, 979460718) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501204]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501204 AND "spree_option_types"."id" = 935339481 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339481 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.969138' WHERE "spree_products"."id" = 1060501204 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501204], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.973887' WHERE "spree_products"."id" = 1060501204  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591588, 979460719) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501204]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501204 AND "spree_option_types"."id" = 935339482 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501204) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["option_type_id", 935339482], ["position", 2], ["product_id", 1060501204], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339482 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339482) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339482], ["position", 1], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.993067' WHERE "spree_products"."id" = 1060501204 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501204], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:31.994462' WHERE "spree_products"."id" = 1060501204  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591589, 979460720) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501204]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501204 AND "spree_option_types"."id" = 935339482 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339482 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339482) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "colour"], ["option_type_id", 935339482], ["position", 2], ["presentation", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.027549' WHERE "spree_products"."id" = 1060501204 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501204], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.028900' WHERE "spree_products"."id" = 1060501204  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591590, 979460721) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501204]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591586 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591587 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591588 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591589 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591590 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.048729' WHERE "spree_products"."id" = 1060501204  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591586 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.050521' WHERE "spree_products"."id" = 1060501204 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.051865' WHERE "spree_products"."id" = 1060501204  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591587 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.053067' WHERE "spree_products"."id" = 1060501204 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.054312' WHERE "spree_products"."id" = 1060501204  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591588 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.055333' WHERE "spree_products"."id" = 1060501204 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.056519' WHERE "spree_products"."id" = 1060501204  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591589 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.057548' WHERE "spree_products"."id" = 1060501204 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501204 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.058872' WHERE "spree_products"."id" = 1060501204  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591590 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.060083' WHERE "spree_products"."id" = 1060501204 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501204) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-22 22:24:32.064209' WHERE "spree_products"."id" = 1060501204  (5.0ms) commit transaction Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501202 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501202 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501203 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501203 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452130 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399556 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452130 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399560 LIMIT 1 Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399560 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399561 ORDER BY "lft" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501205 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.193544' WHERE "spree_products"."id" = 1060501205 SQL (1.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501205], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.196191' WHERE "spree_products"."id" = 1060501205  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591591 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.198193' WHERE "spree_products"."id" = 1060501205  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501205 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501205 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501205  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501205 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452134 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452134], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399563 AND "spree_taxons"."taxonomy_id" = 854452134 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399563]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558399563], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452134], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399563]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399564]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399564 THEN 558399563 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399563]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399564]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501205 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.5ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501205, 558399564)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501205, 558399563) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501205) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452135 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452135], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501205, 558399565) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501205) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591591 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501205) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-22 22:24:32.246042' WHERE "spree_products"."id" = 1060501205  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591591 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.248226' WHERE "spree_products"."id" = 1060501205 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501205 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060501205 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501206 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.313361' WHERE "spree_products"."id" = 1060501206 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501206], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.314787' WHERE "spree_products"."id" = 1060501206  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591592 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.316376' WHERE "spree_products"."id" = 1060501206  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501206 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501206 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501206  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501206 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452134 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501206 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501206, 558399563) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501206) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452136 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452136], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501206, 558399566) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501206) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452134 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399563 AND "spree_taxons"."taxonomy_id" = 854452134 LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399563]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399563], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452134], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399563]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399567]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399567 THEN 558399563 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399563]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399567]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399567 AND "spree_taxons"."taxonomy_id" = 854452134 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399567]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558399567], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452134], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399567]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399568]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399568 THEN 558399567 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399567]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399568]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501206, 558399567)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501206, 558399568) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501206) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591592 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501206) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:24:32.365648' WHERE "spree_products"."id" = 1060501206  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591592 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.367540' WHERE "spree_products"."id" = 1060501206 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501206 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060501206 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501207 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.375960' WHERE "spree_products"."id" = 1060501207 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501207], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.377418' WHERE "spree_products"."id" = 1060501207  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591593 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.378856' WHERE "spree_products"."id" = 1060501207  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501207 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501207 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501207  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501207 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452137 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452137], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399569 AND "spree_taxons"."taxonomy_id" = 854452137 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399569]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399569], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452137], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399569]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399570]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399570 THEN 558399569 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399569]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399570]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501207 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501207, 558399570)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501207, 558399569) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501207) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452138 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452138], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501207, 558399571) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501207) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591593 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501207) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-22 22:24:32.415347' WHERE "spree_products"."id" = 1060501207  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591593 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.417196' WHERE "spree_products"."id" = 1060501207 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501207 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060501207 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501208 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.429200' WHERE "spree_products"."id" = 1060501208 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501208], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.430847' WHERE "spree_products"."id" = 1060501208  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591594 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.432538' WHERE "spree_products"."id" = 1060501208  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501208 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501208 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501208  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501208 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452137 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399569 AND "spree_taxons"."taxonomy_id" = 854452137 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501208 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501208, 558399570)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501208, 558399569) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501208) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452134 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399563 AND "spree_taxons"."taxonomy_id" = 854452134 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399567 AND "spree_taxons"."taxonomy_id" = 854452134 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399567]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558399567], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452134], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399567]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399572]] SQL (1.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399572 THEN 558399567 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399567]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399572]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399572 AND "spree_taxons"."taxonomy_id" = 854452134 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399572]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558399572], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452134], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399572]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399573]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399573 THEN 558399572 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399572]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399573]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501208, 558399567)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501208, 558399572)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501208, 558399573)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501208, 558399563) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501208) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591594 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501208) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:24:32.492788' WHERE "spree_products"."id" = 1060501208  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591594 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.494761' WHERE "spree_products"."id" = 1060501208 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501208 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060501208 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501209 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.504660' WHERE "spree_products"."id" = 1060501209 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501209], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.506477' WHERE "spree_products"."id" = 1060501209  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591595 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.508471' WHERE "spree_products"."id" = 1060501209  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501209 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501209 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501209  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501209 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452137 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399569 AND "spree_taxons"."taxonomy_id" = 854452137 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399570 AND "spree_taxons"."taxonomy_id" = 854452137 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399570]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558399570], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452137], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399570]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399574]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399574 THEN 558399570 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399570]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399574]] Spree::Taxon Load (1.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501209 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501209, 558399570)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501209, 558399574)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501209, 558399569) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501209) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452136 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501209, 558399566) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501209) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591595 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501209) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:24:32.535052' WHERE "spree_products"."id" = 1060501209  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591595 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.537023' WHERE "spree_products"."id" = 1060501209 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501209 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060501209 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452134 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452135 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452136 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452137 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452138 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452134 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452134 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (4.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399563 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399563) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399567 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399567) Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399567) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399563 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399567 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399572 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399573 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399572) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452137 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452137 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399570 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399570 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399574 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399574) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452136 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452136 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399566 ORDER BY "lft" Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452138 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452138 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399571 ORDER BY "lft" SQL (3.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (17.4ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (2.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501210 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.733938' WHERE "spree_products"."id" = 1060501210 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501210], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.735717' WHERE "spree_products"."id" = 1060501210  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591596 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.737530' WHERE "spree_products"."id" = 1060501210  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501210 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501210 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501210  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501210 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452139 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452139], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399575 AND "spree_taxons"."taxonomy_id" = 854452139 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399575]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558399575], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452139], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399575]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399576]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399576 THEN 558399575 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399575]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399576]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501210 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501210, 558399576)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501210, 558399575) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501210) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452140 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452140], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501210, 558399577) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501210) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591596 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501210) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-22 22:24:32.775933' WHERE "spree_products"."id" = 1060501210  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591596 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.777882' WHERE "spree_products"."id" = 1060501210 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501210 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501211 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.786267' WHERE "spree_products"."id" = 1060501211 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501211], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.787529' WHERE "spree_products"."id" = 1060501211  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591597 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.789390' WHERE "spree_products"."id" = 1060501211  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501211 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501211 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501211  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501211 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452139 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501211 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501211, 558399575) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501211) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452141 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452141], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501211, 558399578) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501211) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452139 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399575 AND "spree_taxons"."taxonomy_id" = 854452139 LIMIT 1  (4.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399575]] SQL (1.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399575], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452139], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399575]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399579]] SQL (2.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399579 THEN 558399575 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399575]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399579]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399579 AND "spree_taxons"."taxonomy_id" = 854452139 LIMIT 1  (1.8ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399579]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558399579], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452139], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399579]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399580]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399580 THEN 558399579 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399579]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399580]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501211, 558399579)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501211, 558399580) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501211) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591597 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501211) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-22 22:24:32.849527' WHERE "spree_products"."id" = 1060501211  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591597 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.851527' WHERE "spree_products"."id" = 1060501211 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501211 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501212 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.861599' WHERE "spree_products"."id" = 1060501212 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501212], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.862952' WHERE "spree_products"."id" = 1060501212  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591598 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.864673' WHERE "spree_products"."id" = 1060501212  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501212 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501212 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501212  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501212 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452142 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452142], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399581 AND "spree_taxons"."taxonomy_id" = 854452142 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399581]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399581], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452142], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399581]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399582]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399582 THEN 558399581 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399581]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399582]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501212 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501212, 558399582)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501212, 558399581) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501212) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452143 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452143], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501212, 558399583) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501212) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591598 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501212) LIMIT 1  (3.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-22 22:24:32.975612' WHERE "spree_products"."id" = 1060501212  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591598 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.981127' WHERE "spree_products"."id" = 1060501212 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501212 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501213 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.990217' WHERE "spree_products"."id" = 1060501213 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501213], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.992107' WHERE "spree_products"."id" = 1060501213  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591599 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:32.993798' WHERE "spree_products"."id" = 1060501213  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501213 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501213  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452142 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399581 AND "spree_taxons"."taxonomy_id" = 854452142 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501213 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501213, 558399582)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501213, 558399581) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501213) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452139 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399575 AND "spree_taxons"."taxonomy_id" = 854452139 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399579 AND "spree_taxons"."taxonomy_id" = 854452139 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399579]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558399579], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452139], ["updated_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399579]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399584]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399584 THEN 558399579 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399579]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399584]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399584 AND "spree_taxons"."taxonomy_id" = 854452139 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399584]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558399584], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452139], ["updated_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399584]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399585]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399585 THEN 558399584 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399584]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399585]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501213, 558399579)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501213, 558399584)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501213, 558399585)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501213, 558399575) Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501213) LIMIT 1 Spree::InventoryUnit Load (1.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591599 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501213) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:24:33.057335' WHERE "spree_products"."id" = 1060501213  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591599 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:33.062475' WHERE "spree_products"."id" = 1060501213 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501213 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501214 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:33.074521' WHERE "spree_products"."id" = 1060501214 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501214], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:33.076336' WHERE "spree_products"."id" = 1060501214  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591600 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:33.077918' WHERE "spree_products"."id" = 1060501214  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501214 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501214  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452142 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399581 AND "spree_taxons"."taxonomy_id" = 854452142 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399582 AND "spree_taxons"."taxonomy_id" = 854452142 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399582]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558399582], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452142], ["updated_at", Mon, 22 Oct 2012 22:24:33 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399582]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399586]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399586 THEN 558399582 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399582]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399586]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501214 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501214, 558399582)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501214, 558399586)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501214, 558399581) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501214) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452141 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501214, 558399578) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501214) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591600 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501214) LIMIT 1  (0.9ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-22 22:24:33.107099' WHERE "spree_products"."id" = 1060501214  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591600 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-22 22:24:33.109520' WHERE "spree_products"."id" = 1060501214 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501214  (6.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452139 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452140 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452141 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452142 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452143 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.3ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452139 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452139 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399575 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399575) Spree::Taxon Load (1.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (3.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399579 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399579) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399579) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399575 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399579 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399584 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399585 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399584) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452142 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452142 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399582 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399582 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399586 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399586) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452141 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452141 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399578 ORDER BY "lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452143 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452143 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399583 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (22.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (11.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (15.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (28.8ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (16.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (5.3ms) DELETE FROM "spree_properties" SQL (34.1ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (18.8ms) DELETE FROM "spree_taxons" SQL (4.8ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (6.0ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (18.9ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (23.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (70.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452144 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452144], ["updated_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00]]  (4.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452144], ["updated_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00]]  (3.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452144], ["updated_at", Tue, 23 Oct 2012 10:12:43 UTC +00:00]]  (2.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (44.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452145 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452145], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452145], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]]  (3.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452145], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]]  (2.7ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (24.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452146 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452146], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452146], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452146], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00]]  (2.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.6ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 75 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 75 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 76 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 76 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 77 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 77 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 10:12:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 78 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 78 Current value to assign : Current value to assign :  (2.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (23.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 79 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 80 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.4ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 81 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 82  (2.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (22.3ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (21.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.4ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (22.4ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (1.4ms) begin transaction Current value to assign : SIMPLE_001  (0.2ms) rollback transaction SQL (3.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (23.5ms) DELETE FROM "spree_option_types" SQL (22.0ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (21.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (24.4ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:load=>true, :instance_methods=>true} Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (23.2ms) DELETE FROM "spree_option_values" SQL (25.0ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.4ms) commit transaction PRODUCT # MASTER: #  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 10:12:45 UTC +00:00]]  (25.7ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (21.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (3.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (23.6ms) DELETE FROM "spree_properties" SQL (22.2ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (24.4ms) DELETE FROM "spree_taxons" SQL (3.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (21.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.3ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (23.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452147 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452147], ["updated_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452147], ["updated_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (22.2ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452148 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452148], ["updated_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452148], ["updated_at", Tue, 23 Oct 2012 10:12:46 UTC +00:00]]  (22.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (24.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452149 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452149], ["updated_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452149], ["updated_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00]]  (2.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (110.2ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452150 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452150], ["updated_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (21.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452150], ["updated_at", Tue, 23 Oct 2012 10:12:47 UTC +00:00]]  (3.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.1ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (23.3ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (22.5ms) DELETE FROM "spree_option_types" SQL (25.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (22.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.9ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.6ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (4.4ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (23.4ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001  (0.0ms) rollback transaction SQL (1.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (23.2ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (21.2ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452151 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452151], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452151], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452151], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (3.0ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (1.1ms) begin transaction SQL (22.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452152 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452152], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452152], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452152], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (1.8ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452152 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452152 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452152 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (27.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452153 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452153], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452153], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (21.9ms) commit transaction  (0.1ms) begin transaction  (1.5ms) UPDATE "spree_taxons" SET "parent_id" = 558399610, "updated_at" = '2012-10-23 10:12:48.443075' WHERE "spree_taxons"."id" = 558399611 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399610]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399611]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399611 THEN 558399610 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399610]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399611]]  (2.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399610 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (21.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452154 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452154], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452154], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558399612, "updated_at" = '2012-10-23 10:12:48.620434' WHERE "spree_taxons"."id" = 558399613 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399612]] Spree::Taxon Load (20.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399613]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399613 THEN 558399612 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399612]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399613]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.5ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399612 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (3.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (21.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452155 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452155], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452155], ["updated_at", Tue, 23 Oct 2012 10:12:48 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.8ms) UPDATE "spree_taxons" SET "parent_id" = 558399614, "updated_at" = '2012-10-23 10:12:48.847514' WHERE "spree_taxons"."id" = 558399615 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399614]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399615]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399615 THEN 558399614 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399614]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399615]]  (3.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399614 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (3.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : test_ct_001  (0.0ms) rollback transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (22.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (23.6ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (23.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (27.5ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (25.9ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (25.5ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (8.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (5.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.4ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (6.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (8.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.5ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (38.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (9.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (27.0ms) DELETE FROM "spree_zones"  (1.4ms) begin transaction  (0.0ms) commit transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (25.6ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (32.7ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (7.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (13.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (11.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (13.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (12.7ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.0ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (13.9ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (6.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (3.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (12.0ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (13.4ms) DELETE FROM "spree_zones" SQL (3.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.1ms) commit transaction SQL (3.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (10.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (11.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (552.8ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (105.9ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.4ms) begin transaction SQL (752.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:37 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:37 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452156 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (43.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452156], ["updated_at", Tue, 23 Oct 2012 11:08:38 UTC +00:00]]  (195.3ms) commit transaction  (0.2ms) begin transaction  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452156], ["updated_at", Tue, 23 Oct 2012 11:08:39 UTC +00:00]]  (226.3ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452156], ["updated_at", Tue, 23 Oct 2012 11:08:39 UTC +00:00]]  (49.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (79.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (6.6ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (6.6ms) DELETE FROM "spree_product_properties" SQL (7.5ms) DELETE FROM "spree_variants" SQL (79.5ms) DELETE FROM "spree_taxons" SQL (30.2ms) DELETE FROM "spree_taxonomies" SQL (52.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452157 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452157], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]]  (164.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452157], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]]  (12.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452157], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]]  (26.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (7.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.1ms) DELETE FROM "spree_option_types" SQL (6.3ms) DELETE FROM "spree_option_values" SQL (7.5ms) DELETE FROM "spree_properties" SQL (6.2ms) DELETE FROM "spree_product_properties" SQL (7.8ms) DELETE FROM "spree_variants" SQL (32.9ms) DELETE FROM "spree_taxons" SQL (6.5ms) DELETE FROM "spree_taxonomies" SQL (10.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452158 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452158], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]]  (7.5ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452158], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]]  (10.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452158], ["updated_at", Tue, 23 Oct 2012 11:08:41 UTC +00:00]]  (33.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (10.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.8ms) DELETE FROM "spree_option_types" SQL (8.7ms) DELETE FROM "spree_option_values" SQL (6.4ms) DELETE FROM "spree_properties" SQL (7.7ms) DELETE FROM "spree_product_properties" SQL (7.5ms) DELETE FROM "spree_variants" SQL (6.7ms) DELETE FROM "spree_taxons" SQL (7.2ms) DELETE FROM "spree_taxonomies" SQL (28.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (6.8ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.5ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 83 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 83 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 84 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 84 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 85 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 85 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 86 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 86 Current value to assign : Current value to assign :  (77.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_zones"  SQL (48.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (9.6ms) DELETE FROM "spree_option_types" SQL (7.9ms) DELETE FROM "spree_option_values" SQL (9.2ms) DELETE FROM "spree_properties" SQL (9.9ms) DELETE FROM "spree_product_properties" SQL (7.9ms) DELETE FROM "spree_variants" SQL (7.6ms) DELETE FROM "spree_taxons" SQL (167.5ms) DELETE FROM "spree_taxonomies" SQL (6.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (31.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 87 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.9ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 88 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 89 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 11:08:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 90  (98.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (9.6ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (44.5ms) DELETE FROM "spree_option_types" SQL (31.3ms) DELETE FROM "spree_option_values" SQL (18.3ms) DELETE FROM "spree_properties" SQL (119.7ms) DELETE FROM "spree_product_properties" SQL (23.0ms) DELETE FROM "spree_variants" SQL (63.9ms) DELETE FROM "spree_taxons" SQL (19.5ms) DELETE FROM "spree_taxonomies" SQL (105.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (49.0ms) DELETE FROM "spree_products" SQL (21.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (8.3ms) DELETE FROM "spree_option_types" SQL (137.4ms) DELETE FROM "spree_option_values" SQL (8.4ms) DELETE FROM "spree_properties" SQL (8.0ms) DELETE FROM "spree_product_properties" SQL (70.5ms) DELETE FROM "spree_variants" SQL (5.8ms) DELETE FROM "spree_taxons" SQL (82.7ms) DELETE FROM "spree_taxonomies" SQL (28.4ms) DELETE FROM "spree_zones"  (0.8ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (121.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (12.0ms) DELETE FROM "spree_option_types" SQL (4.8ms) DELETE FROM "spree_option_values" SQL (147.7ms) DELETE FROM "spree_properties" SQL (8.1ms) DELETE FROM "spree_product_properties" SQL (145.0ms) DELETE FROM "spree_variants" SQL (9.8ms) DELETE FROM "spree_taxons" SQL (118.5ms) DELETE FROM "spree_taxonomies" SQL (18.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.2ms) rollback transaction SQL (9.8ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (8.5ms) DELETE FROM "spree_option_types" SQL (5.4ms) DELETE FROM "spree_option_values" SQL (83.6ms) DELETE FROM "spree_properties" SQL (6.9ms) DELETE FROM "spree_product_properties" SQL (12.4ms) DELETE FROM "spree_variants" SQL (30.6ms) DELETE FROM "spree_taxons" SQL (12.6ms) DELETE FROM "spree_taxonomies" SQL (6.8ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (5.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.9ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:load=>true, :instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (1.9ms) begin transaction SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.9ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (15.0ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (3.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452159 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452159], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452159], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (3.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452160 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452160], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (3.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452160], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.5ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452161 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452161], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (3.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452161], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (4.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.2ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452162 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452162], ["updated_at", Tue, 23 Oct 2012 11:08:45 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452162], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : MV_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001  (0.1ms) rollback transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452163 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452163], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452163], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (3.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452163], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (2.2ms) commit transaction Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452164 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452164], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452164], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452164], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (2.8ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452164 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452164 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452164 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452165 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452165], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452165], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.8ms) UPDATE "spree_taxons" SET "parent_id" = 558399639, "updated_at" = '2012-10-23 11:08:46.905888' WHERE "spree_taxons"."id" = 558399640 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399639]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399640]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399640 THEN 558399639 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399639]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399640]]  (2.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399639 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452166 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452166], ["updated_at", Tue, 23 Oct 2012 11:08:46 UTC +00:00]]  (3.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452166], ["updated_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00]]  (3.0ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399641, "updated_at" = '2012-10-23 11:08:47.010110' WHERE "spree_taxons"."id" = 558399642 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399641]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399642]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399642 THEN 558399641 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399641]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399642]]  (2.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399641 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (3.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452167 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452167], ["updated_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452167], ["updated_at", Tue, 23 Oct 2012 11:08:47 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399643, "updated_at" = '2012-10-23 11:08:47.168949' WHERE "spree_taxons"."id" = 558399644 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399643]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399644]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399644 THEN 558399643 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399643]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399644]]  (3.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399643 ORDER BY "lft"  (0.0ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.5ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : test_ct_001  (0.1ms) rollback transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (3.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (1062.0ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (323.1ms) DELETE FROM "spree_option_types" SQL (8.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (108.7ms) DELETE FROM "spree_taxonomies" SQL (244.2ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction SQL (33.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:18:31 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452168 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (55.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452168], ["updated_at", Tue, 23 Oct 2012 11:18:31 UTC +00:00]]  (2341.8ms) commit transaction  (0.3ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (45.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452168], ["updated_at", Tue, 23 Oct 2012 11:18:34 UTC +00:00]]  (604.6ms) commit transaction  (0.2ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452168], ["updated_at", Tue, 23 Oct 2012 11:18:34 UTC +00:00]]  (5.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (1090.3ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (329.2ms) DELETE FROM "spree_option_types" SQL (839.7ms) DELETE FROM "spree_option_values" SQL (2922.0ms) DELETE FROM "spree_properties" SQL (418.3ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452169 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452169], ["updated_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452169], ["updated_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00]]  (9.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452169], ["updated_at", Tue, 23 Oct 2012 11:18:42 UTC +00:00]]  (26.8ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (96.2ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (94.8ms) DELETE FROM "spree_option_types" SQL (71.6ms) DELETE FROM "spree_option_values" SQL (43.3ms) DELETE FROM "spree_properties" SQL (103.6ms) DELETE FROM "spree_product_properties" SQL (71.1ms) DELETE FROM "spree_variants" SQL (192.2ms) DELETE FROM "spree_taxons" SQL (80.2ms) DELETE FROM "spree_taxonomies" SQL (52.5ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (2.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452170 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452170], ["updated_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00]]  (61.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452170], ["updated_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00]]  (6.9ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452170], ["updated_at", Tue, 23 Oct 2012 11:18:43 UTC +00:00]]  (37.8ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (132.4ms) DELETE FROM "spree_products" SQL (3.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (22.3ms) DELETE FROM "spree_option_types" SQL (123.4ms) DELETE FROM "spree_option_values" SQL (75.0ms) DELETE FROM "spree_properties" SQL (40.9ms) DELETE FROM "spree_product_properties" SQL (96.1ms) DELETE FROM "spree_variants" SQL (192.2ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (323.8ms) DELETE FROM "spree_product_properties" SQL (350.3ms) DELETE FROM "spree_variants" SQL (370.9ms) DELETE FROM "spree_taxons" SQL (656.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (25.8ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (63.4ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (28.2ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (3.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (55.3ms) DELETE FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (51.4ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.5ms) DELETE FROM "spree_products" SQL (1.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (33.4ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (6.9ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (42.2ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_option_types" SQL (29.5ms) DELETE FROM "spree_option_values" SQL (17.9ms) DELETE FROM "spree_properties" SQL (2.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (26.3ms) DELETE FROM "spree_taxons" SQL (5.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (55.3ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  SQL (7.1ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (30.6ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.4ms) SELECT COUNT(*) FROM "spree_products"  SQL (18.1ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (32.7ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (7.4ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (39.8ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (6.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (52.3ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (28.7ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (6.4ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (46.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (26.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.7ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (66.2ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (4.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (38.1ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (24.1ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (5.0ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (26.7ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (6.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (51.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452171 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452171], ["updated_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00]]  (3.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452171], ["updated_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00]]  (5.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452171], ["updated_at", Tue, 23 Oct 2012 11:18:47 UTC +00:00]]  (2.5ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (24.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452172 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452172], ["updated_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452172], ["updated_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00]]  (5.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452172], ["updated_at", Tue, 23 Oct 2012 11:18:48 UTC +00:00]]  (3.3ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452172 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452172 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452172 LIMIT 1 Booted Spree using version 1.1.3 SQL (6.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (24.6ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (29.3ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (55.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (26.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" Booted Spree using version 1.1.3 SQL (8.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (25.0ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (50.7ms) DELETE FROM "spree_taxonomies" SQL (4.4ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.7ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (26.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (4.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (52.7ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (25.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (26.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (34.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (27.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452173 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452173], ["updated_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00]]  (2.8ms) commit transaction  (0.2ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452173], ["updated_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452173], ["updated_at", Tue, 23 Oct 2012 11:21:54 UTC +00:00]]  (1.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (69.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (92.3ms) DELETE FROM "spree_option_types" SQL (21.0ms) DELETE FROM "spree_option_values" SQL (31.1ms) DELETE FROM "spree_properties" SQL (27.9ms) DELETE FROM "spree_product_properties" SQL (44.7ms) DELETE FROM "spree_variants" SQL (18.4ms) DELETE FROM "spree_taxons" SQL (14.6ms) DELETE FROM "spree_taxonomies" SQL (33.5ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452174 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452174], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]]  (22.3ms) commit transaction  (0.4ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452174], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]]  (11.4ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452174], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]]  (20.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (24.3ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (25.5ms) DELETE FROM "spree_option_types" SQL (17.2ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452175 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452175], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452175], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452175], ["updated_at", Tue, 23 Oct 2012 11:21:55 UTC +00:00]]  (2.6ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (6.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.1ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (73.0ms) DELETE FROM "spree_taxons" SQL (19.1ms) DELETE FROM "spree_taxonomies" SQL (17.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (11.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (35.3ms) DELETE FROM "spree_option_types" SQL (3.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (10.5ms) DELETE FROM "spree_taxonomies" SQL (46.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (108.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (26.0ms) DELETE FROM "spree_option_types" SQL (44.7ms) DELETE FROM "spree_option_values" SQL (36.1ms) DELETE FROM "spree_properties" SQL (30.2ms) DELETE FROM "spree_product_properties" SQL (14.6ms) DELETE FROM "spree_variants" SQL (24.5ms) DELETE FROM "spree_taxons" SQL (16.2ms) DELETE FROM "spree_taxonomies" SQL (32.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452176 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452176], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]]  (9.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452176], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]]  (37.4ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452176], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]]  (19.9ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (19.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (28.6ms) DELETE FROM "spree_option_types" SQL (9.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452177 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452177], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452177], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452177], ["updated_at", Tue, 23 Oct 2012 11:21:57 UTC +00:00]]  (2.1ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452177 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452177 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452177 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" Booted Spree using version 1.1.3 SQL (4.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (13.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (4.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (787.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (108.9ms) DELETE FROM "spree_option_types" SQL (6.1ms) DELETE FROM "spree_option_values" SQL (426.5ms) DELETE FROM "spree_properties" SQL (317.6ms) DELETE FROM "spree_product_properties" SQL (210.4ms) DELETE FROM "spree_variants" SQL (103.4ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction SQL (17.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:06 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:29:06 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452178 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452178], ["updated_at", Tue, 23 Oct 2012 11:29:07 UTC +00:00]]  (210.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452178], ["updated_at", Tue, 23 Oct 2012 11:29:07 UTC +00:00]]  (216.0ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452178], ["updated_at", Tue, 23 Oct 2012 11:29:07 UTC +00:00]]  (111.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (245.5ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (361.2ms) DELETE FROM "spree_option_types" SQL (1428.2ms) DELETE FROM "spree_option_values" SQL (2413.2ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (4.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452179 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452179], ["updated_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452179], ["updated_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00]]  (3.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452179], ["updated_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00]]  (3.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (4.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (8.9ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (4.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (1.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452180 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452180], ["updated_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00]]  (3.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452180], ["updated_at", Tue, 23 Oct 2012 11:29:13 UTC +00:00]]  (5.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452180], ["updated_at", Tue, 23 Oct 2012 11:29:14 UTC +00:00]]  (3.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.1ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.1ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.1ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (68.2ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (5.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (265.1ms) DELETE FROM "spree_taxons" SQL (5.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (5.6ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (5.2ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452181 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452181], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452181], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]]  (1.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452181], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]]  (1.6ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (5.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452182 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452182], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452182], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452182], ["updated_at", Tue, 23 Oct 2012 11:29:15 UTC +00:00]]  (2.3ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452182 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452182 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452182 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (5.4ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products" SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products" Booted Spree using version 1.1.3 SQL (4.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (1.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (15.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452183 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452183], ["updated_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00]]  (4.8ms) commit transaction  (0.2ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452183], ["updated_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00]]  (3.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452183], ["updated_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00]]  (2.7ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (28.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (14.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452184 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452184], ["updated_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452184], ["updated_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452184], ["updated_at", Tue, 23 Oct 2012 11:32:36 UTC +00:00]]  (2.6ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (12.9ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452185 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452185], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00]]  (2.4ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452185], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452185], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00]]  (2.6ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (15.6ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.7ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 91 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 91 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 92 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 92 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 93 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 93 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 94 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 94 Current value to assign : Current value to assign :  (1.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (14.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 95 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 96 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (1.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 97 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 11:32:37 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 98  (2.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (14.7ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (12.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (13.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (4.7ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (12.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (12.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (3.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (13.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (13.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (3.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (5.4ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (15.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (16.6ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (15.9ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]]  (2.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (13.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (13.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (14.4ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (13.4ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (12.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452186 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452186], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452186], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (12.6ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (12.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452187 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452187], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452187], ["updated_at", Tue, 23 Oct 2012 11:32:38 UTC +00:00]]  (3.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (13.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452188 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452188], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452188], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]]  (2.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (12.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452189 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452189], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452189], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (11.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (5.2ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (13.1ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (14.6ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (13.9ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (14.2ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (13.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (13.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (71.0ms) DELETE FROM "spree_option_types" SQL (31.9ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : MULTI_001  (0.0ms) rollback transaction SQL (17.0ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (15.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (13.0ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452190 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452190], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452190], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452190], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]]  (3.0ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452191 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452191], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (3.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452191], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452191], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (2.8ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452191 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452191 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452191 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (13.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452192 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452192], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (3.2ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452192], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "spree_taxons" SET "parent_id" = 558399713, "updated_at" = '2012-10-23 11:32:40.200712' WHERE "spree_taxons"."id" = 558399714 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399713]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399714]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399714 THEN 558399713 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399713]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399714]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399713 ORDER BY "lft" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (17.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (17.0ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452193 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452193], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452193], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399715, "updated_at" = '2012-10-23 11:32:40.381989' WHERE "spree_taxons"."id" = 558399716 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399715]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399716]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399716 THEN 558399715 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399715]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399716]]  (1.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399715 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (14.1ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452194 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452194], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452194], ["updated_at", Tue, 23 Oct 2012 11:32:40 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399717, "updated_at" = '2012-10-23 11:32:40.546304' WHERE "spree_taxons"."id" = 558399718 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399717]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399718]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399718 THEN 558399717 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399717]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399718]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399717 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (12.1ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.2ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : test_ct_001  (0.0ms) rollback transaction SQL (19.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (13.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (3.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (12.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (12.6ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones" SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (14.8ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (14.5ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.2ms) commit transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (15.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (14.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (8.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (83.7ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 99 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 99 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 100 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 100 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 101 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 101 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 102 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 102 Current value to assign : Current value to assign :  (4.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (19.6ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.3ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 103 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 104 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (19.3ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 105 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 11:36:20 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 106  (3.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (19.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (20.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (11.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (26.3ms) DELETE FROM "spree_option_types" SQL (5.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.2ms) rollback transaction SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (19.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (17.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (89.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (3.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (18.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.9ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:21 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 11:36:21 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (3.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (90.5ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 11:36:21 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 11:36:21 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (3.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (17.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (17.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (18.1ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (26.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.6ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (8.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.4ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (6.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.4ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (9.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (35.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.7ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (11.0ms) DELETE FROM "spree_products" SQL (1.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (8.1ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (29.6ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (24.7ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (25.6ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (23.8ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (24.7ms) DELETE FROM "spree_zones"  (2.7ms) begin transaction  (0.1ms) commit transaction SQL (4.6ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (26.3ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (16.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (26.2ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones" SQL (3.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (24.4ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.0ms) commit transaction SQL (3.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (28.3ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.2ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (22.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (14.6ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (5.5ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (3.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (40.3ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (3.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (25.3ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (25.0ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" SQL (6.6ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (29.5ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.5ms) begin transaction  (0.2ms) commit transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (378.4ms) DELETE FROM "spree_taxons" SQL (4.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (44.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (27.0ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (11.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (27.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (11.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452195 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452195], ["updated_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00]]  (2.8ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452195], ["updated_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00]]  (3.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452195], ["updated_at", Tue, 23 Oct 2012 12:27:10 UTC +00:00]]  (1.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (5.1ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (203.1ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452196 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452196], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452196], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452196], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]]  (2.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (60.9ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452197 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452197], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452197], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452197], ["updated_at", Tue, 23 Oct 2012 12:27:11 UTC +00:00]]  (2.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (23.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (1.7ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.3ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.9ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 107 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 107 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 108 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 108 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 109 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 109 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 110 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 110 Current value to assign : Current value to assign :  (38.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (28.5ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.4ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.7ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 111 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 112 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 113 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (2.9ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 12:27:12 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 114  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (28.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (29.9ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.2ms) rollback transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (43.3ms) DELETE FROM "spree_variants" SQL (5.8ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (53.2ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.4ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (55.6ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.3ms) begin transaction SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 12:27:13 UTC +00:00]]  (2.1ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (3.8ms) DELETE FROM "spree_products" SQL (1.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 12:27:13 UTC +00:00]]  (3.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.6ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (5.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (29.9ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction SQL (3.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (32.5ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (90.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction SQL (3.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (26.0ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (26.8ms) DELETE FROM "spree_variants" SQL (4.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (61.5ms) DELETE FROM "spree_products" SQL (1.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.5ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (3.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (1.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452198 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452198], ["updated_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452198], ["updated_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (27.8ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452199 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452199], ["updated_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452199], ["updated_at", Tue, 23 Oct 2012 12:27:14 UTC +00:00]]  (4.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (4.1ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (29.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452200 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452200], ["updated_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452200], ["updated_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.3ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (56.6ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452201 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452201], ["updated_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00]]  (2.3ms) commit transaction  (0.4ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452201], ["updated_at", Tue, 23 Oct 2012 12:27:15 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (29.9ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (81.1ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (4.3ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (32.6ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (85.7ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (27.1ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : MULTI_001  (0.0ms) rollback transaction SQL (3.6ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (31.0ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (30.8ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (5.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452202 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452202], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (3.4ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452202], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452202], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (4.1ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452203 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452203], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452203], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452203], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (3.0ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452203 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452203 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452203 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (23.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.5ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452204 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452204], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (7.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452204], ["updated_at", Tue, 23 Oct 2012 12:27:16 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction  (0.8ms) UPDATE "spree_taxons" SET "parent_id" = 558399742, "updated_at" = '2012-10-23 12:27:16.855678' WHERE "spree_taxons"."id" = 558399743 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399742]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399743]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399743 THEN 558399742 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399742]] Spree::Taxon Load (0.7ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399743]]  (3.8ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399742 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (50.0ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452205 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452205], ["updated_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452205], ["updated_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399744, "updated_at" = '2012-10-23 12:27:17.089338' WHERE "spree_taxons"."id" = 558399745 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399744]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399745]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399745 THEN 558399744 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399744]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399745]]  (3.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399744 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.3ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.9ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452206 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452206], ["updated_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452206], ["updated_at", Tue, 23 Oct 2012 12:27:17 UTC +00:00]]  (3.7ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399746, "updated_at" = '2012-10-23 12:27:17.285088' WHERE "spree_taxons"."id" = 558399747 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399746]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399747]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399747 THEN 558399746 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399746]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399747]]  (4.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399746 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.3ms) rollback transaction SQL (5.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (33.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001  (0.0ms) rollback transaction SQL (207.5ms) DELETE FROM "spree_products" SQL (4.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (4.6ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_taxons"  (1.9ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (3.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (27.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (6.8ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (3.5ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (29.0ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (26.3ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (27.4ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (26.2ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.2ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (12.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (9.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.2ms) commit transaction Booted Spree using version 1.1.3 SQL (22.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (5.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (57.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452207 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452207], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452207], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452207], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (2.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (4.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452208 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452208], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452208], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452208], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (2.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (4.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452209 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452209], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (3.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452209], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452209], ["updated_at", Tue, 23 Oct 2012 12:36:56 UTC +00:00]]  (3.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (6.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction SQL (3.5ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 115 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 115 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 116 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 116 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 117 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 117 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 118 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 118 Current value to assign : Current value to assign :  (2.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.3ms) DELETE FROM "spree_products" SQL (1.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 119 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 120 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.4ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 121 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 122  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction SQL (1.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.6ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.1ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.0ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.0ms) rollback transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction  (0.2ms) begin transaction SQL (1.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 12:36:57 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.9ms) commit transaction SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.8ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452210 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452210], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452210], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (5.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (8.4ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452211 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452211], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452211], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (3.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452212 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452212], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (2.6ms) commit transaction  (0.3ms) begin transaction  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452212], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.5ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452213 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452213], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452213], ["updated_at", Tue, 23 Oct 2012 12:36:58 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (3.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.1ms) rollback transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.8ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (91.1ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (4.4ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001  (0.2ms) rollback transaction SQL (5.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452214 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452214], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452214], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (3.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452214], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.2ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452215 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452215], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452215], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452215], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.1ms) commit transaction Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452215 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452215 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452215 LIMIT 1 Booted Spree using version 1.1.3 SQL (6.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452216 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452216], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (1.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452216], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.8ms) UPDATE "spree_taxons" SET "parent_id" = 558399771, "updated_at" = '2012-10-23 12:36:59.367583' WHERE "spree_taxons"."id" = 558399772 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399771]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399772]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399772 THEN 558399771 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399771]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399772]]  (2.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399771 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (4.0ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (4.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452217 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452217], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452217], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "parent_id" = 558399773, "updated_at" = '2012-10-23 12:36:59.510866' WHERE "spree_taxons"."id" = 558399774 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399773]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399774]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399774 THEN 558399773 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399773]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399774]]  (2.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399773 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452218 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452218], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452218], ["updated_at", Tue, 23 Oct 2012 12:36:59 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399775, "updated_at" = '2012-10-23 12:36:59.660862' WHERE "spree_taxons"."id" = 558399776 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399775]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399776]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399776 THEN 558399775 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399775]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399776]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399775 ORDER BY "lft"  (0.0ms) begin transaction Current value to assign : DEMO_001  (0.0ms) rollback transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (3.6ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001  (0.0ms) rollback transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (3.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (3.4ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (3.8ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (5.3ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (5.6ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (5.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (9.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction Booted Spree using version 1.1.3 SQL (12.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (35.3ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones" SQL (4.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (29.3ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (4.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (3.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (30.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (43.2ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.1ms) commit transaction SQL (3.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (40.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (5.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (24.9ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.1ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (24.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (6.8ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (4.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (25.1ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (26.9ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (33.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (86.9ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.4ms) begin transaction  (0.2ms) commit transaction SQL (5.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (4.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (42.0ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (41.7ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.7ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (29.7ms) DELETE FROM "spree_taxonomies" SQL (5.9ms) DELETE FROM "spree_zones" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (78.3ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (9.2ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (30.8ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (6.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.7ms) begin transaction  (0.2ms) commit transaction SQL (3.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (5.7ms) DELETE FROM "spree_taxonomies" SQL (18.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (1.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (5.4ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 SQL (183.3ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.1ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction SQL (406.1ms) DELETE FROM "spree_products" SQL (1.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (114.1ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001  (0.1ms) rollback transaction SQL (242.6ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (3.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (31.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (30.7ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (30.4ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.2ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (30.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.1ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (29.7ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (29.9ms) DELETE FROM "spree_zones" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (32.0ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (97.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:42:45 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:42:45 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501215 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:45.780282' WHERE "spree_products"."id" = 1060501215 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501215], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:45.783775' WHERE "spree_products"."id" = 1060501215  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591601 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:45.786228' WHERE "spree_products"."id" = 1060501215  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501215 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501215  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (10.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591601 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501215) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:42:45 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:42:45 UTC +00:00]] Spree::OptionType Exists (73.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501215 AND "spree_option_types"."id" = 935339483 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501215) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00], ["option_type_id", 935339483], ["position", 1], ["product_id", 1060501215], ["updated_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501215) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 12:42:46.088433' WHERE "spree_products"."id" = 1060501215  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591601 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.090839' WHERE "spree_products"."id" = 1060501215 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501215 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501215 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.8ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501216 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.107986' WHERE "spree_products"."id" = 1060501216 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501216], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.109709' WHERE "spree_products"."id" = 1060501216  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591602 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.111580' WHERE "spree_products"."id" = 1060501216  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501216 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501216  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591602 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501216) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501216 AND "spree_option_types"."id" = 935339483 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501216) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00], ["option_type_id", 935339483], ["position", 1], ["product_id", 1060501216], ["updated_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501216) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 12:42:46.173693' WHERE "spree_products"."id" = 1060501216  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591602 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.175837' WHERE "spree_products"."id" = 1060501216 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501216 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501216 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501217 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.241149' WHERE "spree_products"."id" = 1060501217 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501217], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.242616' WHERE "spree_products"."id" = 1060501217  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591603 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.244576' WHERE "spree_products"."id" = 1060501217  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501217 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501217  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591603 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501217) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501217 AND "spree_option_types"."id" = 935339483 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501217) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00], ["option_type_id", 935339483], ["position", 1], ["product_id", 1060501217], ["updated_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501217 AND "spree_option_types"."id" = 935339484 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501217) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00], ["option_type_id", 935339484], ["position", 2], ["product_id", 1060501217], ["updated_at", Tue, 23 Oct 2012 12:42:46 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501217) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 12:42:46.328601' WHERE "spree_products"."id" = 1060501217  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591603 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:42:46.333833' WHERE "spree_products"."id" = 1060501217 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501217 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501217 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (13.6ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 12:42:46.441594')  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 12:42:46.442628')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501215 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (24.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501215 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501217 AND ("spree_variants".is_master = 't') LIMIT 1 Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (87.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501218 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.283604' WHERE "spree_products"."id" = 1060501218 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501218], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.286831' WHERE "spree_products"."id" = 1060501218  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591604 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.289171' WHERE "spree_products"."id" = 1060501218  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501218 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501218  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591604 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501218) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501218 AND "spree_option_types"."id" = 935339485 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501218) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["option_type_id", 935339485], ["position", 1], ["product_id", 1060501218], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501218) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 12:46:53.417162' WHERE "spree_products"."id" = 1060501218  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591604 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.419078' WHERE "spree_products"."id" = 1060501218 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501218 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501218 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501219 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.434419' WHERE "spree_products"."id" = 1060501219 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501219], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.435837' WHERE "spree_products"."id" = 1060501219  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591605 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.437814' WHERE "spree_products"."id" = 1060501219  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501219 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501219 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501219  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501219 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591605 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501219) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501219 AND "spree_option_types"."id" = 935339485 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501219) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["option_type_id", 935339485], ["position", 1], ["product_id", 1060501219], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501219) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 12:46:53.451837' WHERE "spree_products"."id" = 1060501219  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591605 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.454705' WHERE "spree_products"."id" = 1060501219 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501219 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501219 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.466243' WHERE "spree_products"."id" = 1060501220 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501220], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.470488' WHERE "spree_products"."id" = 1060501220  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591606 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.471942' WHERE "spree_products"."id" = 1060501220  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501220 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501220 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501220  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501220 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591606 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501220) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501220 AND "spree_option_types"."id" = 935339485 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501220) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["option_type_id", 935339485], ["position", 1], ["product_id", 1060501220], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501220 AND "spree_option_types"."id" = 935339486 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501220) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00], ["option_type_id", 935339486], ["position", 2], ["product_id", 1060501220], ["updated_at", Tue, 23 Oct 2012 12:46:53 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501220) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 12:46:53.496215' WHERE "spree_products"."id" = 1060501220  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591606 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:46:53.497982' WHERE "spree_products"."id" = 1060501220 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501220 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501220 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (11.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 12:46:53.524206')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 12:46:53.526670')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501218 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501218 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501220 AND ("spree_variants".is_master = 't') LIMIT 1 Booted Spree using version 1.1.3 SQL (6.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (27.1ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (25.1ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (27.4ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.4ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (26.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (27.0ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (53.0ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones" SQL (4.9ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (25.3ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (49.5ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (33.5ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (24.9ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.0ms) commit transaction SQL (4.6ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (25.3ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.1ms) commit transaction SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (21.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (40.6ms) DELETE FROM "spree_zones" SQL (3.9ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (30.8ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (47.9ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (28.1ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (507.2ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (364.0ms) DELETE FROM "spree_option_types" SQL (282.5ms) DELETE FROM "spree_option_values" SQL (6.6ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (135.1ms) DELETE FROM "spree_taxonomies" SQL (537.0ms) DELETE FROM "spree_zones" SQL (498.7ms) DELETE FROM "spree_products" SQL (1.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (116.8ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (5.8ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (121.4ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (151.5ms) DELETE FROM "spree_taxons" SQL (159.1ms) DELETE FROM "spree_taxonomies" SQL (4.3ms) DELETE FROM "spree_zones" SQL (3.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (229.1ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (344.2ms) DELETE FROM "spree_option_types" SQL (5425.6ms) DELETE FROM "spree_option_values" SQL (458.1ms) DELETE FROM "spree_properties" SQL (272.1ms) DELETE FROM "spree_product_properties" SQL (148.7ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (129.7ms) DELETE FROM "spree_taxonomies" SQL (268.6ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.0ms) commit transaction SQL (399.0ms) DELETE FROM "spree_products" SQL (2.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (449.9ms) DELETE FROM "spree_option_types" SQL (292.0ms) DELETE FROM "spree_option_values" SQL (331.3ms) DELETE FROM "spree_properties" SQL (117.3ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (117.2ms) DELETE FROM "spree_taxonomies" SQL (293.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (454.2ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (113.0ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (342.3ms) DELETE FROM "spree_products" SQL (1.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (319.4ms) DELETE FROM "spree_option_types" SQL (215.4ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (108.9ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (110.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (30.7ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" SQL (112.3ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (111.0ms) DELETE FROM "spree_product_properties" SQL (33.9ms) DELETE FROM "spree_variants" SQL (9.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.5ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (14.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452219 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452219], ["updated_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00]]  (5.1ms) commit transaction SQL (275.5ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452219], ["updated_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00]]  (3.2ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452219], ["updated_at", Tue, 23 Oct 2012 12:54:41 UTC +00:00]]  (2.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (4.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452220 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452220], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452220], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452220], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]]  (2.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (27.6ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452221 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452221], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]]  (2.6ms) commit transaction  (0.2ms) begin transaction  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452221], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452221], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00]]  (2.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.4ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (27.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.2ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 123 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 123 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 124 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 124 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.3ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 125 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 125 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 12:54:42 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 126 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 126 Current value to assign : Current value to assign :  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (63.1ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.9ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 127 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 128 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.7ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 129 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 130  (3.0ms) commit transaction  (0.6ms) SELECT COUNT(*) FROM "spree_zones"  SQL (68.4ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (6.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (33.6ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (32.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (2.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501221 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.517462' WHERE "spree_products"."id" = 1060501221 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501221], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.520454' WHERE "spree_products"."id" = 1060501221  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591607 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.523475' WHERE "spree_products"."id" = 1060501221  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501221 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501221  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591607 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501221) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501221 AND "spree_option_types"."id" = 935339487 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501221) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["option_type_id", 935339487], ["position", 1], ["product_id", 1060501221], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501221) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 12:54:43.720438' WHERE "spree_products"."id" = 1060501221  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591607 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.722577' WHERE "spree_products"."id" = 1060501221 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501221 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501221 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501222 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.734148' WHERE "spree_products"."id" = 1060501222 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501222], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.736787' WHERE "spree_products"."id" = 1060501222  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591608 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.738278' WHERE "spree_products"."id" = 1060501222  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501222 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501222  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591608 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501222) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501222 AND "spree_option_types"."id" = 935339487 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501222) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["option_type_id", 935339487], ["position", 1], ["product_id", 1060501222], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501222) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 12:54:43.814364' WHERE "spree_products"."id" = 1060501222  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591608 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.816146' WHERE "spree_products"."id" = 1060501222 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501222 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501222 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501223 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.830976' WHERE "spree_products"."id" = 1060501223 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501223], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.832440' WHERE "spree_products"."id" = 1060501223  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591609 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.834407' WHERE "spree_products"."id" = 1060501223  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501223 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501223  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591609 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (10.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501223) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501223 AND "spree_option_types"."id" = 935339487 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501223) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["option_type_id", 935339487], ["position", 1], ["product_id", 1060501223], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501223 AND "spree_option_types"."id" = 935339488 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501223) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00], ["option_type_id", 935339488], ["position", 2], ["product_id", 1060501223], ["updated_at", Tue, 23 Oct 2012 12:54:43 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501223) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 12:54:43.929953' WHERE "spree_products"."id" = 1060501223  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591609 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:43.932728' WHERE "spree_products"."id" = 1060501223 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501223 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501223 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (151.1ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 12:54:44.098393')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 12:54:44.099628')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501221 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501221 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501223 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (49.7ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (9.3ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (9.5ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (1.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501224 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.365701' WHERE "spree_products"."id" = 1060501224 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501224], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.368677' WHERE "spree_products"."id" = 1060501224  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591610 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.370132' WHERE "spree_products"."id" = 1060501224  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501224 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (32.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501224  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591610 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501224) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501224 AND "spree_option_types"."id" = 935339489 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501224) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["option_type_id", 935339489], ["position", 1], ["product_id", 1060501224], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501224) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 12:54:44.420126' WHERE "spree_products"."id" = 1060501224  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591610 SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.421842' WHERE "spree_products"."id" = 1060501224 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501224 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501225 LIMIT 1 SQL (29.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.431764' WHERE "spree_products"."id" = 1060501225 Binary data inserted for `string` type on column `sku` SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501225], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.463332' WHERE "spree_products"."id" = 1060501225  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591611 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.465129' WHERE "spree_products"."id" = 1060501225  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501225 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501225  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591611 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501225) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501225 AND "spree_option_types"."id" = 935339489 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501225) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["option_type_id", 935339489], ["position", 1], ["product_id", 1060501225], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501225) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 12:54:44.479405' WHERE "spree_products"."id" = 1060501225  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591611 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.481343' WHERE "spree_products"."id" = 1060501225 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501225 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501226 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.504128' WHERE "spree_products"."id" = 1060501226 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501226], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.506003' WHERE "spree_products"."id" = 1060501226  (59.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591612 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.568382' WHERE "spree_products"."id" = 1060501226  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501226 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5.9ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501226  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591612 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501226) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501226 AND "spree_option_types"."id" = 935339489 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501226) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["option_type_id", 935339489], ["position", 1], ["product_id", 1060501226], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501226 AND "spree_option_types"."id" = 935339490 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501226) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["option_type_id", 935339490], ["position", 2], ["product_id", 1060501226], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501226) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 12:54:44.611018' WHERE "spree_products"."id" = 1060501226  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591612 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.613076' WHERE "spree_products"."id" = 1060501226 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501226  (69.2ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_products"  (3.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 12:54:44.687765')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 12:54:44.691485')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501224 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501224 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501226 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (101.1ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 13:54:44 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501227 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.926494' WHERE "spree_products"."id" = 1060501227 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501227], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.928660' WHERE "spree_products"."id" = 1060501227  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591613 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.930601' WHERE "spree_products"."id" = 1060501227  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501227 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501227  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501227 AND "spree_option_types"."id" = 935339491 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501227) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["option_type_id", 935339491], ["position", 1], ["product_id", 1060501227], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501227) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501227 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 13:54:44 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501228 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.956633' WHERE "spree_products"."id" = 1060501228 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501228], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:44.993800' WHERE "spree_products"."id" = 1060501228  (7.6ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591614 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.003962' WHERE "spree_products"."id" = 1060501228  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501228 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501228 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501228  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501228 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501228 AND "spree_option_types"."id" = 935339491 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501228) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["option_type_id", 935339491], ["position", 1], ["product_id", 1060501228], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501228) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501228 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 13:54:44 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501229 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.077454' WHERE "spree_products"."id" = 1060501229 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501229], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.079056' WHERE "spree_products"."id" = 1060501229  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591615 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.080593' WHERE "spree_products"."id" = 1060501229  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501229 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501229 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501229  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501229 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501229 AND "spree_option_types"."id" = 935339491 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501229) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["option_type_id", 935339491], ["position", 1], ["product_id", 1060501229], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (2.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501229 AND "spree_option_types"."id" = 935339492 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501229) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["option_type_id", 935339492], ["position", 2], ["product_id", 1060501229], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501229) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501229 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501227 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (3.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (31.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (58.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501230 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.414732' WHERE "spree_products"."id" = 1060501230 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501230], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.416796' WHERE "spree_products"."id" = 1060501230  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591616 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.418394' WHERE "spree_products"."id" = 1060501230  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501230 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501230 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501230  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501230 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501230 AND "spree_option_types"."id" = 935339493 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501230) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["option_type_id", 935339493], ["position", 1], ["product_id", 1060501230], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501230) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501230 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501231 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.442223' WHERE "spree_products"."id" = 1060501231 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501231], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.505909' WHERE "spree_products"."id" = 1060501231  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591617 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.507554' WHERE "spree_products"."id" = 1060501231  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501231 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501231 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501231  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501231 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501231 AND "spree_option_types"."id" = 935339493 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501231) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["option_type_id", 935339493], ["position", 1], ["product_id", 1060501231], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501231) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501231 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501232 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.527382' WHERE "spree_products"."id" = 1060501232 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501232], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.530054' WHERE "spree_products"."id" = 1060501232  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591618 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.531731' WHERE "spree_products"."id" = 1060501232  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501232 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501232 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501232  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501232 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501232 AND "spree_option_types"."id" = 935339493 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501232) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["option_type_id", 935339493], ["position", 1], ["product_id", 1060501232], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501232 AND "spree_option_types"."id" = 935339494 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501232) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["option_type_id", 935339494], ["position", 2], ["product_id", 1060501232], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501232) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501232 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.4ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501230 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (69.3ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.3ms) begin transaction SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501233 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.960464' WHERE "spree_products"."id" = 1060501233 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501233], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.962219' WHERE "spree_products"."id" = 1060501233  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591619 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:45.963889' WHERE "spree_products"."id" = 1060501233  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501233  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["product_id", nil], ["property_id", 905835453], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060501233, "updated_at" = '2012-10-23 12:54:45.991466' WHERE "spree_product_properties"."id" = 1073273803 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501233) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452222 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452222], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501233 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501233, 558399786) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452223 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452223], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501233, 558399787) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501233) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501233 AND "spree_option_types"."id" = 935339495 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501233) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["option_type_id", 935339495], ["position", 1], ["product_id", 1060501233], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339495) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339495], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501233 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.188517' WHERE "spree_products"."id" = 1060501233 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501233], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.190108' WHERE "spree_products"."id" = 1060501233  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591620, 979460722) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339495) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339495], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501233 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.202204' WHERE "spree_products"."id" = 1060501233 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501233], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.203620' WHERE "spree_products"."id" = 1060501233  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591621, 979460723) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339495) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339495], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501233 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.208619' WHERE "spree_products"."id" = 1060501233 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501233], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.210105' WHERE "spree_products"."id" = 1060501233  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591622, 979460724) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501233]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501233) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591620 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591621 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591622 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501233) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501233 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.228861' WHERE "spree_products"."id" = 1060501233  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591620 SQL (30.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.230791' WHERE "spree_products"."id" = 1060501233 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501233 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.262794' WHERE "spree_products"."id" = 1060501233  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591621 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.264228' WHERE "spree_products"."id" = 1060501233 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501233 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.265681' WHERE "spree_products"."id" = 1060501233  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591622 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.266781' WHERE "spree_products"."id" = 1060501233 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501233) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:54:46.270155' WHERE "spree_products"."id" = 1060501233 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501233 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501234 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.283461' WHERE "spree_products"."id" = 1060501234 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501234], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.285391' WHERE "spree_products"."id" = 1060501234  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591623 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.287107' WHERE "spree_products"."id" = 1060501234  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501234  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (29.9ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["product_id", nil], ["property_id", 905835454], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501234, "updated_at" = '2012-10-23 12:54:46.324847' WHERE "spree_product_properties"."id" = 1073273804 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501234) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452222 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501234 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501234, 558399786) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452224 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452224], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501234, 558399788) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452222 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399786 AND "spree_taxons"."taxonomy_id" = 854452222 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399786]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399786], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452222], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399786]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399789]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399789 THEN 558399786 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399786]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399789]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399789 AND "spree_taxons"."taxonomy_id" = 854452222 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399789]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399789], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452222], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399789]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399790]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399790 THEN 558399789 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399789]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399790]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501234, 558399789)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501234, 558399790) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501234) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501234 AND "spree_option_types"."id" = 935339495 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501234) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["option_type_id", 935339495], ["position", 1], ["product_id", 1060501234], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501234 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.408411' WHERE "spree_products"."id" = 1060501234 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501234], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.409899' WHERE "spree_products"."id" = 1060501234  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591624, 979460722) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501234 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.412882' WHERE "spree_products"."id" = 1060501234 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501234], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.414441' WHERE "spree_products"."id" = 1060501234  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591625, 979460723) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501234 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.501076' WHERE "spree_products"."id" = 1060501234 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501234], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.503390' WHERE "spree_products"."id" = 1060501234  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591626, 979460724) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501234]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501234) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591624 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591625 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591626 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501234) LIMIT 1  (31.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501234 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.558494' WHERE "spree_products"."id" = 1060501234  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591624 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.559815' WHERE "spree_products"."id" = 1060501234 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501234 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.561075' WHERE "spree_products"."id" = 1060501234  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591625 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.562075' WHERE "spree_products"."id" = 1060501234 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501234 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.563409' WHERE "spree_products"."id" = 1060501234  (0.8ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591626 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.565075' WHERE "spree_products"."id" = 1060501234 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501234) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:54:46.568074' WHERE "spree_products"."id" = 1060501234 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501234 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.583074' WHERE "spree_products"."id" = 1060501235 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501235], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.585062' WHERE "spree_products"."id" = 1060501235  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591627 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.630845' WHERE "spree_products"."id" = 1060501235  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501235  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["product_id", nil], ["property_id", 905835455], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060501235, "updated_at" = '2012-10-23 12:54:46.640609' WHERE "spree_product_properties"."id" = 1073273805 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["product_id", nil], ["property_id", 905835454], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501235, "updated_at" = '2012-10-23 12:54:46.643819' WHERE "spree_product_properties"."id" = 1073273806 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["product_id", nil], ["property_id", 905835456], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501235, "updated_at" = '2012-10-23 12:54:46.654072' WHERE "spree_product_properties"."id" = 1073273807 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501235) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452225 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452225], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501235 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501235, 558399791) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452222 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399786 AND "spree_taxons"."taxonomy_id" = 854452222 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399786]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399786], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452222], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399786]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399792]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399792 THEN 558399786 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399786]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399792]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501235, 558399792)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501235, 558399786) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501235) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501235 AND "spree_option_types"."id" = 935339495 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501235) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["option_type_id", 935339495], ["position", 1], ["product_id", 1060501235], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.740685' WHERE "spree_products"."id" = 1060501235 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501235], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.742331' WHERE "spree_products"."id" = 1060501235  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591628, 979460722) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::Product Load (30.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.776424' WHERE "spree_products"."id" = 1060501235 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501235], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.779516' WHERE "spree_products"."id" = 1060501235  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591629, 979460723) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339495 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.782621' WHERE "spree_products"."id" = 1060501235 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501235], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.784069' WHERE "spree_products"."id" = 1060501235  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591630, 979460724) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501235]] Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501235 AND "spree_option_types"."id" = 935339496 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501235) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["option_type_id", 935339496], ["position", 2], ["product_id", 1060501235], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339496 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339496) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339496], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.799981' WHERE "spree_products"."id" = 1060501235 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501235], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.801473' WHERE "spree_products"."id" = 1060501235  (63.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591631, 979460725) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339496 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339496) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00], ["name", "colour"], ["option_type_id", 935339496], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.874553' WHERE "spree_products"."id" = 1060501235 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501235], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.875938' WHERE "spree_products"."id" = 1060501235  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591632, 979460726) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501235]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501235) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591628 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591629 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591630 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591631 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591632 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (34.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501235) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.933246' WHERE "spree_products"."id" = 1060501235  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591628 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.934822' WHERE "spree_products"."id" = 1060501235 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.936225' WHERE "spree_products"."id" = 1060501235  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591629 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.937193' WHERE "spree_products"."id" = 1060501235 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.938597' WHERE "spree_products"."id" = 1060501235  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591630 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.939921' WHERE "spree_products"."id" = 1060501235 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.941125' WHERE "spree_products"."id" = 1060501235  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591631 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.942065' WHERE "spree_products"."id" = 1060501235 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.943760' WHERE "spree_products"."id" = 1060501235  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591632 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:46.944743' WHERE "spree_products"."id" = 1060501235 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501235) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:54:46.948322' WHERE "spree_products"."id" = 1060501235 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501235 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.3ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.8ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501233 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501235 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.6ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501235 SQL (3.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (34.5ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]]  (1.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501236 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.479523' WHERE "spree_products"."id" = 1060501236 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501236], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.481330' WHERE "spree_products"."id" = 1060501236  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591633 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.483532' WHERE "spree_products"."id" = 1060501236  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501236  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["product_id", nil], ["property_id", 905835457], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501236, "updated_at" = '2012-10-23 12:54:47.491050' WHERE "spree_product_properties"."id" = 1073273808 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452226 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452226], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501236 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501236, 558399793) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452227 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452227], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501236, 558399794) Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501236 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501236) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["option_type_id", 935339497], ["position", 1], ["product_id", 1060501236], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339497) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339497], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501236 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.721956' WHERE "spree_products"."id" = 1060501236 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501236], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.723837' WHERE "spree_products"."id" = 1060501236  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591634, 979460727) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501236]] Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501236 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339497) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339497], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501236 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.738331' WHERE "spree_products"."id" = 1060501236 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501236], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.739977' WHERE "spree_products"."id" = 1060501236  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591635, 979460728) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501236]] Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501236 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339497) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339497], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501236 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.818556' WHERE "spree_products"."id" = 1060501236 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501236], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.820026' WHERE "spree_products"."id" = 1060501236  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591636, 979460729) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501236]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591635 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591636 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (32.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501236 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.879369' WHERE "spree_products"."id" = 1060501236  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591634 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.880563' WHERE "spree_products"."id" = 1060501236 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501236 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.882617' WHERE "spree_products"."id" = 1060501236  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591635 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.883945' WHERE "spree_products"."id" = 1060501236 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501236 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.886010' WHERE "spree_products"."id" = 1060501236  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591636 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.886959' WHERE "spree_products"."id" = 1060501236 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501236) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:54:47.890728' WHERE "spree_products"."id" = 1060501236 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501236 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501237 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.907183' WHERE "spree_products"."id" = 1060501237 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501237], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.909500' WHERE "spree_products"."id" = 1060501237  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591637 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:47.911230' WHERE "spree_products"."id" = 1060501237  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501237  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["product_id", nil], ["property_id", 905835458], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501237, "updated_at" = '2012-10-23 12:54:47.953038' WHERE "spree_product_properties"."id" = 1073273809 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452226 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501237 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501237, 558399793) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452228 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452228], ["updated_at", Tue, 23 Oct 2012 12:54:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501237, 558399795) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452226 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399793 AND "spree_taxons"."taxonomy_id" = 854452226 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399793]] SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399793], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452226], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399793]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399796]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399796 THEN 558399793 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399793]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399796]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399796 AND "spree_taxons"."taxonomy_id" = 854452226 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399796]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399796], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452226], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399796]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399797]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399797 THEN 558399796 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399796]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399797]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501237, 558399796)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501237, 558399797) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501237 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501237) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["option_type_id", 935339497], ["position", 1], ["product_id", 1060501237], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501237 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.122670' WHERE "spree_products"."id" = 1060501237 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501237], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (2.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.124675' WHERE "spree_products"."id" = 1060501237  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591638, 979460727) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501237]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501237 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501237 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.207464' WHERE "spree_products"."id" = 1060501237 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501237], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.208736' WHERE "spree_products"."id" = 1060501237  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591639, 979460728) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501237]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501237 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501237 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.218450' WHERE "spree_products"."id" = 1060501237 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501237], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.220853' WHERE "spree_products"."id" = 1060501237  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591640, 979460729) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501237]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591638 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591639 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591640 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501237 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.308301' WHERE "spree_products"."id" = 1060501237  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591638 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.309643' WHERE "spree_products"."id" = 1060501237 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501237 LIMIT 1 SQL (29.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.310907' WHERE "spree_products"."id" = 1060501237  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591639 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.341727' WHERE "spree_products"."id" = 1060501237 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501237 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.343028' WHERE "spree_products"."id" = 1060501237  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591640 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.344342' WHERE "spree_products"."id" = 1060501237 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501237) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:54:48.347938' WHERE "spree_products"."id" = 1060501237 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501237 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.361746' WHERE "spree_products"."id" = 1060501238 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501238], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.364086' WHERE "spree_products"."id" = 1060501238  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591641 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.526714' WHERE "spree_products"."id" = 1060501238  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501238  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["product_id", nil], ["property_id", 905835459], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501238, "updated_at" = '2012-10-23 12:54:48.538123' WHERE "spree_product_properties"."id" = 1073273810 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["product_id", nil], ["property_id", 905835458], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501238, "updated_at" = '2012-10-23 12:54:48.542999' WHERE "spree_product_properties"."id" = 1073273811 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["product_id", nil], ["property_id", 905835460], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501238, "updated_at" = '2012-10-23 12:54:48.549966' WHERE "spree_product_properties"."id" = 1073273812 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::Taxonomy Load (83.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (2.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452229 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452229], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501238 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501238, 558399798) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452226 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399793 AND "spree_taxons"."taxonomy_id" = 854452226 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399793]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399793], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452226], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399793]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399799]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399799 THEN 558399793 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399793]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399799]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501238, 558399799)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501238, 558399793) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501238 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501238) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["option_type_id", 935339497], ["position", 1], ["product_id", 1060501238], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.731018' WHERE "spree_products"."id" = 1060501238 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501238], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.732957' WHERE "spree_products"."id" = 1060501238  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591642, 979460727) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501238]] Spree::Variant Load (63.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501238 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.809004' WHERE "spree_products"."id" = 1060501238 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501238], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.810293' WHERE "spree_products"."id" = 1060501238  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591643, 979460728) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501238]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501238 AND "spree_option_types"."id" = 935339497 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339497 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.820390' WHERE "spree_products"."id" = 1060501238 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501238], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.821949' WHERE "spree_products"."id" = 1060501238  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591644, 979460729) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501238]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501238 AND "spree_option_types"."id" = 935339498 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501238) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["option_type_id", 935339498], ["position", 2], ["product_id", 1060501238], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339498 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339498) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339498], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.901806' WHERE "spree_products"."id" = 1060501238 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501238], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.903634' WHERE "spree_products"."id" = 1060501238  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591645, 979460730) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501238]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501238 AND "spree_option_types"."id" = 935339498 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339498 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339498) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339498], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.916520' WHERE "spree_products"."id" = 1060501238 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501238], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:48.918550' WHERE "spree_products"."id" = 1060501238  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591646, 979460731) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501238]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591642 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591643 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591644 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591645 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591646 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.002017' WHERE "spree_products"."id" = 1060501238  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591642 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.003303' WHERE "spree_products"."id" = 1060501238 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.004849' WHERE "spree_products"."id" = 1060501238  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591643 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.006412' WHERE "spree_products"."id" = 1060501238 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.007529' WHERE "spree_products"."id" = 1060501238  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591644 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.009853' WHERE "spree_products"."id" = 1060501238 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.011193' WHERE "spree_products"."id" = 1060501238  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591645 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.012599' WHERE "spree_products"."id" = 1060501238 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.014011' WHERE "spree_products"."id" = 1060501238  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591646 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.015276' WHERE "spree_products"."id" = 1060501238 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501238) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:54:49.019011' WHERE "spree_products"."id" = 1060501238 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501238 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (37.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501236 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501238 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501238 SQL (3.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (33.2ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (32.9ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (5.5ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (29.6ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (1.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452230 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452230], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452230], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501239 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.957362' WHERE "spree_products"."id" = 1060501239 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501239], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.959354' WHERE "spree_products"."id" = 1060501239  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591647 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:49.961491' WHERE "spree_products"."id" = 1060501239  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501239  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["product_id", nil], ["property_id", 905835461], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501239, "updated_at" = '2012-10-23 12:54:49.969726' WHERE "spree_product_properties"."id" = 1073273813 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501239) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452230 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501239 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501239, 558399800) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452231 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452231], ["updated_at", Tue, 23 Oct 2012 12:54:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501239, 558399802) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501239) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501239 AND "spree_option_types"."id" = 935339499 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501239) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["option_type_id", 935339499], ["position", 1], ["product_id", 1060501239], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339499) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339499], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.075854' WHERE "spree_products"."id" = 1060501239 SQL (32.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501239], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.109733' WHERE "spree_products"."id" = 1060501239  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591648, 979460732) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339499) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339499], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.116460' WHERE "spree_products"."id" = 1060501239 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501239], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.118457' WHERE "spree_products"."id" = 1060501239  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591649, 979460733) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339499) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339499], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.123420' WHERE "spree_products"."id" = 1060501239 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501239], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.124694' WHERE "spree_products"."id" = 1060501239  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591650, 979460734) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501239]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501239) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591648 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591649 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591650 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501239) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.142453' WHERE "spree_products"."id" = 1060501239  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591648 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.143980' WHERE "spree_products"."id" = 1060501239 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501239 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.185480' WHERE "spree_products"."id" = 1060501239  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591649 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.187178' WHERE "spree_products"."id" = 1060501239 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.188931' WHERE "spree_products"."id" = 1060501239  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591650 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.190341' WHERE "spree_products"."id" = 1060501239 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501239) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:54:50.194136' WHERE "spree_products"."id" = 1060501239 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501239 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.211575' WHERE "spree_products"."id" = 1060501240 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501240], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.215768' WHERE "spree_products"."id" = 1060501240  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591651 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.255458' WHERE "spree_products"."id" = 1060501240  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501240  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["product_id", nil], ["property_id", 905835462], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501240, "updated_at" = '2012-10-23 12:54:50.265947' WHERE "spree_product_properties"."id" = 1073273814 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501240) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452230 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501240 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501240, 558399800) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452232 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452232], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501240, 558399803) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452230 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399800 AND "spree_taxons"."taxonomy_id" = 854452230 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399800]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399800], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452230], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399800]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399804]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399804 THEN 558399800 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399800]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399804]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399804 AND "spree_taxons"."taxonomy_id" = 854452230 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399804]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399804], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452230], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399804]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399805]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399805 THEN 558399804 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399804]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399805]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501240, 558399804)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501240, 558399805) Spree::Product Exists (2.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501240) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501240 AND "spree_option_types"."id" = 935339499 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (4.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501240) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["option_type_id", 935339499], ["position", 1], ["product_id", 1060501240], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.363248' WHERE "spree_products"."id" = 1060501240 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501240], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.364983' WHERE "spree_products"."id" = 1060501240  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591652, 979460732) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501240 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.367884' WHERE "spree_products"."id" = 1060501240 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501240], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.401458' WHERE "spree_products"."id" = 1060501240  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591653, 979460733) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.405190' WHERE "spree_products"."id" = 1060501240 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501240], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.406847' WHERE "spree_products"."id" = 1060501240  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591654, 979460734) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501240]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501240) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591652 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591653 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591654 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501240) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.461973' WHERE "spree_products"."id" = 1060501240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591652 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.463250' WHERE "spree_products"."id" = 1060501240 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.464838' WHERE "spree_products"."id" = 1060501240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591653 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.465839' WHERE "spree_products"."id" = 1060501240 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.467210' WHERE "spree_products"."id" = 1060501240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591654 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.468249' WHERE "spree_products"."id" = 1060501240 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501240) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:54:50.472721' WHERE "spree_products"."id" = 1060501240 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501240 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.486807' WHERE "spree_products"."id" = 1060501241 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501241], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.488844' WHERE "spree_products"."id" = 1060501241  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591655 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.490194' WHERE "spree_products"."id" = 1060501241  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501241  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["product_id", nil], ["property_id", 905835463], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501241, "updated_at" = '2012-10-23 12:54:50.527636' WHERE "spree_product_properties"."id" = 1073273815 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["product_id", nil], ["property_id", 905835462], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501241, "updated_at" = '2012-10-23 12:54:50.529971' WHERE "spree_product_properties"."id" = 1073273816 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["product_id", nil], ["property_id", 905835464], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501241, "updated_at" = '2012-10-23 12:54:50.535083' WHERE "spree_product_properties"."id" = 1073273817 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501241) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452233 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452233], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Taxon Load (1.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501241 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501241, 558399806) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452230 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399800 AND "spree_taxons"."taxonomy_id" = 854452230 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399800]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399800], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452230], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399800]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399807]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399807 THEN 558399800 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399800]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399807]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501241, 558399807)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501241, 558399800) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501241) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501241 AND "spree_option_types"."id" = 935339499 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501241) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["option_type_id", 935339499], ["position", 1], ["product_id", 1060501241], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.607100' WHERE "spree_products"."id" = 1060501241 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501241], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.608657' WHERE "spree_products"."id" = 1060501241  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591656, 979460732) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.612174' WHERE "spree_products"."id" = 1060501241 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501241], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.645336' WHERE "spree_products"."id" = 1060501241  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591657, 979460733) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339499 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.648818' WHERE "spree_products"."id" = 1060501241 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501241], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.650414' WHERE "spree_products"."id" = 1060501241  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591658, 979460734) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501241]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501241 AND "spree_option_types"."id" = 935339500 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501241) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["option_type_id", 935339500], ["position", 2], ["product_id", 1060501241], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339500 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339500) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339500], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.669281' WHERE "spree_products"."id" = 1060501241 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501241], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.670816' WHERE "spree_products"."id" = 1060501241  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591659, 979460735) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339500 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339500) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "colour"], ["option_type_id", 935339500], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.708603' WHERE "spree_products"."id" = 1060501241 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501241], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.710570' WHERE "spree_products"."id" = 1060501241  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591660, 979460736) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501241]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501241) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591656 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591657 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591658 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591659 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591660 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501241) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.730222' WHERE "spree_products"."id" = 1060501241  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591656 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.731599' WHERE "spree_products"."id" = 1060501241 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.763590' WHERE "spree_products"."id" = 1060501241  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591657 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.764965' WHERE "spree_products"."id" = 1060501241 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.766285' WHERE "spree_products"."id" = 1060501241  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591658 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.767670' WHERE "spree_products"."id" = 1060501241 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.768813' WHERE "spree_products"."id" = 1060501241  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591659 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.769898' WHERE "spree_products"."id" = 1060501241 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.771239' WHERE "spree_products"."id" = 1060501241  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591660 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:50.772466' WHERE "spree_products"."id" = 1060501241 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501241) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:54:50.775965' WHERE "spree_products"."id" = 1060501241 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501241 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (38.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501240 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501241 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.7ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501239 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591648 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591649 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339499 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591650 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (35.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452234 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452234], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]]  (4.3ms) commit transaction  (0.1ms) begin transaction  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (3.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452234], ["updated_at", Tue, 23 Oct 2012 12:54:50 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (1.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501242 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.139186' WHERE "spree_products"."id" = 1060501242 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501242], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.141209' WHERE "spree_products"."id" = 1060501242  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591661 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.142895' WHERE "spree_products"."id" = 1060501242  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501242  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["product_id", nil], ["property_id", 905835465], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501242, "updated_at" = '2012-10-23 12:54:51.185084' WHERE "spree_product_properties"."id" = 1073273818 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452234 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501242 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501242, 558399808) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452235 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452235], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501242, 558399810) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501242 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501242) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["option_type_id", 935339501], ["position", 1], ["product_id", 1060501242], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339501) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339501], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501242 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.321877' WHERE "spree_products"."id" = 1060501242 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501242], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.323608' WHERE "spree_products"."id" = 1060501242  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591662, 979460737) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501242]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501242 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339501) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339501], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.336950' WHERE "spree_products"."id" = 1060501242 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501242], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.338528' WHERE "spree_products"."id" = 1060501242  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591663, 979460738) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501242]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501242 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339501) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339501], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.413040' WHERE "spree_products"."id" = 1060501242 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501242], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.414813' WHERE "spree_products"."id" = 1060501242  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591664, 979460739) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501242]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591662 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591663 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591664 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501242 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.466161' WHERE "spree_products"."id" = 1060501242  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591662 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.467688' WHERE "spree_products"."id" = 1060501242 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.469080' WHERE "spree_products"."id" = 1060501242  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591663 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.470257' WHERE "spree_products"."id" = 1060501242 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.471381' WHERE "spree_products"."id" = 1060501242  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591664 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.472257' WHERE "spree_products"."id" = 1060501242 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501242) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:54:51.475152' WHERE "spree_products"."id" = 1060501242 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501242 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.521322' WHERE "spree_products"."id" = 1060501243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501243], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.522666' WHERE "spree_products"."id" = 1060501243  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591665 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.524461' WHERE "spree_products"."id" = 1060501243  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501243  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Created New Property # SQL (1.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["product_id", nil], ["property_id", 905835466], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501243, "updated_at" = '2012-10-23 12:54:51.533928' WHERE "spree_product_properties"."id" = 1073273819 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452234 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501243 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501243, 558399808) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452236 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452236], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501243, 558399811) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452234 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399808 AND "spree_taxons"."taxonomy_id" = 854452234 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399808]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399808], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452234], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399808]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399812]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399812 THEN 558399808 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399808]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399812]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399812 AND "spree_taxons"."taxonomy_id" = 854452234 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399812]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399812], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452234], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399812]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399813]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399813 THEN 558399812 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399812]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399813]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501243, 558399812)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501243, 558399813) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501243 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501243) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["option_type_id", 935339501], ["position", 1], ["product_id", 1060501243], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.690895' WHERE "spree_products"."id" = 1060501243 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501243], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.692835' WHERE "spree_products"."id" = 1060501243  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591666, 979460737) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501243]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1 Spree::OptionType Load (64.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501243 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.767452' WHERE "spree_products"."id" = 1060501243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501243], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.769216' WHERE "spree_products"."id" = 1060501243  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591667, 979460738) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501243]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501243 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.778939' WHERE "spree_products"."id" = 1060501243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501243], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.781212' WHERE "spree_products"."id" = 1060501243  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591668, 979460739) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501243]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591666 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591667 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591668 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.869027' WHERE "spree_products"."id" = 1060501243  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591666 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.870508' WHERE "spree_products"."id" = 1060501243 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.871917' WHERE "spree_products"."id" = 1060501243  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591667 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.873498' WHERE "spree_products"."id" = 1060501243 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.907608' WHERE "spree_products"."id" = 1060501243  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591668 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.908715' WHERE "spree_products"."id" = 1060501243 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501243) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:54:51.913430' WHERE "spree_products"."id" = 1060501243 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501243 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.924657' WHERE "spree_products"."id" = 1060501244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501244], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.927763' WHERE "spree_products"."id" = 1060501244  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591669 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:51.929468' WHERE "spree_products"."id" = 1060501244  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501244  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["product_id", nil], ["property_id", 905835467], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501244, "updated_at" = '2012-10-23 12:54:51.968919' WHERE "spree_product_properties"."id" = 1073273820 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["product_id", nil], ["property_id", 905835466], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501244, "updated_at" = '2012-10-23 12:54:51.973184' WHERE "spree_product_properties"."id" = 1073273821 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["product_id", nil], ["property_id", 905835468], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501244, "updated_at" = '2012-10-23 12:54:51.978876' WHERE "spree_product_properties"."id" = 1073273822 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452237 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452237], ["updated_at", Tue, 23 Oct 2012 12:54:51 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501244 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501244, 558399814) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452234 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399808 AND "spree_taxons"."taxonomy_id" = 854452234 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399808]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399808], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452234], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399808]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399815]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399815 THEN 558399808 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399808]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399815]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501244, 558399815)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501244, 558399808) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501244 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501244) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["option_type_id", 935339501], ["position", 1], ["product_id", 1060501244], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.081837' WHERE "spree_products"."id" = 1060501244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501244], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.116164' WHERE "spree_products"."id" = 1060501244  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591670, 979460737) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501244]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501244 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.126930' WHERE "spree_products"."id" = 1060501244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501244], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.128930' WHERE "spree_products"."id" = 1060501244  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591671, 979460738) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501244]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501244 AND "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339501 LIMIT 1  (60.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.200515' WHERE "spree_products"."id" = 1060501244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501244], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.201928' WHERE "spree_products"."id" = 1060501244  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591672, 979460739) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501244]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501244 AND "spree_option_types"."id" = 935339502 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501244) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["option_type_id", 935339502], ["position", 2], ["product_id", 1060501244], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339502 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339502) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339502], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]]  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.222449' WHERE "spree_products"."id" = 1060501244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501244], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.253182' WHERE "spree_products"."id" = 1060501244  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591673, 979460740) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501244]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501244 AND "spree_option_types"."id" = 935339502 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339502 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339502) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "colour"], ["option_type_id", 935339502], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.266629' WHERE "spree_products"."id" = 1060501244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501244], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.267926' WHERE "spree_products"."id" = 1060501244  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591674, 979460741) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501244]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591670 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591671 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591672 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591673 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591674 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.356727' WHERE "spree_products"."id" = 1060501244  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591670 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.358644' WHERE "spree_products"."id" = 1060501244 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.360177' WHERE "spree_products"."id" = 1060501244  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591671 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.361127' WHERE "spree_products"."id" = 1060501244 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.362462' WHERE "spree_products"."id" = 1060501244  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591672 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.363777' WHERE "spree_products"."id" = 1060501244 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.365461' WHERE "spree_products"."id" = 1060501244  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591673 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.366452' WHERE "spree_products"."id" = 1060501244 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.368127' WHERE "spree_products"."id" = 1060501244  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591674 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.370421' WHERE "spree_products"."id" = 1060501244 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501244) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:54:52.374125' WHERE "spree_products"."id" = 1060501244 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501244 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (40.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501243 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501244 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501242 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591662 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591663 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339501 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591664 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (33.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452238 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452238], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452238], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501245 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.783913' WHERE "spree_products"."id" = 1060501245 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501245], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.785913' WHERE "spree_products"."id" = 1060501245  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591675 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.787672' WHERE "spree_products"."id" = 1060501245  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501245  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["product_id", nil], ["property_id", 905835469], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501245, "updated_at" = '2012-10-23 12:54:52.827105' WHERE "spree_product_properties"."id" = 1073273823 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452238 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501245 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501245, 558399816) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452239 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452239], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501245, 558399818) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501245 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501245) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["option_type_id", 935339503], ["position", 1], ["product_id", 1060501245], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339503) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339503], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501245 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.862612' WHERE "spree_products"."id" = 1060501245 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501245], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.864683' WHERE "spree_products"."id" = 1060501245  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591676, 979460742) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501245]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501245 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339503) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339503], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.906572' WHERE "spree_products"."id" = 1060501245 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501245], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.908324' WHERE "spree_products"."id" = 1060501245  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591677, 979460743) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501245]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501245 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339503) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339503], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.920207' WHERE "spree_products"."id" = 1060501245 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501245], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.921909' WHERE "spree_products"."id" = 1060501245  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591678, 979460744) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501245]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591676 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591677 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591678 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.943091' WHERE "spree_products"."id" = 1060501245  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591676 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.944671' WHERE "spree_products"."id" = 1060501245 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.946093' WHERE "spree_products"."id" = 1060501245  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591677 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.947290' WHERE "spree_products"."id" = 1060501245 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.948908' WHERE "spree_products"."id" = 1060501245  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591678 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.949806' WHERE "spree_products"."id" = 1060501245 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501245) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:54:52.953073' WHERE "spree_products"."id" = 1060501245 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501246 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.961907' WHERE "spree_products"."id" = 1060501246 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501246], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.963306' WHERE "spree_products"."id" = 1060501246  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591679 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:52.964526' WHERE "spree_products"."id" = 1060501246  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501246  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["product_id", nil], ["property_id", 905835470], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501246, "updated_at" = '2012-10-23 12:54:52.971734' WHERE "spree_product_properties"."id" = 1073273824 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452238 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501246 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501246, 558399816) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452240 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452240], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501246, 558399819) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452238 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399816 AND "spree_taxons"."taxonomy_id" = 854452238 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399816]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399816], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452238], ["updated_at", Tue, 23 Oct 2012 12:54:52 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399816]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399820]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399820 THEN 558399816 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399816]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399820]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399820 AND "spree_taxons"."taxonomy_id" = 854452238 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399820]] Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399820], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452238], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399820]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399821]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399821 THEN 558399820 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399820]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399821]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501246, 558399820)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501246, 558399821) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501246 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501246) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339503], ["position", 1], ["product_id", 1060501246], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.027139' WHERE "spree_products"."id" = 1060501246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501246], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.028439' WHERE "spree_products"."id" = 1060501246  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591680, 979460742) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501246]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501246 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501246 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.038654' WHERE "spree_products"."id" = 1060501246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501246], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.040027' WHERE "spree_products"."id" = 1060501246  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591681, 979460743) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501246]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501246 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501246 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.048820' WHERE "spree_products"."id" = 1060501246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501246], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.050294' WHERE "spree_products"."id" = 1060501246  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591682, 979460744) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501246]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591680 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591681 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591682 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501246 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.068740' WHERE "spree_products"."id" = 1060501246  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591680 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.070259' WHERE "spree_products"."id" = 1060501246 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501246 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.071726' WHERE "spree_products"."id" = 1060501246  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591681 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.072905' WHERE "spree_products"."id" = 1060501246 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.074071' WHERE "spree_products"."id" = 1060501246  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591682 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.075658' WHERE "spree_products"."id" = 1060501246 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501246) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:54:53.078596' WHERE "spree_products"."id" = 1060501246 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.088496' WHERE "spree_products"."id" = 1060501247 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501247], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.089905' WHERE "spree_products"."id" = 1060501247  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591683 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.091693' WHERE "spree_products"."id" = 1060501247  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501247  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["product_id", nil], ["property_id", 905835471], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501247, "updated_at" = '2012-10-23 12:54:53.099131' WHERE "spree_product_properties"."id" = 1073273825 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `value` SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["product_id", nil], ["property_id", 905835470], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501247, "updated_at" = '2012-10-23 12:54:53.104715' WHERE "spree_product_properties"."id" = 1073273826 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["product_id", nil], ["property_id", 905835472], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501247, "updated_at" = '2012-10-23 12:54:53.109759' WHERE "spree_product_properties"."id" = 1073273827 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452241 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452241], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501247 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501247, 558399822) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452238 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399816 AND "spree_taxons"."taxonomy_id" = 854452238 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399816]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399816], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452238], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399816]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399823]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399823 THEN 558399816 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399816]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399823]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501247, 558399823)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501247, 558399816) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501247 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501247) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339503], ["position", 1], ["product_id", 1060501247], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.150181' WHERE "spree_products"."id" = 1060501247 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501247], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.151851' WHERE "spree_products"."id" = 1060501247  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591684, 979460742) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501247]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501247 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.161031' WHERE "spree_products"."id" = 1060501247 SQL (1.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501247], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.163454' WHERE "spree_products"."id" = 1060501247  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591685, 979460743) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501247]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501247 AND "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339503 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.171835' WHERE "spree_products"."id" = 1060501247 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501247], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.173222' WHERE "spree_products"."id" = 1060501247  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591686, 979460744) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501247]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501247 AND "spree_option_types"."id" = 935339504 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501247) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339504], ["position", 2], ["product_id", 1060501247], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339504 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339504) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339504], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.190276' WHERE "spree_products"."id" = 1060501247 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501247], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.192010' WHERE "spree_products"."id" = 1060501247  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591687, 979460745) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501247]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501247 AND "spree_option_types"."id" = 935339504 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339504 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339504) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "colour"], ["option_type_id", 935339504], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.235380' WHERE "spree_products"."id" = 1060501247 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501247], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.237019' WHERE "spree_products"."id" = 1060501247  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591688, 979460746) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501247]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591684 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591685 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591686 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591687 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591688 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.259147' WHERE "spree_products"."id" = 1060501247  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591684 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.261337' WHERE "spree_products"."id" = 1060501247 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.262825' WHERE "spree_products"."id" = 1060501247  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591685 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.264021' WHERE "spree_products"."id" = 1060501247 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.266124' WHERE "spree_products"."id" = 1060501247  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591686 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.268222' WHERE "spree_products"."id" = 1060501247 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.269540' WHERE "spree_products"."id" = 1060501247  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591687 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.270855' WHERE "spree_products"."id" = 1060501247 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.272313' WHERE "spree_products"."id" = 1060501247  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591688 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.273543' WHERE "spree_products"."id" = 1060501247 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501247) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:54:53.277324' WHERE "spree_products"."id" = 1060501247  (5.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501246 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501247 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501245 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591676 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591677 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339503 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591678 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (4.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (31.9ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452242 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (4.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452242], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452242], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501248 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.472056' WHERE "spree_products"."id" = 1060501248 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501248], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.473984' WHERE "spree_products"."id" = 1060501248  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591689 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.475693' WHERE "spree_products"."id" = 1060501248  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501248  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501248 AND "spree_option_types"."id" = 935339505 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501248) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339505], ["position", 1], ["product_id", 1060501248], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501248 AND "spree_option_types"."id" = 935339506 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501248) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339506], ["position", 2], ["product_id", 1060501248], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339505) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339505], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339506 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339506) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "colour"], ["option_type_id", 935339506], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501248 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.567644' WHERE "spree_products"."id" = 1060501248 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501248], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.569243' WHERE "spree_products"."id" = 1060501248  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591690, 979460747)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591690, 979460748) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339505) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339505], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339506 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.575735' WHERE "spree_products"."id" = 1060501248 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501248], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.577304' WHERE "spree_products"."id" = 1060501248  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591691, 979460749)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591691, 979460748) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501248]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501248) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501248 AND "spree_option_types"."id" = 935339505 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339505) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339505], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.594521' WHERE "spree_products"."id" = 1060501248 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501248], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.596226' WHERE "spree_products"."id" = 1060501248  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591692, 979460750) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501248]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501248) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591690 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591691 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591692 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501248) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.612290' WHERE "spree_products"."id" = 1060501248  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591690 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.613571' WHERE "spree_products"."id" = 1060501248 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.615467' WHERE "spree_products"."id" = 1060501248  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591691 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.616794' WHERE "spree_products"."id" = 1060501248 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.618003' WHERE "spree_products"."id" = 1060501248  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591692 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.619030' WHERE "spree_products"."id" = 1060501248 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501248) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:54:53.622098' WHERE "spree_products"."id" = 1060501248 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501249 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.631283' WHERE "spree_products"."id" = 1060501249 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501249], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.632600' WHERE "spree_products"."id" = 1060501249  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591693 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.634083' WHERE "spree_products"."id" = 1060501249  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501249  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501249 AND "spree_option_types"."id" = 935339505 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501249) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339505], ["position", 1], ["product_id", 1060501249], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501249 AND "spree_option_types"."id" = 935339506 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501249) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339506], ["position", 2], ["product_id", 1060501249], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339506 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339506) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339506], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501249 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.651537' WHERE "spree_products"."id" = 1060501249 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501249], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.652833' WHERE "spree_products"."id" = 1060501249  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591694, 979460751)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591694, 979460747) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501249]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501249) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501249 AND "spree_option_types"."id" = 935339505 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501249 AND "spree_option_types"."id" = 935339506 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339506 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501249 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.668880' WHERE "spree_products"."id" = 1060501249 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501249], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.670218' WHERE "spree_products"."id" = 1060501249  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591695, 979460751)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591695, 979460750) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501249]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501249) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591694 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591695 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501249) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501249 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.682173' WHERE "spree_products"."id" = 1060501249  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591694 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.683446' WHERE "spree_products"."id" = 1060501249 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501249 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.684671' WHERE "spree_products"."id" = 1060501249  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591695 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.685689' WHERE "spree_products"."id" = 1060501249 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501249) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 12:54:53.688721' WHERE "spree_products"."id" = 1060501249 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501250 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.697386' WHERE "spree_products"."id" = 1060501250 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501250], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.698945' WHERE "spree_products"."id" = 1060501250  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591696 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.700452' WHERE "spree_products"."id" = 1060501250  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501250  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501250 AND "spree_option_types"."id" = 935339505 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501250) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339505], ["position", 1], ["product_id", 1060501250], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501250 AND "spree_option_types"."id" = 935339506 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501250) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339506], ["position", 2], ["product_id", 1060501250], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` Binary data inserted for `string` type on column `presentation` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501250 AND "spree_option_types"."id" = 935339507 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501250) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["option_type_id", 935339507], ["position", 3], ["product_id", 1060501250], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339506 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339507 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339507) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "large"], ["option_type_id", 935339507], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501250 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.727735' WHERE "spree_products"."id" = 1060501250 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501250], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.729418' WHERE "spree_products"."id" = 1060501250  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591697, 979460748)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591697, 979460752)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591697, 979460747) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339506 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339506) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339506], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339507 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501250 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.736070' WHERE "spree_products"."id" = 1060501250 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501250], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.737498' WHERE "spree_products"."id" = 1060501250  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591698, 979460753)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591698, 979460752)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591698, 979460747) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501250]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501250 AND "spree_option_types"."id" = 935339505 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501250 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.773427' WHERE "spree_products"."id" = 1060501250 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501250], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.774839' WHERE "spree_products"."id" = 1060501250  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591699, 979460750) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501250]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501250) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501250 AND "spree_option_types"."id" = 935339505 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339505 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501250 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.784274' WHERE "spree_products"."id" = 1060501250 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501250], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.785941' WHERE "spree_products"."id" = 1060501250  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591700, 979460749) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501250]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501250 AND "spree_option_types"."id" = 935339506 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339506 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501250 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.794779' WHERE "spree_products"."id" = 1060501250 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501250], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.796154' WHERE "spree_products"."id" = 1060501250  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591701, 979460751) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501250]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501250) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501250) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (5.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501248 ORDER BY spree_option_types.position Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591690 Booted Spree using version 1.1.3 SQL (8.1ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (30.2ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (4.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.956450' WHERE "spree_products"."id" = 1060501251 Binary data inserted for `string` type on column `sku` SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501251], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.958695' WHERE "spree_products"."id" = 1060501251  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591702 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:53.960728' WHERE "spree_products"."id" = 1060501251  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501251  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["product_id", nil], ["property_id", 905835473], ["updated_at", Tue, 23 Oct 2012 12:54:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501251, "updated_at" = '2012-10-23 12:54:53.996652' WHERE "spree_product_properties"."id" = 1073273828 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501251) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452243 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452243], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501251 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501251, 558399826) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452244], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501251, 558399827) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501251) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501251 AND "spree_option_types"."id" = 935339508 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501251) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["option_type_id", 935339508], ["position", 1], ["product_id", 1060501251], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339508) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339508], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.035641' WHERE "spree_products"."id" = 1060501251 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501251], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.037853' WHERE "spree_products"."id" = 1060501251  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591703, 979460754) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339508) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339508], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.069796' WHERE "spree_products"."id" = 1060501251 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501251], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.071327' WHERE "spree_products"."id" = 1060501251  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591704, 979460755) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339508) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339508], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.076082' WHERE "spree_products"."id" = 1060501251 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501251], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.077346' WHERE "spree_products"."id" = 1060501251  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591705, 979460756) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501251]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501251) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591703 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591704 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591705 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501251) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.092519' WHERE "spree_products"."id" = 1060501251  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591703 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.093725' WHERE "spree_products"."id" = 1060501251 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.095207' WHERE "spree_products"."id" = 1060501251  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591704 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.096274' WHERE "spree_products"."id" = 1060501251 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.097633' WHERE "spree_products"."id" = 1060501251  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591705 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.098769' WHERE "spree_products"."id" = 1060501251 Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `attachment_file_name` SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.2ms) UPDATE "spree_assets" SET "viewable_id" = 1013591702, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1255 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.933446' WHERE "spree_products"."id" = 1060501251  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501251 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501251) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:54:54.940369' WHERE "spree_products"."id" = 1060501251 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.978115' WHERE "spree_products"."id" = 1060501252 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501252], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.979489' WHERE "spree_products"."id" = 1060501252  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591706 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:54.981512' WHERE "spree_products"."id" = 1060501252  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501252  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["product_id", nil], ["property_id", 905835474], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501252, "updated_at" = '2012-10-23 12:54:54.989386' WHERE "spree_product_properties"."id" = 1073273829 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501252) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452243 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501252 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501252, 558399826) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452245 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452245], ["updated_at", Tue, 23 Oct 2012 12:54:54 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501252, 558399828) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:55 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:54:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452246 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452246], ["updated_at", Tue, 23 Oct 2012 12:54:55 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501252, 558399829) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501252) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501252 AND "spree_option_types"."id" = 935339508 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501252) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:54:55 UTC +00:00], ["option_type_id", 935339508], ["position", 1], ["product_id", 1060501252], ["updated_at", Tue, 23 Oct 2012 12:54:55 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.022618' WHERE "spree_products"."id" = 1060501252 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501252], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.024381' WHERE "spree_products"."id" = 1060501252  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591707, 979460754) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.027431' WHERE "spree_products"."id" = 1060501252 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501252], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.028769' WHERE "spree_products"."id" = 1060501252  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591708, 979460755) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.031637' WHERE "spree_products"."id" = 1060501252 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501252], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.033279' WHERE "spree_products"."id" = 1060501252  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591709, 979460756) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501252]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501252) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591707 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591708 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591709 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501252) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.049784' WHERE "spree_products"."id" = 1060501252  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591707 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.051552' WHERE "spree_products"."id" = 1060501252 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.053049' WHERE "spree_products"."id" = 1060501252  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591708 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.054119' WHERE "spree_products"."id" = 1060501252 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.055296' WHERE "spree_products"."id" = 1060501252  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591709 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:54:55.056122' WHERE "spree_products"."id" = 1060501252 Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `attachment_file_name` SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 12:54:55 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591706, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1256 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501252 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.760183' WHERE "spree_products"."id" = 1060501252  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501252 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501252) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:55:02.769263' WHERE "spree_products"."id" = 1060501252 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.808478' WHERE "spree_products"."id" = 1060501253 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501253], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.810341' WHERE "spree_products"."id" = 1060501253  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591710 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.812350' WHERE "spree_products"."id" = 1060501253  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501253  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["product_id", nil], ["property_id", 905835475], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501253, "updated_at" = '2012-10-23 12:55:02.823215' WHERE "spree_product_properties"."id" = 1073273830 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `value` SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["product_id", nil], ["property_id", 905835474], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501253, "updated_at" = '2012-10-23 12:55:02.827147' WHERE "spree_product_properties"."id" = 1073273831 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["product_id", nil], ["property_id", 905835476], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501253, "updated_at" = '2012-10-23 12:55:02.832203' WHERE "spree_product_properties"."id" = 1073273832 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501253) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452247 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452247], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501253 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501253, 558399830) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501253) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501253 AND "spree_option_types"."id" = 935339508 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501253) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["option_type_id", 935339508], ["position", 1], ["product_id", 1060501253], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.854962' WHERE "spree_products"."id" = 1060501253 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501253], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.856551' WHERE "spree_products"."id" = 1060501253  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591711, 979460754) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.859783' WHERE "spree_products"."id" = 1060501253 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501253], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.861079' WHERE "spree_products"."id" = 1060501253  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591712, 979460755) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339508 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.864153' WHERE "spree_products"."id" = 1060501253 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501253], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.865689' WHERE "spree_products"."id" = 1060501253  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591713, 979460756) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501253]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501253 AND "spree_option_types"."id" = 935339509 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501253) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["option_type_id", 935339509], ["position", 2], ["product_id", 1060501253], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339509 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339509) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339509], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.880763' WHERE "spree_products"."id" = 1060501253 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501253], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.882205' WHERE "spree_products"."id" = 1060501253  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591714, 979460757) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339509 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339509) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339509], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.889246' WHERE "spree_products"."id" = 1060501253 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501253], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.890673' WHERE "spree_products"."id" = 1060501253  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591715, 979460758) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501253]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501253) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591711 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591712 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591713 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591714 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591715 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501253) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.940075' WHERE "spree_products"."id" = 1060501253  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591711 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.941670' WHERE "spree_products"."id" = 1060501253 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.943221' WHERE "spree_products"."id" = 1060501253  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591712 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.944543' WHERE "spree_products"."id" = 1060501253 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.946480' WHERE "spree_products"."id" = 1060501253  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591713 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.948680' WHERE "spree_products"."id" = 1060501253 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.950254' WHERE "spree_products"."id" = 1060501253  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591714 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.951455' WHERE "spree_products"."id" = 1060501253 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.952841' WHERE "spree_products"."id" = 1060501253  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591715 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:02.954180' WHERE "spree_products"."id" = 1060501253 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `attachment_file_name` SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:02 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591710, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1257 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:03.783484' WHERE "spree_products"."id" = 1060501253  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501253 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501253) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:55:03.795451' WHERE "spree_products"."id" = 1060501253  (5.4ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591702) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501251)) Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591702 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501251 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591702) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501251)) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501252 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591706) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501252)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501253 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591710) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501253)) SQL (48.2ms) DELETE FROM "spree_products" SQL (4.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.060708' WHERE "spree_products"."id" = 1060501254 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501254], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.062889' WHERE "spree_products"."id" = 1060501254  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591716 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.064674' WHERE "spree_products"."id" = 1060501254  (31.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501254  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["product_id", nil], ["property_id", 905835477], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501254, "updated_at" = '2012-10-23 12:55:04.104511' WHERE "spree_product_properties"."id" = 1073273833 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501254) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452248], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501254 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501254, 558399831) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452249 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452249], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501254, 558399832) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501254) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501254 AND "spree_option_types"."id" = 935339510 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501254) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["option_type_id", 935339510], ["position", 1], ["product_id", 1060501254], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339510) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339510], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.171540' WHERE "spree_products"."id" = 1060501254 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501254], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.172859' WHERE "spree_products"."id" = 1060501254  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591717, 979460759) Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339510) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339510], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.208985' WHERE "spree_products"."id" = 1060501254 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501254], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.210276' WHERE "spree_products"."id" = 1060501254  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591718, 979460760) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339510) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339510], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.215428' WHERE "spree_products"."id" = 1060501254 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501254], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.217999' WHERE "spree_products"."id" = 1060501254  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591719, 979460761) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501254]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501254) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591717 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591718 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591719 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501254) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.238531' WHERE "spree_products"."id" = 1060501254  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591717 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.353235' WHERE "spree_products"."id" = 1060501254 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.355142' WHERE "spree_products"."id" = 1060501254  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591718 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.356496' WHERE "spree_products"."id" = 1060501254 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.357573' WHERE "spree_products"."id" = 1060501254  (2.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591719 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:04.360804' WHERE "spree_products"."id" = 1060501254 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:04 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591716, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1258 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501254 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.235221' WHERE "spree_products"."id" = 1060501254  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501254 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501254) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:55:05.281475' WHERE "spree_products"."id" = 1060501254 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501254 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.299395' WHERE "spree_products"."id" = 1060501255 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501255], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.301185' WHERE "spree_products"."id" = 1060501255  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591720 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.303099' WHERE "spree_products"."id" = 1060501255  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (31.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501255  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["product_id", nil], ["property_id", 905835478], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501255, "updated_at" = '2012-10-23 12:55:05.346071' WHERE "spree_product_properties"."id" = 1073273834 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501255) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501255 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501255, 558399831) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452250 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452250], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501255, 558399833) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452251 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452251], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501255, 558399834) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501255) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501255 AND "spree_option_types"."id" = 935339510 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501255) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["option_type_id", 935339510], ["position", 1], ["product_id", 1060501255], ["updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.650845' WHERE "spree_products"."id" = 1060501255 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501255], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.652374' WHERE "spree_products"."id" = 1060501255  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591721, 979460759) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.655496' WHERE "spree_products"."id" = 1060501255 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501255], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.656479' WHERE "spree_products"."id" = 1060501255  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591722, 979460760) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.659893' WHERE "spree_products"."id" = 1060501255 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501255], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.660977' WHERE "spree_products"."id" = 1060501255  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591723, 979460761) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501255]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501255) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591721 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591722 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591723 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501255) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.678891' WHERE "spree_products"."id" = 1060501255  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591721 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.680883' WHERE "spree_products"."id" = 1060501255 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.682740' WHERE "spree_products"."id" = 1060501255  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591722 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.683873' WHERE "spree_products"."id" = 1060501255 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.685178' WHERE "spree_products"."id" = 1060501255  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591723 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:05.686175' WHERE "spree_products"."id" = 1060501255 Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:05 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (2.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013591720, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1259 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501255 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.048655' WHERE "spree_products"."id" = 1060501255  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501255 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501255) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:55:15.057131' WHERE "spree_products"."id" = 1060501255 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501255 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.068879' WHERE "spree_products"."id" = 1060501256 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501256], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.071196' WHERE "spree_products"."id" = 1060501256  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591724 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.073100' WHERE "spree_products"."id" = 1060501256  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501256  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["product_id", nil], ["property_id", 905835479], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501256, "updated_at" = '2012-10-23 12:55:15.080843' WHERE "spree_product_properties"."id" = 1073273835 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["product_id", nil], ["property_id", 905835478], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501256, "updated_at" = '2012-10-23 12:55:15.084205' WHERE "spree_product_properties"."id" = 1073273836 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["product_id", nil], ["property_id", 905835480], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501256, "updated_at" = '2012-10-23 12:55:15.087833' WHERE "spree_product_properties"."id" = 1073273837 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501256) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452252 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452252], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501256 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501256, 558399835) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501256) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501256 AND "spree_option_types"."id" = 935339510 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501256) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["option_type_id", 935339510], ["position", 1], ["product_id", 1060501256], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.126595' WHERE "spree_products"."id" = 1060501256 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501256], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.129124' WHERE "spree_products"."id" = 1060501256  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591725, 979460759) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.132255' WHERE "spree_products"."id" = 1060501256 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501256], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.133525' WHERE "spree_products"."id" = 1060501256  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591726, 979460760) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339510 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.136393' WHERE "spree_products"."id" = 1060501256 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501256], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.137621' WHERE "spree_products"."id" = 1060501256  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591727, 979460761) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501256]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501256 AND "spree_option_types"."id" = 935339511 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501256) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["option_type_id", 935339511], ["position", 2], ["product_id", 1060501256], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339511 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339511) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339511], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.153477' WHERE "spree_products"."id" = 1060501256 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501256], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.155235' WHERE "spree_products"."id" = 1060501256  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591728, 979460762) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339511 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339511) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["name", "colour"], ["option_type_id", 935339511], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.160878' WHERE "spree_products"."id" = 1060501256 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501256], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.162330' WHERE "spree_products"."id" = 1060501256  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591729, 979460763) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501256]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501256) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591725 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591726 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591727 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591728 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591729 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501256) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.181988' WHERE "spree_products"."id" = 1060501256  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591725 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.183063' WHERE "spree_products"."id" = 1060501256 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.184394' WHERE "spree_products"."id" = 1060501256  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591726 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.185329' WHERE "spree_products"."id" = 1060501256 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.186781' WHERE "spree_products"."id" = 1060501256  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591727 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.187821' WHERE "spree_products"."id" = 1060501256 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.189329' WHERE "spree_products"."id" = 1060501256  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591728 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.190274' WHERE "spree_products"."id" = 1060501256 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.191756' WHERE "spree_products"."id" = 1060501256  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591729 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:15.193609' WHERE "spree_products"."id" = 1060501256 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:15 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591724, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1260 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501256 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.481936' WHERE "spree_products"."id" = 1060501256  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501256 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501256) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:55:16.490791' WHERE "spree_products"."id" = 1060501256 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501256 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.5ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591716) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501254)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501254 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591716) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501254)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501255 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591720) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501255)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501256 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591724) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501256))  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.4ms) DELETE FROM "spree_products" SQL (3.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.830286' WHERE "spree_products"."id" = 1060501257 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501257], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.832199' WHERE "spree_products"."id" = 1060501257  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591730 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.834153' WHERE "spree_products"."id" = 1060501257  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501257  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["product_id", nil], ["property_id", 905835481], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501257, "updated_at" = '2012-10-23 12:55:16.902838' WHERE "spree_product_properties"."id" = 1073273838 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501257) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452253 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452253], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501257 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501257, 558399836) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452254 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452254], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501257, 558399837) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501257) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501257 AND "spree_option_types"."id" = 935339512 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501257) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["option_type_id", 935339512], ["position", 1], ["product_id", 1060501257], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339512) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339512], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.950082' WHERE "spree_products"."id" = 1060501257 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501257], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.951283' WHERE "spree_products"."id" = 1060501257  (1.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591731, 979460764) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339512) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339512], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.957805' WHERE "spree_products"."id" = 1060501257 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501257], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.959283' WHERE "spree_products"."id" = 1060501257  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591732, 979460765) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339512) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339512], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.964108' WHERE "spree_products"."id" = 1060501257 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501257], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.965902' WHERE "spree_products"."id" = 1060501257  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591733, 979460766) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501257]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501257) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591731 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591732 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591733 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501257) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.981204' WHERE "spree_products"."id" = 1060501257  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591731 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.982783' WHERE "spree_products"."id" = 1060501257 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.985144' WHERE "spree_products"."id" = 1060501257  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591732 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.986516' WHERE "spree_products"."id" = 1060501257 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.987871' WHERE "spree_products"."id" = 1060501257  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591733 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:16.989139' WHERE "spree_products"."id" = 1060501257 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501257) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:55:16.992545' WHERE "spree_products"."id" = 1060501257 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501257 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.005235' WHERE "spree_products"."id" = 1060501258 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501258], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.007771' WHERE "spree_products"."id" = 1060501258  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591734 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.009801' WHERE "spree_products"."id" = 1060501258  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501258  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["product_id", nil], ["property_id", 905835482], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501258, "updated_at" = '2012-10-23 12:55:17.018118' WHERE "spree_product_properties"."id" = 1073273839 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501258) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452253 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501258 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501258, 558399836) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452255 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452255], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501258, 558399838) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452253 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399836 AND "spree_taxons"."taxonomy_id" = 854452253 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399836]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399836], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452253], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399836]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399839]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399839 THEN 558399836 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399836]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399839]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399839 AND "spree_taxons"."taxonomy_id" = 854452253 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399839]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399839], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452253], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399839]] Spree::Taxon Load (1.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399840]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399840 THEN 558399839 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399839]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399840]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501258, 558399839)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501258, 558399840) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501258) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501258 AND "spree_option_types"."id" = 935339512 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501258) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["option_type_id", 935339512], ["position", 1], ["product_id", 1060501258], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.068505' WHERE "spree_products"."id" = 1060501258 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501258], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.069782' WHERE "spree_products"."id" = 1060501258  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591735, 979460764) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.073956' WHERE "spree_products"."id" = 1060501258 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501258], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.165278' WHERE "spree_products"."id" = 1060501258  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591736, 979460765) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.169751' WHERE "spree_products"."id" = 1060501258 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501258], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.171277' WHERE "spree_products"."id" = 1060501258  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591737, 979460766) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501258]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501258) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591735 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591736 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591737 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501258) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.193363' WHERE "spree_products"."id" = 1060501258  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591735 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.195046' WHERE "spree_products"."id" = 1060501258 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.196920' WHERE "spree_products"."id" = 1060501258  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591736 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.198066' WHERE "spree_products"."id" = 1060501258 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.199778' WHERE "spree_products"."id" = 1060501258  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591737 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.200830' WHERE "spree_products"."id" = 1060501258 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501258) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:55:17.203529' WHERE "spree_products"."id" = 1060501258 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501258 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (3.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.215166' WHERE "spree_products"."id" = 1060501259 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501259], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.219213' WHERE "spree_products"."id" = 1060501259  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591738 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.220778' WHERE "spree_products"."id" = 1060501259  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501259  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["product_id", nil], ["property_id", 905835483], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501259, "updated_at" = '2012-10-23 12:55:17.227557' WHERE "spree_product_properties"."id" = 1073273840 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["product_id", nil], ["property_id", 905835482], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501259, "updated_at" = '2012-10-23 12:55:17.231162' WHERE "spree_product_properties"."id" = 1073273841 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["product_id", nil], ["property_id", 905835484], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501259, "updated_at" = '2012-10-23 12:55:17.234772' WHERE "spree_product_properties"."id" = 1073273842 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501259) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452256 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452256], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501259 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501259, 558399841) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452253 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399836 AND "spree_taxons"."taxonomy_id" = 854452253 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399836]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399836], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452253], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399836]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399842]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399842 THEN 558399836 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399836]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399842]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501259, 558399842)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501259, 558399836) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501259) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501259 AND "spree_option_types"."id" = 935339512 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501259) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["option_type_id", 935339512], ["position", 1], ["product_id", 1060501259], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.304714' WHERE "spree_products"."id" = 1060501259 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501259], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.307026' WHERE "spree_products"."id" = 1060501259  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591739, 979460764) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.310804' WHERE "spree_products"."id" = 1060501259 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501259], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.312271' WHERE "spree_products"."id" = 1060501259  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591740, 979460765) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339512 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.315216' WHERE "spree_products"."id" = 1060501259 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501259], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.317720' WHERE "spree_products"."id" = 1060501259  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591741, 979460766) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501259]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501259 AND "spree_option_types"."id" = 935339513 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501259) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["option_type_id", 935339513], ["position", 2], ["product_id", 1060501259], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339513 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339513) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339513], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.332225' WHERE "spree_products"."id" = 1060501259 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501259], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.333753' WHERE "spree_products"."id" = 1060501259  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591742, 979460767) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339513 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339513) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["name", "colour"], ["option_type_id", 935339513], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.338628' WHERE "spree_products"."id" = 1060501259 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501259], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.340651' WHERE "spree_products"."id" = 1060501259  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591743, 979460768) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501259]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501259) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591739 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591740 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591741 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591742 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591743 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501259) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.377697' WHERE "spree_products"."id" = 1060501259  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591739 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.379144' WHERE "spree_products"."id" = 1060501259 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.380459' WHERE "spree_products"."id" = 1060501259  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591740 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.381459' WHERE "spree_products"."id" = 1060501259 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.383669' WHERE "spree_products"."id" = 1060501259  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591741 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.384994' WHERE "spree_products"."id" = 1060501259 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.386525' WHERE "spree_products"."id" = 1060501259  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591742 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.387459' WHERE "spree_products"."id" = 1060501259 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.388745' WHERE "spree_products"."id" = 1060501259  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591743 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:17.390458' WHERE "spree_products"."id" = 1060501259 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501259) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:55:17.393891' WHERE "spree_products"."id" = 1060501259 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501259 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591738) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501259)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:17 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591730, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1261 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501257 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:18.354575' WHERE "spree_products"."id" = 1060501257  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501257 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:18.361631' WHERE "spree_products"."id" = 1060501257 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501257 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013591730 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:18 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591734, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1262 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501258 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:37.308875' WHERE "spree_products"."id" = 1060501258  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501258 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:37.317245' WHERE "spree_products"."id" = 1060501258 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501258 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013591734 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:37 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591738, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1263 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501259 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.375193' WHERE "spree_products"."id" = 1060501259  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501259 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.382986' WHERE "spree_products"."id" = 1060501259 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501259 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013591738  (22.4ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501257 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591730) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501257)) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501258 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591734) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501258)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501259 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591738) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501259)) SQL (3.1ms) DELETE FROM "spree_products" SQL (2.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (13.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501260 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.654182' WHERE "spree_products"."id" = 1060501260 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501260], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.656611' WHERE "spree_products"."id" = 1060501260  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591744 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.658706' WHERE "spree_products"."id" = 1060501260  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501260  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Created New Property # SQL (3.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["product_id", nil], ["property_id", 905835485], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501260, "updated_at" = '2012-10-23 12:55:40.668309' WHERE "spree_product_properties"."id" = 1073273843 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501260) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452257 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452257], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501260 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501260, 558399843) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452258 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452258], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501260, 558399844) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501260) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501260 AND "spree_option_types"."id" = 935339514 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501260) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["option_type_id", 935339514], ["position", 1], ["product_id", 1060501260], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339514) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339514], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.707610' WHERE "spree_products"."id" = 1060501260 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501260], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.708984' WHERE "spree_products"."id" = 1060501260  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591745, 979460769) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339514) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339514], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501260 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.715596' WHERE "spree_products"."id" = 1060501260 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501260], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.716664' WHERE "spree_products"."id" = 1060501260  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591746, 979460770) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339514) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339514], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501260 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.721893' WHERE "spree_products"."id" = 1060501260 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501260], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.723297' WHERE "spree_products"."id" = 1060501260  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591747, 979460771) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501260]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501260) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591745 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591746 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591747 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501260) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501260 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.740664' WHERE "spree_products"."id" = 1060501260  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591745 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.742060' WHERE "spree_products"."id" = 1060501260 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501260 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.743182' WHERE "spree_products"."id" = 1060501260  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591746 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.744663' WHERE "spree_products"."id" = 1060501260 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501260 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.746281' WHERE "spree_products"."id" = 1060501260  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591747 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.747359' WHERE "spree_products"."id" = 1060501260 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501260) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:55:40.750942' WHERE "spree_products"."id" = 1060501260 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501260 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Product Load (1.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.763326' WHERE "spree_products"."id" = 1060501261 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501261], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.764663' WHERE "spree_products"."id" = 1060501261  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591748 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.766237' WHERE "spree_products"."id" = 1060501261  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501261  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["product_id", nil], ["property_id", 905835486], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501261, "updated_at" = '2012-10-23 12:55:40.772750' WHERE "spree_product_properties"."id" = 1073273844 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501261) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452257 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501261 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501261, 558399843) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452259 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452259], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501261, 558399845) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452257 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399843 AND "spree_taxons"."taxonomy_id" = 854452257 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399843]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399843], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452257], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399843]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399846]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399846 THEN 558399843 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399843]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399846]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399846 AND "spree_taxons"."taxonomy_id" = 854452257 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399846]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399846], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452257], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399846]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399847]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399847 THEN 558399846 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399846]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399847]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501261, 558399846)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501261, 558399847) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501261) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501261 AND "spree_option_types"."id" = 935339514 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501261) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["option_type_id", 935339514], ["position", 1], ["product_id", 1060501261], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.812804' WHERE "spree_products"."id" = 1060501261 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501261], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.814769' WHERE "spree_products"."id" = 1060501261  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591749, 979460769) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.818552' WHERE "spree_products"."id" = 1060501261 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501261], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.820286' WHERE "spree_products"."id" = 1060501261  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591750, 979460770) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.822723' WHERE "spree_products"."id" = 1060501261 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501261], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.824263' WHERE "spree_products"."id" = 1060501261  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591751, 979460771) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501261]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501261) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591749 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591750 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591751 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501261) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.842590' WHERE "spree_products"."id" = 1060501261  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591749 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.843962' WHERE "spree_products"."id" = 1060501261 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.845275' WHERE "spree_products"."id" = 1060501261  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591750 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.846646' WHERE "spree_products"."id" = 1060501261 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.847862' WHERE "spree_products"."id" = 1060501261  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591751 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.849269' WHERE "spree_products"."id" = 1060501261 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501261) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:55:40.852452' WHERE "spree_products"."id" = 1060501261 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501261 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.863654' WHERE "spree_products"."id" = 1060501262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501262], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.866172' WHERE "spree_products"."id" = 1060501262  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591752 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.867660' WHERE "spree_products"."id" = 1060501262  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501262  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["product_id", nil], ["property_id", 905835487], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501262, "updated_at" = '2012-10-23 12:55:40.874555' WHERE "spree_product_properties"."id" = 1073273845 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["product_id", nil], ["property_id", 905835486], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501262, "updated_at" = '2012-10-23 12:55:40.877236' WHERE "spree_product_properties"."id" = 1073273846 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["product_id", nil], ["property_id", 905835488], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501262, "updated_at" = '2012-10-23 12:55:40.880660' WHERE "spree_product_properties"."id" = 1073273847 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501262) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452260 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452260], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501262 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501262, 558399848) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452257 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399843 AND "spree_taxons"."taxonomy_id" = 854452257 LIMIT 1  (0.8ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399843]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399843], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452257], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399843]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399849]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399849 THEN 558399843 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399843]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399849]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501262, 558399849)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501262, 558399843) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501262) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501262 AND "spree_option_types"."id" = 935339514 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501262) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["option_type_id", 935339514], ["position", 1], ["product_id", 1060501262], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.914739' WHERE "spree_products"."id" = 1060501262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501262], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.916526' WHERE "spree_products"."id" = 1060501262  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591753, 979460769) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.919588' WHERE "spree_products"."id" = 1060501262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501262], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.920659' WHERE "spree_products"."id" = 1060501262  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591754, 979460770) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339514 LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.923418' WHERE "spree_products"."id" = 1060501262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501262], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.925006' WHERE "spree_products"."id" = 1060501262  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591755, 979460771) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501262]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501262 AND "spree_option_types"."id" = 935339515 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501262) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["option_type_id", 935339515], ["position", 2], ["product_id", 1060501262], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339515 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339515) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339515], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.936942' WHERE "spree_products"."id" = 1060501262 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501262], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.938658' WHERE "spree_products"."id" = 1060501262  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591756, 979460772) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339515 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339515) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339515], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:55:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.944089' WHERE "spree_products"."id" = 1060501262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501262], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.945380' WHERE "spree_products"."id" = 1060501262  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591757, 979460773) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501262]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501262) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591753 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591754 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591755 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591756 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591757 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501262) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.964503' WHERE "spree_products"."id" = 1060501262  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591753 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.966373' WHERE "spree_products"."id" = 1060501262 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.967658' WHERE "spree_products"."id" = 1060501262  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591754 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.968658' WHERE "spree_products"."id" = 1060501262 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.970536' WHERE "spree_products"."id" = 1060501262  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591755 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.971658' WHERE "spree_products"."id" = 1060501262 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.972904' WHERE "spree_products"."id" = 1060501262  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591756 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.974366' WHERE "spree_products"."id" = 1060501262 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501262 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.976369' WHERE "spree_products"."id" = 1060501262  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591757 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:55:40.977554' WHERE "spree_products"."id" = 1060501262 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501262) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:55:40.980486' WHERE "spree_products"."id" = 1060501262 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501262 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.9ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591752) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501262)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:41 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591744, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1264 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Booted Spree using version 1.1.3 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:43 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591744, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1265 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501260) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501260) LIMIT 1  (1.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501260 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5711.7ms) DELETE FROM "spree_products" Spree::Asset Load (3.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:53 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591748, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1266 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501261) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501261) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501261 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5127.2ms) DELETE FROM "spree_products" Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:55:59 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013591752, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1267 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501262) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501262) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501262  (4.0ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501260 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591744) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501260)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501261 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591748) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501261)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501262 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591752) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501262)) SQL (2.5ms) DELETE FROM "spree_products" SQL (2.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (37.0ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320 SQL (1057.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.1ms) DELETE FROM "spree_option_types" SQL (0.1ms) DELETE FROM "spree_option_values" SQL (0.1ms) DELETE FROM "spree_properties" SQL (0.1ms) DELETE FROM "spree_product_properties" SQL (0.1ms) DELETE FROM "spree_variants" SQL (0.1ms) DELETE FROM "spree_taxons" SQL (0.1ms) DELETE FROM "spree_taxonomies" SQL (0.1ms) DELETE FROM "spree_zones" SQL (0.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.0ms) DELETE FROM "spree_option_types" SQL (0.0ms) DELETE FROM "spree_option_values" SQL (0.1ms) DELETE FROM "spree_properties" SQL (0.0ms) DELETE FROM "spree_product_properties" SQL (0.1ms) DELETE FROM "spree_variants" SQL (0.0ms) DELETE FROM "spree_taxons" SQL (0.0ms) DELETE FROM "spree_taxonomies" SQL (0.0ms) DELETE FROM "spree_zones" SQL (0.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.0ms) DELETE FROM "spree_option_types" SQL (0.0ms) DELETE FROM "spree_option_values" SQL (0.0ms) DELETE FROM "spree_properties" SQL (0.0ms) DELETE FROM "spree_product_properties" SQL (0.0ms) DELETE FROM "spree_variants" SQL (0.0ms) DELETE FROM "spree_taxons" SQL (0.0ms) DELETE FROM "spree_taxonomies" SQL (0.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.2ms) commit transaction  (0.2ms) rollback transaction SQL (0.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.1ms) DELETE FROM "spree_option_types" SQL (0.0ms) DELETE FROM "spree_option_values" SQL (0.0ms) DELETE FROM "spree_properties" SQL (0.0ms) DELETE FROM "spree_product_properties" SQL (0.1ms) DELETE FROM "spree_variants" SQL (0.0ms) DELETE FROM "spree_taxons" SQL (0.1ms) DELETE FROM "spree_taxonomies" SQL (0.0ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (0.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.0ms) DELETE FROM "spree_option_types" SQL (0.1ms) DELETE FROM "spree_option_values" SQL (0.0ms) DELETE FROM "spree_properties" SQL (0.1ms) DELETE FROM "spree_product_properties" SQL (0.0ms) DELETE FROM "spree_variants" SQL (0.1ms) DELETE FROM "spree_taxons" SQL (0.0ms) DELETE FROM "spree_taxonomies" SQL (0.0ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (0.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.1ms) DELETE FROM "spree_option_types" SQL (0.0ms) DELETE FROM "spree_option_values" SQL (0.0ms) DELETE FROM "spree_properties" SQL (0.0ms) DELETE FROM "spree_product_properties" SQL (0.0ms) DELETE FROM "spree_variants" SQL (0.0ms) DELETE FROM "spree_taxons" SQL (0.0ms) DELETE FROM "spree_taxonomies" SQL (0.0ms) DELETE FROM "spree_zones" SQL (0.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.1ms) DELETE FROM "spree_option_types" SQL (0.0ms) DELETE FROM "spree_option_values" SQL (0.0ms) DELETE FROM "spree_properties" SQL (0.0ms) DELETE FROM "spree_product_properties" SQL (0.1ms) DELETE FROM "spree_variants" SQL (0.0ms) DELETE FROM "spree_taxons" SQL (0.0ms) DELETE FROM "spree_taxonomies" SQL (0.0ms) DELETE FROM "spree_zones" SQL (0.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.0ms) DELETE FROM "spree_option_types" SQL (0.0ms) DELETE FROM "spree_option_values" SQL (0.0ms) DELETE FROM "spree_properties" SQL (0.1ms) DELETE FROM "spree_product_properties" SQL (0.1ms) DELETE FROM "spree_variants" SQL (0.1ms) DELETE FROM "spree_taxons" SQL (0.0ms) DELETE FROM "spree_taxonomies" SQL (0.1ms) DELETE FROM "spree_zones" SQL (0.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (0.0ms) DELETE FROM "spree_option_types" SQL (0.1ms) DELETE FROM "spree_option_values" SQL (0.0ms) DELETE FROM "spree_properties" SQL (0.1ms) DELETE FROM "spree_product_properties" SQL (0.1ms) DELETE FROM "spree_variants" SQL (0.0ms) DELETE FROM "spree_taxons" SQL (0.0ms) DELETE FROM "spree_taxonomies" SQL (0.0ms) DELETE FROM "spree_zones"  (1.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (4.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.342025' WHERE "spree_products"."id" = 1060501263 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501263], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.343982' WHERE "spree_products"."id" = 1060501263  (0.8ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591758 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.346043' WHERE "spree_products"."id" = 1060501263  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501263  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["product_id", nil], ["property_id", 905835489], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501263, "updated_at" = '2012-10-23 12:56:01.354350' WHERE "spree_product_properties"."id" = 1073273848 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501263) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452261 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452261], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501263 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501263, 558399850) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452262 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452262], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501263, 558399851) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501263) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501263 AND "spree_option_types"."id" = 935339516 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501263) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["option_type_id", 935339516], ["position", 1], ["product_id", 1060501263], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339516 LIMIT 1 Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339516) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339516], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.431097' WHERE "spree_products"."id" = 1060501263 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501263], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.464605' WHERE "spree_products"."id" = 1060501263  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591759, 979460774) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339516 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339516) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339516], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.471110' WHERE "spree_products"."id" = 1060501263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501263], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.473124' WHERE "spree_products"."id" = 1060501263  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591760, 979460775) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339516 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339516) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339516], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.515438' WHERE "spree_products"."id" = 1060501263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501263], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.516927' WHERE "spree_products"."id" = 1060501263  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591761, 979460776) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501263]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501263) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591759 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591760 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591761 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501263) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.535265' WHERE "spree_products"."id" = 1060501263  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591759 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.537017' WHERE "spree_products"."id" = 1060501263 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.571593' WHERE "spree_products"."id" = 1060501263  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591760 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.573121' WHERE "spree_products"."id" = 1060501263 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.574916' WHERE "spree_products"."id" = 1060501263  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591761 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:01.575981' WHERE "spree_products"."id" = 1060501263 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:56:01 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591758, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1268 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501263 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:02.412162' WHERE "spree_products"."id" = 1060501263  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501263 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:56:02 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591758, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1269 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:03.268256' WHERE "spree_products"."id" = 1060501263 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501263 Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:56:03 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591758, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1270 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.098801' WHERE "spree_products"."id" = 1060501263 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501263 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501263) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:56:04.107445' WHERE "spree_products"."id" = 1060501263 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501263 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.156909' WHERE "spree_products"."id" = 1060501264 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501264], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.159396' WHERE "spree_products"."id" = 1060501264  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591762 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.193596' WHERE "spree_products"."id" = 1060501264  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501264  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["product_id", nil], ["property_id", 905835490], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501264, "updated_at" = '2012-10-23 12:56:04.206052' WHERE "spree_product_properties"."id" = 1073273849 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501264) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452261 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501264 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501264, 558399850) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452263 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452263], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501264, 558399852) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452264 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452264], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501264, 558399853) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501264) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501264 AND "spree_option_types"."id" = 935339516 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501264) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["option_type_id", 935339516], ["position", 1], ["product_id", 1060501264], ["updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339516 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.272987' WHERE "spree_products"."id" = 1060501264 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501264], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.274629' WHERE "spree_products"."id" = 1060501264  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591763, 979460774) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339516 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.278325' WHERE "spree_products"."id" = 1060501264 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501264], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.279629' WHERE "spree_products"."id" = 1060501264  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591764, 979460775) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339516 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.313320' WHERE "spree_products"."id" = 1060501264 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501264], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.315770' WHERE "spree_products"."id" = 1060501264  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591765, 979460776) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501264]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501264) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591763 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591764 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591765 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501264) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.334170' WHERE "spree_products"."id" = 1060501264  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591763 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.335833' WHERE "spree_products"."id" = 1060501264 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.368276' WHERE "spree_products"."id" = 1060501264  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591764 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.369609' WHERE "spree_products"."id" = 1060501264 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.371140' WHERE "spree_products"."id" = 1060501264  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591765 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:04.372261' WHERE "spree_products"."id" = 1060501264 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 12:56:04 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591762, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1271 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 12:56:12 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591762, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1272 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:13.438142' WHERE "spree_products"."id" = 1060501264  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501264 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501264) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:56:13.459797' WHERE "spree_products"."id" = 1060501264 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501264 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.0ms) commit transaction  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501263 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591758 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (3.6ms) DELETE FROM "spree_products" SQL (2.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452265 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452265], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452265], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (3.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452265], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (2.4ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452266 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452266], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (2.2ms) commit transaction  (0.7ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452266], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452266], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (2.2ms) commit transaction Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452266 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452266 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452266 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452267], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452267], ["updated_at", Tue, 23 Oct 2012 12:56:13 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558399860, "updated_at" = '2012-10-23 12:56:13.931799' WHERE "spree_taxons"."id" = 558399861 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399860]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399861]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399861 THEN 558399860 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399860]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399861]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399860 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.034796' WHERE "spree_products"."id" = 1060501265 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501265], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.036465' WHERE "spree_products"."id" = 1060501265  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591766 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.039112' WHERE "spree_products"."id" = 1060501265  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501265  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835491], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501265, "updated_at" = '2012-10-23 12:56:14.048332' WHERE "spree_product_properties"."id" = 1073273850 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501265) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501265 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501265, 558399860) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452268], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501265, 558399862) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501265) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501265 AND "spree_option_types"."id" = 935339517 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501265) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["option_type_id", 935339517], ["position", 1], ["product_id", 1060501265], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339517) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339517], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.080191' WHERE "spree_products"."id" = 1060501265 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501265], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.081735' WHERE "spree_products"."id" = 1060501265  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591767, 979460777) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339517) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339517], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.086795' WHERE "spree_products"."id" = 1060501265 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501265], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.088420' WHERE "spree_products"."id" = 1060501265  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591768, 979460778) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339517) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339517], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.094070' WHERE "spree_products"."id" = 1060501265 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501265], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.095580' WHERE "spree_products"."id" = 1060501265  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591769, 979460779) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501265]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501265) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591767 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591768 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591769 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501265) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.112381' WHERE "spree_products"."id" = 1060501265  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591767 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.113479' WHERE "spree_products"."id" = 1060501265 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.114701' WHERE "spree_products"."id" = 1060501265  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591768 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.115724' WHERE "spree_products"."id" = 1060501265 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.116794' WHERE "spree_products"."id" = 1060501265  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591769 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.118142' WHERE "spree_products"."id" = 1060501265 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501265) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:56:14.121176' WHERE "spree_products"."id" = 1060501265 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501265 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.133166' WHERE "spree_products"."id" = 1060501266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501266], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.134572' WHERE "spree_products"."id" = 1060501266  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591770 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.135794' WHERE "spree_products"."id" = 1060501266  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501266  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835492], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501266, "updated_at" = '2012-10-23 12:56:14.143583' WHERE "spree_product_properties"."id" = 1073273851 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501266) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501266 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501266, 558399860) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452269 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452269], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501266, 558399863) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399860 AND "spree_taxons"."taxonomy_id" = 854452267 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399860]] SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399860], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452267], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399860]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399864]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399864 THEN 558399860 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399860]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399864]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399864 AND "spree_taxons"."taxonomy_id" = 854452267 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399864]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399864], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452267], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399864]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399865]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399865 THEN 558399864 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399864]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399865]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501266, 558399864)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501266, 558399865) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501266) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501266 AND "spree_option_types"."id" = 935339517 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501266) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["option_type_id", 935339517], ["position", 1], ["product_id", 1060501266], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.186326' WHERE "spree_products"."id" = 1060501266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501266], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.188727' WHERE "spree_products"."id" = 1060501266  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591771, 979460777) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.192071' WHERE "spree_products"."id" = 1060501266 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501266], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.193698' WHERE "spree_products"."id" = 1060501266  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591772, 979460778) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.196671' WHERE "spree_products"."id" = 1060501266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501266], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.198242' WHERE "spree_products"."id" = 1060501266  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591773, 979460779) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501266]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501266) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591771 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591772 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591773 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501266) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.217728' WHERE "spree_products"."id" = 1060501266  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591771 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.219160' WHERE "spree_products"."id" = 1060501266 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.220736' WHERE "spree_products"."id" = 1060501266  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591772 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.221792' WHERE "spree_products"."id" = 1060501266 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.223127' WHERE "spree_products"."id" = 1060501266  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591773 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.224235' WHERE "spree_products"."id" = 1060501266 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501266) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:56:14.227707' WHERE "spree_products"."id" = 1060501266 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501266 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.240645' WHERE "spree_products"."id" = 1060501267 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501267], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.242332' WHERE "spree_products"."id" = 1060501267  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591774 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.243566' WHERE "spree_products"."id" = 1060501267  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501267  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835493], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501267, "updated_at" = '2012-10-23 12:56:14.250437' WHERE "spree_product_properties"."id" = 1073273852 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835492], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501267, "updated_at" = '2012-10-23 12:56:14.253155' WHERE "spree_product_properties"."id" = 1073273853 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835494], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501267, "updated_at" = '2012-10-23 12:56:14.257318' WHERE "spree_product_properties"."id" = 1073273854 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501267) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452270 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452270], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501267 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501267, 558399866) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399860 AND "spree_taxons"."taxonomy_id" = 854452267 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501267, 558399861)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501267, 558399860) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501267) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501267 AND "spree_option_types"."id" = 935339517 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501267) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["option_type_id", 935339517], ["position", 1], ["product_id", 1060501267], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.282790' WHERE "spree_products"."id" = 1060501267 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501267], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.284353' WHERE "spree_products"."id" = 1060501267  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591775, 979460777) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.287117' WHERE "spree_products"."id" = 1060501267 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501267], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.289013' WHERE "spree_products"."id" = 1060501267  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591776, 979460778) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339517 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.291963' WHERE "spree_products"."id" = 1060501267 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501267], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.293577' WHERE "spree_products"."id" = 1060501267  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591777, 979460779) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501267]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501267 AND "spree_option_types"."id" = 935339518 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501267) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["option_type_id", 935339518], ["position", 2], ["product_id", 1060501267], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339518 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339518) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339518], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.308621' WHERE "spree_products"."id" = 1060501267 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501267], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.310013' WHERE "spree_products"."id" = 1060501267  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591778, 979460780) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339518 LIMIT 1 Spree::OptionValue Load (1.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339518) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "colour"], ["option_type_id", 935339518], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.315926' WHERE "spree_products"."id" = 1060501267 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501267], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.317383' WHERE "spree_products"."id" = 1060501267  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591779, 979460781) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501267]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501267) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591775 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591776 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591777 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591778 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591779 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501267) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.338512' WHERE "spree_products"."id" = 1060501267  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591775 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.339788' WHERE "spree_products"."id" = 1060501267 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.341952' WHERE "spree_products"."id" = 1060501267  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591776 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.342943' WHERE "spree_products"."id" = 1060501267 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.344109' WHERE "spree_products"."id" = 1060501267  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591777 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.345402' WHERE "spree_products"."id" = 1060501267 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.346788' WHERE "spree_products"."id" = 1060501267  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591778 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.347777' WHERE "spree_products"."id" = 1060501267 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.348889' WHERE "spree_products"."id" = 1060501267  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591779 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.350133' WHERE "spree_products"."id" = 1060501267 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501267) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:56:14.353168' WHERE "spree_products"."id" = 1060501267 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501267 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (18.1ms) commit transaction Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501265 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501265 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501266 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501266 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452267 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399860 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399864 LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399864 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399865 ORDER BY "lft" SQL (23.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452271], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452271], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_taxons" SET "parent_id" = 558399867, "updated_at" = '2012-10-23 12:56:14.571076' WHERE "spree_taxons"."id" = 558399868 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399867]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399868]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399868 THEN 558399867 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399867]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399868]]  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399867 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.625461' WHERE "spree_products"."id" = 1060501268 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501268], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.627067' WHERE "spree_products"."id" = 1060501268  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591780 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.628330' WHERE "spree_products"."id" = 1060501268  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501268  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835495], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.9ms) UPDATE "spree_product_properties" SET "product_id" = 1060501268, "updated_at" = '2012-10-23 12:56:14.641781' WHERE "spree_product_properties"."id" = 1073273855 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501268 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501268, 558399867) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452272], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501268, 558399869) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501268 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501268) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["option_type_id", 935339519], ["position", 1], ["product_id", 1060501268], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339519) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339519], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.686213' WHERE "spree_products"."id" = 1060501268 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501268], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.687779' WHERE "spree_products"."id" = 1060501268  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591781, 979460782) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501268]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501268 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339519) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339519], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.698504' WHERE "spree_products"."id" = 1060501268 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501268], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.701686' WHERE "spree_products"."id" = 1060501268  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591782, 979460783) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501268]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501268 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339519) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339519], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.717009' WHERE "spree_products"."id" = 1060501268 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501268], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.718475' WHERE "spree_products"."id" = 1060501268  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591783, 979460784) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501268]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591781 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591782 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591783 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.740094' WHERE "spree_products"."id" = 1060501268  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591781 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.741760' WHERE "spree_products"."id" = 1060501268 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.743102' WHERE "spree_products"."id" = 1060501268  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591782 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.744050' WHERE "spree_products"."id" = 1060501268 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.745189' WHERE "spree_products"."id" = 1060501268  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591783 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.746335' WHERE "spree_products"."id" = 1060501268 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501268) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:56:14.749202' WHERE "spree_products"."id" = 1060501268 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501268 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 SQL (1.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.760584' WHERE "spree_products"."id" = 1060501269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501269], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.763505' WHERE "spree_products"."id" = 1060501269  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591784 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.764966' WHERE "spree_products"."id" = 1060501269  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501269  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835496], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501269, "updated_at" = '2012-10-23 12:56:14.771777' WHERE "spree_product_properties"."id" = 1073273856 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501269 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501269, 558399867) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452273 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452273], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501269, 558399870) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399867 AND "spree_taxons"."taxonomy_id" = 854452271 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399867]] SQL (1.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399867], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452271], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399867]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399871]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399871 THEN 558399867 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (2.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399867]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399871]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399871 AND "spree_taxons"."taxonomy_id" = 854452271 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399871]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399871], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452271], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399871]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399872]] SQL (2.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399872 THEN 558399871 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399871]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399872]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501269, 558399871)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501269, 558399872) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501269 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501269) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["option_type_id", 935339519], ["position", 1], ["product_id", 1060501269], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.885461' WHERE "spree_products"."id" = 1060501269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501269], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.887608' WHERE "spree_products"."id" = 1060501269  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591785, 979460782) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501269]] Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501269 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.897546' WHERE "spree_products"."id" = 1060501269 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501269], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (2.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.899546' WHERE "spree_products"."id" = 1060501269  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591786, 979460783) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501269]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501269 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.911107' WHERE "spree_products"."id" = 1060501269 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501269], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.913370' WHERE "spree_products"."id" = 1060501269  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591787, 979460784) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501269]] Current value to assign : Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1  (1.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591785 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591786 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591787 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.937269' WHERE "spree_products"."id" = 1060501269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591785 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.938732' WHERE "spree_products"."id" = 1060501269 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.939836' WHERE "spree_products"."id" = 1060501269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591786 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.940757' WHERE "spree_products"."id" = 1060501269 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.942236' WHERE "spree_products"."id" = 1060501269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591787 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.943281' WHERE "spree_products"."id" = 1060501269 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501269) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:56:14.946499' WHERE "spree_products"."id" = 1060501269 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501269 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.957738' WHERE "spree_products"."id" = 1060501270 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501270], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.960670' WHERE "spree_products"."id" = 1060501270  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591788 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:14.962021' WHERE "spree_products"."id" = 1060501270  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501270  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835497], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501270, "updated_at" = '2012-10-23 12:56:14.968772' WHERE "spree_product_properties"."id" = 1073273857 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835496], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501270, "updated_at" = '2012-10-23 12:56:14.972772' WHERE "spree_product_properties"."id" = 1073273858 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["product_id", nil], ["property_id", 905835498], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501270, "updated_at" = '2012-10-23 12:56:14.977772' WHERE "spree_product_properties"."id" = 1073273859 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452274 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452274], ["updated_at", Tue, 23 Oct 2012 12:56:14 UTC +00:00]] Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501270 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501270, 558399873) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399867 AND "spree_taxons"."taxonomy_id" = 854452271 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501270, 558399868)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501270, 558399867) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501270 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501270) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["option_type_id", 935339519], ["position", 1], ["product_id", 1060501270], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.006647' WHERE "spree_products"."id" = 1060501270 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501270], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.008256' WHERE "spree_products"."id" = 1060501270  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591789, 979460782) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501270]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501270 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.017186' WHERE "spree_products"."id" = 1060501270 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501270], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.018406' WHERE "spree_products"."id" = 1060501270  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591790, 979460783) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501270]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501270 AND "spree_option_types"."id" = 935339519 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339519 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.027486' WHERE "spree_products"."id" = 1060501270 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501270], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.028771' WHERE "spree_products"."id" = 1060501270  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591791, 979460784) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501270]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501270 AND "spree_option_types"."id" = 935339520 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501270) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["option_type_id", 935339520], ["position", 2], ["product_id", 1060501270], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339520 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339520) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339520], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.046659' WHERE "spree_products"."id" = 1060501270 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501270], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.048006' WHERE "spree_products"."id" = 1060501270  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591792, 979460785) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501270]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501270 AND "spree_option_types"."id" = 935339520 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339520 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339520) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "colour"], ["option_type_id", 935339520], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.058539' WHERE "spree_products"."id" = 1060501270 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501270], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.060392' WHERE "spree_products"."id" = 1060501270  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591793, 979460786) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501270]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591789 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591790 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591791 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591792 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591793 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.079640' WHERE "spree_products"."id" = 1060501270  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591789 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.081030' WHERE "spree_products"."id" = 1060501270 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.082409' WHERE "spree_products"."id" = 1060501270  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591790 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.083324' WHERE "spree_products"."id" = 1060501270 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.085081' WHERE "spree_products"."id" = 1060501270  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591791 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.086227' WHERE "spree_products"."id" = 1060501270 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.087346' WHERE "spree_products"."id" = 1060501270  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591792 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.088880' WHERE "spree_products"."id" = 1060501270 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.090153' WHERE "spree_products"."id" = 1060501270  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591793 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.091218' WHERE "spree_products"."id" = 1060501270 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501270) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:56:15.094329' WHERE "spree_products"."id" = 1060501270 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501270 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.6ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501268 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501268 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501269 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501269 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452271 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399867 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399871 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399871 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399872 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452275], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (3.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452275], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558399874, "updated_at" = '2012-10-23 12:56:15.204244' WHERE "spree_taxons"."id" = 558399875 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399874]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399875]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399875 THEN 558399874 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399874]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399875]]  (3.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399874 ORDER BY "lft"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.239982' WHERE "spree_products"."id" = 1060501271 Binary data inserted for `string` type on column `sku` SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501271], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.241850' WHERE "spree_products"."id" = 1060501271  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591794 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.243271' WHERE "spree_products"."id" = 1060501271  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501271  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["product_id", nil], ["property_id", 905835499], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501271, "updated_at" = '2012-10-23 12:56:15.252466' WHERE "spree_product_properties"."id" = 1073273860 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501271 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501271, 558399874) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452276 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452276], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501271, 558399876) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501271 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501271) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["option_type_id", 935339521], ["position", 1], ["product_id", 1060501271], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339521) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339521], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.288633' WHERE "spree_products"."id" = 1060501271 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501271], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.291066' WHERE "spree_products"."id" = 1060501271  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591795, 979460787) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501271]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501271 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339521) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339521], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.303252' WHERE "spree_products"."id" = 1060501271 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501271], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.304612' WHERE "spree_products"."id" = 1060501271  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591796, 979460788) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501271]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501271 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339521) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339521], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.315344' WHERE "spree_products"."id" = 1060501271 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501271], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.316701' WHERE "spree_products"."id" = 1060501271  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591797, 979460789) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501271]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591795 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591796 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591797 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.337147' WHERE "spree_products"."id" = 1060501271  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591795 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.338594' WHERE "spree_products"."id" = 1060501271 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.339657' WHERE "spree_products"."id" = 1060501271  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591796 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.341644' WHERE "spree_products"."id" = 1060501271 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.342823' WHERE "spree_products"."id" = 1060501271  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591797 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.343999' WHERE "spree_products"."id" = 1060501271 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501271) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 12:56:15.347387' WHERE "spree_products"."id" = 1060501271 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.356480' WHERE "spree_products"."id" = 1060501272 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501272], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.357960' WHERE "spree_products"."id" = 1060501272  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591798 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.359456' WHERE "spree_products"."id" = 1060501272  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501272  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["product_id", nil], ["property_id", 905835500], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501272, "updated_at" = '2012-10-23 12:56:15.366442' WHERE "spree_product_properties"."id" = 1073273861 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501272 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501272, 558399874) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452277 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452277], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501272, 558399877) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399874 AND "spree_taxons"."taxonomy_id" = 854452275 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399874]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399874], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452275], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399874]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399878]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399878 THEN 558399874 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399874]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399878]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399878 AND "spree_taxons"."taxonomy_id" = 854452275 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399878]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399878], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452275], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399878]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399879]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399879 THEN 558399878 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399878]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399879]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501272, 558399878)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501272, 558399879) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501272 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501272) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["option_type_id", 935339521], ["position", 1], ["product_id", 1060501272], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.415226' WHERE "spree_products"."id" = 1060501272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501272], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.416977' WHERE "spree_products"."id" = 1060501272  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591799, 979460787) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501272]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501272 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.425994' WHERE "spree_products"."id" = 1060501272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501272], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.427249' WHERE "spree_products"."id" = 1060501272  (1.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591800, 979460788) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501272]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501272 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.437574' WHERE "spree_products"."id" = 1060501272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501272], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.439036' WHERE "spree_products"."id" = 1060501272  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591801, 979460789) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501272]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (4.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591799 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591800 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591801 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.533904' WHERE "spree_products"."id" = 1060501272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591799 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.535390' WHERE "spree_products"."id" = 1060501272 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.537255' WHERE "spree_products"."id" = 1060501272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591800 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.538747' WHERE "spree_products"."id" = 1060501272 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.540242' WHERE "spree_products"."id" = 1060501272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591801 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.541641' WHERE "spree_products"."id" = 1060501272 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501272) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 12:56:15.545335' WHERE "spree_products"."id" = 1060501272 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.555237' WHERE "spree_products"."id" = 1060501273 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501273], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.556624' WHERE "spree_products"."id" = 1060501273  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591802 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.558214' WHERE "spree_products"."id" = 1060501273  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501273  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["product_id", nil], ["property_id", 905835501], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501273, "updated_at" = '2012-10-23 12:56:15.564880' WHERE "spree_product_properties"."id" = 1073273862 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `value` SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["product_id", nil], ["property_id", 905835500], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501273, "updated_at" = '2012-10-23 12:56:15.568964' WHERE "spree_product_properties"."id" = 1073273863 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["product_id", nil], ["property_id", 905835502], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501273, "updated_at" = '2012-10-23 12:56:15.573756' WHERE "spree_product_properties"."id" = 1073273864 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452278 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452278], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501273 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501273, 558399880) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399874 AND "spree_taxons"."taxonomy_id" = 854452275 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501273, 558399875)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501273, 558399874) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501273 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501273) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["option_type_id", 935339521], ["position", 1], ["product_id", 1060501273], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.600874' WHERE "spree_products"."id" = 1060501273 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501273], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.602340' WHERE "spree_products"."id" = 1060501273  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591803, 979460787) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501273]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501273 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.613560' WHERE "spree_products"."id" = 1060501273 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501273], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.614780' WHERE "spree_products"."id" = 1060501273  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591804, 979460788) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501273]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501273 AND "spree_option_types"."id" = 935339521 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339521 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.623603' WHERE "spree_products"."id" = 1060501273 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501273], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.625086' WHERE "spree_products"."id" = 1060501273  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591805, 979460789) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501273]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501273 AND "spree_option_types"."id" = 935339522 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501273) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["option_type_id", 935339522], ["position", 2], ["product_id", 1060501273], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339522 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339522) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339522], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.638731' WHERE "spree_products"."id" = 1060501273 SQL (2.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501273], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.642580' WHERE "spree_products"."id" = 1060501273  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591806, 979460790) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501273]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501273 AND "spree_option_types"."id" = 935339522 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339522 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339522) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "colour"], ["option_type_id", 935339522], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.652685' WHERE "spree_products"."id" = 1060501273 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501273], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.654162' WHERE "spree_products"."id" = 1060501273  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591807, 979460791) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501273]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591803 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591804 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591805 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591806 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591807 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.672602' WHERE "spree_products"."id" = 1060501273  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591803 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.673668' WHERE "spree_products"."id" = 1060501273 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.675552' WHERE "spree_products"."id" = 1060501273  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591804 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.676585' WHERE "spree_products"."id" = 1060501273 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.677890' WHERE "spree_products"."id" = 1060501273  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591805 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.678912' WHERE "spree_products"."id" = 1060501273 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.680319' WHERE "spree_products"."id" = 1060501273  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591806 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.681380' WHERE "spree_products"."id" = 1060501273 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.683051' WHERE "spree_products"."id" = 1060501273  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591807 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.684312' WHERE "spree_products"."id" = 1060501273 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501273) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 12:56:15.687655' WHERE "spree_products"."id" = 1060501273  (5.5ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501271 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501271 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501272 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501272 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452275 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399874 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399878 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399878 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399879 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.5ms) commit transaction SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501274 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.788118' WHERE "spree_products"."id" = 1060501274 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501274], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.789756' WHERE "spree_products"."id" = 1060501274  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591808 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.791477' WHERE "spree_products"."id" = 1060501274  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501274 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501274  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452279], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399881 AND "spree_taxons"."taxonomy_id" = 854452279 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399881]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558399881], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452279], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399881]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399882]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399882 THEN 558399881 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399881]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399882]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501274 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501274, 558399882)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501274, 558399881) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501274) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452280 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452280], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501274, 558399883) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501274) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591808 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501274) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 12:56:15.832750' WHERE "spree_products"."id" = 1060501274  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591808 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.834613' WHERE "spree_products"."id" = 1060501274 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501274 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060501274 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501275 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.847411' WHERE "spree_products"."id" = 1060501275 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501275], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.849749' WHERE "spree_products"."id" = 1060501275  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591809 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.851394' WHERE "spree_products"."id" = 1060501275  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501275 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501275  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501275 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501275, 558399881) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501275) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452281 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452281], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501275, 558399884) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501275) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399881 AND "spree_taxons"."taxonomy_id" = 854452279 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399881]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399881], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452279], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399881]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399885]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399885 THEN 558399881 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399881]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399885]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399885 AND "spree_taxons"."taxonomy_id" = 854452279 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399885]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558399885], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452279], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399885]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399886]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399886 THEN 558399885 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399885]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399886]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501275, 558399885)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501275, 558399886) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501275) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591809 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501275) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 12:56:15.950747' WHERE "spree_products"."id" = 1060501275  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591809 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.952746' WHERE "spree_products"."id" = 1060501275 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501275 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060501275 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501276 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.964903' WHERE "spree_products"."id" = 1060501276 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501276], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.967310' WHERE "spree_products"."id" = 1060501276  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591810 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:15.968646' WHERE "spree_products"."id" = 1060501276  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501276 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501276 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501276  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501276 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452282 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452282], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399887 AND "spree_taxons"."taxonomy_id" = 854452282 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399887]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399887], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452282], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399887]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399888]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399888 THEN 558399887 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399887]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399888]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501276 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501276, 558399888)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501276, 558399887) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501276) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452283 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452283], ["updated_at", Tue, 23 Oct 2012 12:56:15 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501276, 558399889) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501276) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591810 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501276) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 12:56:16.006386' WHERE "spree_products"."id" = 1060501276  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591810 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.008147' WHERE "spree_products"."id" = 1060501276 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501276 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060501276 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501277 LIMIT 1 SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.020355' WHERE "spree_products"."id" = 1060501277 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501277], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.022992' WHERE "spree_products"."id" = 1060501277  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591811 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.024469' WHERE "spree_products"."id" = 1060501277  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501277 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501277 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501277  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501277 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452282 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399887 AND "spree_taxons"."taxonomy_id" = 854452282 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501277 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501277, 558399888)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501277, 558399887) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501277) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399881 AND "spree_taxons"."taxonomy_id" = 854452279 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399885 AND "spree_taxons"."taxonomy_id" = 854452279 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399885]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558399885], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452279], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399885]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399890]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399890 THEN 558399885 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399885]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399890]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399890 AND "spree_taxons"."taxonomy_id" = 854452279 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399890]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558399890], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452279], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399890]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399891]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399891 THEN 558399890 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399890]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399891]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501277, 558399885)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501277, 558399890)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501277, 558399891)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501277, 558399881) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501277) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591811 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501277) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 12:56:16.062742' WHERE "spree_products"."id" = 1060501277  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591811 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.064862' WHERE "spree_products"."id" = 1060501277 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501277 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060501277 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501278 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.077169' WHERE "spree_products"."id" = 1060501278 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501278], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.079606' WHERE "spree_products"."id" = 1060501278  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591812 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.081193' WHERE "spree_products"."id" = 1060501278  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501278 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501278 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501278  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501278 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452282 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399887 AND "spree_taxons"."taxonomy_id" = 854452282 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399888 AND "spree_taxons"."taxonomy_id" = 854452282 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399888]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558399888], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452282], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399888]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399892]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399892 THEN 558399888 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399888]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399892]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501278 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501278, 558399888)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501278, 558399892)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501278, 558399887) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501278) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452281 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501278, 558399884) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501278) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591812 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501278) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 12:56:16.110264' WHERE "spree_products"."id" = 1060501278  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591812 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.112693' WHERE "spree_products"."id" = 1060501278 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501278 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060501278 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452280 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452281 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452282 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452283 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452279 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399881 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399881) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399885 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399885) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399885) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399881 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399885 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399890 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399891 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399890) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452282 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452282 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399888 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399888 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399892 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399892) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452281 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452281 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399884 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452283 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452283 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399889 ORDER BY "lft" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501279 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.229546' WHERE "spree_products"."id" = 1060501279 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501279], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.231606' WHERE "spree_products"."id" = 1060501279  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591813 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.233293' WHERE "spree_products"."id" = 1060501279  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501279 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501279 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501279  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501279 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452284], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399893 AND "spree_taxons"."taxonomy_id" = 854452284 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399893]] Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558399893], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452284], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399893]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399894]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399894 THEN 558399893 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399893]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399894]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501279 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.9ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501279, 558399894)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501279, 558399893) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501279) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452285 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452285], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501279, 558399895) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501279) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591813 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501279) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 12:56:16.272577' WHERE "spree_products"."id" = 1060501279  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591813 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.274554' WHERE "spree_products"."id" = 1060501279 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501279 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501280 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.284289' WHERE "spree_products"."id" = 1060501280 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501280], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.286018' WHERE "spree_products"."id" = 1060501280  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591814 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.287398' WHERE "spree_products"."id" = 1060501280  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501280 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501280 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501280  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501280 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501280 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501280, 558399893) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501280) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452286 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452286], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501280, 558399896) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501280) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399893 AND "spree_taxons"."taxonomy_id" = 854452284 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399893]] Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399893], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452284], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399893]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399897]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399897 THEN 558399893 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399893]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399897]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399897 AND "spree_taxons"."taxonomy_id" = 854452284 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399897]] Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558399897], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452284], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399897]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399898]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399898 THEN 558399897 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399897]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399898]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501280, 558399897)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501280, 558399898) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501280) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591814 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501280) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 12:56:16.328252' WHERE "spree_products"."id" = 1060501280  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591814 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.330225' WHERE "spree_products"."id" = 1060501280 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501280 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501281 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.339697' WHERE "spree_products"."id" = 1060501281 Binary data inserted for `string` type on column `sku` SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501281], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.341244' WHERE "spree_products"."id" = 1060501281  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591815 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.343255' WHERE "spree_products"."id" = 1060501281  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501281 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501281 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501281  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501281 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452287 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452287], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399899 AND "spree_taxons"."taxonomy_id" = 854452287 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399899]] Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399899], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452287], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399899]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399900]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399900 THEN 558399899 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399899]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399900]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501281 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501281, 558399900)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501281, 558399899) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501281) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452288 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452288], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501281, 558399901) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501281) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591815 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501281) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 12:56:16.378572' WHERE "spree_products"."id" = 1060501281  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591815 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.380529' WHERE "spree_products"."id" = 1060501281 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501281 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501282 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.389814' WHERE "spree_products"."id" = 1060501282 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501282], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.391401' WHERE "spree_products"."id" = 1060501282  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591816 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.393010' WHERE "spree_products"."id" = 1060501282  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501282 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501282 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501282  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501282 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452287 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399899 AND "spree_taxons"."taxonomy_id" = 854452287 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501282 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501282, 558399900)  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501282, 558399899) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501282) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399893 AND "spree_taxons"."taxonomy_id" = 854452284 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399897 AND "spree_taxons"."taxonomy_id" = 854452284 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399897]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558399897], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452284], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399897]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399902]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399902 THEN 558399897 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399897]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399902]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558399902 AND "spree_taxons"."taxonomy_id" = 854452284 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399902]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558399902], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452284], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399902]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399903]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399903 THEN 558399902 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399902]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399903]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501282, 558399897)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501282, 558399902)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501282, 558399903)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501282, 558399893) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501282) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591816 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501282) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 12:56:16.431149' WHERE "spree_products"."id" = 1060501282  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591816 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.432817' WHERE "spree_products"."id" = 1060501282 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501282 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501283 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.441176' WHERE "spree_products"."id" = 1060501283 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501283], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.442634' WHERE "spree_products"."id" = 1060501283  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591817 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.444186' WHERE "spree_products"."id" = 1060501283  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501283 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501283 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501283  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501283 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452287 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399899 AND "spree_taxons"."taxonomy_id" = 854452287 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558399900 AND "spree_taxons"."taxonomy_id" = 854452287 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399900]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558399900], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452287], ["updated_at", Tue, 23 Oct 2012 12:56:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399900]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399904]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399904 THEN 558399900 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399900]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399904]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501283 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501283, 558399900)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501283, 558399904)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501283, 558399899) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501283) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452286 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501283, 558399896) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501283) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591817 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501283) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 12:56:16.469125' WHERE "spree_products"."id" = 1060501283  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013591817 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 12:56:16.470828' WHERE "spree_products"."id" = 1060501283 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501283  (6.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452285 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452286 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452287 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452288 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452284 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399893 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558399893) Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399897 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399897) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558399897) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399893 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399897 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399902 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399903 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558399902) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452287 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452287 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399900 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399900 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399904 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558399904) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452286 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452286 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (3.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399896 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452288 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452288 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399901 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (6.5ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (4.3ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.7ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (4.1ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (5.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (3.9ms) begin transaction  (0.1ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (4.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (3.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (5.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (32.4ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (17.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (19.2ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (13.6ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (18.2ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.0ms) commit transaction SQL (3.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (22.2ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (34.8ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (5.3ms) DELETE FROM "spree_properties" SQL (2.8ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (4.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (18.1ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (89.5ms) DELETE FROM "spree_option_values" SQL (5.8ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (20.1ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (23.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (36.2ms) DELETE FROM "spree_products" SQL (1.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (27.6ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (24.5ms) DELETE FROM "spree_zones" SQL (3.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (25.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.1ms) commit transaction SQL (6.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (25.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (3.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (23.6ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (24.7ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (25.1ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (4.6ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (4.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (23.2ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (26.9ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.5ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (20.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.7ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (23.9ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.3ms) begin transaction  (0.1ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (21.1ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (25.4ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (24.4ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (8.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (26.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (24.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (30.0ms) DELETE FROM "spree_zones" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (25.4ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.4ms) begin transaction  (0.2ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (27.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (27.2ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (22.6ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" SQL (4.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (23.8ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (21.7ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (24.5ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (8.8ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (4.5ms) DELETE FROM "spree_zones" SQL (3.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (24.5ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (27.4ms) DELETE FROM "spree_zones" SQL (3.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (29.4ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (24.6ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (24.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.6ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (25.6ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (23.3ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (28.1ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (31.8ms) DELETE FROM "spree_zones" SQL (3.8ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (30.1ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (22.8ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (28.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (9.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (24.8ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (23.9ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (23.7ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (61.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452289 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452289], ["updated_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00]]  (2.6ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452289], ["updated_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452289], ["updated_at", Tue, 23 Oct 2012 13:33:22 UTC +00:00]]  (2.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (11.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452290 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452290], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452290], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452290], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]]  (2.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452291 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452291], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452291], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452291], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]]  (2.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (6.1ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (22.0ms) DELETE FROM "spree_product_properties" SQL (81.4ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction SQL (2.7ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 131 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 131 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 132 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 132 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 133 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 133 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 134 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 134 Current value to assign : Current value to assign :  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.3ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 135 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 136 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 137 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 138  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.9ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501284 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.008996' WHERE "spree_products"."id" = 1060501284 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501284], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.012241' WHERE "spree_products"."id" = 1060501284  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591818 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.015158' WHERE "spree_products"."id" = 1060501284  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501284 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501284 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501284  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501284 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591818 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501284) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501284 AND "spree_option_types"."id" = 935339523 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501284) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339523], ["position", 1], ["product_id", 1060501284], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501284) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 13:33:24.147523' WHERE "spree_products"."id" = 1060501284  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591818 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.149701' WHERE "spree_products"."id" = 1060501284 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501284 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501284 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501285 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.163278' WHERE "spree_products"."id" = 1060501285 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501285], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.164654' WHERE "spree_products"."id" = 1060501285  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591819 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.166972' WHERE "spree_products"."id" = 1060501285  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501285 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501285 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501285  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501285 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591819 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501285) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501285 AND "spree_option_types"."id" = 935339523 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501285) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339523], ["position", 1], ["product_id", 1060501285], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501285) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 13:33:24.180713' WHERE "spree_products"."id" = 1060501285  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591819 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.183713' WHERE "spree_products"."id" = 1060501285 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501285 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501285 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501286 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.194815' WHERE "spree_products"."id" = 1060501286 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501286], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.197213' WHERE "spree_products"."id" = 1060501286  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591820 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.198922' WHERE "spree_products"."id" = 1060501286  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501286 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501286  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591820 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501286) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501286 AND "spree_option_types"."id" = 935339523 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501286) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339523], ["position", 1], ["product_id", 1060501286], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501286 AND "spree_option_types"."id" = 935339524 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501286) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339524], ["position", 2], ["product_id", 1060501286], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501286) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 13:33:24.219791' WHERE "spree_products"."id" = 1060501286  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591820 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.222210' WHERE "spree_products"."id" = 1060501286 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501286 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501286 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 13:33:24.242711')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 13:33:24.243657')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501284 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501284 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501284 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501286 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (2.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501287 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.365097' WHERE "spree_products"."id" = 1060501287 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501287], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.367233' WHERE "spree_products"."id" = 1060501287  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591821 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.370702' WHERE "spree_products"."id" = 1060501287  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501287 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501287  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591821 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501287) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501287 AND "spree_option_types"."id" = 935339525 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501287) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339525], ["position", 1], ["product_id", 1060501287], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501287) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 13:33:24.388571' WHERE "spree_products"."id" = 1060501287  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591821 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.390519' WHERE "spree_products"."id" = 1060501287 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501287 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.401184' WHERE "spree_products"."id" = 1060501288 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501288], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.403182' WHERE "spree_products"."id" = 1060501288  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591822 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.404875' WHERE "spree_products"."id" = 1060501288  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501288 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501288  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591822 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501288) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501288 AND "spree_option_types"."id" = 935339525 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501288) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339525], ["position", 1], ["product_id", 1060501288], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501288) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 13:33:24.421491' WHERE "spree_products"."id" = 1060501288  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591822 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.423707' WHERE "spree_products"."id" = 1060501288 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501288 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501289 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.434099' WHERE "spree_products"."id" = 1060501289 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501289], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.435221' WHERE "spree_products"."id" = 1060501289  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591823 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.437178' WHERE "spree_products"."id" = 1060501289  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501289 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501289  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591823 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501289) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501289 AND "spree_option_types"."id" = 935339525 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501289) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339525], ["position", 1], ["product_id", 1060501289], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501289 AND "spree_option_types"."id" = 935339526 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501289) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339526], ["position", 2], ["product_id", 1060501289], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501289) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 13:33:24.456712' WHERE "spree_products"."id" = 1060501289  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013591823 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.459462' WHERE "spree_products"."id" = 1060501289 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501289  (3.2ms) commit transaction  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 13:33:24.466682')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 13:33:24.466959')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501287 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501287 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501289 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 14:33:24 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501290 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.591184' WHERE "spree_products"."id" = 1060501290 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501290], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.592702' WHERE "spree_products"."id" = 1060501290  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591824 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.594332' WHERE "spree_products"."id" = 1060501290  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501290 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501290  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501290 AND "spree_option_types"."id" = 935339527 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501290) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339527], ["position", 1], ["product_id", 1060501290], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501290) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501290 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 14:33:24 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501291 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.616178' WHERE "spree_products"."id" = 1060501291 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501291], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.617824' WHERE "spree_products"."id" = 1060501291  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591825 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.619498' WHERE "spree_products"."id" = 1060501291  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501291 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501291  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501291 AND "spree_option_types"."id" = 935339527 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501291) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339527], ["position", 1], ["product_id", 1060501291], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501291) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501291 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 14:33:24 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501292 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.641275' WHERE "spree_products"."id" = 1060501292 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501292], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.643701' WHERE "spree_products"."id" = 1060501292  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591826 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.645272' WHERE "spree_products"."id" = 1060501292  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501292 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501292  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501292 AND "spree_option_types"."id" = 935339527 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501292) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339527], ["position", 1], ["product_id", 1060501292], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501292 AND "spree_option_types"."id" = 935339528 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501292) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339528], ["position", 2], ["product_id", 1060501292], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501292) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501292 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (2.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501290 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501293 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.803697' WHERE "spree_products"."id" = 1060501293 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501293], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.805324' WHERE "spree_products"."id" = 1060501293  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591827 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.807063' WHERE "spree_products"."id" = 1060501293  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501293 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501293  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501293 AND "spree_option_types"."id" = 935339529 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501293) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339529], ["position", 1], ["product_id", 1060501293], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501293) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501293 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501294 LIMIT 1 SQL (1.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.832466' WHERE "spree_products"."id" = 1060501294 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501294], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.835517' WHERE "spree_products"."id" = 1060501294  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591828 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.837605' WHERE "spree_products"."id" = 1060501294  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501294 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501294  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501294 AND "spree_option_types"."id" = 935339529 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501294) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339529], ["position", 1], ["product_id", 1060501294], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501294) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501294 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501295 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.862418' WHERE "spree_products"."id" = 1060501295 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501295], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.863695' WHERE "spree_products"."id" = 1060501295  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591829 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.865408' WHERE "spree_products"."id" = 1060501295  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501295 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501295 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501295  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501295 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501295 AND "spree_option_types"."id" = 935339529 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501295) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339529], ["position", 1], ["product_id", 1060501295], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501295 AND "spree_option_types"."id" = 935339530 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501295) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["option_type_id", 935339530], ["position", 2], ["product_id", 1060501295], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501295) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501295 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501293 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.2ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (1.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]]  (1.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (2.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501296 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.987975' WHERE "spree_products"."id" = 1060501296 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501296], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.989692' WHERE "spree_products"."id" = 1060501296  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591830 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:24.991613' WHERE "spree_products"."id" = 1060501296  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501296  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["product_id", nil], ["property_id", 905835503], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501296, "updated_at" = '2012-10-23 13:33:25.018691' WHERE "spree_product_properties"."id" = 1073273865 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501296) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452292 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452292], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501296 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501296, 558399914) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452293 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452293], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501296, 558399915) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501296) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501296 AND "spree_option_types"."id" = 935339531 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501296) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["option_type_id", 935339531], ["position", 1], ["product_id", 1060501296], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339531) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339531], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501296 LIMIT 1 SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.142246' WHERE "spree_products"."id" = 1060501296 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501296], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.144451' WHERE "spree_products"."id" = 1060501296  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591831, 979460792) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339531) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339531], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.164932' WHERE "spree_products"."id" = 1060501296 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501296], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.166379' WHERE "spree_products"."id" = 1060501296  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591832, 979460793) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339531) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339531], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.171646' WHERE "spree_products"."id" = 1060501296 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501296], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.173543' WHERE "spree_products"."id" = 1060501296  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591833, 979460794) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501296]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501296) LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591831 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591832 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591833 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501296) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.191916' WHERE "spree_products"."id" = 1060501296  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591831 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.193131' WHERE "spree_products"."id" = 1060501296 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501296 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.195540' WHERE "spree_products"."id" = 1060501296  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591832 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.196747' WHERE "spree_products"."id" = 1060501296 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.197991' WHERE "spree_products"."id" = 1060501296  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591833 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.198908' WHERE "spree_products"."id" = 1060501296 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501296) LIMIT 1  (1.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:25.202924' WHERE "spree_products"."id" = 1060501296 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501296 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501297 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.216104' WHERE "spree_products"."id" = 1060501297 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501297], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.218015' WHERE "spree_products"."id" = 1060501297  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591834 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.219963' WHERE "spree_products"."id" = 1060501297  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501297  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["product_id", nil], ["property_id", 905835504], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501297, "updated_at" = '2012-10-23 13:33:25.226686' WHERE "spree_product_properties"."id" = 1073273866 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501297) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452292 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501297 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501297, 558399914) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452294 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452294], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501297, 558399916) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452292 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399914 AND "spree_taxons"."taxonomy_id" = 854452292 LIMIT 1  (1.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399914]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399914], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452292], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399914]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399917]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399917 THEN 558399914 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399914]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399917]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399917 AND "spree_taxons"."taxonomy_id" = 854452292 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399917]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399917], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452292], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399917]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399918]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399918 THEN 558399917 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399917]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399918]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501297, 558399917)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501297, 558399918) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501297) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501297 AND "spree_option_types"."id" = 935339531 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501297) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["option_type_id", 935339531], ["position", 1], ["product_id", 1060501297], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501297 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.270180' WHERE "spree_products"."id" = 1060501297 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501297], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.271914' WHERE "spree_products"."id" = 1060501297  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591835, 979460792) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501297 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.275543' WHERE "spree_products"."id" = 1060501297 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501297], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.276684' WHERE "spree_products"."id" = 1060501297  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591836, 979460793) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501297 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.279512' WHERE "spree_products"."id" = 1060501297 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501297], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.281054' WHERE "spree_products"."id" = 1060501297  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591837, 979460794) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501297]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501297) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591835 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591836 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591837 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501297) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501297 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.303051' WHERE "spree_products"."id" = 1060501297  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591835 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.304314' WHERE "spree_products"."id" = 1060501297 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501297 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.305499' WHERE "spree_products"."id" = 1060501297  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591836 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.307237' WHERE "spree_products"."id" = 1060501297 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501297 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.308518' WHERE "spree_products"."id" = 1060501297  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591837 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.309828' WHERE "spree_products"."id" = 1060501297 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501297) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:25.312466' WHERE "spree_products"."id" = 1060501297 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501297 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.326683' WHERE "spree_products"."id" = 1060501298 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501298], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.328047' WHERE "spree_products"."id" = 1060501298  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591838 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.329575' WHERE "spree_products"."id" = 1060501298  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501298  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["product_id", nil], ["property_id", 905835505], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501298, "updated_at" = '2012-10-23 13:33:25.339047' WHERE "spree_product_properties"."id" = 1073273867 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["product_id", nil], ["property_id", 905835504], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501298, "updated_at" = '2012-10-23 13:33:25.341683' WHERE "spree_product_properties"."id" = 1073273868 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["product_id", nil], ["property_id", 905835506], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501298, "updated_at" = '2012-10-23 13:33:25.347247' WHERE "spree_product_properties"."id" = 1073273869 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501298) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452295 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452295], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501298 Product assigned to Taxons : ["Drawings"]  (0.5ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501298, 558399919) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452292 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399914 AND "spree_taxons"."taxonomy_id" = 854452292 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399914]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399914], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452292], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399914]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399920]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399920 THEN 558399914 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399914]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399920]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501298, 558399920)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501298, 558399914) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501298) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501298 AND "spree_option_types"."id" = 935339531 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501298) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["option_type_id", 935339531], ["position", 1], ["product_id", 1060501298], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.387680' WHERE "spree_products"."id" = 1060501298 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501298], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.389124' WHERE "spree_products"."id" = 1060501298  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591839, 979460792) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.392587' WHERE "spree_products"."id" = 1060501298 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501298], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.394778' WHERE "spree_products"."id" = 1060501298  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591840, 979460793) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339531 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.398133' WHERE "spree_products"."id" = 1060501298 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501298], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.400195' WHERE "spree_products"."id" = 1060501298  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591841, 979460794) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501298]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501298 AND "spree_option_types"."id" = 935339532 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501298) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["option_type_id", 935339532], ["position", 2], ["product_id", 1060501298], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339532 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339532) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339532], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.416174' WHERE "spree_products"."id" = 1060501298 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501298], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.417573' WHERE "spree_products"."id" = 1060501298  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591842, 979460795) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339532 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339532) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "colour"], ["option_type_id", 935339532], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.427091' WHERE "spree_products"."id" = 1060501298 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501298], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.428560' WHERE "spree_products"."id" = 1060501298  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591843, 979460796) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501298]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501298) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591839 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591840 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591841 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591842 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591843 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501298) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.449462' WHERE "spree_products"."id" = 1060501298  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591839 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.451357' WHERE "spree_products"."id" = 1060501298 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.452775' WHERE "spree_products"."id" = 1060501298  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591840 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.453871' WHERE "spree_products"."id" = 1060501298 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.454984' WHERE "spree_products"."id" = 1060501298  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591841 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.455924' WHERE "spree_products"."id" = 1060501298 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.458212' WHERE "spree_products"."id" = 1060501298  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591842 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.459209' WHERE "spree_products"."id" = 1060501298 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.460457' WHERE "spree_products"."id" = 1060501298  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591843 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.461276' WHERE "spree_products"."id" = 1060501298 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501298) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:25.464071' WHERE "spree_products"."id" = 1060501298 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501298 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.8ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501296 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501298 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.4ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501298 SQL (3.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.8ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]]  (1.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501299 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.680825' WHERE "spree_products"."id" = 1060501299 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501299], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.683264' WHERE "spree_products"."id" = 1060501299  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591844 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.685024' WHERE "spree_products"."id" = 1060501299  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501299  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["product_id", nil], ["property_id", 905835507], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501299, "updated_at" = '2012-10-23 13:33:25.691639' WHERE "spree_product_properties"."id" = 1073273870 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452296 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452296], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501299 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501299, 558399921) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452297 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452297], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501299, 558399922) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501299 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501299) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["option_type_id", 935339533], ["position", 1], ["product_id", 1060501299], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339533) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339533], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501299 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.817004' WHERE "spree_products"."id" = 1060501299 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501299], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.818670' WHERE "spree_products"."id" = 1060501299  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591845, 979460797) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501299]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501299 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339533) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339533], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501299 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.829638' WHERE "spree_products"."id" = 1060501299 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501299], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.831161' WHERE "spree_products"."id" = 1060501299  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591846, 979460798) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501299]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501299 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339533) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339533], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501299 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.842972' WHERE "spree_products"."id" = 1060501299 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501299], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.844467' WHERE "spree_products"."id" = 1060501299  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591847, 979460799) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501299]] Current value to assign : Current value to assign : Spree::Variant Load (1.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591845 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591846 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591847 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501299 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.867017' WHERE "spree_products"."id" = 1060501299  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591845 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.868401' WHERE "spree_products"."id" = 1060501299 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501299 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.869763' WHERE "spree_products"."id" = 1060501299  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591846 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.870871' WHERE "spree_products"."id" = 1060501299 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501299 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.871912' WHERE "spree_products"."id" = 1060501299  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591847 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.873264' WHERE "spree_products"."id" = 1060501299 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501299) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:25.875481' WHERE "spree_products"."id" = 1060501299 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501299 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501300 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.892438' WHERE "spree_products"."id" = 1060501300 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501300], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.893668' WHERE "spree_products"."id" = 1060501300  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591848 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.895139' WHERE "spree_products"."id" = 1060501300  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501300  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["product_id", nil], ["property_id", 905835508], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501300, "updated_at" = '2012-10-23 13:33:25.902760' WHERE "spree_product_properties"."id" = 1073273871 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452296 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501300 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501300, 558399921) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452298 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452298], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501300, 558399923) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452296 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399921 AND "spree_taxons"."taxonomy_id" = 854452296 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399921]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399921], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452296], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399921]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399924]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399924 THEN 558399921 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399921]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399924]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399924 AND "spree_taxons"."taxonomy_id" = 854452296 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399924]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399924], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452296], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399924]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399925]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399925 THEN 558399924 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399924]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399925]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501300, 558399924)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501300, 558399925) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501300 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501300) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00], ["option_type_id", 935339533], ["position", 1], ["product_id", 1060501300], ["updated_at", Tue, 23 Oct 2012 13:33:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501300 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.952666' WHERE "spree_products"."id" = 1060501300 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501300], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.955232' WHERE "spree_products"."id" = 1060501300  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591849, 979460797) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501300]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501300 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501300 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.963377' WHERE "spree_products"."id" = 1060501300 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501300], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.964726' WHERE "spree_products"."id" = 1060501300  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591850, 979460798) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501300]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501300 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501300 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.974137' WHERE "spree_products"."id" = 1060501300 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501300], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.975407' WHERE "spree_products"."id" = 1060501300  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591851, 979460799) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501300]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591849 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591850 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591851 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501300 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.997453' WHERE "spree_products"."id" = 1060501300  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591849 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:25.999320' WHERE "spree_products"."id" = 1060501300 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501300 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.000410' WHERE "spree_products"."id" = 1060501300  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591850 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.001569' WHERE "spree_products"."id" = 1060501300 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501300 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.002876' WHERE "spree_products"."id" = 1060501300  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591851 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.003665' WHERE "spree_products"."id" = 1060501300 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501300) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:26.006458' WHERE "spree_products"."id" = 1060501300 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501300 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.019307' WHERE "spree_products"."id" = 1060501301 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501301], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.020548' WHERE "spree_products"."id" = 1060501301  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591852 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.023291' WHERE "spree_products"."id" = 1060501301  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501301  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["product_id", nil], ["property_id", 905835509], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501301, "updated_at" = '2012-10-23 13:33:26.030110' WHERE "spree_product_properties"."id" = 1073273872 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["product_id", nil], ["property_id", 905835508], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501301, "updated_at" = '2012-10-23 13:33:26.034567' WHERE "spree_product_properties"."id" = 1073273873 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["product_id", nil], ["property_id", 905835510], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501301, "updated_at" = '2012-10-23 13:33:26.038982' WHERE "spree_product_properties"."id" = 1073273874 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452299 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452299], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501301 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501301, 558399926) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452296 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399921 AND "spree_taxons"."taxonomy_id" = 854452296 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399921]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399921], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452296], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399921]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399927]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399927 THEN 558399921 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399921]] Spree::Taxon Load (10.8ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399927]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501301, 558399927)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501301, 558399921) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501301 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501301) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["option_type_id", 935339533], ["position", 1], ["product_id", 1060501301], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.086116' WHERE "spree_products"."id" = 1060501301 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501301], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.087974' WHERE "spree_products"."id" = 1060501301  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591853, 979460797) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501301]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501301 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.099176' WHERE "spree_products"."id" = 1060501301 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501301], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.100934' WHERE "spree_products"."id" = 1060501301  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591854, 979460798) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501301]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501301 AND "spree_option_types"."id" = 935339533 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339533 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.268609' WHERE "spree_products"."id" = 1060501301 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501301], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.270100' WHERE "spree_products"."id" = 1060501301  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591855, 979460799) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501301]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501301 AND "spree_option_types"."id" = 935339534 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501301) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["option_type_id", 935339534], ["position", 2], ["product_id", 1060501301], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339534 LIMIT 1 Spree::OptionValue Load (7.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339534) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339534], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.296056' WHERE "spree_products"."id" = 1060501301 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501301], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.299147' WHERE "spree_products"."id" = 1060501301  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591856, 979460800) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501301]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501301 AND "spree_option_types"."id" = 935339534 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339534 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339534) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["name", "colour"], ["option_type_id", 935339534], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.324788' WHERE "spree_products"."id" = 1060501301 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501301], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.326427' WHERE "spree_products"."id" = 1060501301  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591857, 979460801) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501301]] Spree::Variant Load (1.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591853 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591854 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591855 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591856 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591857 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.352656' WHERE "spree_products"."id" = 1060501301  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591853 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.356163' WHERE "spree_products"."id" = 1060501301 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.357185' WHERE "spree_products"."id" = 1060501301  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591854 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.358484' WHERE "spree_products"."id" = 1060501301 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.359968' WHERE "spree_products"."id" = 1060501301  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591855 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.361144' WHERE "spree_products"."id" = 1060501301 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.363520' WHERE "spree_products"."id" = 1060501301  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591856 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.364409' WHERE "spree_products"."id" = 1060501301 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.365952' WHERE "spree_products"."id" = 1060501301  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591857 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.367090' WHERE "spree_products"."id" = 1060501301 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501301) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:26.371656' WHERE "spree_products"."id" = 1060501301 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501301 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.1ms) commit transaction  (2.0ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501299 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501301 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.2ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501301 SQL (3.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (5.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (5.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.3ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452300 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452300], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452300], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (1.6ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501302 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.997640' WHERE "spree_products"."id" = 1060501302 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501302], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:26.999640' WHERE "spree_products"."id" = 1060501302  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591858 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.002236' WHERE "spree_products"."id" = 1060501302  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501302  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835511], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501302, "updated_at" = '2012-10-23 13:33:27.011116' WHERE "spree_product_properties"."id" = 1073273875 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501302) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452300 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501302 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501302, 558399928) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452301 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452301], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501302, 558399930) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501302) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501302 AND "spree_option_types"."id" = 935339535 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501302) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339535], ["position", 1], ["product_id", 1060501302], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339535) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339535], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501302 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.044638' WHERE "spree_products"."id" = 1060501302 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501302], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.046198' WHERE "spree_products"."id" = 1060501302  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591859, 979460802) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339535) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339535], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501302 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.051638' WHERE "spree_products"."id" = 1060501302 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501302], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.053214' WHERE "spree_products"."id" = 1060501302  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591860, 979460803) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339535) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339535], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501302 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.057610' WHERE "spree_products"."id" = 1060501302 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501302], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.059038' WHERE "spree_products"."id" = 1060501302  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591861, 979460804) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501302]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501302) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591859 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591860 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591861 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501302) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501302 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.075374' WHERE "spree_products"."id" = 1060501302  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591859 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.076638' WHERE "spree_products"."id" = 1060501302 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501302 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.078189' WHERE "spree_products"."id" = 1060501302  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591860 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.079049' WHERE "spree_products"."id" = 1060501302 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501302 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.080063' WHERE "spree_products"."id" = 1060501302  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591861 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.081572' WHERE "spree_products"."id" = 1060501302 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501302) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:27.084791' WHERE "spree_products"."id" = 1060501302 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501302 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501303 LIMIT 1 SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.095404' WHERE "spree_products"."id" = 1060501303 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501303], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (2.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.098360' WHERE "spree_products"."id" = 1060501303  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591862 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.102336' WHERE "spree_products"."id" = 1060501303  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501303  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835512], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501303, "updated_at" = '2012-10-23 13:33:27.110010' WHERE "spree_product_properties"."id" = 1073273876 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501303) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452300 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501303 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501303, 558399928) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452302 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452302], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501303, 558399931) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452300 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399928 AND "spree_taxons"."taxonomy_id" = 854452300 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399928]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399928], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452300], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399928]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399932]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399932 THEN 558399928 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399928]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399932]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399932 AND "spree_taxons"."taxonomy_id" = 854452300 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399932]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399932], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452300], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399932]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399933]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399933 THEN 558399932 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399932]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399933]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501303, 558399932)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501303, 558399933) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501303) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501303 AND "spree_option_types"."id" = 935339535 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501303) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339535], ["position", 1], ["product_id", 1060501303], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501303 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.152454' WHERE "spree_products"."id" = 1060501303 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501303], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.154157' WHERE "spree_products"."id" = 1060501303  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591863, 979460802) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501303 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.156627' WHERE "spree_products"."id" = 1060501303 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501303], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.158035' WHERE "spree_products"."id" = 1060501303  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591864, 979460803) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501303 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.161231' WHERE "spree_products"."id" = 1060501303 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501303], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.162555' WHERE "spree_products"."id" = 1060501303  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591865, 979460804) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501303]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501303) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591863 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591864 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591865 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501303) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501303 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.181519' WHERE "spree_products"."id" = 1060501303  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591863 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.182635' WHERE "spree_products"."id" = 1060501303 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501303 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.184506' WHERE "spree_products"."id" = 1060501303  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591864 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.185980' WHERE "spree_products"."id" = 1060501303 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501303 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.187234' WHERE "spree_products"."id" = 1060501303  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591865 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.188532' WHERE "spree_products"."id" = 1060501303 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501303) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:27.191183' WHERE "spree_products"."id" = 1060501303 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501303 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.202518' WHERE "spree_products"."id" = 1060501304 SQL (1.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501304], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.206634' WHERE "spree_products"."id" = 1060501304  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591866 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.207924' WHERE "spree_products"."id" = 1060501304  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501304  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835513], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501304, "updated_at" = '2012-10-23 13:33:27.216087' WHERE "spree_product_properties"."id" = 1073273877 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835512], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501304, "updated_at" = '2012-10-23 13:33:27.218817' WHERE "spree_product_properties"."id" = 1073273878 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835514], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501304, "updated_at" = '2012-10-23 13:33:27.223016' WHERE "spree_product_properties"."id" = 1073273879 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501304) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452303 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452303], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501304 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501304, 558399934) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452300 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399928 AND "spree_taxons"."taxonomy_id" = 854452300 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399928]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399928], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452300], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399928]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399935]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399935 THEN 558399928 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399928]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399935]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501304, 558399935)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501304, 558399928) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501304) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501304 AND "spree_option_types"."id" = 935339535 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501304) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339535], ["position", 1], ["product_id", 1060501304], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.260555' WHERE "spree_products"."id" = 1060501304 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501304], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.262147' WHERE "spree_products"."id" = 1060501304  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591867, 979460802) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.264633' WHERE "spree_products"."id" = 1060501304 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501304], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.266025' WHERE "spree_products"."id" = 1060501304  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591868, 979460803) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339535 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.269814' WHERE "spree_products"."id" = 1060501304 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501304], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.271037' WHERE "spree_products"."id" = 1060501304  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591869, 979460804) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501304]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501304 AND "spree_option_types"."id" = 935339536 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501304) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339536], ["position", 2], ["product_id", 1060501304], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339536 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339536) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339536], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.284594' WHERE "spree_products"."id" = 1060501304 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501304], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.285761' WHERE "spree_products"."id" = 1060501304  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591870, 979460805) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339536 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339536) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "colour"], ["option_type_id", 935339536], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.291143' WHERE "spree_products"."id" = 1060501304 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501304], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.292540' WHERE "spree_products"."id" = 1060501304  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591871, 979460806) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501304]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501304) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591867 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591868 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591869 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591870 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591871 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501304) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.313853' WHERE "spree_products"."id" = 1060501304  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591867 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.314957' WHERE "spree_products"."id" = 1060501304 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.316519' WHERE "spree_products"."id" = 1060501304  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591868 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.317631' WHERE "spree_products"."id" = 1060501304 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.318755' WHERE "spree_products"."id" = 1060501304  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591869 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.319789' WHERE "spree_products"."id" = 1060501304 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.321195' WHERE "spree_products"."id" = 1060501304  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591870 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.322028' WHERE "spree_products"."id" = 1060501304 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501304 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.323383' WHERE "spree_products"."id" = 1060501304  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591871 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.324576' WHERE "spree_products"."id" = 1060501304 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501304) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:27.326950' WHERE "spree_products"."id" = 1060501304 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501304 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (13.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501303 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501304 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501302 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591859 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591860 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339535 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591861 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.2ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (5.2ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (62.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452304], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452304], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (2.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501305 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.544581' WHERE "spree_products"."id" = 1060501305 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501305], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.546320' WHERE "spree_products"."id" = 1060501305  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591872 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.548335' WHERE "spree_products"."id" = 1060501305  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501305  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835515], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501305, "updated_at" = '2012-10-23 13:33:27.555937' WHERE "spree_product_properties"."id" = 1073273880 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501305 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501305, 558399936) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452305 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452305], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501305, 558399938) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501305 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501305) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339537], ["position", 1], ["product_id", 1060501305], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339537) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339537], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501305 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.594155' WHERE "spree_products"."id" = 1060501305 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501305], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.595558' WHERE "spree_products"."id" = 1060501305  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591873, 979460807) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501305]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501305 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339537) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339537], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501305 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.606489' WHERE "spree_products"."id" = 1060501305 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501305], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.608328' WHERE "spree_products"."id" = 1060501305  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591874, 979460808) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501305]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501305 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339537) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339537], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501305 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.619090' WHERE "spree_products"."id" = 1060501305 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501305], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.620598' WHERE "spree_products"."id" = 1060501305  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591875, 979460809) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501305]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591873 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591874 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591875 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501305 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.641080' WHERE "spree_products"."id" = 1060501305  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591873 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.642275' WHERE "spree_products"."id" = 1060501305 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501305 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.643714' WHERE "spree_products"."id" = 1060501305  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591874 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.644713' WHERE "spree_products"."id" = 1060501305 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501305 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.645912' WHERE "spree_products"."id" = 1060501305  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591875 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.646713' WHERE "spree_products"."id" = 1060501305 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501305) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:27.649609' WHERE "spree_products"."id" = 1060501305 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501305 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501306 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.662292' WHERE "spree_products"."id" = 1060501306 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501306], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.664327' WHERE "spree_products"."id" = 1060501306  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591876 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.665889' WHERE "spree_products"."id" = 1060501306  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501306  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835516], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501306, "updated_at" = '2012-10-23 13:33:27.672559' WHERE "spree_product_properties"."id" = 1073273881 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501306 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501306, 558399936) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452306], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501306, 558399939) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399936 AND "spree_taxons"."taxonomy_id" = 854452304 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399936]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399936], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452304], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399936]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399940]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399940 THEN 558399936 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399936]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399940]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399940 AND "spree_taxons"."taxonomy_id" = 854452304 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399940]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399940], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452304], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399940]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399941]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399941 THEN 558399940 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399940]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399941]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501306, 558399940)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501306, 558399941) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501306 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501306) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339537], ["position", 1], ["product_id", 1060501306], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1 Spree::Product Load (50.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501306 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.777041' WHERE "spree_products"."id" = 1060501306 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501306], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.779041' WHERE "spree_products"."id" = 1060501306  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591877, 979460807) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501306]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501306 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501306 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.788747' WHERE "spree_products"."id" = 1060501306 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501306], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.790445' WHERE "spree_products"."id" = 1060501306  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591878, 979460808) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501306]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501306 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501306 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.799401' WHERE "spree_products"."id" = 1060501306 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501306], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.801060' WHERE "spree_products"."id" = 1060501306  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591879, 979460809) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501306]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591877 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591878 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591879 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501306 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.824211' WHERE "spree_products"."id" = 1060501306  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591877 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.825859' WHERE "spree_products"."id" = 1060501306 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501306 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.827129' WHERE "spree_products"."id" = 1060501306  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591878 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.828350' WHERE "spree_products"."id" = 1060501306 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501306 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.829687' WHERE "spree_products"."id" = 1060501306  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591879 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.830837' WHERE "spree_products"."id" = 1060501306 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501306) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:27.834288' WHERE "spree_products"."id" = 1060501306 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501306 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.848048' WHERE "spree_products"."id" = 1060501307 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501307], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.849525' WHERE "spree_products"."id" = 1060501307  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591880 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.851466' WHERE "spree_products"."id" = 1060501307  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501307  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835517], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501307, "updated_at" = '2012-10-23 13:33:27.858757' WHERE "spree_product_properties"."id" = 1073273882 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835516], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501307, "updated_at" = '2012-10-23 13:33:27.862983' WHERE "spree_product_properties"."id" = 1073273883 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["product_id", nil], ["property_id", 905835518], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501307, "updated_at" = '2012-10-23 13:33:27.868386' WHERE "spree_product_properties"."id" = 1073273884 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452307 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452307], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501307 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501307, 558399942) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399936 AND "spree_taxons"."taxonomy_id" = 854452304 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399936]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399936], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452304], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399936]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399943]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399943 THEN 558399936 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399936]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399943]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501307, 558399943)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501307, 558399936) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501307 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501307) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339537], ["position", 1], ["product_id", 1060501307], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.904949' WHERE "spree_products"."id" = 1060501307 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501307], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.906445' WHERE "spree_products"."id" = 1060501307  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591881, 979460807) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501307]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501307 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.916406' WHERE "spree_products"."id" = 1060501307 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501307], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.918859' WHERE "spree_products"."id" = 1060501307  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591882, 979460808) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501307]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501307 AND "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339537 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.929860' WHERE "spree_products"."id" = 1060501307 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501307], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.931303' WHERE "spree_products"."id" = 1060501307  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591883, 979460809) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501307]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501307 AND "spree_option_types"."id" = 935339538 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501307) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["option_type_id", 935339538], ["position", 2], ["product_id", 1060501307], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339538 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339538) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339538], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.946341' WHERE "spree_products"."id" = 1060501307 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501307], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.947586' WHERE "spree_products"."id" = 1060501307  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591884, 979460810) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501307]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501307 AND "spree_option_types"."id" = 935339538 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339538 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339538) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00], ["name", "colour"], ["option_type_id", 935339538], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.959372' WHERE "spree_products"."id" = 1060501307 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501307], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.960847' WHERE "spree_products"."id" = 1060501307  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591885, 979460811) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501307]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591881 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591882 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591883 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591884 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591885 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.981057' WHERE "spree_products"."id" = 1060501307  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591881 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.982368' WHERE "spree_products"."id" = 1060501307 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.983772' WHERE "spree_products"."id" = 1060501307  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591882 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.984961' WHERE "spree_products"."id" = 1060501307 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.986344' WHERE "spree_products"."id" = 1060501307  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591883 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.987391' WHERE "spree_products"."id" = 1060501307 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.988582' WHERE "spree_products"."id" = 1060501307  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591884 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.989909' WHERE "spree_products"."id" = 1060501307 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.991117' WHERE "spree_products"."id" = 1060501307  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591885 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:27.992131' WHERE "spree_products"."id" = 1060501307 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501307) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:27.995049' WHERE "spree_products"."id" = 1060501307 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501307 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501306 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501305 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591873 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591874 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339537 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591875 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.3ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452308], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452308], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501308 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.136005' WHERE "spree_products"."id" = 1060501308 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501308], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.137552' WHERE "spree_products"."id" = 1060501308  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591886 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.138923' WHERE "spree_products"."id" = 1060501308  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501308  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["product_id", nil], ["property_id", 905835519], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501308, "updated_at" = '2012-10-23 13:33:28.146853' WHERE "spree_product_properties"."id" = 1073273885 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501308 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501308, 558399944) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452309 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452309], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501308, 558399946) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501308 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501308) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339539], ["position", 1], ["product_id", 1060501308], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339539) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339539], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501308 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.181864' WHERE "spree_products"."id" = 1060501308 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501308], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.183169' WHERE "spree_products"."id" = 1060501308  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591887, 979460812) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501308]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501308 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339539) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339539], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501308 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.194119' WHERE "spree_products"."id" = 1060501308 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501308], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.195381' WHERE "spree_products"."id" = 1060501308  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591888, 979460813) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501308]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501308 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339539) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339539], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501308 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.205713' WHERE "spree_products"."id" = 1060501308 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501308], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.206909' WHERE "spree_products"."id" = 1060501308  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591889, 979460814) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501308]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591887 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.9ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591888 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591889 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501308 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.284512' WHERE "spree_products"."id" = 1060501308  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591887 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.285849' WHERE "spree_products"."id" = 1060501308 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501308 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.287077' WHERE "spree_products"."id" = 1060501308  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591888 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.288092' WHERE "spree_products"."id" = 1060501308 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501308 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.289627' WHERE "spree_products"."id" = 1060501308  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591889 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.290628' WHERE "spree_products"."id" = 1060501308 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501308) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:28.294077' WHERE "spree_products"."id" = 1060501308 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.303572' WHERE "spree_products"."id" = 1060501309 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501309], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.305041' WHERE "spree_products"."id" = 1060501309  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591890 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.306732' WHERE "spree_products"."id" = 1060501309  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501309  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["product_id", nil], ["property_id", 905835520], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501309, "updated_at" = '2012-10-23 13:33:28.317222' WHERE "spree_product_properties"."id" = 1073273886 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501309 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501309, 558399944) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452310 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452310], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501309, 558399947) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399944 AND "spree_taxons"."taxonomy_id" = 854452308 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399944]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399944], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452308], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399944]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399948]] SQL (1.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399948 THEN 558399944 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399944]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399948]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399948 AND "spree_taxons"."taxonomy_id" = 854452308 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399948]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399948], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452308], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399948]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399949]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399949 THEN 558399948 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399948]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399949]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501309, 558399948)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501309, 558399949) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501309 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501309) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339539], ["position", 1], ["product_id", 1060501309], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.365299' WHERE "spree_products"."id" = 1060501309 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501309], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.366994' WHERE "spree_products"."id" = 1060501309  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591891, 979460812) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501309]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501309 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.375767' WHERE "spree_products"."id" = 1060501309 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501309], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.377052' WHERE "spree_products"."id" = 1060501309  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591892, 979460813) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501309]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501309 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.386428' WHERE "spree_products"."id" = 1060501309 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501309], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.387860' WHERE "spree_products"."id" = 1060501309  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591893, 979460814) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501309]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591891 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591892 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591893 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.412192' WHERE "spree_products"."id" = 1060501309  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591891 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.414549' WHERE "spree_products"."id" = 1060501309 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.415819' WHERE "spree_products"."id" = 1060501309  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591892 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.416905' WHERE "spree_products"."id" = 1060501309 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.418056' WHERE "spree_products"."id" = 1060501309  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591893 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.419211' WHERE "spree_products"."id" = 1060501309 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501309) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:28.422624' WHERE "spree_products"."id" = 1060501309 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.431907' WHERE "spree_products"."id" = 1060501310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501310], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.433221' WHERE "spree_products"."id" = 1060501310  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591894 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.434979' WHERE "spree_products"."id" = 1060501310  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501310  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["product_id", nil], ["property_id", 905835521], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501310, "updated_at" = '2012-10-23 13:33:28.442654' WHERE "spree_product_properties"."id" = 1073273887 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["product_id", nil], ["property_id", 905835520], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501310, "updated_at" = '2012-10-23 13:33:28.446346' WHERE "spree_product_properties"."id" = 1073273888 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["product_id", nil], ["property_id", 905835522], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501310, "updated_at" = '2012-10-23 13:33:28.451120' WHERE "spree_product_properties"."id" = 1073273889 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452311 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452311], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501310 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501310, 558399950) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399944 AND "spree_taxons"."taxonomy_id" = 854452308 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399944]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558399944], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452308], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399944]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399951]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399951 THEN 558399944 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399944]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399951]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501310, 558399951)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501310, 558399944) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501310 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501310) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339539], ["position", 1], ["product_id", 1060501310], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.485245' WHERE "spree_products"."id" = 1060501310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501310], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.486630' WHERE "spree_products"."id" = 1060501310  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591895, 979460812) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501310]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501310 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.494854' WHERE "spree_products"."id" = 1060501310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501310], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.496102' WHERE "spree_products"."id" = 1060501310  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591896, 979460813) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501310]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501310 AND "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339539 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.504931' WHERE "spree_products"."id" = 1060501310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501310], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.506361' WHERE "spree_products"."id" = 1060501310  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591897, 979460814) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501310]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501310 AND "spree_option_types"."id" = 935339540 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501310) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339540], ["position", 2], ["product_id", 1060501310], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339540 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339540) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339540], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.519414' WHERE "spree_products"."id" = 1060501310 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501310], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.521266' WHERE "spree_products"."id" = 1060501310  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591898, 979460815) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501310]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501310 AND "spree_option_types"."id" = 935339540 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339540 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339540) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "colour"], ["option_type_id", 935339540], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.532621' WHERE "spree_products"."id" = 1060501310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501310], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.533908' WHERE "spree_products"."id" = 1060501310  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591899, 979460816) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501310]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591895 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591896 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591897 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591898 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591899 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.552249' WHERE "spree_products"."id" = 1060501310  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591895 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.553403' WHERE "spree_products"."id" = 1060501310 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.554752' WHERE "spree_products"."id" = 1060501310  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591896 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.556015' WHERE "spree_products"."id" = 1060501310 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.557157' WHERE "spree_products"."id" = 1060501310  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591897 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.558148' WHERE "spree_products"."id" = 1060501310 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.560678' WHERE "spree_products"."id" = 1060501310  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591898 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.561637' WHERE "spree_products"."id" = 1060501310 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.562859' WHERE "spree_products"."id" = 1060501310  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591899 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.563866' WHERE "spree_products"."id" = 1060501310 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501310) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:28.567010' WHERE "spree_products"."id" = 1060501310  (4.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501309 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501308 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591887 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591888 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339539 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591889 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452312 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452312], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452312], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501311 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.653415' WHERE "spree_products"."id" = 1060501311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501311], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.655633' WHERE "spree_products"."id" = 1060501311  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591900 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.657183' WHERE "spree_products"."id" = 1060501311  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501311  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501311 AND "spree_option_types"."id" = 935339541 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501311) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339541], ["position", 1], ["product_id", 1060501311], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501311 AND "spree_option_types"."id" = 935339542 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501311) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339542], ["position", 2], ["product_id", 1060501311], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339541) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339541], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339542 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339542) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "colour"], ["option_type_id", 935339542], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.681143' WHERE "spree_products"."id" = 1060501311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501311], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.682450' WHERE "spree_products"."id" = 1060501311  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591901, 979460817)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591901, 979460818) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339541) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339541], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339542 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.688783' WHERE "spree_products"."id" = 1060501311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501311], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.690034' WHERE "spree_products"."id" = 1060501311  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591902, 979460819)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591902, 979460818) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501311]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501311) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501311 AND "spree_option_types"."id" = 935339541 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339541) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339541], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.703891' WHERE "spree_products"."id" = 1060501311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501311], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.705298' WHERE "spree_products"."id" = 1060501311  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591903, 979460820) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501311]] Spree::Variant Load (1.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501311) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (2.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591901 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591902 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591903 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501311) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.724232' WHERE "spree_products"."id" = 1060501311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591901 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.725635' WHERE "spree_products"."id" = 1060501311 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501311 LIMIT 1 SQL (59.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.726918' WHERE "spree_products"."id" = 1060501311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591902 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.788326' WHERE "spree_products"."id" = 1060501311 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.790359' WHERE "spree_products"."id" = 1060501311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591903 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.791405' WHERE "spree_products"."id" = 1060501311 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501311) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:28.794811' WHERE "spree_products"."id" = 1060501311 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.803812' WHERE "spree_products"."id" = 1060501312 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501312], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.805107' WHERE "spree_products"."id" = 1060501312  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591904 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.806633' WHERE "spree_products"."id" = 1060501312  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501312  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501312 AND "spree_option_types"."id" = 935339541 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501312) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339541], ["position", 1], ["product_id", 1060501312], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501312 AND "spree_option_types"."id" = 935339542 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501312) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339542], ["position", 2], ["product_id", 1060501312], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339542 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339542) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339542], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.825337' WHERE "spree_products"."id" = 1060501312 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501312], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.826648' WHERE "spree_products"."id" = 1060501312  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591905, 979460821)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591905, 979460817) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501312]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501312) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501312 AND "spree_option_types"."id" = 935339541 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501312 AND "spree_option_types"."id" = 935339542 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339542 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.842011' WHERE "spree_products"."id" = 1060501312 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501312], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.843389' WHERE "spree_products"."id" = 1060501312  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591906, 979460821)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591906, 979460820) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501312]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501312) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591905 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591906 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501312) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.855124' WHERE "spree_products"."id" = 1060501312  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591905 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.856280' WHERE "spree_products"."id" = 1060501312 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.857612' WHERE "spree_products"."id" = 1060501312  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591906 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.858618' WHERE "spree_products"."id" = 1060501312 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501312) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 13:33:28.861482' WHERE "spree_products"."id" = 1060501312 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.870067' WHERE "spree_products"."id" = 1060501313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501313], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.871418' WHERE "spree_products"."id" = 1060501313  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591907 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.872877' WHERE "spree_products"."id" = 1060501313  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501313  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501313 AND "spree_option_types"."id" = 935339541 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501313) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339541], ["position", 1], ["product_id", 1060501313], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501313 AND "spree_option_types"."id" = 935339542 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501313) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339542], ["position", 2], ["product_id", 1060501313], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501313 AND "spree_option_types"."id" = 935339543 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501313) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["option_type_id", 935339543], ["position", 3], ["product_id", 1060501313], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339542 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339543 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339543) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "large"], ["option_type_id", 935339543], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501313 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.898993' WHERE "spree_products"."id" = 1060501313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501313], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.900612' WHERE "spree_products"."id" = 1060501313  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591908, 979460818)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591908, 979460822)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591908, 979460817) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339542 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339542) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339542], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339543 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.907886' WHERE "spree_products"."id" = 1060501313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501313], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.909127' WHERE "spree_products"."id" = 1060501313  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591909, 979460823)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591909, 979460822)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591909, 979460817) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501313]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501313 AND "spree_option_types"."id" = 935339541 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.917958' WHERE "spree_products"."id" = 1060501313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501313], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.919614' WHERE "spree_products"."id" = 1060501313  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591910, 979460820) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501313]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501313) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501313 AND "spree_option_types"."id" = 935339541 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339541 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.927699' WHERE "spree_products"."id" = 1060501313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501313], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.929680' WHERE "spree_products"."id" = 1060501313  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591911, 979460819) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501313]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501313 AND "spree_option_types"."id" = 935339542 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339542 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.937483' WHERE "spree_products"."id" = 1060501313 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501313], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:28.938883' WHERE "spree_products"."id" = 1060501313  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591912, 979460821) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501313]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501313) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501313) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (5.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501311 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013591901 Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.027399' WHERE "spree_products"."id" = 1060501314 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501314], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.030004' WHERE "spree_products"."id" = 1060501314  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591913 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.032344' WHERE "spree_products"."id" = 1060501314  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501314  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["product_id", nil], ["property_id", 905835523], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501314, "updated_at" = '2012-10-23 13:33:29.040684' WHERE "spree_product_properties"."id" = 1073273890 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501314) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452313 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452313], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501314 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501314, 558399954) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452314 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452314], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501314, 558399955) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501314) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501314 AND "spree_option_types"."id" = 935339544 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501314) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["option_type_id", 935339544], ["position", 1], ["product_id", 1060501314], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339544) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339544], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.076358' WHERE "spree_products"."id" = 1060501314 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501314], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.078117' WHERE "spree_products"."id" = 1060501314  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591914, 979460824) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339544) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339544], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.084143' WHERE "spree_products"."id" = 1060501314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501314], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.085543' WHERE "spree_products"."id" = 1060501314  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591915, 979460825) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339544) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339544], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.090456' WHERE "spree_products"."id" = 1060501314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501314], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.091927' WHERE "spree_products"."id" = 1060501314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591916, 979460826) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501314]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501314) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591914 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591915 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591916 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501314) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.108657' WHERE "spree_products"."id" = 1060501314  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591914 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.110119' WHERE "spree_products"."id" = 1060501314 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.111492' WHERE "spree_products"."id" = 1060501314  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591915 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.112798' WHERE "spree_products"."id" = 1060501314 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.114190' WHERE "spree_products"."id" = 1060501314  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591916 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.115243' WHERE "spree_products"."id" = 1060501314 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591913, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1273 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.810602' WHERE "spree_products"."id" = 1060501314  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501314 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501314) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:29.822244' WHERE "spree_products"."id" = 1060501314 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.833316' WHERE "spree_products"."id" = 1060501315 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501315], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.836295' WHERE "spree_products"."id" = 1060501315  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591917 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.838996' WHERE "spree_products"."id" = 1060501315  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501315  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["product_id", nil], ["property_id", 905835524], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501315, "updated_at" = '2012-10-23 13:33:29.848108' WHERE "spree_product_properties"."id" = 1073273891 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501315) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452313 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501315 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501315, 558399954) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452315 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452315], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501315, 558399956) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452316 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452316], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501315, 558399957) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501315) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501315 AND "spree_option_types"."id" = 935339544 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501315) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["option_type_id", 935339544], ["position", 1], ["product_id", 1060501315], ["updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.882200' WHERE "spree_products"."id" = 1060501315 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501315], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.884564' WHERE "spree_products"."id" = 1060501315  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591918, 979460824) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.888170' WHERE "spree_products"."id" = 1060501315 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501315], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.889564' WHERE "spree_products"."id" = 1060501315  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591919, 979460825) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.892934' WHERE "spree_products"."id" = 1060501315 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501315], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.894284' WHERE "spree_products"."id" = 1060501315  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591920, 979460826) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501315]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501315) LIMIT 1  (3.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591918 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591919 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591920 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501315) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.915087' WHERE "spree_products"."id" = 1060501315  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591918 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.916564' WHERE "spree_products"."id" = 1060501315 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.918157' WHERE "spree_products"."id" = 1060501315  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591919 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.919563' WHERE "spree_products"."id" = 1060501315 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.921427' WHERE "spree_products"."id" = 1060501315  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591920 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:29.922499' WHERE "spree_products"."id" = 1060501315 Spree::Asset Load (3.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:29 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591917, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1274 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.099219' WHERE "spree_products"."id" = 1060501315  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501315 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501315) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:34.111933' WHERE "spree_products"."id" = 1060501315 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.124563' WHERE "spree_products"."id" = 1060501316 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501316], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.126597' WHERE "spree_products"."id" = 1060501316  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591921 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.128454' WHERE "spree_products"."id" = 1060501316  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501316  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["product_id", nil], ["property_id", 905835525], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501316, "updated_at" = '2012-10-23 13:33:34.138424' WHERE "spree_product_properties"."id" = 1073273892 Created New ProductProperty # Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["product_id", nil], ["property_id", 905835524], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501316, "updated_at" = '2012-10-23 13:33:34.141757' WHERE "spree_product_properties"."id" = 1073273893 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["product_id", nil], ["property_id", 905835526], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501316, "updated_at" = '2012-10-23 13:33:34.146401' WHERE "spree_product_properties"."id" = 1073273894 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501316) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452317 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452317], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501316 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501316, 558399958) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501316) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501316 AND "spree_option_types"."id" = 935339544 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (5.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501316) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["option_type_id", 935339544], ["position", 1], ["product_id", 1060501316], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.217744' WHERE "spree_products"."id" = 1060501316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501316], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.219451' WHERE "spree_products"."id" = 1060501316  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591922, 979460824) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.223350' WHERE "spree_products"."id" = 1060501316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501316], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.224451' WHERE "spree_products"."id" = 1060501316  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591923, 979460825) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339544 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.228102' WHERE "spree_products"."id" = 1060501316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501316], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.229774' WHERE "spree_products"."id" = 1060501316  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591924, 979460826) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501316]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501316 AND "spree_option_types"."id" = 935339545 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501316) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["option_type_id", 935339545], ["position", 2], ["product_id", 1060501316], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339545 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339545) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339545], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.246017' WHERE "spree_products"."id" = 1060501316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501316], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.247740' WHERE "spree_products"."id" = 1060501316  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591925, 979460827) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339545 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339545) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["name", "colour"], ["option_type_id", 935339545], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.254230' WHERE "spree_products"."id" = 1060501316 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501316], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.255766' WHERE "spree_products"."id" = 1060501316  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591926, 979460828) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501316]] Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501316) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591922 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591923 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591924 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591925 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591926 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501316) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.278396' WHERE "spree_products"."id" = 1060501316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591922 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.280450' WHERE "spree_products"."id" = 1060501316 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.281664' WHERE "spree_products"."id" = 1060501316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591923 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.282880' WHERE "spree_products"."id" = 1060501316 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.284434' WHERE "spree_products"."id" = 1060501316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591924 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.285495' WHERE "spree_products"."id" = 1060501316 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.286707' WHERE "spree_products"."id" = 1060501316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591925 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.287733' WHERE "spree_products"."id" = 1060501316 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.289290' WHERE "spree_products"."id" = 1060501316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591926 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:34.290734' WHERE "spree_products"."id" = 1060501316 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:34 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591921, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1275 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501316 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.109850' WHERE "spree_products"."id" = 1060501316  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501316 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501316) LIMIT 1  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:35.123904' WHERE "spree_products"."id" = 1060501316  (7.2ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591913) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501314)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591913 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501314 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591913) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501314)) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501315 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591917) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501315)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501316 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591921) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501316)) SQL (2.6ms) DELETE FROM "spree_products" SQL (1.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.334762' WHERE "spree_products"."id" = 1060501317 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501317], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.336624' WHERE "spree_products"."id" = 1060501317  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591927 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.338422' WHERE "spree_products"."id" = 1060501317  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501317  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["product_id", nil], ["property_id", 905835527], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501317, "updated_at" = '2012-10-23 13:33:35.347617' WHERE "spree_product_properties"."id" = 1073273895 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501317) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452318 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452318], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501317 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501317, 558399959) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452319 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452319], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501317, 558399960) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501317) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501317 AND "spree_option_types"."id" = 935339546 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501317) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["option_type_id", 935339546], ["position", 1], ["product_id", 1060501317], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339546) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339546], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.383636' WHERE "spree_products"."id" = 1060501317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501317], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.385421' WHERE "spree_products"."id" = 1060501317  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591928, 979460829) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339546) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339546], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.390391' WHERE "spree_products"."id" = 1060501317 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501317], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.391948' WHERE "spree_products"."id" = 1060501317  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591929, 979460830) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339546) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339546], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.396602' WHERE "spree_products"."id" = 1060501317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501317], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.398093' WHERE "spree_products"."id" = 1060501317  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591930, 979460831) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501317]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501317) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591928 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591929 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591930 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501317) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.417134' WHERE "spree_products"."id" = 1060501317  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591928 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.419420' WHERE "spree_products"."id" = 1060501317 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.422656' WHERE "spree_products"."id" = 1060501317  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591929 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.423685' WHERE "spree_products"."id" = 1060501317 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.424841' WHERE "spree_products"."id" = 1060501317  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591930 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:35.426420' WHERE "spree_products"."id" = 1060501317 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:35 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591927, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1276 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501317 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.045685' WHERE "spree_products"."id" = 1060501317  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501317 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501317) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:36.057325' WHERE "spree_products"."id" = 1060501317 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501317 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.074858' WHERE "spree_products"."id" = 1060501318 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501318], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.076477' WHERE "spree_products"."id" = 1060501318  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591931 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.078359' WHERE "spree_products"."id" = 1060501318  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501318  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["product_id", nil], ["property_id", 905835528], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501318, "updated_at" = '2012-10-23 13:33:36.087098' WHERE "spree_product_properties"."id" = 1073273896 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501318) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452318 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501318 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501318, 558399959) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452320 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452320], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501318, 558399961) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452321], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501318, 558399962) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501318) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501318 AND "spree_option_types"."id" = 935339546 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501318) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["option_type_id", 935339546], ["position", 1], ["product_id", 1060501318], ["updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.123170' WHERE "spree_products"."id" = 1060501318 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501318], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.124576' WHERE "spree_products"."id" = 1060501318  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591932, 979460829) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.128581' WHERE "spree_products"."id" = 1060501318 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501318], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.130157' WHERE "spree_products"."id" = 1060501318  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591933, 979460830) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.133672' WHERE "spree_products"."id" = 1060501318 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501318], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.135211' WHERE "spree_products"."id" = 1060501318  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591934, 979460831) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501318]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501318) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591932 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591933 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591934 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501318) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.240161' WHERE "spree_products"."id" = 1060501318  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591932 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.241328' WHERE "spree_products"."id" = 1060501318 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.242598' WHERE "spree_products"."id" = 1060501318  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591933 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.243731' WHERE "spree_products"."id" = 1060501318 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.244881' WHERE "spree_products"."id" = 1060501318  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591934 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:36.245977' WHERE "spree_products"."id" = 1060501318 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:36 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591931, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1277 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.244860' WHERE "spree_products"."id" = 1060501318  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501318 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501318) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:40.255077' WHERE "spree_products"."id" = 1060501318 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501318 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.274076' WHERE "spree_products"."id" = 1060501319 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501319], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.275748' WHERE "spree_products"."id" = 1060501319  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591935 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.277763' WHERE "spree_products"."id" = 1060501319  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501319  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["product_id", nil], ["property_id", 905835529], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["value", nil]]  (0.6ms) UPDATE "spree_product_properties" SET "product_id" = 1060501319, "updated_at" = '2012-10-23 13:33:40.286856' WHERE "spree_product_properties"."id" = 1073273897 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["product_id", nil], ["property_id", 905835528], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501319, "updated_at" = '2012-10-23 13:33:40.290009' WHERE "spree_product_properties"."id" = 1073273898 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["product_id", nil], ["property_id", 905835530], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501319, "updated_at" = '2012-10-23 13:33:40.293853' WHERE "spree_product_properties"."id" = 1073273899 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501319) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452322 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452322], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501319 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501319, 558399963) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501319) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501319 AND "spree_option_types"."id" = 935339546 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501319) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["option_type_id", 935339546], ["position", 1], ["product_id", 1060501319], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.320850' WHERE "spree_products"."id" = 1060501319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501319], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.322400' WHERE "spree_products"."id" = 1060501319  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591936, 979460829) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.326187' WHERE "spree_products"."id" = 1060501319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501319], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.327855' WHERE "spree_products"."id" = 1060501319  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591937, 979460830) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339546 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.331658' WHERE "spree_products"."id" = 1060501319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501319], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.333039' WHERE "spree_products"."id" = 1060501319  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591938, 979460831) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501319]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501319 AND "spree_option_types"."id" = 935339547 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501319) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["option_type_id", 935339547], ["position", 2], ["product_id", 1060501319], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339547 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339547) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339547], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]]  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.350921' WHERE "spree_products"."id" = 1060501319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501319], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.353064' WHERE "spree_products"."id" = 1060501319  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591939, 979460832) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339547 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339547) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339547], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.359695' WHERE "spree_products"."id" = 1060501319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501319], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.360844' WHERE "spree_products"."id" = 1060501319  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591940, 979460833) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501319]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501319) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591936 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591937 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591938 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591939 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591940 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501319) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.381914' WHERE "spree_products"."id" = 1060501319  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591936 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.383374' WHERE "spree_products"."id" = 1060501319 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.384618' WHERE "spree_products"."id" = 1060501319  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591937 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.385613' WHERE "spree_products"."id" = 1060501319 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.387755' WHERE "spree_products"."id" = 1060501319  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591938 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.388725' WHERE "spree_products"."id" = 1060501319 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.390390' WHERE "spree_products"."id" = 1060501319  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591939 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.391545' WHERE "spree_products"."id" = 1060501319 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.392740' WHERE "spree_products"."id" = 1060501319  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591940 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:40.393582' WHERE "spree_products"."id" = 1060501319 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:40 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591935, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1278 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501319 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.087039' WHERE "spree_products"."id" = 1060501319  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501319 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501319) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:41.099163' WHERE "spree_products"."id" = 1060501319 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501319 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.6ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591927) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501317)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501317 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591927) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501317)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501318 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591931) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501318)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501319 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591935) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501319))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_products" SQL (3.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.325728' WHERE "spree_products"."id" = 1060501320 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501320], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.327266' WHERE "spree_products"."id" = 1060501320  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591941 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.328994' WHERE "spree_products"."id" = 1060501320  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501320  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["product_id", nil], ["property_id", 905835531], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501320, "updated_at" = '2012-10-23 13:33:41.336921' WHERE "spree_product_properties"."id" = 1073273900 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501320) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452323 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452323], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501320 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501320, 558399964) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452324 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452324], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501320, 558399965) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501320) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501320 AND "spree_option_types"."id" = 935339548 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501320) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["option_type_id", 935339548], ["position", 1], ["product_id", 1060501320], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339548) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339548], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.374407' WHERE "spree_products"."id" = 1060501320 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501320], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.375728' WHERE "spree_products"."id" = 1060501320  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591942, 979460834) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339548) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339548], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.380464' WHERE "spree_products"."id" = 1060501320 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501320], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.381722' WHERE "spree_products"."id" = 1060501320  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591943, 979460835) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339548) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339548], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.386719' WHERE "spree_products"."id" = 1060501320 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501320], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.388145' WHERE "spree_products"."id" = 1060501320  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591944, 979460836) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501320]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501320) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591942 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591943 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591944 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501320) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.403404' WHERE "spree_products"."id" = 1060501320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591942 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.405012' WHERE "spree_products"."id" = 1060501320 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.406690' WHERE "spree_products"."id" = 1060501320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591943 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.408081' WHERE "spree_products"."id" = 1060501320 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.410032' WHERE "spree_products"."id" = 1060501320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591944 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.410961' WHERE "spree_products"."id" = 1060501320 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501320) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:41.415127' WHERE "spree_products"."id" = 1060501320 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501320 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.430412' WHERE "spree_products"."id" = 1060501321 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501321], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.431962' WHERE "spree_products"."id" = 1060501321  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591945 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.433751' WHERE "spree_products"."id" = 1060501321  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501321  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["product_id", nil], ["property_id", 905835532], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501321, "updated_at" = '2012-10-23 13:33:41.441263' WHERE "spree_product_properties"."id" = 1073273901 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501321) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452323 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501321 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501321, 558399964) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452325 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452325], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501321, 558399966) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452323 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399964 AND "spree_taxons"."taxonomy_id" = 854452323 LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399964]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399964], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452323], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399964]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399967]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399967 THEN 558399964 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399964]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399967]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399967 AND "spree_taxons"."taxonomy_id" = 854452323 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399967]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399967], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452323], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399967]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399968]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399968 THEN 558399967 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399967]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399968]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501321, 558399967)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501321, 558399968) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501321) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501321 AND "spree_option_types"."id" = 935339548 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501321) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["option_type_id", 935339548], ["position", 1], ["product_id", 1060501321], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.485869' WHERE "spree_products"."id" = 1060501321 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501321], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.488086' WHERE "spree_products"."id" = 1060501321  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591946, 979460834) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.491028' WHERE "spree_products"."id" = 1060501321 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501321], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.492420' WHERE "spree_products"."id" = 1060501321  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591947, 979460835) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.495725' WHERE "spree_products"."id" = 1060501321 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501321], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.497262' WHERE "spree_products"."id" = 1060501321  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591948, 979460836) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501321]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501321) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591946 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591947 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591948 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501321) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.518198' WHERE "spree_products"."id" = 1060501321  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591946 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.519470' WHERE "spree_products"."id" = 1060501321 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.520611' WHERE "spree_products"."id" = 1060501321  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591947 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.521673' WHERE "spree_products"."id" = 1060501321 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.523183' WHERE "spree_products"."id" = 1060501321  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591948 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.524261' WHERE "spree_products"."id" = 1060501321 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501321) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:41.526717' WHERE "spree_products"."id" = 1060501321 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501321 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Product Load (1.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.540261' WHERE "spree_products"."id" = 1060501322 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501322], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.541835' WHERE "spree_products"."id" = 1060501322  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591949 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.543302' WHERE "spree_products"."id" = 1060501322  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501322  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["product_id", nil], ["property_id", 905835533], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501322, "updated_at" = '2012-10-23 13:33:41.550942' WHERE "spree_product_properties"."id" = 1073273902 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["product_id", nil], ["property_id", 905835532], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501322, "updated_at" = '2012-10-23 13:33:41.553648' WHERE "spree_product_properties"."id" = 1073273903 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["product_id", nil], ["property_id", 905835534], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501322, "updated_at" = '2012-10-23 13:33:41.557446' WHERE "spree_product_properties"."id" = 1073273904 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501322) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452326 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452326], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501322 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501322, 558399969) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452323 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399964 AND "spree_taxons"."taxonomy_id" = 854452323 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399964]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399964], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452323], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399964]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399970]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399970 THEN 558399964 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399964]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399970]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501322, 558399970)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501322, 558399964) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501322) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501322 AND "spree_option_types"."id" = 935339548 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501322) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["option_type_id", 935339548], ["position", 1], ["product_id", 1060501322], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.591423' WHERE "spree_products"."id" = 1060501322 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501322], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.592936' WHERE "spree_products"."id" = 1060501322  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591950, 979460834) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.596259' WHERE "spree_products"."id" = 1060501322 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501322], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.597574' WHERE "spree_products"."id" = 1060501322  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591951, 979460835) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339548 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.600163' WHERE "spree_products"."id" = 1060501322 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501322], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.602084' WHERE "spree_products"."id" = 1060501322  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591952, 979460836) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501322]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501322 AND "spree_option_types"."id" = 935339549 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501322) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["option_type_id", 935339549], ["position", 2], ["product_id", 1060501322], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339549 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339549) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339549], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.616496' WHERE "spree_products"."id" = 1060501322 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501322], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.617982' WHERE "spree_products"."id" = 1060501322  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591953, 979460837) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339549 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339549) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["name", "colour"], ["option_type_id", 935339549], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.623259' WHERE "spree_products"."id" = 1060501322 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501322], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.624633' WHERE "spree_products"."id" = 1060501322  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591954, 979460838) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501322]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501322) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591950 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591951 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591952 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591953 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591954 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501322) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.644411' WHERE "spree_products"."id" = 1060501322  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591950 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.645626' WHERE "spree_products"."id" = 1060501322 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.647195' WHERE "spree_products"."id" = 1060501322  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591951 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.648151' WHERE "spree_products"."id" = 1060501322 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.649685' WHERE "spree_products"."id" = 1060501322  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591952 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.651192' WHERE "spree_products"."id" = 1060501322 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.652654' WHERE "spree_products"."id" = 1060501322  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591953 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.653932' WHERE "spree_products"."id" = 1060501322 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.655148' WHERE "spree_products"."id" = 1060501322  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591954 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:41.656258' WHERE "spree_products"."id" = 1060501322 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501322) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:41.659686' WHERE "spree_products"."id" = 1060501322 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501322 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591949) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501322)) Excel Loader processing 0 rows  (0.4ms) begin transaction Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:41 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591941, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1279 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501320 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:42.356238' WHERE "spree_products"."id" = 1060501320  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501320 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:42.363239' WHERE "spree_products"."id" = 1060501320 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501320 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013591941 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:42 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591945, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1280 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501321 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:46.549581' WHERE "spree_products"."id" = 1060501321  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501321 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:46.559056' WHERE "spree_products"."id" = 1060501321 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501321 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013591945 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:46 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591949, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1281 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501322 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.236985' WHERE "spree_products"."id" = 1060501322  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501322 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.246508' WHERE "spree_products"."id" = 1060501322 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501322 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013591949  (6.8ms) commit transaction Spree::Image Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501320 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591941) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501320)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501321 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591945) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501321)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501322 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591949) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501322)) SQL (2.9ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501323 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.446844' WHERE "spree_products"."id" = 1060501323 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501323], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.449032' WHERE "spree_products"."id" = 1060501323  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591955 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.450832' WHERE "spree_products"."id" = 1060501323  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501323  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["product_id", nil], ["property_id", 905835535], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501323, "updated_at" = '2012-10-23 13:33:47.485930' WHERE "spree_product_properties"."id" = 1073273905 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501323) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452327 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452327], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501323 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501323, 558399971) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452328 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452328], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501323, 558399972) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501323) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501323 AND "spree_option_types"."id" = 935339550 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501323) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["option_type_id", 935339550], ["position", 1], ["product_id", 1060501323], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339550) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339550], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.526976' WHERE "spree_products"."id" = 1060501323 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501323], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.528756' WHERE "spree_products"."id" = 1060501323  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591956, 979460839) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339550) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339550], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.534262' WHERE "spree_products"."id" = 1060501323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501323], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.535948' WHERE "spree_products"."id" = 1060501323  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591957, 979460840) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339550) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339550], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501323 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.540828' WHERE "spree_products"."id" = 1060501323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501323], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.542354' WHERE "spree_products"."id" = 1060501323  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591958, 979460841) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501323]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501323) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591956 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591957 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591958 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501323) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501323 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.561698' WHERE "spree_products"."id" = 1060501323  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591956 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.563218' WHERE "spree_products"."id" = 1060501323 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.564597' WHERE "spree_products"."id" = 1060501323  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591957 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.565363' WHERE "spree_products"."id" = 1060501323 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.566743' WHERE "spree_products"."id" = 1060501323  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591958 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.568548' WHERE "spree_products"."id" = 1060501323 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501323) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:47.571607' WHERE "spree_products"."id" = 1060501323 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501323 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Product Load (1.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501324 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.586283' WHERE "spree_products"."id" = 1060501324 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501324], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.587510' WHERE "spree_products"."id" = 1060501324  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591959 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.588785' WHERE "spree_products"."id" = 1060501324  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501324  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["product_id", nil], ["property_id", 905835536], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501324, "updated_at" = '2012-10-23 13:33:47.595734' WHERE "spree_product_properties"."id" = 1073273906 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501324) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452327 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501324 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501324, 558399971) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452329], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501324, 558399973) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452327 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399971 AND "spree_taxons"."taxonomy_id" = 854452327 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399971]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558399971], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452327], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399971]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399974]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399974 THEN 558399971 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399971]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399974]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399974 AND "spree_taxons"."taxonomy_id" = 854452327 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399974]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558399974], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452327], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399974]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399975]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399975 THEN 558399974 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399974]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399975]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501324, 558399974)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501324, 558399975) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501324) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501324 AND "spree_option_types"."id" = 935339550 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501324) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["option_type_id", 935339550], ["position", 1], ["product_id", 1060501324], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501324 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.636515' WHERE "spree_products"."id" = 1060501324 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501324], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.638654' WHERE "spree_products"."id" = 1060501324  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591960, 979460839) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501324 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.641889' WHERE "spree_products"."id" = 1060501324 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501324], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.643512' WHERE "spree_products"."id" = 1060501324  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591961, 979460840) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501324 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.646424' WHERE "spree_products"."id" = 1060501324 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501324], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.648178' WHERE "spree_products"."id" = 1060501324  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591962, 979460841) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501324]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501324) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591960 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591961 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591962 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501324) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501324 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.666924' WHERE "spree_products"."id" = 1060501324  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591960 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.668997' WHERE "spree_products"."id" = 1060501324 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501324 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.670440' WHERE "spree_products"."id" = 1060501324  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591961 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.673393' WHERE "spree_products"."id" = 1060501324 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501324 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.674919' WHERE "spree_products"."id" = 1060501324  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591962 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.675892' WHERE "spree_products"."id" = 1060501324 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501324) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:33:47.678965' WHERE "spree_products"."id" = 1060501324 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501324 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.692843' WHERE "spree_products"."id" = 1060501325 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501325], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.694349' WHERE "spree_products"."id" = 1060501325  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591963 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.695886' WHERE "spree_products"."id" = 1060501325  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501325  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["product_id", nil], ["property_id", 905835537], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501325, "updated_at" = '2012-10-23 13:33:47.702697' WHERE "spree_product_properties"."id" = 1073273907 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["product_id", nil], ["property_id", 905835536], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501325, "updated_at" = '2012-10-23 13:33:47.705767' WHERE "spree_product_properties"."id" = 1073273908 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["product_id", nil], ["property_id", 905835538], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501325, "updated_at" = '2012-10-23 13:33:47.709072' WHERE "spree_product_properties"."id" = 1073273909 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501325) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452330 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452330], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501325 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501325, 558399976) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452327 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399971 AND "spree_taxons"."taxonomy_id" = 854452327 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399971]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558399971], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452327], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399971]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399977]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399977 THEN 558399971 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399971]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399977]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501325, 558399977)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501325, 558399971) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501325) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501325 AND "spree_option_types"."id" = 935339550 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501325) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["option_type_id", 935339550], ["position", 1], ["product_id", 1060501325], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.747387' WHERE "spree_products"."id" = 1060501325 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501325], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.749405' WHERE "spree_products"."id" = 1060501325  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591964, 979460839) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.752644' WHERE "spree_products"."id" = 1060501325 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501325], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.811280' WHERE "spree_products"."id" = 1060501325  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591965, 979460840) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339550 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.815317' WHERE "spree_products"."id" = 1060501325 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501325], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.816794' WHERE "spree_products"."id" = 1060501325  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591966, 979460841) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501325]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501325 AND "spree_option_types"."id" = 935339551 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501325) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["option_type_id", 935339551], ["position", 2], ["product_id", 1060501325], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339551 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339551) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339551], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.832196' WHERE "spree_products"."id" = 1060501325 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501325], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.833679' WHERE "spree_products"."id" = 1060501325  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591967, 979460842) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339551 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339551) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["name", "colour"], ["option_type_id", 935339551], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.840820' WHERE "spree_products"."id" = 1060501325 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501325], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.842097' WHERE "spree_products"."id" = 1060501325  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591968, 979460843) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501325]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501325) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591964 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591965 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591966 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591967 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591968 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501325) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.865219' WHERE "spree_products"."id" = 1060501325  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591964 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.866660' WHERE "spree_products"."id" = 1060501325 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.867940' WHERE "spree_products"."id" = 1060501325  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591965 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.868919' WHERE "spree_products"."id" = 1060501325 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.870320' WHERE "spree_products"."id" = 1060501325  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591966 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.871367' WHERE "spree_products"."id" = 1060501325 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.872538' WHERE "spree_products"."id" = 1060501325  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591967 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.873344' WHERE "spree_products"."id" = 1060501325 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.874883' WHERE "spree_products"."id" = 1060501325  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591968 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:47.875857' WHERE "spree_products"."id" = 1060501325 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501325) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:33:47.878776' WHERE "spree_products"."id" = 1060501325 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501325 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.4ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591963) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501325)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:47 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591955, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1282 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:48 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591955, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1283 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501323) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501323) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501323 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:52 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591959, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1284 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501324) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501324) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501324 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:56 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013591963, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1285 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501325) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501325) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501325  (5.0ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501323 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591955) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501323)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501324 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591959) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501324)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501325 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013591963) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501325)) SQL (4.0ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.469486' WHERE "spree_products"."id" = 1060501326 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501326], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.471379' WHERE "spree_products"."id" = 1060501326  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591969 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.473380' WHERE "spree_products"."id" = 1060501326  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501326  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["product_id", nil], ["property_id", 905835539], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501326, "updated_at" = '2012-10-23 13:33:57.481846' WHERE "spree_product_properties"."id" = 1073273910 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501326) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452331 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452331], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501326 Product assigned to Taxons : ["Paintings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501326, 558399978) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452332 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452332], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501326, 558399979) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501326) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501326 AND "spree_option_types"."id" = 935339552 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501326) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["option_type_id", 935339552], ["position", 1], ["product_id", 1060501326], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339552 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339552) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339552], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.520724' WHERE "spree_products"."id" = 1060501326 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501326], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.522362' WHERE "spree_products"."id" = 1060501326  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591970, 979460844) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339552 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339552) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339552], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.527262' WHERE "spree_products"."id" = 1060501326 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501326], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.529198' WHERE "spree_products"."id" = 1060501326  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591971, 979460845) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339552 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339552) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339552], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.534989' WHERE "spree_products"."id" = 1060501326 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501326], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.536327' WHERE "spree_products"."id" = 1060501326  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591972, 979460846) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501326]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501326) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591970 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591971 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591972 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501326) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.552494' WHERE "spree_products"."id" = 1060501326  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591970 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.553844' WHERE "spree_products"."id" = 1060501326 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.555701' WHERE "spree_products"."id" = 1060501326  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591971 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.556594' WHERE "spree_products"."id" = 1060501326 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.558119' WHERE "spree_products"."id" = 1060501326  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591972 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:57.559244' WHERE "spree_products"."id" = 1060501326 Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:57 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013591969, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1286 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501326 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:58.390141' WHERE "spree_products"."id" = 1060501326  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501326 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:58 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591969, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1287 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.078997' WHERE "spree_products"."id" = 1060501326 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501326 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591969, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1288 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.679592' WHERE "spree_products"."id" = 1060501326 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501326 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501326) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:33:59.688070' WHERE "spree_products"."id" = 1060501326 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501326 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.708163' WHERE "spree_products"."id" = 1060501327 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501327], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.710241' WHERE "spree_products"."id" = 1060501327  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591973 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.713730' WHERE "spree_products"."id" = 1060501327  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501327  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["product_id", nil], ["property_id", 905835540], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501327, "updated_at" = '2012-10-23 13:33:59.723787' WHERE "spree_product_properties"."id" = 1073273911 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501327) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452331 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501327 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501327, 558399978) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452333 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452333], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501327, 558399980) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452334 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452334], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501327, 558399981) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501327) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501327 AND "spree_option_types"."id" = 935339552 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501327) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["option_type_id", 935339552], ["position", 1], ["product_id", 1060501327], ["updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339552 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.763759' WHERE "spree_products"."id" = 1060501327 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501327], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.764999' WHERE "spree_products"."id" = 1060501327  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591974, 979460844) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339552 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.769172' WHERE "spree_products"."id" = 1060501327 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501327], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.770482' WHERE "spree_products"."id" = 1060501327  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591975, 979460845) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339552 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.775211' WHERE "spree_products"."id" = 1060501327 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501327], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.777048' WHERE "spree_products"."id" = 1060501327  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591976, 979460846) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501327]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501327) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591974 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591975 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591976 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501327) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.798948' WHERE "spree_products"."id" = 1060501327  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591974 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.800426' WHERE "spree_products"."id" = 1060501327 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.802508' WHERE "spree_products"."id" = 1060501327  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591975 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.803704' WHERE "spree_products"."id" = 1060501327 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.804959' WHERE "spree_products"."id" = 1060501327  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591976 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:33:59.806236' WHERE "spree_products"."id" = 1060501327 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 13:33:59 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.2ms) UPDATE "spree_assets" SET "viewable_id" = 1013591973, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1289 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 13:34:03 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013591973, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1290 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501327 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:04.608237' WHERE "spree_products"."id" = 1060501327  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501327 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501327) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:34:04.625512' WHERE "spree_products"."id" = 1060501327 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501327 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.2ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501326 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013591969 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (3.5ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452335 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452335], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452335], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452335], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]]  (1.9ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452336 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452336], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452336], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]]  (1.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452336], ["updated_at", Tue, 23 Oct 2012 13:34:04 UTC +00:00]]  (1.8ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452336 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452336 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452336 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.2ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452337], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452337], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.9ms) UPDATE "spree_taxons" SET "parent_id" = 558399988, "updated_at" = '2012-10-23 13:34:05.117558' WHERE "spree_taxons"."id" = 558399989 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399988]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399989]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399989 THEN 558399988 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399988]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399989]]  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.6ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399988 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.170733' WHERE "spree_products"."id" = 1060501328 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501328], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.172722' WHERE "spree_products"."id" = 1060501328  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591977 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.175354' WHERE "spree_products"."id" = 1060501328  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501328  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835541], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501328, "updated_at" = '2012-10-23 13:34:05.184204' WHERE "spree_product_properties"."id" = 1073273912 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501328) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501328 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501328, 558399988) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452338 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452338], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501328, 558399990) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501328) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501328 AND "spree_option_types"."id" = 935339553 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501328) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["option_type_id", 935339553], ["position", 1], ["product_id", 1060501328], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339553) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339553], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.216568' WHERE "spree_products"."id" = 1060501328 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501328], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.218103' WHERE "spree_products"."id" = 1060501328  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591978, 979460847) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339553) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339553], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.223764' WHERE "spree_products"."id" = 1060501328 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501328], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.225198' WHERE "spree_products"."id" = 1060501328  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591979, 979460848) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339553) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339553], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.231349' WHERE "spree_products"."id" = 1060501328 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501328], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.232634' WHERE "spree_products"."id" = 1060501328  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591980, 979460849) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501328]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501328) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591978 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591979 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591980 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501328) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.251328' WHERE "spree_products"."id" = 1060501328  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591978 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.252508' WHERE "spree_products"."id" = 1060501328 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.254144' WHERE "spree_products"."id" = 1060501328  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591979 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.256500' WHERE "spree_products"."id" = 1060501328 Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.310303' WHERE "spree_products"."id" = 1060501328  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591980 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.312186' WHERE "spree_products"."id" = 1060501328 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501328) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:34:05.315670' WHERE "spree_products"."id" = 1060501328 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501328 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.329245' WHERE "spree_products"."id" = 1060501329 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501329], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.330620' WHERE "spree_products"."id" = 1060501329  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591981 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.332473' WHERE "spree_products"."id" = 1060501329  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501329  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835542], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501329, "updated_at" = '2012-10-23 13:34:05.340641' WHERE "spree_product_properties"."id" = 1073273913 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501329) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501329 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501329, 558399988) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452339 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452339], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501329, 558399991) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399988 AND "spree_taxons"."taxonomy_id" = 854452337 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399988]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399988], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452337], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399988]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399992]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399992 THEN 558399988 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399988]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399992]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399992 AND "spree_taxons"."taxonomy_id" = 854452337 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399992]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399992], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452337], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399992]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399993]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399993 THEN 558399992 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399992]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399993]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501329, 558399992)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501329, 558399993) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501329) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501329 AND "spree_option_types"."id" = 935339553 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501329) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["option_type_id", 935339553], ["position", 1], ["product_id", 1060501329], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.387374' WHERE "spree_products"."id" = 1060501329 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501329], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.389036' WHERE "spree_products"."id" = 1060501329  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591982, 979460847) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.392175' WHERE "spree_products"."id" = 1060501329 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501329], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.393533' WHERE "spree_products"."id" = 1060501329  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591983, 979460848) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.397173' WHERE "spree_products"."id" = 1060501329 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501329], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.398599' WHERE "spree_products"."id" = 1060501329  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591984, 979460849) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501329]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501329) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591982 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591983 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591984 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501329) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.419725' WHERE "spree_products"."id" = 1060501329  (0.9ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591982 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.422307' WHERE "spree_products"."id" = 1060501329 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.425745' WHERE "spree_products"."id" = 1060501329  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591983 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.426923' WHERE "spree_products"."id" = 1060501329 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.428639' WHERE "spree_products"."id" = 1060501329  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591984 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.429882' WHERE "spree_products"."id" = 1060501329 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501329) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:34:05.433656' WHERE "spree_products"."id" = 1060501329 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501329 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.450746' WHERE "spree_products"."id" = 1060501330 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501330], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.452491' WHERE "spree_products"."id" = 1060501330  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591985 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.454165' WHERE "spree_products"."id" = 1060501330  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501330  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835543], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501330, "updated_at" = '2012-10-23 13:34:05.461612' WHERE "spree_product_properties"."id" = 1073273914 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835542], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501330, "updated_at" = '2012-10-23 13:34:05.464051' WHERE "spree_product_properties"."id" = 1073273915 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835544], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501330, "updated_at" = '2012-10-23 13:34:05.467554' WHERE "spree_product_properties"."id" = 1073273916 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501330) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452340 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452340], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501330 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501330, 558399994) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399988 AND "spree_taxons"."taxonomy_id" = 854452337 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501330, 558399989)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501330, 558399988) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501330) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501330 AND "spree_option_types"."id" = 935339553 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501330) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["option_type_id", 935339553], ["position", 1], ["product_id", 1060501330], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.501554' WHERE "spree_products"."id" = 1060501330 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501330], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.503127' WHERE "spree_products"."id" = 1060501330  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591986, 979460847) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.506109' WHERE "spree_products"."id" = 1060501330 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501330], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.507313' WHERE "spree_products"."id" = 1060501330  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591987, 979460848) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339553 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.510128' WHERE "spree_products"."id" = 1060501330 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501330], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.511806' WHERE "spree_products"."id" = 1060501330  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591988, 979460849) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501330]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501330 AND "spree_option_types"."id" = 935339554 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501330) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["option_type_id", 935339554], ["position", 2], ["product_id", 1060501330], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339554 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339554) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339554], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.526728' WHERE "spree_products"."id" = 1060501330 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501330], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.528541' WHERE "spree_products"."id" = 1060501330  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591989, 979460850) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339554 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339554) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "colour"], ["option_type_id", 935339554], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.533890' WHERE "spree_products"."id" = 1060501330 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501330], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.535029' WHERE "spree_products"."id" = 1060501330  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591990, 979460851) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501330]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501330) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591986 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591987 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591988 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591989 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591990 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501330) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.556244' WHERE "spree_products"."id" = 1060501330  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591986 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.557455' WHERE "spree_products"."id" = 1060501330 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.558588' WHERE "spree_products"."id" = 1060501330  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591987 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.559833' WHERE "spree_products"."id" = 1060501330 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.561307' WHERE "spree_products"."id" = 1060501330  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591988 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.562473' WHERE "spree_products"."id" = 1060501330 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.563589' WHERE "spree_products"."id" = 1060501330  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591989 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.564857' WHERE "spree_products"."id" = 1060501330 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.565979' WHERE "spree_products"."id" = 1060501330  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013591990 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.566883' WHERE "spree_products"."id" = 1060501330 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501330) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:34:05.570186' WHERE "spree_products"."id" = 1060501330 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501330 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.9ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501328 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501328 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501329 LIMIT 1 Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501329 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452337 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399988 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399992 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399992 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399993 ORDER BY "lft" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452341], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452341], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (3.2ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558399995, "updated_at" = '2012-10-23 13:34:05.668607' WHERE "spree_taxons"."id" = 558399996 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399995]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399996]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399996 THEN 558399995 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399995]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399996]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399995 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.780554' WHERE "spree_products"."id" = 1060501331 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501331], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.782356' WHERE "spree_products"."id" = 1060501331  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591991 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.783930' WHERE "spree_products"."id" = 1060501331  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501331  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835545], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501331, "updated_at" = '2012-10-23 13:34:05.790629' WHERE "spree_product_properties"."id" = 1073273917 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501331 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501331, 558399995) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452342 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452342], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501331, 558399997) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501331 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501331) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["option_type_id", 935339555], ["position", 1], ["product_id", 1060501331], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339555) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339555], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.829377' WHERE "spree_products"."id" = 1060501331 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501331], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.830628' WHERE "spree_products"."id" = 1060501331  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591992, 979460852) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501331]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501331 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339555) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339555], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.841628' WHERE "spree_products"."id" = 1060501331 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501331], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.843035' WHERE "spree_products"."id" = 1060501331  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591993, 979460853) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501331]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501331 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339555) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339555], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.854628' WHERE "spree_products"."id" = 1060501331 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501331], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.856075' WHERE "spree_products"."id" = 1060501331  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591994, 979460854) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501331]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591992 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591993 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591994 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.876952' WHERE "spree_products"."id" = 1060501331  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013591992 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.878145' WHERE "spree_products"."id" = 1060501331 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.879733' WHERE "spree_products"."id" = 1060501331  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013591993 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.880979' WHERE "spree_products"."id" = 1060501331 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.882215' WHERE "spree_products"."id" = 1060501331  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013591994 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.883324' WHERE "spree_products"."id" = 1060501331 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501331) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:34:05.886453' WHERE "spree_products"."id" = 1060501331 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501331 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.899757' WHERE "spree_products"."id" = 1060501332 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501332], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.901592' WHERE "spree_products"."id" = 1060501332  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591995 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.903027' WHERE "spree_products"."id" = 1060501332  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501332  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835546], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501332, "updated_at" = '2012-10-23 13:34:05.909600' WHERE "spree_product_properties"."id" = 1073273918 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501332 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501332, 558399995) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452343 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452343], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501332, 558399998) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558399995 AND "spree_taxons"."taxonomy_id" = 854452341 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399995]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558399995], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452341], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399995]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399999]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558399999 THEN 558399995 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399995]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399999]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558399999 AND "spree_taxons"."taxonomy_id" = 854452341 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399999]] SQL (1.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558399999], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452341], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558399999]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400000]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400000 THEN 558399999 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558399999]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400000]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501332, 558399999)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501332, 558400000) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501332 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501332) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00], ["option_type_id", 935339555], ["position", 1], ["product_id", 1060501332], ["updated_at", Tue, 23 Oct 2012 13:34:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.961396' WHERE "spree_products"."id" = 1060501332 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501332], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.963373' WHERE "spree_products"."id" = 1060501332  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591996, 979460852) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501332]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501332 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.972624' WHERE "spree_products"."id" = 1060501332 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501332], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.974624' WHERE "spree_products"."id" = 1060501332  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591997, 979460853) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501332]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501332 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.984747' WHERE "spree_products"."id" = 1060501332 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501332], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:05.986501' WHERE "spree_products"."id" = 1060501332  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013591998, 979460854) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501332]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591996 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591997 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013591998 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.007964' WHERE "spree_products"."id" = 1060501332  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013591996 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.009044' WHERE "spree_products"."id" = 1060501332 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.010464' WHERE "spree_products"."id" = 1060501332  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013591997 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.011503' WHERE "spree_products"."id" = 1060501332 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.013083' WHERE "spree_products"."id" = 1060501332  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013591998 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.014082' WHERE "spree_products"."id" = 1060501332 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501332) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:34:06.016798' WHERE "spree_products"."id" = 1060501332 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501332 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.029117' WHERE "spree_products"."id" = 1060501333 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501333], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.030618' WHERE "spree_products"."id" = 1060501333  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013591999 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.032080' WHERE "spree_products"."id" = 1060501333  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501333  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835547], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501333, "updated_at" = '2012-10-23 13:34:06.038539' WHERE "spree_product_properties"."id" = 1073273919 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835546], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501333, "updated_at" = '2012-10-23 13:34:06.042124' WHERE "spree_product_properties"."id" = 1073273920 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835548], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501333, "updated_at" = '2012-10-23 13:34:06.047120' WHERE "spree_product_properties"."id" = 1073273921 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452344 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452344], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501333 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501333, 558400001) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558399995 AND "spree_taxons"."taxonomy_id" = 854452341 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501333, 558399996)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501333, 558399995) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501333 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501333) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["option_type_id", 935339555], ["position", 1], ["product_id", 1060501333], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.076598' WHERE "spree_products"."id" = 1060501333 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501333], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.078118' WHERE "spree_products"."id" = 1060501333  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592000, 979460852) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501333]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501333 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.088946' WHERE "spree_products"."id" = 1060501333 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501333], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.090964' WHERE "spree_products"."id" = 1060501333  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592001, 979460853) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501333]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501333 AND "spree_option_types"."id" = 935339555 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339555 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.100239' WHERE "spree_products"."id" = 1060501333 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501333], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.101621' WHERE "spree_products"."id" = 1060501333  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592002, 979460854) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501333]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501333 AND "spree_option_types"."id" = 935339556 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501333) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["option_type_id", 935339556], ["position", 2], ["product_id", 1060501333], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339556 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339556) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339556], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.118586' WHERE "spree_products"."id" = 1060501333 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501333], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.119902' WHERE "spree_products"."id" = 1060501333  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592003, 979460855) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501333]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501333 AND "spree_option_types"."id" = 935339556 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339556 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339556) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "colour"], ["option_type_id", 935339556], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (57.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.188323' WHERE "spree_products"."id" = 1060501333 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501333], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.190127' WHERE "spree_products"."id" = 1060501333  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592004, 979460856) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501333]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592000 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592001 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592002 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592003 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592004 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.209099' WHERE "spree_products"."id" = 1060501333  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592000 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.210492' WHERE "spree_products"."id" = 1060501333 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.212054' WHERE "spree_products"."id" = 1060501333  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592001 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.213129' WHERE "spree_products"."id" = 1060501333 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.214510' WHERE "spree_products"."id" = 1060501333  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592002 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.215473' WHERE "spree_products"."id" = 1060501333 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.217053' WHERE "spree_products"."id" = 1060501333  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592003 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.218063' WHERE "spree_products"."id" = 1060501333 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.219424' WHERE "spree_products"."id" = 1060501333  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592004 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.220457' WHERE "spree_products"."id" = 1060501333 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501333) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:34:06.223092' WHERE "spree_products"."id" = 1060501333 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501333 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.7ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.3ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501331 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501331 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501332 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501332 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452341 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399995 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558399999 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558399999 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400000 ORDER BY "lft" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452345], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452345], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558400002, "updated_at" = '2012-10-23 13:34:06.328615' WHERE "spree_taxons"."id" = 558400003 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400002]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400003]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400003 THEN 558400002 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400002]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400003]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400002 ORDER BY "lft"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.358355' WHERE "spree_products"."id" = 1060501334 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501334], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.360099' WHERE "spree_products"."id" = 1060501334  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592005 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.361475' WHERE "spree_products"."id" = 1060501334  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501334  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835549], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501334, "updated_at" = '2012-10-23 13:34:06.368087' WHERE "spree_product_properties"."id" = 1073273922 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501334 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501334, 558400002) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452346 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452346], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501334, 558400004) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501334 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501334) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["option_type_id", 935339557], ["position", 1], ["product_id", 1060501334], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339557) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339557], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.403436' WHERE "spree_products"."id" = 1060501334 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501334], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.405512' WHERE "spree_products"."id" = 1060501334  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592006, 979460857) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501334]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501334 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339557) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339557], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.416589' WHERE "spree_products"."id" = 1060501334 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501334], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.418613' WHERE "spree_products"."id" = 1060501334  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592007, 979460858) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501334]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501334 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339557) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339557], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.428445' WHERE "spree_products"."id" = 1060501334 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501334], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.429962' WHERE "spree_products"."id" = 1060501334  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592008, 979460859) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501334]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592006 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592007 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592008 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.449912' WHERE "spree_products"."id" = 1060501334  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592006 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.451049' WHERE "spree_products"."id" = 1060501334 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.452509' WHERE "spree_products"."id" = 1060501334  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592007 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.453521' WHERE "spree_products"."id" = 1060501334 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.455548' WHERE "spree_products"."id" = 1060501334  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592008 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.456768' WHERE "spree_products"."id" = 1060501334 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501334) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 13:34:06.460046' WHERE "spree_products"."id" = 1060501334 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.468956' WHERE "spree_products"."id" = 1060501335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501335], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.470411' WHERE "spree_products"."id" = 1060501335  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592009 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.472029' WHERE "spree_products"."id" = 1060501335  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501335  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835550], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501335, "updated_at" = '2012-10-23 13:34:06.479043' WHERE "spree_product_properties"."id" = 1073273923 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501335 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501335, 558400002) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452347 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452347], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501335, 558400005) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400002 AND "spree_taxons"."taxonomy_id" = 854452345 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400002]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400002], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452345], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400002]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400006]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400006 THEN 558400002 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400002]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400006]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400006 AND "spree_taxons"."taxonomy_id" = 854452345 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400006]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400006], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452345], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400006]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400007]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400007 THEN 558400006 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400006]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400007]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501335, 558400006)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501335, 558400007) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501335 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501335) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["option_type_id", 935339557], ["position", 1], ["product_id", 1060501335], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.523332' WHERE "spree_products"."id" = 1060501335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501335], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.525008' WHERE "spree_products"."id" = 1060501335  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592010, 979460857) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501335]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501335 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.533033' WHERE "spree_products"."id" = 1060501335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501335], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.534357' WHERE "spree_products"."id" = 1060501335  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592011, 979460858) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501335]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501335 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 SQL (2.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.542354' WHERE "spree_products"."id" = 1060501335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501335], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.546005' WHERE "spree_products"."id" = 1060501335  (2.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592012, 979460859) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501335]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592010 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592011 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592012 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.566757' WHERE "spree_products"."id" = 1060501335  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592010 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.568076' WHERE "spree_products"."id" = 1060501335 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.569867' WHERE "spree_products"."id" = 1060501335  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592011 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.571540' WHERE "spree_products"."id" = 1060501335 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.572834' WHERE "spree_products"."id" = 1060501335  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592012 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.573858' WHERE "spree_products"."id" = 1060501335 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501335) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 13:34:06.577513' WHERE "spree_products"."id" = 1060501335 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.586749' WHERE "spree_products"."id" = 1060501336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501336], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.588336' WHERE "spree_products"."id" = 1060501336  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592013 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.589741' WHERE "spree_products"."id" = 1060501336  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501336  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835551], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501336, "updated_at" = '2012-10-23 13:34:06.596997' WHERE "spree_product_properties"."id" = 1073273924 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835550], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", "Example free value"]]  (3.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501336, "updated_at" = '2012-10-23 13:34:06.653587' WHERE "spree_product_properties"."id" = 1073273925 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["product_id", nil], ["property_id", 905835552], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501336, "updated_at" = '2012-10-23 13:34:06.664776' WHERE "spree_product_properties"."id" = 1073273926 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452348 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452348], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501336 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501336, 558400008) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400002 AND "spree_taxons"."taxonomy_id" = 854452345 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501336, 558400003)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501336, 558400002) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501336 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501336) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["option_type_id", 935339557], ["position", 1], ["product_id", 1060501336], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.690606' WHERE "spree_products"."id" = 1060501336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501336], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.692384' WHERE "spree_products"."id" = 1060501336  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592014, 979460857) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501336]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501336 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.700518' WHERE "spree_products"."id" = 1060501336 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501336], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.701828' WHERE "spree_products"."id" = 1060501336  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592015, 979460858) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501336]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501336 AND "spree_option_types"."id" = 935339557 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339557 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.710318' WHERE "spree_products"."id" = 1060501336 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501336], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.712569' WHERE "spree_products"."id" = 1060501336  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592016, 979460859) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501336]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501336 AND "spree_option_types"."id" = 935339558 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501336) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["option_type_id", 935339558], ["position", 2], ["product_id", 1060501336], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339558 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339558) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339558], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.727462' WHERE "spree_products"."id" = 1060501336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501336], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.728978' WHERE "spree_products"."id" = 1060501336  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592017, 979460860) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501336]] Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501336 AND "spree_option_types"."id" = 935339558 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339558 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339558) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "colour"], ["option_type_id", 935339558], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.741230' WHERE "spree_products"."id" = 1060501336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501336], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.742604' WHERE "spree_products"."id" = 1060501336  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592018, 979460861) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501336]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592014 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592015 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592016 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592017 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592018 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.762450' WHERE "spree_products"."id" = 1060501336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592014 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.763240' WHERE "spree_products"."id" = 1060501336 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.764459' WHERE "spree_products"."id" = 1060501336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592015 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.765742' WHERE "spree_products"."id" = 1060501336 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.766848' WHERE "spree_products"."id" = 1060501336  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592016 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.768007' WHERE "spree_products"."id" = 1060501336 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.769588' WHERE "spree_products"."id" = 1060501336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592017 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.770803' WHERE "spree_products"."id" = 1060501336 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.771912' WHERE "spree_products"."id" = 1060501336  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592018 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.773286' WHERE "spree_products"."id" = 1060501336 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501336) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 13:34:06.776423' WHERE "spree_products"."id" = 1060501336  (4.7ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501334 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501334 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501335 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501335 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452345 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400002 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400006 LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400006 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400007 ORDER BY "lft" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.2ms) commit transaction SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501337 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.882130' WHERE "spree_products"."id" = 1060501337 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501337], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.883839' WHERE "spree_products"."id" = 1060501337  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592019 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.885436' WHERE "spree_products"."id" = 1060501337  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501337 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501337  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452349 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452349], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400009 AND "spree_taxons"."taxonomy_id" = 854452349 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400009]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400009], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452349], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400009]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400010]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400010 THEN 558400009 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400009]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400010]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501337 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501337, 558400010)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501337, 558400009) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501337) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452350 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452350], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501337, 558400011) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501337) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592019 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501337) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 13:34:06.921989' WHERE "spree_products"."id" = 1060501337  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592019 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.923983' WHERE "spree_products"."id" = 1060501337 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501337 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060501337 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (55.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:06 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501338 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.991749' WHERE "spree_products"."id" = 1060501338 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501338], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.993365' WHERE "spree_products"."id" = 1060501338  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592020 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:06.994976' WHERE "spree_products"."id" = 1060501338  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501338 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501338  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452349 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501338 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501338, 558400009) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501338) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452351 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452351], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501338, 558400012) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501338) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452349 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400009 AND "spree_taxons"."taxonomy_id" = 854452349 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400009]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400009], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452349], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400009]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400013]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400013 THEN 558400009 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400009]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400013]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400013 AND "spree_taxons"."taxonomy_id" = 854452349 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400013]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400013], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452349], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400013]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400014]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400014 THEN 558400013 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400013]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400014]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501338, 558400013)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501338, 558400014) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501338) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592020 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501338) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 13:34:07.041022' WHERE "spree_products"."id" = 1060501338  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592020 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.043597' WHERE "spree_products"."id" = 1060501338 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501338 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060501338 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.055716' WHERE "spree_products"."id" = 1060501339 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501339], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.058460' WHERE "spree_products"."id" = 1060501339  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592021 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.059961' WHERE "spree_products"."id" = 1060501339  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501339 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501339  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452352 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452352], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400015 AND "spree_taxons"."taxonomy_id" = 854452352 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400015]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400015], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452352], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400015]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400016]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400016 THEN 558400015 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400015]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400016]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501339 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501339, 558400016)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501339, 558400015) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501339) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452353 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452353], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501339, 558400017) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501339) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592021 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501339) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 13:34:07.097458' WHERE "spree_products"."id" = 1060501339  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592021 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.099595' WHERE "spree_products"."id" = 1060501339 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501339 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060501339 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501340 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.111050' WHERE "spree_products"."id" = 1060501340 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501340], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.112458' WHERE "spree_products"."id" = 1060501340  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592022 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.114869' WHERE "spree_products"."id" = 1060501340  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501340 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501340  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452352 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400015 AND "spree_taxons"."taxonomy_id" = 854452352 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501340 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501340, 558400016)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501340, 558400015) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501340) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452349 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400009 AND "spree_taxons"."taxonomy_id" = 854452349 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400013 AND "spree_taxons"."taxonomy_id" = 854452349 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400013]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400013], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452349], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400013]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400018]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400018 THEN 558400013 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400013]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400018]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400018 AND "spree_taxons"."taxonomy_id" = 854452349 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400018]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400018], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452349], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400018]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400019]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400019 THEN 558400018 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400018]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400019]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501340, 558400013)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501340, 558400018)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501340, 558400019)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501340, 558400009) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501340) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592022 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501340) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 13:34:07.154266' WHERE "spree_products"."id" = 1060501340  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592022 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.155979' WHERE "spree_products"."id" = 1060501340 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501340 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060501340 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.169665' WHERE "spree_products"."id" = 1060501341 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501341], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.171149' WHERE "spree_products"."id" = 1060501341  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592023 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.172913' WHERE "spree_products"."id" = 1060501341  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501341 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501341  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452352 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400015 AND "spree_taxons"."taxonomy_id" = 854452352 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400016 AND "spree_taxons"."taxonomy_id" = 854452352 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400016]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400016], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452352], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400016]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400020]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400020 THEN 558400016 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400016]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400020]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501341 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501341, 558400016)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501341, 558400020)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501341, 558400015) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501341) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452351 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501341, 558400012) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501341) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592023 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501341) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 13:34:07.199559' WHERE "spree_products"."id" = 1060501341  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592023 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.201383' WHERE "spree_products"."id" = 1060501341 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501341 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060501341 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452349 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452350 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452351 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452352 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452353 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452349 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452349 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400009 ORDER BY "lft"  (0.3ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400009) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400013 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400013) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400013) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400009 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400013 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400018 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400019 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400018) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452352 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452352 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400016 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400016 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400020 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400020) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452351 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452351 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400012 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452353 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452353 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400017 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501342 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.313799' WHERE "spree_products"."id" = 1060501342 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501342], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.315560' WHERE "spree_products"."id" = 1060501342  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592024 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.317514' WHERE "spree_products"."id" = 1060501342  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501342 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501342  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452354 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452354], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400021 AND "spree_taxons"."taxonomy_id" = 854452354 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400021]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400021], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452354], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400021]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400022]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400022 THEN 558400021 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400021]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400022]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501342 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501342, 558400022)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501342, 558400021) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501342) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452355 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452355], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501342, 558400023) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501342) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592024 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501342) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 13:34:07.356451' WHERE "spree_products"."id" = 1060501342  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592024 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.358588' WHERE "spree_products"."id" = 1060501342 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501342 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501343 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.368022' WHERE "spree_products"."id" = 1060501343 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501343], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (1.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.369434' WHERE "spree_products"."id" = 1060501343  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592025 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.372074' WHERE "spree_products"."id" = 1060501343  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501343 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501343  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452354 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501343 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501343, 558400021) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501343) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452356 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452356], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501343, 558400024) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501343) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452354 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400021 AND "spree_taxons"."taxonomy_id" = 854452354 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400021]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400021], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452354], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400021]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400025]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400025 THEN 558400021 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400021]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400025]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400025 AND "spree_taxons"."taxonomy_id" = 854452354 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400025]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400025], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452354], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400025]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400026]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400026 THEN 558400025 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400025]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400026]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501343, 558400025)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501343, 558400026) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501343) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592025 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501343) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 13:34:07.411549' WHERE "spree_products"."id" = 1060501343  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592025 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.413454' WHERE "spree_products"."id" = 1060501343 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501343 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501344 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.422330' WHERE "spree_products"."id" = 1060501344 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501344], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.424118' WHERE "spree_products"."id" = 1060501344  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592026 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.425587' WHERE "spree_products"."id" = 1060501344  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501344 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501344  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452357 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (55.9ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452357], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400027 AND "spree_taxons"."taxonomy_id" = 854452357 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400027]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400027], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452357], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400027]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400028]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400028 THEN 558400027 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400027]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400028]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501344 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501344, 558400028)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501344, 558400027) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501344) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452358], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501344, 558400029) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501344) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592026 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501344) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 13:34:07.518947' WHERE "spree_products"."id" = 1060501344  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592026 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.521173' WHERE "spree_products"."id" = 1060501344 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501344 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501345 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.529576' WHERE "spree_products"."id" = 1060501345 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501345], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.531352' WHERE "spree_products"."id" = 1060501345  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592027 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.532675' WHERE "spree_products"."id" = 1060501345  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501345 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501345  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452357 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400027 AND "spree_taxons"."taxonomy_id" = 854452357 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501345 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501345, 558400028)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501345, 558400027) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501345) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452354 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400021 AND "spree_taxons"."taxonomy_id" = 854452354 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400025 AND "spree_taxons"."taxonomy_id" = 854452354 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400025]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400025], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452354], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400025]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400030]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400030 THEN 558400025 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400025]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400030]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400030 AND "spree_taxons"."taxonomy_id" = 854452354 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400030]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400030], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452354], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400030]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400031]] SQL (1.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400031 THEN 558400030 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400030]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400031]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501345, 558400025)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501345, 558400030)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501345, 558400031)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501345, 558400021) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501345) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592027 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501345) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 13:34:07.570461' WHERE "spree_products"."id" = 1060501345  (1.3ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592027 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.573854' WHERE "spree_products"."id" = 1060501345 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501345 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501346 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.582026' WHERE "spree_products"."id" = 1060501346 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501346], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.583266' WHERE "spree_products"."id" = 1060501346  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592028 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.584793' WHERE "spree_products"."id" = 1060501346  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501346 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501346 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501346  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501346 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452357 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400027 AND "spree_taxons"."taxonomy_id" = 854452357 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400028 AND "spree_taxons"."taxonomy_id" = 854452357 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400028]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400028], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452357], ["updated_at", Tue, 23 Oct 2012 13:34:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400028]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400032]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400032 THEN 558400028 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400028]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400032]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501346 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501346, 558400028)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501346, 558400032)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501346, 558400027) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501346) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452356 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501346, 558400024) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501346) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592028 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501346) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 13:34:07.609318' WHERE "spree_products"."id" = 1060501346  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592028 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 13:34:07.611139' WHERE "spree_products"."id" = 1060501346 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501346  (5.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452354 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452355 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452356 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452357 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452354 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452354 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400021 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400021) Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400025 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400025) Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400025) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400021 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400025 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400030 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400031 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400030) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452357 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452357 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400028 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400028 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400032 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400032) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452356 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452356 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400024 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452358 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400029 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (5.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (1.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.4ms) begin transaction  (0.4ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (9.6ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (56.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452359 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452359], ["updated_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452359], ["updated_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452359], ["updated_at", Tue, 23 Oct 2012 14:07:04 UTC +00:00]]  (2.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (4.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (20.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452360 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452360], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452360], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452360], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]]  (1.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.1ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (22.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452361 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452361], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452361], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]]  (1.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452361], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00]]  (2.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (4.3ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.6ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (1.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.8ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.7ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 139 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 139 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 140 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 140 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 141 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 141 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 14:07:05 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (1.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 142 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 142 Current value to assign : Current value to assign :  (2.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (55.0ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.2ms) commit transaction SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.8ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 143 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.4ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 144 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 145 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 146  (4.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.2ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (26.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (5.6ms) DELETE FROM "spree_product_properties" SQL (26.5ms) DELETE FROM "spree_variants" SQL (4.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (24.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501347 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:06.535041' WHERE "spree_products"."id" = 1060501347 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501347], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:06.538739' WHERE "spree_products"."id" = 1060501347  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592029 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:06.542273' WHERE "spree_products"."id" = 1060501347  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501347 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501347 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501347  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501347 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592029 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501347) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:06 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501347 AND "spree_option_types"."id" = 935339559 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501347) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339559], ["position", 1], ["product_id", 1060501347], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501347) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 14:07:07.149346' WHERE "spree_products"."id" = 1060501347  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592029 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.151649' WHERE "spree_products"."id" = 1060501347 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501347 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501347 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501348 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.169010' WHERE "spree_products"."id" = 1060501348 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501348], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.170794' WHERE "spree_products"."id" = 1060501348  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592030 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.172909' WHERE "spree_products"."id" = 1060501348  (22.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501348 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501348 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501348  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501348 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592030 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501348) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501348 AND "spree_option_types"."id" = 935339559 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501348) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339559], ["position", 1], ["product_id", 1060501348], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501348) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:07:07.210502' WHERE "spree_products"."id" = 1060501348  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592030 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.213307' WHERE "spree_products"."id" = 1060501348 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501348 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501348 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501349 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.300142' WHERE "spree_products"."id" = 1060501349 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501349], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.301870' WHERE "spree_products"."id" = 1060501349  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592031 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.303462' WHERE "spree_products"."id" = 1060501349  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501349 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501349 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501349  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501349 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592031 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501349) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501349 AND "spree_option_types"."id" = 935339559 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501349) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339559], ["position", 1], ["product_id", 1060501349], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501349 AND "spree_option_types"."id" = 935339560 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501349) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339560], ["position", 2], ["product_id", 1060501349], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Exists (41.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501349) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 14:07:07.370020' WHERE "spree_products"."id" = 1060501349  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013592031 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.374397' WHERE "spree_products"."id" = 1060501349 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501349 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501349 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 14:07:07.394339')  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 14:07:07.395824')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501347 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (2.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501347 ORDER BY spree_option_types.position  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501347 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501349 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (8.0ms) DELETE FROM "spree_products" SQL (2.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (32.1ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501350 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.624529' WHERE "spree_products"."id" = 1060501350 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501350], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.626110' WHERE "spree_products"."id" = 1060501350  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592032 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.629303' WHERE "spree_products"."id" = 1060501350  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501350 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501350 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (25.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501350  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501350 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592032 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501350) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::OptionType Exists (1.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501350 AND "spree_option_types"."id" = 935339561 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501350) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339561], ["position", 1], ["product_id", 1060501350], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501350) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 14:07:07.676012' WHERE "spree_products"."id" = 1060501350  (1.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592032 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.679715' WHERE "spree_products"."id" = 1060501350 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501350 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501351 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.715443' WHERE "spree_products"."id" = 1060501351 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501351], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.717125' WHERE "spree_products"."id" = 1060501351  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592033 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.718566' WHERE "spree_products"."id" = 1060501351  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501351 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501351 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501351  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501351 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592033 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501351) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501351 AND "spree_option_types"."id" = 935339561 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501351) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339561], ["position", 1], ["product_id", 1060501351], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501351) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:07:07.732010' WHERE "spree_products"."id" = 1060501351  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592033 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.735789' WHERE "spree_products"."id" = 1060501351 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501351 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501352 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.746834' WHERE "spree_products"."id" = 1060501352 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501352], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.749300' WHERE "spree_products"."id" = 1060501352  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592034 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.750817' WHERE "spree_products"."id" = 1060501352  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501352 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501352 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501352  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501352 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592034 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501352) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501352 AND "spree_option_types"."id" = 935339561 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501352) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339561], ["position", 1], ["product_id", 1060501352], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501352 AND "spree_option_types"."id" = 935339562 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501352) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00], ["option_type_id", 935339562], ["position", 2], ["product_id", 1060501352], ["updated_at", Tue, 23 Oct 2012 14:07:07 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501352) LIMIT 1  (0.7ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 14:07:07.773876' WHERE "spree_products"."id" = 1060501352  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013592034 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:07.775965' WHERE "spree_products"."id" = 1060501352 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501352  (5.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 14:07:07.784868')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 14:07:07.808171')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501350 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501350 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501350 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501352 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.8ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (27.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (4.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 15:07:07 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501353 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.051089' WHERE "spree_products"."id" = 1060501353 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501353], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.054998' WHERE "spree_products"."id" = 1060501353  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592035 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.057066' WHERE "spree_products"."id" = 1060501353  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501353 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501353 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501353  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501353 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501353 AND "spree_option_types"."id" = 935339563 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501353) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339563], ["position", 1], ["product_id", 1060501353], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501353) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501353 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (52.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 15:07:07 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501354 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.141272' WHERE "spree_products"."id" = 1060501354 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501354], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.142698' WHERE "spree_products"."id" = 1060501354  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592036 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.144589' WHERE "spree_products"."id" = 1060501354  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501354 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501354 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501354  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501354 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501354 AND "spree_option_types"."id" = 935339563 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501354) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339563], ["position", 1], ["product_id", 1060501354], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501354) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501354 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 15:07:07 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501355 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.167970' WHERE "spree_products"."id" = 1060501355 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501355], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.170543' WHERE "spree_products"."id" = 1060501355  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592037 SQL (1.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.173519' WHERE "spree_products"."id" = 1060501355  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501355 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501355 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501355  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501355 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501355 AND "spree_option_types"."id" = 935339563 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501355) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339563], ["position", 1], ["product_id", 1060501355], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501355 AND "spree_option_types"."id" = 935339564 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501355) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339564], ["position", 2], ["product_id", 1060501355], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501355) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501355 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (29.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501353 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.4ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (29.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501356 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.485076' WHERE "spree_products"."id" = 1060501356 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501356], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.486676' WHERE "spree_products"."id" = 1060501356  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592038 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.488684' WHERE "spree_products"."id" = 1060501356  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501356 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501356 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501356  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501356 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501356 AND "spree_option_types"."id" = 935339565 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501356) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339565], ["position", 1], ["product_id", 1060501356], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501356) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501356 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (28.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501357 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.569487' WHERE "spree_products"."id" = 1060501357 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501357], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.571037' WHERE "spree_products"."id" = 1060501357  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592039 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.573300' WHERE "spree_products"."id" = 1060501357  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501357 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501357 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501357  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501357 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501357 AND "spree_option_types"."id" = 935339565 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501357) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339565], ["position", 1], ["product_id", 1060501357], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501357) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501357 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501358 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.607725' WHERE "spree_products"."id" = 1060501358 SQL (29.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501358], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.640332' WHERE "spree_products"."id" = 1060501358  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592040 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.643294' WHERE "spree_products"."id" = 1060501358  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501358 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501358 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501358  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501358 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501358 AND "spree_option_types"."id" = 935339565 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501358) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339565], ["position", 1], ["product_id", 1060501358], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::OptionType Load (2.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501358 AND "spree_option_types"."id" = 935339566 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501358) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["option_type_id", 935339566], ["position", 2], ["product_id", 1060501358], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501358) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501358 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501356 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (3.5ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (30.3ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501359 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.985417' WHERE "spree_products"."id" = 1060501359 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501359], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.987380' WHERE "spree_products"."id" = 1060501359  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592041 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:08.988951' WHERE "spree_products"."id" = 1060501359  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501359  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["product_id", nil], ["property_id", 905835553], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501359, "updated_at" = '2012-10-23 14:07:09.046385' WHERE "spree_product_properties"."id" = 1073273927 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501359) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (7.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452362], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501359 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501359, 558400042) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452363 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452363], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501359, 558400043) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501359) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501359 AND "spree_option_types"."id" = 935339567 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501359) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["option_type_id", 935339567], ["position", 1], ["product_id", 1060501359], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339567) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339567], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501359 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.226815' WHERE "spree_products"."id" = 1060501359 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501359], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.228788' WHERE "spree_products"."id" = 1060501359  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592042, 979460862) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339567) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339567], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501359 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.246311' WHERE "spree_products"."id" = 1060501359 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501359], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.247911' WHERE "spree_products"."id" = 1060501359  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592043, 979460863) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339567) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339567], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501359 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.255567' WHERE "spree_products"."id" = 1060501359 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501359], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.256729' WHERE "spree_products"."id" = 1060501359  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592044, 979460864) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501359]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501359) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592042 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592043 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592044 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501359) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501359 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.304571' WHERE "spree_products"."id" = 1060501359  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592042 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.305969' WHERE "spree_products"."id" = 1060501359 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501359 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.307869' WHERE "spree_products"."id" = 1060501359  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592043 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.309071' WHERE "spree_products"."id" = 1060501359 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501359 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.310658' WHERE "spree_products"."id" = 1060501359  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592044 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.311890' WHERE "spree_products"."id" = 1060501359 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501359) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:09.315787' WHERE "spree_products"."id" = 1060501359 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501359 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Product Load (3.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501360 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.330723' WHERE "spree_products"."id" = 1060501360 SQL (1.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501360], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.333418' WHERE "spree_products"."id" = 1060501360  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592045 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.363022' WHERE "spree_products"."id" = 1060501360  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501360  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["product_id", nil], ["property_id", 905835554], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501360, "updated_at" = '2012-10-23 14:07:09.369967' WHERE "spree_product_properties"."id" = 1073273928 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501360) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501360 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501360, 558400042) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452364 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452364], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501360, 558400044) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400042 AND "spree_taxons"."taxonomy_id" = 854452362 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400042]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400042], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452362], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400042]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400045]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400045 THEN 558400042 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400042]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400045]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400045 AND "spree_taxons"."taxonomy_id" = 854452362 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400045]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400045], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452362], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400045]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400046]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400046 THEN 558400045 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400045]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400046]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501360, 558400045)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501360, 558400046) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501360) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501360 AND "spree_option_types"."id" = 935339567 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501360) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["option_type_id", 935339567], ["position", 1], ["product_id", 1060501360], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501360 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.442083' WHERE "spree_products"."id" = 1060501360 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501360], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.443608' WHERE "spree_products"."id" = 1060501360  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592046, 979460862) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501360 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.446433' WHERE "spree_products"."id" = 1060501360 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501360], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.447859' WHERE "spree_products"."id" = 1060501360  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592047, 979460863) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501360 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.450442' WHERE "spree_products"."id" = 1060501360 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501360], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.474965' WHERE "spree_products"."id" = 1060501360  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592048, 979460864) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501360]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501360) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592046 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592047 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592048 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501360) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501360 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.496093' WHERE "spree_products"."id" = 1060501360  (23.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592046 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.520224' WHERE "spree_products"."id" = 1060501360 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501360 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.521622' WHERE "spree_products"."id" = 1060501360  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592047 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.523182' WHERE "spree_products"."id" = 1060501360 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501360 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.524272' WHERE "spree_products"."id" = 1060501360  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592048 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.525963' WHERE "spree_products"."id" = 1060501360 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501360) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:09.529160' WHERE "spree_products"."id" = 1060501360 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501360 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.542105' WHERE "spree_products"."id" = 1060501361 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501361], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.543644' WHERE "spree_products"."id" = 1060501361  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592049 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.545205' WHERE "spree_products"."id" = 1060501361  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501361  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Created New Property # SQL (0.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["product_id", nil], ["property_id", 905835555], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501361, "updated_at" = '2012-10-23 14:07:09.667143' WHERE "spree_product_properties"."id" = 1073273929 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["product_id", nil], ["property_id", 905835554], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501361, "updated_at" = '2012-10-23 14:07:09.669960' WHERE "spree_product_properties"."id" = 1073273930 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["product_id", nil], ["property_id", 905835556], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501361, "updated_at" = '2012-10-23 14:07:09.673960' WHERE "spree_product_properties"."id" = 1073273931 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501361) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452365 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452365], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501361 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501361, 558400047) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400042 AND "spree_taxons"."taxonomy_id" = 854452362 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400042]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400042], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452362], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400042]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400048]] SQL (1.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400048 THEN 558400042 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400042]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400048]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501361, 558400048)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501361, 558400042) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501361) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501361 AND "spree_option_types"."id" = 935339567 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501361) ORDER BY position DESC LIMIT 1 SQL (35.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["option_type_id", 935339567], ["position", 1], ["product_id", 1060501361], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.808645' WHERE "spree_products"."id" = 1060501361 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501361], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.810454' WHERE "spree_products"."id" = 1060501361  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592050, 979460862) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.822009' WHERE "spree_products"."id" = 1060501361 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501361], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.823846' WHERE "spree_products"."id" = 1060501361  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592051, 979460863) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339567 LIMIT 1 Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.830159' WHERE "spree_products"."id" = 1060501361 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501361], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.831686' WHERE "spree_products"."id" = 1060501361  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592052, 979460864) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501361]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501361 AND "spree_option_types"."id" = 935339568 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501361) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["option_type_id", 935339568], ["position", 2], ["product_id", 1060501361], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339568 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339568) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339568], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.889476' WHERE "spree_products"."id" = 1060501361 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501361], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.893521' WHERE "spree_products"."id" = 1060501361  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592053, 979460865) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339568 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339568) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00], ["name", "colour"], ["option_type_id", 935339568], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.900120' WHERE "spree_products"."id" = 1060501361 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501361], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.901797' WHERE "spree_products"."id" = 1060501361  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592054, 979460866) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501361]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501361) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592050 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592051 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592052 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592053 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592054 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501361) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.963168' WHERE "spree_products"."id" = 1060501361  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592050 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.964654' WHERE "spree_products"."id" = 1060501361 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.966187' WHERE "spree_products"."id" = 1060501361  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592051 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.967236' WHERE "spree_products"."id" = 1060501361 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.968429' WHERE "spree_products"."id" = 1060501361  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592052 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.969792' WHERE "spree_products"."id" = 1060501361 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.971152' WHERE "spree_products"."id" = 1060501361  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592053 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.974309' WHERE "spree_products"."id" = 1060501361 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501361 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.998303' WHERE "spree_products"."id" = 1060501361  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592054 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:09.999505' WHERE "spree_products"."id" = 1060501361 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501361) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:10.002920' WHERE "spree_products"."id" = 1060501361 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501361 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.2ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501359 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501361 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501361 SQL (4.9ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (5.1ms) DELETE FROM "spree_properties" SQL (60.3ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]]  (1.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501362 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:10.473003' WHERE "spree_products"."id" = 1060501362 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501362], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:10.503200' WHERE "spree_products"."id" = 1060501362  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592055 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:10.505603' WHERE "spree_products"."id" = 1060501362  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501362  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["product_id", nil], ["property_id", 905835557], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501362, "updated_at" = '2012-10-23 14:07:10.512938' WHERE "spree_product_properties"."id" = 1073273932 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452366], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501362 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501362, 558400049) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (269.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452367 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452367], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501362, 558400050) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501362 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501362) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["option_type_id", 935339569], ["position", 1], ["product_id", 1060501362], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339569) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339569], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501362 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:10.966033' WHERE "spree_products"."id" = 1060501362 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501362], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:10.967671' WHERE "spree_products"."id" = 1060501362  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592056, 979460867) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501362]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501362 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339569) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339569], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:10 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501362 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:10.982275' WHERE "spree_products"."id" = 1060501362 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501362], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:10.983925' WHERE "spree_products"."id" = 1060501362  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592057, 979460868) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501362]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501362 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339569) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339569], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501362 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.046677' WHERE "spree_products"."id" = 1060501362 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501362], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.048318' WHERE "spree_products"."id" = 1060501362  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592058, 979460869) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501362]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592056 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592057 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592058 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501362 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.197342' WHERE "spree_products"."id" = 1060501362  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592056 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.200425' WHERE "spree_products"."id" = 1060501362 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501362 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.201495' WHERE "spree_products"."id" = 1060501362  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592057 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.202577' WHERE "spree_products"."id" = 1060501362 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501362 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.204034' WHERE "spree_products"."id" = 1060501362  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592058 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.206055' WHERE "spree_products"."id" = 1060501362 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501362) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:11.209320' WHERE "spree_products"."id" = 1060501362 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501362 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501363 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.226422' WHERE "spree_products"."id" = 1060501363 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501363], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.228425' WHERE "spree_products"."id" = 1060501363  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592059 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.229835' WHERE "spree_products"."id" = 1060501363  (27.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501363  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["product_id", nil], ["property_id", 905835558], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501363, "updated_at" = '2012-10-23 14:07:11.265736' WHERE "spree_product_properties"."id" = 1073273933 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501363 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501363, 558400049) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452368 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452368], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501363, 558400051) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400049 AND "spree_taxons"."taxonomy_id" = 854452366 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400049]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400049], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452366], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400049]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400052]] SQL (37.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400052 THEN 558400049 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400049]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400052]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400052 AND "spree_taxons"."taxonomy_id" = 854452366 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400052]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400052], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452366], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400052]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400053]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400053 THEN 558400052 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400052]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400053]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501363, 558400052)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501363, 558400053) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501363 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501363) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["option_type_id", 935339569], ["position", 1], ["product_id", 1060501363], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501363 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.419456' WHERE "spree_products"."id" = 1060501363 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501363], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.421207' WHERE "spree_products"."id" = 1060501363  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592060, 979460867) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501363]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501363 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501363 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.483533' WHERE "spree_products"."id" = 1060501363 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501363], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.484908' WHERE "spree_products"."id" = 1060501363  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592061, 979460868) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501363]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501363 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501363 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.495896' WHERE "spree_products"."id" = 1060501363 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501363], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.497901' WHERE "spree_products"."id" = 1060501363  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592062, 979460869) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501363]] Current value to assign : Current value to assign : Spree::Variant Load (1.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592060 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592061 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592062 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501363 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.570007' WHERE "spree_products"."id" = 1060501363  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592060 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.571388' WHERE "spree_products"."id" = 1060501363 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501363 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.572807' WHERE "spree_products"."id" = 1060501363  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592061 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.598250' WHERE "spree_products"."id" = 1060501363 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501363 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.600003' WHERE "spree_products"."id" = 1060501363  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592062 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.601036' WHERE "spree_products"."id" = 1060501363 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501363) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:11.604281' WHERE "spree_products"."id" = 1060501363 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501363 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.621637' WHERE "spree_products"."id" = 1060501364 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501364], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.623182' WHERE "spree_products"."id" = 1060501364  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592063 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.624725' WHERE "spree_products"."id" = 1060501364  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501364  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["product_id", nil], ["property_id", 905835559], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501364, "updated_at" = '2012-10-23 14:07:11.657214' WHERE "spree_product_properties"."id" = 1073273934 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["product_id", nil], ["property_id", 905835558], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501364, "updated_at" = '2012-10-23 14:07:11.661593' WHERE "spree_product_properties"."id" = 1073273935 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["product_id", nil], ["property_id", 905835560], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501364, "updated_at" = '2012-10-23 14:07:11.666853' WHERE "spree_product_properties"."id" = 1073273936 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452369 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452369], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501364 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501364, 558400054) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400049 AND "spree_taxons"."taxonomy_id" = 854452366 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400049]] SQL (1.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400049], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452366], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400049]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400055]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400055 THEN 558400049 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400049]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400055]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501364, 558400055)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501364, 558400049) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501364 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501364) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["option_type_id", 935339569], ["position", 1], ["product_id", 1060501364], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.789304' WHERE "spree_products"."id" = 1060501364 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501364], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.790975' WHERE "spree_products"."id" = 1060501364  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592064, 979460867) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501364]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501364 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.846377' WHERE "spree_products"."id" = 1060501364 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501364], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.847772' WHERE "spree_products"."id" = 1060501364  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592065, 979460868) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501364]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501364 AND "spree_option_types"."id" = 935339569 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339569 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.860508' WHERE "spree_products"."id" = 1060501364 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501364], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.862371' WHERE "spree_products"."id" = 1060501364  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592066, 979460869) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501364]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501364 AND "spree_option_types"."id" = 935339570 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501364) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["option_type_id", 935339570], ["position", 2], ["product_id", 1060501364], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339570 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339570) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339570], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.949006' WHERE "spree_products"."id" = 1060501364 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501364], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.951750' WHERE "spree_products"."id" = 1060501364  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592067, 979460870) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501364]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501364 AND "spree_option_types"."id" = 935339570 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339570 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339570) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00], ["name", "colour"], ["option_type_id", 935339570], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:11 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.964363' WHERE "spree_products"."id" = 1060501364 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501364], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:11.965733' WHERE "spree_products"."id" = 1060501364  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592068, 979460871) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501364]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592064 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592065 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592066 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592067 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592068 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.032067' WHERE "spree_products"."id" = 1060501364  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592064 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.033492' WHERE "spree_products"."id" = 1060501364 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.034890' WHERE "spree_products"."id" = 1060501364  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592065 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.040349' WHERE "spree_products"."id" = 1060501364 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.041862' WHERE "spree_products"."id" = 1060501364  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592066 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.042997' WHERE "spree_products"."id" = 1060501364 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.044429' WHERE "spree_products"."id" = 1060501364  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592067 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.045698' WHERE "spree_products"."id" = 1060501364 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501364 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.047111' WHERE "spree_products"."id" = 1060501364  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592068 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:12.048198' WHERE "spree_products"."id" = 1060501364 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501364) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:12.051679' WHERE "spree_products"."id" = 1060501364 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501364 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (47.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501362 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501364 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501364 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (2.4ms) SELECT COUNT(*) FROM "spree_products"   (900.4ms) begin transaction  (0.2ms) commit transaction SQL (46.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (4.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (48.3ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (27.1ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (5.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (23.7ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452370], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452370], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501365 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:13.952599' WHERE "spree_products"."id" = 1060501365 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501365], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:13.954521' WHERE "spree_products"."id" = 1060501365  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592069 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:13.957325' WHERE "spree_products"."id" = 1060501365  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501365  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["product_id", nil], ["property_id", 905835561], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501365, "updated_at" = '2012-10-23 14:07:13.966387' WHERE "spree_product_properties"."id" = 1073273937 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501365) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501365 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501365, 558400056) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452371 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452371], ["updated_at", Tue, 23 Oct 2012 14:07:13 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501365, 558400058) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501365) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (23.8ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501365 AND "spree_option_types"."id" = 935339571 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501365) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["option_type_id", 935339571], ["position", 1], ["product_id", 1060501365], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339571) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339571], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501365 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.082554' WHERE "spree_products"."id" = 1060501365 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501365], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.085212' WHERE "spree_products"."id" = 1060501365  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592070, 979460872) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339571) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339571], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501365 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.090841' WHERE "spree_products"."id" = 1060501365 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501365], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.099844' WHERE "spree_products"."id" = 1060501365  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592071, 979460873) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339571) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339571], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501365 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.105988' WHERE "spree_products"."id" = 1060501365 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501365], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.107556' WHERE "spree_products"."id" = 1060501365  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592072, 979460874) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501365]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501365) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592070 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592071 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592072 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (5.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501365) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501365 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.167623' WHERE "spree_products"."id" = 1060501365  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592070 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.168756' WHERE "spree_products"."id" = 1060501365 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501365 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.170357' WHERE "spree_products"."id" = 1060501365  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592071 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.171564' WHERE "spree_products"."id" = 1060501365 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501365 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.172570' WHERE "spree_products"."id" = 1060501365  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592072 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.173842' WHERE "spree_products"."id" = 1060501365 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501365) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:14.177316' WHERE "spree_products"."id" = 1060501365 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501365 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501366 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.197315' WHERE "spree_products"."id" = 1060501366 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501366], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.198782' WHERE "spree_products"."id" = 1060501366  (24.8ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592073 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.225206' WHERE "spree_products"."id" = 1060501366  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501366  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["product_id", nil], ["property_id", 905835562], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501366, "updated_at" = '2012-10-23 14:07:14.234490' WHERE "spree_product_properties"."id" = 1073273938 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501366) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501366 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501366, 558400056) Spree::Taxonomy Load (2.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452372 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452372], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501366, 558400059) Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400056 AND "spree_taxons"."taxonomy_id" = 854452370 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400056]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400056], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452370], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400056]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400060]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400060 THEN 558400056 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400056]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400060]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400060 AND "spree_taxons"."taxonomy_id" = 854452370 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400060]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400060], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452370], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400060]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400061]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400061 THEN 558400060 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400060]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400061]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501366, 558400060)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501366, 558400061) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501366) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501366 AND "spree_option_types"."id" = 935339571 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501366) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["option_type_id", 935339571], ["position", 1], ["product_id", 1060501366], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501366 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.307925' WHERE "spree_products"."id" = 1060501366 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501366], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.309414' WHERE "spree_products"."id" = 1060501366  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592074, 979460872) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501366 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.313291' WHERE "spree_products"."id" = 1060501366 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501366], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.340391' WHERE "spree_products"."id" = 1060501366  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592075, 979460873) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501366 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.343521' WHERE "spree_products"."id" = 1060501366 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501366], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.344943' WHERE "spree_products"."id" = 1060501366  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592076, 979460874) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501366]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501366) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592074 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592075 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592076 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501366) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.391394' WHERE "spree_products"."id" = 1060501366  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592074 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.392837' WHERE "spree_products"."id" = 1060501366 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501366 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.394342' WHERE "spree_products"."id" = 1060501366  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592075 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.395893' WHERE "spree_products"."id" = 1060501366 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501366 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.397403' WHERE "spree_products"."id" = 1060501366  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592076 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.398587' WHERE "spree_products"."id" = 1060501366 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501366) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:14.402045' WHERE "spree_products"."id" = 1060501366 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501366 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.416836' WHERE "spree_products"."id" = 1060501367 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501367], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.417836' WHERE "spree_products"."id" = 1060501367  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592077 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.419618' WHERE "spree_products"."id" = 1060501367  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501367  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["product_id", nil], ["property_id", 905835563], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["value", nil]]  (0.7ms) UPDATE "spree_product_properties" SET "product_id" = 1060501367, "updated_at" = '2012-10-23 14:07:14.449579' WHERE "spree_product_properties"."id" = 1073273939 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["product_id", nil], ["property_id", 905835562], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501367, "updated_at" = '2012-10-23 14:07:14.452615' WHERE "spree_product_properties"."id" = 1073273940 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["product_id", nil], ["property_id", 905835564], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501367, "updated_at" = '2012-10-23 14:07:14.456539' WHERE "spree_product_properties"."id" = 1073273941 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501367) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452373 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452373], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501367 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501367, 558400062) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400056 AND "spree_taxons"."taxonomy_id" = 854452370 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400056]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400056], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452370], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400056]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400063]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400063 THEN 558400056 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400056]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400063]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501367, 558400063)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501367, 558400056) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501367) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501367 AND "spree_option_types"."id" = 935339571 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501367) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["option_type_id", 935339571], ["position", 1], ["product_id", 1060501367], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.518433' WHERE "spree_products"."id" = 1060501367 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501367], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.520397' WHERE "spree_products"."id" = 1060501367  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592078, 979460872) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (43.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.523619' WHERE "spree_products"."id" = 1060501367 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501367], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.568601' WHERE "spree_products"."id" = 1060501367  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592079, 979460873) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339571 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.571896' WHERE "spree_products"."id" = 1060501367 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501367], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.573202' WHERE "spree_products"."id" = 1060501367  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592080, 979460874) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501367]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501367 AND "spree_option_types"."id" = 935339572 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501367) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["option_type_id", 935339572], ["position", 2], ["product_id", 1060501367], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339572 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339572) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339572], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]]  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.589600' WHERE "spree_products"."id" = 1060501367 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501367], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.591192' WHERE "spree_products"."id" = 1060501367  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592081, 979460875) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339572 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339572) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "colour"], ["option_type_id", 935339572], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]]  (23.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.620555' WHERE "spree_products"."id" = 1060501367 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501367], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.622350' WHERE "spree_products"."id" = 1060501367  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592082, 979460876) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501367]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501367) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592078 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592079 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592080 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592081 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592082 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501367) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.643730' WHERE "spree_products"."id" = 1060501367  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592078 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.673131' WHERE "spree_products"."id" = 1060501367 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.674788' WHERE "spree_products"."id" = 1060501367  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592079 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.675944' WHERE "spree_products"."id" = 1060501367 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.678664' WHERE "spree_products"."id" = 1060501367  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592080 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.679699' WHERE "spree_products"."id" = 1060501367 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.681149' WHERE "spree_products"."id" = 1060501367  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592081 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.682344' WHERE "spree_products"."id" = 1060501367 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501367 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.683595' WHERE "spree_products"."id" = 1060501367  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592082 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:14.684546' WHERE "spree_products"."id" = 1060501367 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501367) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:14.687829' WHERE "spree_products"."id" = 1060501367 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501367 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (31.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501366 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501367 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (2.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501365 ORDER BY spree_option_types.position Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592070 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592071 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339571 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592072 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (26.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (2.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (1.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452374], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452374], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501368 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.000821' WHERE "spree_products"."id" = 1060501368 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501368], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.002821' WHERE "spree_products"."id" = 1060501368  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592083 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.004273' WHERE "spree_products"."id" = 1060501368  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501368  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Created New Property # SQL (0.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["product_id", nil], ["property_id", 905835565], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501368, "updated_at" = '2012-10-23 14:07:15.038267' WHERE "spree_product_properties"."id" = 1073273942 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501368 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501368, 558400064) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452375], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501368, 558400066) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501368 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501368) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["option_type_id", 935339573], ["position", 1], ["product_id", 1060501368], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339573) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339573], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501368 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.176307' WHERE "spree_products"."id" = 1060501368 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501368], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.178262' WHERE "spree_products"."id" = 1060501368  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592084, 979460877) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501368]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501368 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339573) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339573], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501368 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.213170' WHERE "spree_products"."id" = 1060501368 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501368], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.214660' WHERE "spree_products"."id" = 1060501368  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592085, 979460878) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501368]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501368 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339573) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339573], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501368 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.272575' WHERE "spree_products"."id" = 1060501368 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501368], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.273814' WHERE "spree_products"."id" = 1060501368  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592086, 979460879) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501368]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592084 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592085 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592086 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1  (22.8ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501368 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.319602' WHERE "spree_products"."id" = 1060501368  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592084 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.321016' WHERE "spree_products"."id" = 1060501368 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501368 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.322149' WHERE "spree_products"."id" = 1060501368  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592085 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.323067' WHERE "spree_products"."id" = 1060501368 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501368 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.324479' WHERE "spree_products"."id" = 1060501368  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592086 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.325450' WHERE "spree_products"."id" = 1060501368 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501368) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:15.329082' WHERE "spree_products"."id" = 1060501368 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501368 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501369 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.342087' WHERE "spree_products"."id" = 1060501369 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501369], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.343634' WHERE "spree_products"."id" = 1060501369  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592087 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.345480' WHERE "spree_products"."id" = 1060501369  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501369  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (22.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["product_id", nil], ["property_id", 905835566], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501369, "updated_at" = '2012-10-23 14:07:15.376143' WHERE "spree_product_properties"."id" = 1073273943 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501369 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501369, 558400064) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452376 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452376], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501369, 558400067) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400064 AND "spree_taxons"."taxonomy_id" = 854452374 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400064]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400064], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452374], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400064]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400068]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400068 THEN 558400064 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400064]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400068]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400068 AND "spree_taxons"."taxonomy_id" = 854452374 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400068]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400068], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452374], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400068]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400069]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400069 THEN 558400068 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400068]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400069]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501369, 558400068)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501369, 558400069) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501369 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501369) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["option_type_id", 935339573], ["position", 1], ["product_id", 1060501369], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501369 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.557595' WHERE "spree_products"."id" = 1060501369 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501369], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.559300' WHERE "spree_products"."id" = 1060501369  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592088, 979460877) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501369]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501369 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501369 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.613365' WHERE "spree_products"."id" = 1060501369 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501369], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.615610' WHERE "spree_products"."id" = 1060501369  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592089, 979460878) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501369]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501369 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501369 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.625572' WHERE "spree_products"."id" = 1060501369 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501369], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.626804' WHERE "spree_products"."id" = 1060501369  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592090, 979460879) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501369]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592088 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592089 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592090 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501369 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.695396' WHERE "spree_products"."id" = 1060501369  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592088 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.696708' WHERE "spree_products"."id" = 1060501369 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501369 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.698374' WHERE "spree_products"."id" = 1060501369  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592089 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.699310' WHERE "spree_products"."id" = 1060501369 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501369 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.700985' WHERE "spree_products"."id" = 1060501369  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592090 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.701932' WHERE "spree_products"."id" = 1060501369 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501369) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:15.704752' WHERE "spree_products"."id" = 1060501369 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501369 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.718873' WHERE "spree_products"."id" = 1060501370 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501370], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.720802' WHERE "spree_products"."id" = 1060501370  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592091 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.721948' WHERE "spree_products"."id" = 1060501370  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501370  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["product_id", nil], ["property_id", 905835567], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["value", nil]]  (0.6ms) UPDATE "spree_product_properties" SET "product_id" = 1060501370, "updated_at" = '2012-10-23 14:07:15.752388' WHERE "spree_product_properties"."id" = 1073273944 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["product_id", nil], ["property_id", 905835566], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501370, "updated_at" = '2012-10-23 14:07:15.757607' WHERE "spree_product_properties"."id" = 1073273945 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["product_id", nil], ["property_id", 905835568], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501370, "updated_at" = '2012-10-23 14:07:15.763553' WHERE "spree_product_properties"."id" = 1073273946 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452377 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452377], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501370 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501370, 558400070) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400064 AND "spree_taxons"."taxonomy_id" = 854452374 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400064]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400064], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452374], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400064]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400071]] SQL (1.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400071 THEN 558400064 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400064]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400071]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501370, 558400071)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501370, 558400064) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501370 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501370) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["option_type_id", 935339573], ["position", 1], ["product_id", 1060501370], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.872851' WHERE "spree_products"."id" = 1060501370 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501370], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.874242' WHERE "spree_products"."id" = 1060501370  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592092, 979460877) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501370]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501370 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.928757' WHERE "spree_products"."id" = 1060501370 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501370], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.930548' WHERE "spree_products"."id" = 1060501370  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592093, 979460878) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501370]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501370 AND "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339573 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.941592' WHERE "spree_products"."id" = 1060501370 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501370], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:15.943295' WHERE "spree_products"."id" = 1060501370  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592094, 979460879) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501370]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501370 AND "spree_option_types"."id" = 935339574 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (22.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501370) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00], ["option_type_id", 935339574], ["position", 2], ["product_id", 1060501370], ["updated_at", Tue, 23 Oct 2012 14:07:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339574 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339574) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339574], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.005410' WHERE "spree_products"."id" = 1060501370 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501370], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.006611' WHERE "spree_products"."id" = 1060501370  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592095, 979460880) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501370]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501370 AND "spree_option_types"."id" = 935339574 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339574 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339574) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "colour"], ["option_type_id", 935339574], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.018517' WHERE "spree_products"."id" = 1060501370 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501370], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.019961' WHERE "spree_products"."id" = 1060501370  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592096, 979460881) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501370]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592092 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592093 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592094 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592095 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592096 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.089186' WHERE "spree_products"."id" = 1060501370  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592092 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.090099' WHERE "spree_products"."id" = 1060501370 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.092593' WHERE "spree_products"."id" = 1060501370  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592093 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.093582' WHERE "spree_products"."id" = 1060501370 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.095393' WHERE "spree_products"."id" = 1060501370  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592094 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.096538' WHERE "spree_products"."id" = 1060501370 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.097792' WHERE "spree_products"."id" = 1060501370  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592095 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.098576' WHERE "spree_products"."id" = 1060501370 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501370 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.099634' WHERE "spree_products"."id" = 1060501370  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592096 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.101038' WHERE "spree_products"."id" = 1060501370 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501370) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:16.104115' WHERE "spree_products"."id" = 1060501370 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501370 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (52.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501369 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501370 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501368 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592084 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592085 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339573 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592086 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.4ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (95.8ms) DELETE FROM "spree_taxons" SQL (35.6ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (1.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (4.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452378], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452378], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.5ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501371 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.540203' WHERE "spree_products"."id" = 1060501371 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501371], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.542662' WHERE "spree_products"."id" = 1060501371  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592097 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.544312' WHERE "spree_products"."id" = 1060501371  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501371  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["product_id", nil], ["property_id", 905835569], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501371, "updated_at" = '2012-10-23 14:07:16.583106' WHERE "spree_product_properties"."id" = 1073273947 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501371 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501371, 558400072) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452379 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452379], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501371, 558400074) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501371 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501371) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["option_type_id", 935339575], ["position", 1], ["product_id", 1060501371], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339575) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339575], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501371 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.620108' WHERE "spree_products"."id" = 1060501371 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501371], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.621779' WHERE "spree_products"."id" = 1060501371  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592098, 979460882) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501371]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501371 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339575) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339575], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501371 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.655778' WHERE "spree_products"."id" = 1060501371 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501371], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.657555' WHERE "spree_products"."id" = 1060501371  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592099, 979460883) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501371]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501371 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339575) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339575], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501371 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.670668' WHERE "spree_products"."id" = 1060501371 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501371], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.673109' WHERE "spree_products"."id" = 1060501371  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592100, 979460884) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501371]] Current value to assign : Current value to assign : Spree::Variant Load (1.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592098 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592099 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592100 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501371 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.753935' WHERE "spree_products"."id" = 1060501371  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592098 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.756053' WHERE "spree_products"."id" = 1060501371 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501371 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.757290' WHERE "spree_products"."id" = 1060501371  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592099 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.758241' WHERE "spree_products"."id" = 1060501371 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501371 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.759552' WHERE "spree_products"."id" = 1060501371  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592100 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.760493' WHERE "spree_products"."id" = 1060501371 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501371) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:16.763847' WHERE "spree_products"."id" = 1060501371 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501372 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.771992' WHERE "spree_products"."id" = 1060501372 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501372], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.774177' WHERE "spree_products"."id" = 1060501372  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592101 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.775238' WHERE "spree_products"."id" = 1060501372  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501372  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["product_id", nil], ["property_id", 905835570], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501372, "updated_at" = '2012-10-23 14:07:16.784280' WHERE "spree_product_properties"."id" = 1073273948 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501372 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501372, 558400072) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452380 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452380], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501372, 558400075) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400072 AND "spree_taxons"."taxonomy_id" = 854452378 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400072]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400072], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452378], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400072]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400076]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400076 THEN 558400072 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400072]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400076]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400076 AND "spree_taxons"."taxonomy_id" = 854452378 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400076]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400076], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452378], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400076]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400077]] SQL (0.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400077 THEN 558400076 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400076]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400077]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501372, 558400076)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501372, 558400077) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501372 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501372) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["option_type_id", 935339575], ["position", 1], ["product_id", 1060501372], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501372 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.829273' WHERE "spree_products"."id" = 1060501372 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501372], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.830773' WHERE "spree_products"."id" = 1060501372  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592102, 979460882) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501372]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501372 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501372 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.839372' WHERE "spree_products"."id" = 1060501372 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501372], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.840773' WHERE "spree_products"."id" = 1060501372  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592103, 979460883) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501372]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501372 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501372 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.850228' WHERE "spree_products"."id" = 1060501372 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501372], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.851509' WHERE "spree_products"."id" = 1060501372  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592104, 979460884) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501372]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592102 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592103 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592104 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501372 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.871566' WHERE "spree_products"."id" = 1060501372  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592102 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.872772' WHERE "spree_products"."id" = 1060501372 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501372 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.874845' WHERE "spree_products"."id" = 1060501372  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592103 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.876246' WHERE "spree_products"."id" = 1060501372 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501372 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.877713' WHERE "spree_products"."id" = 1060501372  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592104 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.878772' WHERE "spree_products"."id" = 1060501372 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501372) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:16.881697' WHERE "spree_products"."id" = 1060501372 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.890487' WHERE "spree_products"."id" = 1060501373 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501373], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.892137' WHERE "spree_products"."id" = 1060501373  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592105 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.893741' WHERE "spree_products"."id" = 1060501373  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501373  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["product_id", nil], ["property_id", 905835571], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501373, "updated_at" = '2012-10-23 14:07:16.900262' WHERE "spree_product_properties"."id" = 1073273949 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["product_id", nil], ["property_id", 905835570], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501373, "updated_at" = '2012-10-23 14:07:16.903771' WHERE "spree_product_properties"."id" = 1073273950 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["product_id", nil], ["property_id", 905835572], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501373, "updated_at" = '2012-10-23 14:07:16.908218' WHERE "spree_product_properties"."id" = 1073273951 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452381 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452381], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501373 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501373, 558400078) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400072 AND "spree_taxons"."taxonomy_id" = 854452378 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400072]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400072], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452378], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400072]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400079]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400079 THEN 558400072 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400072]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400079]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501373, 558400079)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501373, 558400072) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501373 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501373) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00], ["option_type_id", 935339575], ["position", 1], ["product_id", 1060501373], ["updated_at", Tue, 23 Oct 2012 14:07:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.974769' WHERE "spree_products"."id" = 1060501373 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501373], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.977104' WHERE "spree_products"."id" = 1060501373  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592106, 979460882) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501373]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501373 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.986483' WHERE "spree_products"."id" = 1060501373 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501373], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.988169' WHERE "spree_products"."id" = 1060501373  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592107, 979460883) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501373]] Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501373 AND "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339575 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.996750' WHERE "spree_products"."id" = 1060501373 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501373], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:16.998236' WHERE "spree_products"."id" = 1060501373  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592108, 979460884) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501373]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501373 AND "spree_option_types"."id" = 935339576 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501373) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339576], ["position", 2], ["product_id", 1060501373], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (1.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339576 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339576) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339576], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.015499' WHERE "spree_products"."id" = 1060501373 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501373], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.017098' WHERE "spree_products"."id" = 1060501373  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592109, 979460885) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501373]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501373 AND "spree_option_types"."id" = 935339576 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339576 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339576) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "colour"], ["option_type_id", 935339576], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.053901' WHERE "spree_products"."id" = 1060501373 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501373], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.055706' WHERE "spree_products"."id" = 1060501373  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592110, 979460886) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501373]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592106 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592107 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592108 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592109 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592110 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.077196' WHERE "spree_products"."id" = 1060501373  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592106 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.078521' WHERE "spree_products"."id" = 1060501373 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.081555' WHERE "spree_products"."id" = 1060501373  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592107 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.082924' WHERE "spree_products"."id" = 1060501373 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.084097' WHERE "spree_products"."id" = 1060501373  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592108 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.085476' WHERE "spree_products"."id" = 1060501373 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.086610' WHERE "spree_products"."id" = 1060501373  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592109 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.088052' WHERE "spree_products"."id" = 1060501373 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501373 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.089192' WHERE "spree_products"."id" = 1060501373  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592110 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.090403' WHERE "spree_products"."id" = 1060501373 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501373) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:17.094156' WHERE "spree_products"."id" = 1060501373  (5.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501372 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501371 ORDER BY spree_option_types.position Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592098 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592099 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339575 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592100 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (23.7ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452382 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452382], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452382], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501374 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.212111' WHERE "spree_products"."id" = 1060501374 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501374], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.214358' WHERE "spree_products"."id" = 1060501374  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592111 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.215763' WHERE "spree_products"."id" = 1060501374  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501374  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Exists (21.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501374 AND "spree_option_types"."id" = 935339577 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501374) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339577], ["position", 1], ["product_id", 1060501374], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Load (20.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501374 AND "spree_option_types"."id" = 935339578 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501374) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339578], ["position", 2], ["product_id", 1060501374], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339577) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339577], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339578 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339578) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "colour"], ["option_type_id", 935339578], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501374 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.283722' WHERE "spree_products"."id" = 1060501374 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501374], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.284761' WHERE "spree_products"."id" = 1060501374  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592112, 979460887)  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592112, 979460888) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339577) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339577], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339578 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501374 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.312761' WHERE "spree_products"."id" = 1060501374 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501374], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.314417' WHERE "spree_products"."id" = 1060501374  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592113, 979460889)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592113, 979460888) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501374]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501374) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501374 AND "spree_option_types"."id" = 935339577 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339577) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339577], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501374 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.329636' WHERE "spree_products"."id" = 1060501374 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501374], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.331217' WHERE "spree_products"."id" = 1060501374  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592114, 979460890) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501374]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501374) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592112 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592113 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592114 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501374) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501374 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.407491' WHERE "spree_products"."id" = 1060501374  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592112 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.408740' WHERE "spree_products"."id" = 1060501374 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501374 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.410350' WHERE "spree_products"."id" = 1060501374  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592113 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.411471' WHERE "spree_products"."id" = 1060501374 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501374 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.412757' WHERE "spree_products"."id" = 1060501374  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592114 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.414483' WHERE "spree_products"."id" = 1060501374 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501374) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:17.417602' WHERE "spree_products"."id" = 1060501374 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501375 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.427068' WHERE "spree_products"."id" = 1060501375 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501375], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.428688' WHERE "spree_products"."id" = 1060501375  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592115 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.430325' WHERE "spree_products"."id" = 1060501375  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501375  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501375 AND "spree_option_types"."id" = 935339577 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501375) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339577], ["position", 1], ["product_id", 1060501375], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501375 AND "spree_option_types"."id" = 935339578 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501375) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339578], ["position", 2], ["product_id", 1060501375], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339578 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339578) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339578], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501375 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.447869' WHERE "spree_products"."id" = 1060501375 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501375], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.449139' WHERE "spree_products"."id" = 1060501375  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592116, 979460891)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592116, 979460887) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501375]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501375) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501375 AND "spree_option_types"."id" = 935339577 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501375 AND "spree_option_types"."id" = 935339578 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339578 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.462382' WHERE "spree_products"."id" = 1060501375 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501375], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.463641' WHERE "spree_products"."id" = 1060501375  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592117, 979460891)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592117, 979460890) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501375]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501375) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592116 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592117 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501375) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501375 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.477321' WHERE "spree_products"."id" = 1060501375  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592116 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.478914' WHERE "spree_products"."id" = 1060501375 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501375 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.480285' WHERE "spree_products"."id" = 1060501375  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592117 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.481251' WHERE "spree_products"."id" = 1060501375 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501375) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 14:07:17.484021' WHERE "spree_products"."id" = 1060501375 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501376 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.492880' WHERE "spree_products"."id" = 1060501376 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501376], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.494432' WHERE "spree_products"."id" = 1060501376  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592118 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.496079' WHERE "spree_products"."id" = 1060501376  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501376  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501376 AND "spree_option_types"."id" = 935339577 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501376) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339577], ["position", 1], ["product_id", 1060501376], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501376 AND "spree_option_types"."id" = 935339578 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501376) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339578], ["position", 2], ["product_id", 1060501376], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501376 AND "spree_option_types"."id" = 935339579 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501376) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339579], ["position", 3], ["product_id", 1060501376], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339578 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339579 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339579) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "large"], ["option_type_id", 935339579], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501376 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.521512' WHERE "spree_products"."id" = 1060501376 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501376], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.523351' WHERE "spree_products"."id" = 1060501376  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592119, 979460888)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592119, 979460892)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592119, 979460887) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339578 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339578) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339578], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339579 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501376 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.529566' WHERE "spree_products"."id" = 1060501376 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501376], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.530508' WHERE "spree_products"."id" = 1060501376  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592120, 979460893)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592120, 979460892)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592120, 979460887) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501376]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501376 AND "spree_option_types"."id" = 935339577 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501376 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.561276' WHERE "spree_products"."id" = 1060501376 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501376], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.562700' WHERE "spree_products"."id" = 1060501376  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592121, 979460890) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501376]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501376) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501376 AND "spree_option_types"."id" = 935339577 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339577 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501376 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.571497' WHERE "spree_products"."id" = 1060501376 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501376], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.573289' WHERE "spree_products"."id" = 1060501376  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592122, 979460889) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501376]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501376 AND "spree_option_types"."id" = 935339578 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339578 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501376 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.581754' WHERE "spree_products"."id" = 1060501376 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501376], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.583119' WHERE "spree_products"."id" = 1060501376  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592123, 979460891) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501376]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501376) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501376) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (4.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (21.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501374 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592112 Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (1.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (22.7ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.716100' WHERE "spree_products"."id" = 1060501377 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501377], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.717750' WHERE "spree_products"."id" = 1060501377  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592124 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.720129' WHERE "spree_products"."id" = 1060501377  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501377  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["product_id", nil], ["property_id", 905835573], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501377, "updated_at" = '2012-10-23 14:07:17.747157' WHERE "spree_product_properties"."id" = 1073273952 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501377) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452383 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452383], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501377 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501377, 558400082) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452384 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452384], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501377, 558400083) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501377) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501377 AND "spree_option_types"."id" = 935339580 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501377) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["option_type_id", 935339580], ["position", 1], ["product_id", 1060501377], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339580) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339580], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.786089' WHERE "spree_products"."id" = 1060501377 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501377], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.787493' WHERE "spree_products"."id" = 1060501377  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592125, 979460894) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339580) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339580], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.811509' WHERE "spree_products"."id" = 1060501377 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501377], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.812869' WHERE "spree_products"."id" = 1060501377  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592126, 979460895) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339580) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339580], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.818655' WHERE "spree_products"."id" = 1060501377 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501377], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.820121' WHERE "spree_products"."id" = 1060501377  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592127, 979460896) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501377]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501377) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592125 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592126 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592127 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501377) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.837891' WHERE "spree_products"."id" = 1060501377  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592125 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.839307' WHERE "spree_products"."id" = 1060501377 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.840722' WHERE "spree_products"."id" = 1060501377  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592126 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.841873' WHERE "spree_products"."id" = 1060501377 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.843081' WHERE "spree_products"."id" = 1060501377  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592127 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:17.844081' WHERE "spree_products"."id" = 1060501377 Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:17 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592124, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1291 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501377 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.646276' WHERE "spree_products"."id" = 1060501377  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501377 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501377) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:18.681616' WHERE "spree_products"."id" = 1060501377 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.698719' WHERE "spree_products"."id" = 1060501378 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501378], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.700860' WHERE "spree_products"."id" = 1060501378  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592128 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.702724' WHERE "spree_products"."id" = 1060501378  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501378  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["product_id", nil], ["property_id", 905835574], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501378, "updated_at" = '2012-10-23 14:07:18.713724' WHERE "spree_product_properties"."id" = 1073273953 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501378) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452383 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501378 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501378, 558400082) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452385 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452385], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501378, 558400084) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452386 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452386], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501378, 558400085) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501378) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501378 AND "spree_option_types"."id" = 935339580 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501378) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["option_type_id", 935339580], ["position", 1], ["product_id", 1060501378], ["updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.747118' WHERE "spree_products"."id" = 1060501378 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501378], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.748509' WHERE "spree_products"."id" = 1060501378  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592129, 979460894) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.751656' WHERE "spree_products"."id" = 1060501378 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501378], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.752983' WHERE "spree_products"."id" = 1060501378  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592130, 979460895) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.755947' WHERE "spree_products"."id" = 1060501378 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501378], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.757947' WHERE "spree_products"."id" = 1060501378  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592131, 979460896) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501378]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501378) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592129 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592130 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592131 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501378) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.772563' WHERE "spree_products"."id" = 1060501378  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592129 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.775712' WHERE "spree_products"."id" = 1060501378 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.777002' WHERE "spree_products"."id" = 1060501378  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592130 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.777945' WHERE "spree_products"."id" = 1060501378 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.779151' WHERE "spree_products"."id" = 1060501378  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592131 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:18.780286' WHERE "spree_products"."id" = 1060501378 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:18 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592128, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1292 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501378 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.075314' WHERE "spree_products"."id" = 1060501378  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501378 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501378) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:23.113751' WHERE "spree_products"."id" = 1060501378 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.142609' WHERE "spree_products"."id" = 1060501379 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501379], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.144283' WHERE "spree_products"."id" = 1060501379  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592132 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.146609' WHERE "spree_products"."id" = 1060501379  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (4.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501379  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["product_id", nil], ["property_id", 905835575], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501379, "updated_at" = '2012-10-23 14:07:23.160608' WHERE "spree_product_properties"."id" = 1073273954 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["product_id", nil], ["property_id", 905835574], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501379, "updated_at" = '2012-10-23 14:07:23.166578' WHERE "spree_product_properties"."id" = 1073273955 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["product_id", nil], ["property_id", 905835576], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501379, "updated_at" = '2012-10-23 14:07:23.171742' WHERE "spree_product_properties"."id" = 1073273956 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501379) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452387 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452387], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501379 Product assigned to Taxons : ["Drawings"]  (2.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501379, 558400086) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501379) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501379 AND "spree_option_types"."id" = 935339580 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501379) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["option_type_id", 935339580], ["position", 1], ["product_id", 1060501379], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.212518' WHERE "spree_products"."id" = 1060501379 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501379], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.214208' WHERE "spree_products"."id" = 1060501379  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592133, 979460894) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.217328' WHERE "spree_products"."id" = 1060501379 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501379], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.218815' WHERE "spree_products"."id" = 1060501379  (10.8ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592134, 979460895) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339580 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.232933' WHERE "spree_products"."id" = 1060501379 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501379], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.234581' WHERE "spree_products"."id" = 1060501379  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592135, 979460896) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501379]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501379 AND "spree_option_types"."id" = 935339581 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501379) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["option_type_id", 935339581], ["position", 2], ["product_id", 1060501379], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339581 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339581) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339581], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.255064' WHERE "spree_products"."id" = 1060501379 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501379], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.278893' WHERE "spree_products"."id" = 1060501379  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592136, 979460897) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339581 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339581) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["name", "colour"], ["option_type_id", 935339581], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (7.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.286307' WHERE "spree_products"."id" = 1060501379 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501379], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.295673' WHERE "spree_products"."id" = 1060501379  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592137, 979460898) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501379]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501379) LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592133 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592134 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592135 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592136 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592137 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501379) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.330452' WHERE "spree_products"."id" = 1060501379  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592133 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.332100' WHERE "spree_products"."id" = 1060501379 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.333427' WHERE "spree_products"."id" = 1060501379  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592134 SQL (8.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.334435' WHERE "spree_products"."id" = 1060501379 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.344525' WHERE "spree_products"."id" = 1060501379  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592135 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.345603' WHERE "spree_products"."id" = 1060501379 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.346932' WHERE "spree_products"."id" = 1060501379  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592136 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.347982' WHERE "spree_products"."id" = 1060501379 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.349104' WHERE "spree_products"."id" = 1060501379  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592137 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:23.350450' WHERE "spree_products"."id" = 1060501379 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:23 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592132, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1293 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501379 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:24.776821' WHERE "spree_products"."id" = 1060501379  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501379 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501379) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:24.834946' WHERE "spree_products"."id" = 1060501379  (5.7ms) commit transaction  (1.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592124) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501377)) Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592124 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501377 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592124) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501377)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501378 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592128) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501378)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501379 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592132) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501379)) SQL (3.4ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (34.1ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (108.9ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.175006' WHERE "spree_products"."id" = 1060501380 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501380], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.177475' WHERE "spree_products"."id" = 1060501380  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592138 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.179900' WHERE "spree_products"."id" = 1060501380  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501380  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["product_id", nil], ["property_id", 905835577], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501380, "updated_at" = '2012-10-23 14:07:25.188555' WHERE "spree_product_properties"."id" = 1073273957 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501380) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452388 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452388], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::Taxon Load (33.9ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501380 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501380, 558400087) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452389 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452389], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501380, 558400088) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501380) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501380 AND "spree_option_types"."id" = 935339582 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501380) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["option_type_id", 935339582], ["position", 1], ["product_id", 1060501380], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339582) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339582], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.261994' WHERE "spree_products"."id" = 1060501380 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501380], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.263530' WHERE "spree_products"."id" = 1060501380  (29.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592139, 979460899) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339582) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339582], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.299197' WHERE "spree_products"."id" = 1060501380 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501380], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.300968' WHERE "spree_products"."id" = 1060501380  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592140, 979460900) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339582) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339582], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.307622' WHERE "spree_products"."id" = 1060501380 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501380], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.309266' WHERE "spree_products"."id" = 1060501380  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592141, 979460901) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501380]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501380) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592139 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592140 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592141 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501380) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.327315' WHERE "spree_products"."id" = 1060501380  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592139 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.329286' WHERE "spree_products"."id" = 1060501380 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.352551' WHERE "spree_products"."id" = 1060501380  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592140 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.353848' WHERE "spree_products"."id" = 1060501380 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.355752' WHERE "spree_products"."id" = 1060501380  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592141 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:25.356735' WHERE "spree_products"."id" = 1060501380 Spree::Asset Load (3.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:25 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592138, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1294 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501380 LIMIT 1 SQL (4.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.085253' WHERE "spree_products"."id" = 1060501380  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501380 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501380) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:26.130531' WHERE "spree_products"."id" = 1060501380 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501380 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.151468' WHERE "spree_products"."id" = 1060501381 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501381], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.153228' WHERE "spree_products"."id" = 1060501381  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592142 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.154943' WHERE "spree_products"."id" = 1060501381  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501381  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["product_id", nil], ["property_id", 905835578], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501381, "updated_at" = '2012-10-23 14:07:26.191761' WHERE "spree_product_properties"."id" = 1073273958 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501381) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452388 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501381 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501381, 558400087) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452390 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452390], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501381, 558400089) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452391 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452391], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501381, 558400090) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501381) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501381 AND "spree_option_types"."id" = 935339582 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501381) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["option_type_id", 935339582], ["position", 1], ["product_id", 1060501381], ["updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.258349' WHERE "spree_products"."id" = 1060501381 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501381], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.260115' WHERE "spree_products"."id" = 1060501381  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592143, 979460899) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.263627' WHERE "spree_products"."id" = 1060501381 SQL (26.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501381], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.383829' WHERE "spree_products"."id" = 1060501381  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592144, 979460900) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.388879' WHERE "spree_products"."id" = 1060501381 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501381], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.391391' WHERE "spree_products"."id" = 1060501381  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592145, 979460901) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501381]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501381) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592143 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592144 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592145 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501381) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.411400' WHERE "spree_products"."id" = 1060501381  (28.3ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592143 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.441267' WHERE "spree_products"."id" = 1060501381 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.442972' WHERE "spree_products"."id" = 1060501381  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592144 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.444159' WHERE "spree_products"."id" = 1060501381 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.446301' WHERE "spree_products"."id" = 1060501381  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592145 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:26.447404' WHERE "spree_products"."id" = 1060501381 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:26 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592142, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1295 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501381 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:30.893566' WHERE "spree_products"."id" = 1060501381  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501381 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501381) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:30.905538' WHERE "spree_products"."id" = 1060501381 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501381 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:30.952081' WHERE "spree_products"."id" = 1060501382 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501382], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:30.953926' WHERE "spree_products"."id" = 1060501382  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592146 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:30.979250' WHERE "spree_products"."id" = 1060501382  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501382  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["product_id", nil], ["property_id", 905835579], ["updated_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501382, "updated_at" = '2012-10-23 14:07:30.989404' WHERE "spree_product_properties"."id" = 1073273959 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["product_id", nil], ["property_id", 905835578], ["updated_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501382, "updated_at" = '2012-10-23 14:07:30.995746' WHERE "spree_product_properties"."id" = 1073273960 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00]] Created New Property # SQL (0.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["product_id", nil], ["property_id", 905835580], ["updated_at", Tue, 23 Oct 2012 14:07:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501382, "updated_at" = '2012-10-23 14:07:31.001033' WHERE "spree_product_properties"."id" = 1073273961 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501382) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452392 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452392], ["updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501382 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501382, 558400091) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501382) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501382 AND "spree_option_types"."id" = 935339582 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501382) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["option_type_id", 935339582], ["position", 1], ["product_id", 1060501382], ["updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.053573' WHERE "spree_products"."id" = 1060501382 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501382], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.066470' WHERE "spree_products"."id" = 1060501382  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592147, 979460899) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.069974' WHERE "spree_products"."id" = 1060501382 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501382], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.071402' WHERE "spree_products"."id" = 1060501382  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592148, 979460900) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339582 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (10.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.075079' WHERE "spree_products"."id" = 1060501382 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501382], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.086921' WHERE "spree_products"."id" = 1060501382  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592149, 979460901) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501382]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501382 AND "spree_option_types"."id" = 935339583 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501382) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["option_type_id", 935339583], ["position", 2], ["product_id", 1060501382], ["updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339583 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339583) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339583], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.106105' WHERE "spree_products"."id" = 1060501382 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501382], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.107571' WHERE "spree_products"."id" = 1060501382  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592150, 979460902) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339583 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339583) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["name", "colour"], ["option_type_id", 935339583], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.136971' WHERE "spree_products"."id" = 1060501382 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501382], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.140078' WHERE "spree_products"."id" = 1060501382  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592151, 979460903) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501382]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501382) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592147 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592148 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592149 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592150 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592151 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501382) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.188340' WHERE "spree_products"."id" = 1060501382  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592147 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.189715' WHERE "spree_products"."id" = 1060501382 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.191373' WHERE "spree_products"."id" = 1060501382  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592148 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.192399' WHERE "spree_products"."id" = 1060501382 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.193879' WHERE "spree_products"."id" = 1060501382  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592149 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.195151' WHERE "spree_products"."id" = 1060501382 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.196835' WHERE "spree_products"."id" = 1060501382  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592150 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.198695' WHERE "spree_products"."id" = 1060501382 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.200632' WHERE "spree_products"."id" = 1060501382  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592151 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:31.201905' WHERE "spree_products"."id" = 1060501382 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592146, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1296 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501382 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:32.359512' WHERE "spree_products"."id" = 1060501382  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501382 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501382) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:32.371303' WHERE "spree_products"."id" = 1060501382 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501382 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (64.9ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592138) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501380)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501380 AND ("spree_variants".is_master = 't') LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592138) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501380)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501381 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592142) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501381)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501382 AND ("spree_variants".is_master = 't') LIMIT 1  (1.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592146) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501382))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (9.5ms) DELETE FROM "spree_products" SQL (2.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (27.7ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:32.870045' WHERE "spree_products"."id" = 1060501383 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501383], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:32.871631' WHERE "spree_products"."id" = 1060501383  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592152 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:32.873355' WHERE "spree_products"."id" = 1060501383  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501383  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["product_id", nil], ["property_id", 905835581], ["updated_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501383, "updated_at" = '2012-10-23 14:07:32.904570' WHERE "spree_product_properties"."id" = 1073273962 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501383) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452393 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452393], ["updated_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501383 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501383, 558400092) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452394 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452394], ["updated_at", Tue, 23 Oct 2012 14:07:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501383, 558400093) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501383) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501383 AND "spree_option_types"."id" = 935339584 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501383) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["option_type_id", 935339584], ["position", 1], ["product_id", 1060501383], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339584) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339584], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.060498' WHERE "spree_products"."id" = 1060501383 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501383], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.062114' WHERE "spree_products"."id" = 1060501383  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592153, 979460904) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339584) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339584], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (23.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.067151' WHERE "spree_products"."id" = 1060501383 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501383], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.092175' WHERE "spree_products"."id" = 1060501383  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592154, 979460905) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339584) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339584], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.154653' WHERE "spree_products"."id" = 1060501383 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501383], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.156105' WHERE "spree_products"."id" = 1060501383  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592155, 979460906) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501383]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501383) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592153 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592154 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592155 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501383) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.173677' WHERE "spree_products"."id" = 1060501383  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592153 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.174782' WHERE "spree_products"."id" = 1060501383 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.176097' WHERE "spree_products"."id" = 1060501383  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592154 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.177347' WHERE "spree_products"."id" = 1060501383 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.200806' WHERE "spree_products"."id" = 1060501383  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592155 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.202019' WHERE "spree_products"."id" = 1060501383 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501383) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:33.205347' WHERE "spree_products"."id" = 1060501383 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501383 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.217747' WHERE "spree_products"."id" = 1060501384 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501384], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.219436' WHERE "spree_products"."id" = 1060501384  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592156 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.221115' WHERE "spree_products"."id" = 1060501384  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501384  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["product_id", nil], ["property_id", 905835582], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501384, "updated_at" = '2012-10-23 14:07:33.252205' WHERE "spree_product_properties"."id" = 1073273963 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501384) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452393 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501384 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501384, 558400092) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452395 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452395], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501384, 558400094) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452393 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400092 AND "spree_taxons"."taxonomy_id" = 854452393 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400092]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400092], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452393], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400092]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400095]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400095 THEN 558400092 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400092]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400095]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400095 AND "spree_taxons"."taxonomy_id" = 854452393 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400095]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400095], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452393], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400095]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400096]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400096 THEN 558400095 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400095]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400096]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501384, 558400095)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501384, 558400096) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501384) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501384 AND "spree_option_types"."id" = 935339584 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501384) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["option_type_id", 935339584], ["position", 1], ["product_id", 1060501384], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.329474' WHERE "spree_products"."id" = 1060501384 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501384], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.331163' WHERE "spree_products"."id" = 1060501384  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592157, 979460904) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.334343' WHERE "spree_products"."id" = 1060501384 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501384], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.336156' WHERE "spree_products"."id" = 1060501384  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592158, 979460905) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.366293' WHERE "spree_products"."id" = 1060501384 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501384], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.367835' WHERE "spree_products"."id" = 1060501384  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592159, 979460906) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501384]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501384) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592157 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592158 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592159 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501384) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (26.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.387828' WHERE "spree_products"."id" = 1060501384  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592157 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.415841' WHERE "spree_products"."id" = 1060501384 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.417561' WHERE "spree_products"."id" = 1060501384  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592158 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.418715' WHERE "spree_products"."id" = 1060501384 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.420130' WHERE "spree_products"."id" = 1060501384  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592159 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.421165' WHERE "spree_products"."id" = 1060501384 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501384) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:33.424065' WHERE "spree_products"."id" = 1060501384 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501384 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.437899' WHERE "spree_products"."id" = 1060501385 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501385], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.440795' WHERE "spree_products"."id" = 1060501385  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592160 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.442327' WHERE "spree_products"."id" = 1060501385  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501385  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["product_id", nil], ["property_id", 905835583], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501385, "updated_at" = '2012-10-23 14:07:33.470340' WHERE "spree_product_properties"."id" = 1073273964 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["product_id", nil], ["property_id", 905835582], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501385, "updated_at" = '2012-10-23 14:07:33.473790' WHERE "spree_product_properties"."id" = 1073273965 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["product_id", nil], ["property_id", 905835584], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501385, "updated_at" = '2012-10-23 14:07:33.477564' WHERE "spree_product_properties"."id" = 1073273966 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501385) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452396 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452396], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501385 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501385, 558400097) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452393 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400092 AND "spree_taxons"."taxonomy_id" = 854452393 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400092]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400092], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452393], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400092]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400098]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400098 THEN 558400092 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (24.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400092]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400098]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501385, 558400098)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501385, 558400092) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501385) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501385 AND "spree_option_types"."id" = 935339584 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501385) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["option_type_id", 935339584], ["position", 1], ["product_id", 1060501385], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.539203' WHERE "spree_products"."id" = 1060501385 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501385], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.540807' WHERE "spree_products"."id" = 1060501385  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592161, 979460904) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (26.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.544101' WHERE "spree_products"."id" = 1060501385 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501385], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.571776' WHERE "spree_products"."id" = 1060501385  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592162, 979460905) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339584 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.575022' WHERE "spree_products"."id" = 1060501385 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501385], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.576337' WHERE "spree_products"."id" = 1060501385  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592163, 979460906) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501385]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501385 AND "spree_option_types"."id" = 935339585 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501385) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["option_type_id", 935339585], ["position", 2], ["product_id", 1060501385], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339585 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339585) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339585], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.591613' WHERE "spree_products"."id" = 1060501385 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501385], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.593022' WHERE "spree_products"."id" = 1060501385  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592164, 979460907) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339585 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339585) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["name", "colour"], ["option_type_id", 935339585], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (23.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.600222' WHERE "spree_products"."id" = 1060501385 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501385], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.625079' WHERE "spree_products"."id" = 1060501385  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592165, 979460908) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501385]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501385) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592161 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592162 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592163 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592164 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592165 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501385) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.644956' WHERE "spree_products"."id" = 1060501385  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592161 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.670302' WHERE "spree_products"."id" = 1060501385 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.672198' WHERE "spree_products"."id" = 1060501385  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592162 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.673324' WHERE "spree_products"."id" = 1060501385 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.674651' WHERE "spree_products"."id" = 1060501385  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592163 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.676334' WHERE "spree_products"."id" = 1060501385 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.679188' WHERE "spree_products"."id" = 1060501385  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592164 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.680334' WHERE "spree_products"."id" = 1060501385 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.681810' WHERE "spree_products"."id" = 1060501385  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592165 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:33.683035' WHERE "spree_products"."id" = 1060501385 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501385) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:33.686787' WHERE "spree_products"."id" = 1060501385 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501385 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (47.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592160) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501385)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:33 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592152, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1297 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501383 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:34.541583' WHERE "spree_products"."id" = 1060501383  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501383 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:34.549312' WHERE "spree_products"."id" = 1060501383 SQL (0.8ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501383 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013592152 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:34 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592156, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1298 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501384 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:39.005917' WHERE "spree_products"."id" = 1060501384  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501384 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:39.012866' WHERE "spree_products"."id" = 1060501384 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501384 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013592156 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:39 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592160, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1299 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501385 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.085167' WHERE "spree_products"."id" = 1060501385  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501385 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.093900' WHERE "spree_products"."id" = 1060501385 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501385 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013592160  (5.6ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501383 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592152) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501383)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501384 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592156) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501384)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501385 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592160) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501385)) SQL (3.2ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (23.0ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.9ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (3.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501386 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.691585' WHERE "spree_products"."id" = 1060501386 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501386], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.693580' WHERE "spree_products"."id" = 1060501386  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592166 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.695732' WHERE "spree_products"."id" = 1060501386  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501386  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Created New Property # SQL (8.8ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["product_id", nil], ["property_id", 905835585], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501386, "updated_at" = '2012-10-23 14:07:40.714053' WHERE "spree_product_properties"."id" = 1073273967 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501386) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452397 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452397], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501386 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501386, 558400099) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452398 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452398], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501386, 558400100) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501386) LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501386 AND "spree_option_types"."id" = 935339586 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501386) ORDER BY position DESC LIMIT 1 SQL (24.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["option_type_id", 935339586], ["position", 1], ["product_id", 1060501386], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339586) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339586], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501386 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.873948' WHERE "spree_products"."id" = 1060501386 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501386], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.875705' WHERE "spree_products"."id" = 1060501386  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592167, 979460909) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339586) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339586], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501386 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.881067' WHERE "spree_products"."id" = 1060501386 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501386], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.882887' WHERE "spree_products"."id" = 1060501386  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592168, 979460910) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339586) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339586], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501386 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.889424' WHERE "spree_products"."id" = 1060501386 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501386], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.890705' WHERE "spree_products"."id" = 1060501386  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592169, 979460911) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501386]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (2.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501386) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592167 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592168 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592169 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501386) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501386 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.939962' WHERE "spree_products"."id" = 1060501386  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592167 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.941145' WHERE "spree_products"."id" = 1060501386 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501386 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.942906' WHERE "spree_products"."id" = 1060501386  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592168 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.944011' WHERE "spree_products"."id" = 1060501386 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501386 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.945892' WHERE "spree_products"."id" = 1060501386  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592169 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.948988' WHERE "spree_products"."id" = 1060501386 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501386) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:40.953694' WHERE "spree_products"."id" = 1060501386 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501386 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (1.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501387 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.970656' WHERE "spree_products"."id" = 1060501387 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501387], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.972125' WHERE "spree_products"."id" = 1060501387  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592170 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:40.973935' WHERE "spree_products"."id" = 1060501387  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501387  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["product_id", nil], ["property_id", 905835586], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501387, "updated_at" = '2012-10-23 14:07:41.008283' WHERE "spree_product_properties"."id" = 1073273968 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501387) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452397 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501387 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501387, 558400099) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452399 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452399], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501387, 558400101) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452397 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400099 AND "spree_taxons"."taxonomy_id" = 854452397 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400099]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400099], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452397], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400099]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400102]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400102 THEN 558400099 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400099]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400102]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400102 AND "spree_taxons"."taxonomy_id" = 854452397 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400102]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400102], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452397], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400102]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400103]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400103 THEN 558400102 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400102]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400103]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501387, 558400102)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501387, 558400103) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501387) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501387 AND "spree_option_types"."id" = 935339586 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501387) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["option_type_id", 935339586], ["position", 1], ["product_id", 1060501387], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::Product Load (4.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501387 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.085982' WHERE "spree_products"."id" = 1060501387 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501387], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.087617' WHERE "spree_products"."id" = 1060501387  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592171, 979460909) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501387 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.159122' WHERE "spree_products"."id" = 1060501387 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501387], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.160605' WHERE "spree_products"."id" = 1060501387  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592172, 979460910) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501387 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.163663' WHERE "spree_products"."id" = 1060501387 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501387], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.165333' WHERE "spree_products"."id" = 1060501387  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592173, 979460911) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501387]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501387) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592171 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592172 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592173 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501387) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501387 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.250979' WHERE "spree_products"."id" = 1060501387  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592171 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.252438' WHERE "spree_products"."id" = 1060501387 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501387 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.253650' WHERE "spree_products"."id" = 1060501387  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592172 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.254649' WHERE "spree_products"."id" = 1060501387 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501387 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.255573' WHERE "spree_products"."id" = 1060501387  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592173 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.256826' WHERE "spree_products"."id" = 1060501387 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501387) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:07:41.297643' WHERE "spree_products"."id" = 1060501387 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501387 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.314441' WHERE "spree_products"."id" = 1060501388 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501388], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.316257' WHERE "spree_products"."id" = 1060501388  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592174 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.350014' WHERE "spree_products"."id" = 1060501388  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501388  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["product_id", nil], ["property_id", 905835587], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501388, "updated_at" = '2012-10-23 14:07:41.359737' WHERE "spree_product_properties"."id" = 1073273969 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["product_id", nil], ["property_id", 905835586], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501388, "updated_at" = '2012-10-23 14:07:41.362982' WHERE "spree_product_properties"."id" = 1073273970 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["product_id", nil], ["property_id", 905835588], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501388, "updated_at" = '2012-10-23 14:07:41.366548' WHERE "spree_product_properties"."id" = 1073273971 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501388) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452400 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452400], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501388 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501388, 558400104) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452397 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400099 AND "spree_taxons"."taxonomy_id" = 854452397 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400099]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400099], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452397], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400099]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400105]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400105 THEN 558400099 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400099]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400105]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501388, 558400105)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501388, 558400099) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501388) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501388 AND "spree_option_types"."id" = 935339586 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501388) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["option_type_id", 935339586], ["position", 1], ["product_id", 1060501388], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (28.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.441810' WHERE "spree_products"."id" = 1060501388 SQL (1.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501388], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.542397' WHERE "spree_products"."id" = 1060501388  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592175, 979460909) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.547056' WHERE "spree_products"."id" = 1060501388 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501388], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.549012' WHERE "spree_products"."id" = 1060501388  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592176, 979460910) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339586 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (1.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.557129' WHERE "spree_products"."id" = 1060501388 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501388], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.586639' WHERE "spree_products"."id" = 1060501388  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592177, 979460911) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501388]] Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501388 AND "spree_option_types"."id" = 935339587 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501388) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["option_type_id", 935339587], ["position", 2], ["product_id", 1060501388], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339587 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339587) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339587], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.606684' WHERE "spree_products"."id" = 1060501388 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501388], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.608598' WHERE "spree_products"."id" = 1060501388  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592178, 979460912) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339587 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339587) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00], ["name", "colour"], ["option_type_id", 935339587], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.642540' WHERE "spree_products"."id" = 1060501388 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501388], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.644127' WHERE "spree_products"."id" = 1060501388  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592179, 979460913) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501388]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501388) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592175 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592176 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592177 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592178 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592179 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501388) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.703029' WHERE "spree_products"."id" = 1060501388  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592175 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.704626' WHERE "spree_products"."id" = 1060501388 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.706224' WHERE "spree_products"."id" = 1060501388  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592176 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.707583' WHERE "spree_products"."id" = 1060501388 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.709175' WHERE "spree_products"."id" = 1060501388  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592177 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.710257' WHERE "spree_products"."id" = 1060501388 Spree::Product Load (3.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.714649' WHERE "spree_products"."id" = 1060501388  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592178 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.716612' WHERE "spree_products"."id" = 1060501388 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501388 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.718215' WHERE "spree_products"."id" = 1060501388  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592179 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:41.719319' WHERE "spree_products"."id" = 1060501388 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501388) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:07:41.723125' WHERE "spree_products"."id" = 1060501388 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501388 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (139.0ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592174) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501388)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (5.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:42 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592166, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1300 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:42 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592166, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1301 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501386) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501386) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501386 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:47 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592170, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1302 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501387) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501387) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501387 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:52 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592174, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1303 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501388) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501388) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501388  (55.6ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501386 AND ("spree_variants".is_master = 't') LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592166) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501386)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501387 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592170) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501387)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501388 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592174) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501388)) SQL (2.7ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (23.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.396133' WHERE "spree_products"."id" = 1060501389 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501389], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.398145' WHERE "spree_products"."id" = 1060501389  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592180 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.400041' WHERE "spree_products"."id" = 1060501389  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501389  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["product_id", nil], ["property_id", 905835589], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501389, "updated_at" = '2012-10-23 14:07:53.408874' WHERE "spree_product_properties"."id" = 1073273972 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501389) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452401 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452401], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501389 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501389, 558400106) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452402 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452402], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501389, 558400107) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501389) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501389 AND "spree_option_types"."id" = 935339588 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501389) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["option_type_id", 935339588], ["position", 1], ["product_id", 1060501389], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339588 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339588) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339588], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.466124' WHERE "spree_products"."id" = 1060501389 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501389], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.467866' WHERE "spree_products"."id" = 1060501389  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592181, 979460914) Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339588 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339588) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339588], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.497585' WHERE "spree_products"."id" = 1060501389 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501389], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.498865' WHERE "spree_products"."id" = 1060501389  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592182, 979460915) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339588 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339588) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339588], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.503356' WHERE "spree_products"."id" = 1060501389 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501389], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.504808' WHERE "spree_products"."id" = 1060501389  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592183, 979460916) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501389]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501389) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592181 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592182 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592183 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501389) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.523038' WHERE "spree_products"."id" = 1060501389  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592181 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.524717' WHERE "spree_products"."id" = 1060501389 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.526278' WHERE "spree_products"."id" = 1060501389  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592182 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.548983' WHERE "spree_products"."id" = 1060501389 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.550766' WHERE "spree_products"."id" = 1060501389  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592183 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:53.552161' WHERE "spree_products"."id" = 1060501389 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (6.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:53 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592180, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1304 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501389 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:54.450865' WHERE "spree_products"."id" = 1060501389  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501389 Spree::Asset Load (13.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:54 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592180, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1305 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:55.322743' WHERE "spree_products"."id" = 1060501389 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501389 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:55 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592180, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1306 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.064590' WHERE "spree_products"."id" = 1060501389 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501389 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501389) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:07:56.072146' WHERE "spree_products"."id" = 1060501389 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501389 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.137112' WHERE "spree_products"."id" = 1060501390 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501390], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.138696' WHERE "spree_products"."id" = 1060501390  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592184 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.141185' WHERE "spree_products"."id" = 1060501390  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501390  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["product_id", nil], ["property_id", 905835590], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501390, "updated_at" = '2012-10-23 14:07:56.174622' WHERE "spree_product_properties"."id" = 1073273973 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501390) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452401 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501390 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501390, 558400106) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452403 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452403], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501390, 558400108) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452404 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452404], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501390, 558400109) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501390) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501390 AND "spree_option_types"."id" = 935339588 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501390) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["option_type_id", 935339588], ["position", 1], ["product_id", 1060501390], ["updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00]] Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339588 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.235302' WHERE "spree_products"."id" = 1060501390 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501390], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.236937' WHERE "spree_products"."id" = 1060501390  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592185, 979460914) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339588 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.240534' WHERE "spree_products"."id" = 1060501390 SQL (21.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501390], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.263746' WHERE "spree_products"."id" = 1060501390  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592186, 979460915) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339588 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.268671' WHERE "spree_products"."id" = 1060501390 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501390], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.270325' WHERE "spree_products"."id" = 1060501390  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592187, 979460916) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501390]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501390) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592185 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.9ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592186 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592187 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501390) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.288632' WHERE "spree_products"."id" = 1060501390  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592185 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.289996' WHERE "spree_products"."id" = 1060501390 Spree::Product Load (23.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.316587' WHERE "spree_products"."id" = 1060501390  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592186 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.318031' WHERE "spree_products"."id" = 1060501390 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.319269' WHERE "spree_products"."id" = 1060501390  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592187 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:07:56.320480' WHERE "spree_products"."id" = 1060501390 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:07:56 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592184, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1307 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:08:00 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592184, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1308 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501390 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:01.725267' WHERE "spree_products"."id" = 1060501390  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501390 Current value to assign : Current value to assign : Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501390) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:08:01.814688' WHERE "spree_products"."id" = 1060501390 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501390 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.8ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501389 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592180 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (3.1ms) DELETE FROM "spree_products" SQL (2.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (24.3ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (14.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452405 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452405], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452405], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452405], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (2.2ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (22.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452406 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452406], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452406], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452406], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (2.6ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452406 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452406 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452406 LIMIT 1 Booted Spree using version 1.1.3 SQL (6.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (20.7ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452407 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452407], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452407], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.6ms) UPDATE "spree_taxons" SET "parent_id" = 558400116, "updated_at" = '2012-10-23 14:08:02.510182' WHERE "spree_taxons"."id" = 558400117 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400116]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400117]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400117 THEN 558400116 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400116]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400117]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400116 ORDER BY "lft" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.606678' WHERE "spree_products"."id" = 1060501391 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501391], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.609304' WHERE "spree_products"."id" = 1060501391  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592188 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.612147' WHERE "spree_products"."id" = 1060501391  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501391  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["product_id", nil], ["property_id", 905835591], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501391, "updated_at" = '2012-10-23 14:08:02.622485' WHERE "spree_product_properties"."id" = 1073273974 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501391) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452407 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501391 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501391, 558400116) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452408 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452408], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501391, 558400118) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501391) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::OptionType Exists (26.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501391 AND "spree_option_types"."id" = 935339589 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501391) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["option_type_id", 935339589], ["position", 1], ["product_id", 1060501391], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339589) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339589], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.727842' WHERE "spree_products"."id" = 1060501391 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501391], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.729504' WHERE "spree_products"."id" = 1060501391  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592189, 979460917) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339589) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339589], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.735118' WHERE "spree_products"."id" = 1060501391 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501391], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.736476' WHERE "spree_products"."id" = 1060501391  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592190, 979460918) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339589) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339589], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.741362' WHERE "spree_products"."id" = 1060501391 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501391], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.742909' WHERE "spree_products"."id" = 1060501391  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592191, 979460919) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501391]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501391) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592189 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592190 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592191 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501391) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.760969' WHERE "spree_products"."id" = 1060501391  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.762408' WHERE "spree_products"."id" = 1060501391 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.798558' WHERE "spree_products"."id" = 1060501391  (0.9ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592190 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.869120' WHERE "spree_products"."id" = 1060501391 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.873422' WHERE "spree_products"."id" = 1060501391  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592191 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.874773' WHERE "spree_products"."id" = 1060501391 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501391) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:08:02.877950' WHERE "spree_products"."id" = 1060501391 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501391 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.894573' WHERE "spree_products"."id" = 1060501392 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501392], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.897477' WHERE "spree_products"."id" = 1060501392  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592192 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:02.899155' WHERE "spree_products"."id" = 1060501392  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501392  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["product_id", nil], ["property_id", 905835592], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501392, "updated_at" = '2012-10-23 14:08:02.931996' WHERE "spree_product_properties"."id" = 1073273975 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501392) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452407 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501392 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501392, 558400116) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452409 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452409], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501392, 558400119) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452407 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400116 AND "spree_taxons"."taxonomy_id" = 854452407 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400116]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400116], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452407], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400116]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400120]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400120 THEN 558400116 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400116]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400120]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400120 AND "spree_taxons"."taxonomy_id" = 854452407 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400120]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400120], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452407], ["updated_at", Tue, 23 Oct 2012 14:08:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400120]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400121]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400121 THEN 558400120 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400120]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400121]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501392, 558400120)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501392, 558400121) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501392) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501392 AND "spree_option_types"."id" = 935339589 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501392) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["option_type_id", 935339589], ["position", 1], ["product_id", 1060501392], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.006659' WHERE "spree_products"."id" = 1060501392 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501392], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.008570' WHERE "spree_products"."id" = 1060501392  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592193, 979460917) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.012372' WHERE "spree_products"."id" = 1060501392 SQL (22.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501392], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.037461' WHERE "spree_products"."id" = 1060501392  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592194, 979460918) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.041051' WHERE "spree_products"."id" = 1060501392 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501392], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.042381' WHERE "spree_products"."id" = 1060501392  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592195, 979460919) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501392]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501392) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592193 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592194 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592195 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501392) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.091851' WHERE "spree_products"."id" = 1060501392  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592193 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.093216' WHERE "spree_products"."id" = 1060501392 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.094496' WHERE "spree_products"."id" = 1060501392  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592194 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.096181' WHERE "spree_products"."id" = 1060501392 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.098448' WHERE "spree_products"."id" = 1060501392  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592195 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.099782' WHERE "spree_products"."id" = 1060501392 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501392) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:08:03.103086' WHERE "spree_products"."id" = 1060501392 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501392 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.118143' WHERE "spree_products"."id" = 1060501393 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501393], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.119890' WHERE "spree_products"."id" = 1060501393  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592196 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.121481' WHERE "spree_products"."id" = 1060501393  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501393  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["product_id", nil], ["property_id", 905835593], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501393, "updated_at" = '2012-10-23 14:08:03.152215' WHERE "spree_product_properties"."id" = 1073273976 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["product_id", nil], ["property_id", 905835592], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501393, "updated_at" = '2012-10-23 14:08:03.155040' WHERE "spree_product_properties"."id" = 1073273977 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["product_id", nil], ["property_id", 905835594], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501393, "updated_at" = '2012-10-23 14:08:03.158392' WHERE "spree_product_properties"."id" = 1073273978 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501393) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452410 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452410], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501393 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501393, 558400122) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452407 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400116 AND "spree_taxons"."taxonomy_id" = 854452407 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501393, 558400117)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501393, 558400116) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501393) LIMIT 1 Spree::OptionType Load (49.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501393 AND "spree_option_types"."id" = 935339589 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501393) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["option_type_id", 935339589], ["position", 1], ["product_id", 1060501393], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.234886' WHERE "spree_products"."id" = 1060501393 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501393], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.236565' WHERE "spree_products"."id" = 1060501393  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592197, 979460917) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.240386' WHERE "spree_products"."id" = 1060501393 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501393], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.241564' WHERE "spree_products"."id" = 1060501393  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592198, 979460918) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339589 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.244876' WHERE "spree_products"."id" = 1060501393 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501393], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.246374' WHERE "spree_products"."id" = 1060501393  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592199, 979460919) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501393]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501393 AND "spree_option_types"."id" = 935339590 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501393) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["option_type_id", 935339590], ["position", 2], ["product_id", 1060501393], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339590 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339590) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339590], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.264311' WHERE "spree_products"."id" = 1060501393 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501393], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.266505' WHERE "spree_products"."id" = 1060501393  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592200, 979460920) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339590 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339590) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "colour"], ["option_type_id", 935339590], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]]  (23.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.296635' WHERE "spree_products"."id" = 1060501393 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501393], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.298041' WHERE "spree_products"."id" = 1060501393  (0.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592201, 979460921) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501393]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501393) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592197 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592198 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592199 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592200 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592201 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501393) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.345519' WHERE "spree_products"."id" = 1060501393  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592197 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.347231' WHERE "spree_products"."id" = 1060501393 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.348921' WHERE "spree_products"."id" = 1060501393  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592198 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.350437' WHERE "spree_products"."id" = 1060501393 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.351776' WHERE "spree_products"."id" = 1060501393  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592199 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.352831' WHERE "spree_products"."id" = 1060501393 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.354032' WHERE "spree_products"."id" = 1060501393  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592200 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.355140' WHERE "spree_products"."id" = 1060501393 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501393 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.356622' WHERE "spree_products"."id" = 1060501393  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592201 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.357561' WHERE "spree_products"."id" = 1060501393 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501393) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:08:03.360811' WHERE "spree_products"."id" = 1060501393 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501393 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (55.8ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501391 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501391 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501392 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501392 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452407 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400116 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452407 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400120 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400120 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400121 ORDER BY "lft" SQL (4.6ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (27.8ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452411 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452411], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452411], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.5ms) UPDATE "spree_taxons" SET "parent_id" = 558400123, "updated_at" = '2012-10-23 14:08:03.564379' WHERE "spree_taxons"."id" = 558400124 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400123]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400124]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400124 THEN 558400123 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400123]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400124]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400123 ORDER BY "lft" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.777414' WHERE "spree_products"."id" = 1060501394 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501394], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.779388' WHERE "spree_products"."id" = 1060501394  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592202 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.781550' WHERE "spree_products"."id" = 1060501394  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501394  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["product_id", nil], ["property_id", 905835595], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501394, "updated_at" = '2012-10-23 14:08:03.790346' WHERE "spree_product_properties"."id" = 1073273979 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452411 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501394 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501394, 558400123) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452412 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452412], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501394, 558400125) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::OptionType Exists (2.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501394 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501394) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["option_type_id", 935339591], ["position", 1], ["product_id", 1060501394], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339591) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339591], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.880064' WHERE "spree_products"."id" = 1060501394 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501394], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.905231' WHERE "spree_products"."id" = 1060501394  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592203, 979460922) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501394]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (4.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501394 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339591) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339591], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.920685' WHERE "spree_products"."id" = 1060501394 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501394], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.922101' WHERE "spree_products"."id" = 1060501394  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592204, 979460923) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501394]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501394 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339591) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339591], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:03 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.977770' WHERE "spree_products"."id" = 1060501394 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501394], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:03.979154' WHERE "spree_products"."id" = 1060501394  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592205, 979460924) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501394]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592203 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592204 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592205 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.027363' WHERE "spree_products"."id" = 1060501394  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592203 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.030029' WHERE "spree_products"."id" = 1060501394 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.031930' WHERE "spree_products"."id" = 1060501394  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592204 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.032902' WHERE "spree_products"."id" = 1060501394 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.034164' WHERE "spree_products"."id" = 1060501394  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592205 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.035220' WHERE "spree_products"."id" = 1060501394 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501394) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:08:04.038012' WHERE "spree_products"."id" = 1060501394 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501394 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.052782' WHERE "spree_products"."id" = 1060501395 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501395], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.054157' WHERE "spree_products"."id" = 1060501395  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592206 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.055538' WHERE "spree_products"."id" = 1060501395  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501395  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["product_id", nil], ["property_id", 905835596], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501395, "updated_at" = '2012-10-23 14:08:04.084767' WHERE "spree_product_properties"."id" = 1073273980 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452411 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501395 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501395, 558400123) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452413 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452413], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.9ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501395, 558400126) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452411 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400123 AND "spree_taxons"."taxonomy_id" = 854452411 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400123]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400123], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452411], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400123]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400127]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400127 THEN 558400123 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400123]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400127]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400127 AND "spree_taxons"."taxonomy_id" = 854452411 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400127]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400127], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452411], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400127]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400128]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400128 THEN 558400127 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400127]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400128]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501395, 558400127)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501395, 558400128) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501395 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501395) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["option_type_id", 935339591], ["position", 1], ["product_id", 1060501395], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.233533' WHERE "spree_products"."id" = 1060501395 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501395], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.234978' WHERE "spree_products"."id" = 1060501395  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592207, 979460922) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501395]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501395 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (23.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.290933' WHERE "spree_products"."id" = 1060501395 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501395], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.292969' WHERE "spree_products"."id" = 1060501395  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592208, 979460923) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501395]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501395 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.302254' WHERE "spree_products"."id" = 1060501395 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501395], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.304534' WHERE "spree_products"."id" = 1060501395  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592209, 979460924) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501395]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592207 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592208 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592209 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.376541' WHERE "spree_products"."id" = 1060501395  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592207 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.378725' WHERE "spree_products"."id" = 1060501395 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.380373' WHERE "spree_products"."id" = 1060501395  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592208 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.381619' WHERE "spree_products"."id" = 1060501395 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.382951' WHERE "spree_products"."id" = 1060501395  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592209 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.384060' WHERE "spree_products"."id" = 1060501395 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501395) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:08:04.387510' WHERE "spree_products"."id" = 1060501395 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501395 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (8.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.408534' WHERE "spree_products"."id" = 1060501396 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501396], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.434533' WHERE "spree_products"."id" = 1060501396  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592210 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.436533' WHERE "spree_products"."id" = 1060501396  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501396  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["product_id", nil], ["property_id", 905835597], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501396, "updated_at" = '2012-10-23 14:08:04.443533' WHERE "spree_product_properties"."id" = 1073273981 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["product_id", nil], ["property_id", 905835596], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501396, "updated_at" = '2012-10-23 14:08:04.447533' WHERE "spree_product_properties"."id" = 1073273982 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["product_id", nil], ["property_id", 905835598], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501396, "updated_at" = '2012-10-23 14:08:04.453287' WHERE "spree_product_properties"."id" = 1073273983 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452414 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452414], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501396 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501396, 558400129) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::Taxonomy Load (53.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452411 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400123 AND "spree_taxons"."taxonomy_id" = 854452411 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501396, 558400124)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501396, 558400123) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501396 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501396) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["option_type_id", 935339591], ["position", 1], ["product_id", 1060501396], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.590803' WHERE "spree_products"."id" = 1060501396 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501396], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.592406' WHERE "spree_products"."id" = 1060501396  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592211, 979460922) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501396]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501396 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (2.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.606310' WHERE "spree_products"."id" = 1060501396 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501396], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.608081' WHERE "spree_products"."id" = 1060501396  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592212, 979460923) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501396]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501396 AND "spree_option_types"."id" = 935339591 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339591 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.667103' WHERE "spree_products"."id" = 1060501396 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501396], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.668980' WHERE "spree_products"."id" = 1060501396  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592213, 979460924) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501396]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501396 AND "spree_option_types"."id" = 935339592 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501396) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["option_type_id", 935339592], ["position", 2], ["product_id", 1060501396], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339592 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339592) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339592], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.686034' WHERE "spree_products"."id" = 1060501396 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501396], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.688006' WHERE "spree_products"."id" = 1060501396  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592214, 979460925) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501396]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501396 AND "spree_option_types"."id" = 935339592 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339592 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339592) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00], ["name", "colour"], ["option_type_id", 935339592], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:04 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.823296' WHERE "spree_products"."id" = 1060501396 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501396], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.825099' WHERE "spree_products"."id" = 1060501396  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592215, 979460926) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501396]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592211 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592212 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592213 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592214 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592215 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.880970' WHERE "spree_products"."id" = 1060501396  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592211 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.882512' WHERE "spree_products"."id" = 1060501396 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.884133' WHERE "spree_products"."id" = 1060501396  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592212 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.885361' WHERE "spree_products"."id" = 1060501396 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.886522' WHERE "spree_products"."id" = 1060501396  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592213 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.888816' WHERE "spree_products"."id" = 1060501396 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.890860' WHERE "spree_products"."id" = 1060501396  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592214 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.891954' WHERE "spree_products"."id" = 1060501396 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501396 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.893431' WHERE "spree_products"."id" = 1060501396  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592215 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:04.894847' WHERE "spree_products"."id" = 1060501396 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501396) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:08:04.898806' WHERE "spree_products"."id" = 1060501396 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501396 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.2ms) commit transaction Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501394 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501394 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501395 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501395 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452411 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400123 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452411 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400127 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400127 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400128 ORDER BY "lft" SQL (3.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (4.8ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (35.6ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452415 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452415], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452415], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.8ms) UPDATE "spree_taxons" SET "parent_id" = 558400130, "updated_at" = '2012-10-23 14:08:05.229135' WHERE "spree_taxons"."id" = 558400131 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400130]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400131]] SQL (0.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400131 THEN 558400130 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400130]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400131]]  (2.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400130 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Product Load (4.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.277234' WHERE "spree_products"."id" = 1060501397 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501397], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.306083' WHERE "spree_products"."id" = 1060501397  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592216 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.307827' WHERE "spree_products"."id" = 1060501397  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501397  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["product_id", nil], ["property_id", 905835599], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501397, "updated_at" = '2012-10-23 14:08:05.316578' WHERE "spree_product_properties"."id" = 1073273984 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452415 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501397 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501397, 558400130) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452416 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452416], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501397, 558400132) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501397 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501397) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["option_type_id", 935339593], ["position", 1], ["product_id", 1060501397], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339593) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339593], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.372509' WHERE "spree_products"."id" = 1060501397 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501397], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.374505' WHERE "spree_products"."id" = 1060501397  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592217, 979460927) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501397]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501397 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1 Spree::OptionValue Load (29.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339593) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339593], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.416107' WHERE "spree_products"."id" = 1060501397 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501397], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.418549' WHERE "spree_products"."id" = 1060501397  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592218, 979460928) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501397]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501397 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339593) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339593], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.432028' WHERE "spree_products"."id" = 1060501397 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501397], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.433893' WHERE "spree_products"."id" = 1060501397  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592219, 979460929) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501397]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592217 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592218 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592219 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.459931' WHERE "spree_products"."id" = 1060501397  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592217 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.461376' WHERE "spree_products"."id" = 1060501397 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.462389' WHERE "spree_products"."id" = 1060501397  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592218 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.463487' WHERE "spree_products"."id" = 1060501397 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.465572' WHERE "spree_products"."id" = 1060501397  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592219 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.466506' WHERE "spree_products"."id" = 1060501397 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501397) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:08:05.557053' WHERE "spree_products"."id" = 1060501397 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.575352' WHERE "spree_products"."id" = 1060501398 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501398], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.578347' WHERE "spree_products"."id" = 1060501398  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592220 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.580084' WHERE "spree_products"."id" = 1060501398  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501398  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["product_id", nil], ["property_id", 905835600], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501398, "updated_at" = '2012-10-23 14:08:05.588562' WHERE "spree_product_properties"."id" = 1073273985 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452415 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501398 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501398, 558400130) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452417 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452417], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501398, 558400133) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452415 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400130 AND "spree_taxons"."taxonomy_id" = 854452415 LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400130]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400130], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452415], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400130]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400134]] SQL (1.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400134 THEN 558400130 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400130]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400134]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400134 AND "spree_taxons"."taxonomy_id" = 854452415 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400134]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400134], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452415], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400134]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400135]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400135 THEN 558400134 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400134]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400135]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501398, 558400134)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501398, 558400135) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501398 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501398) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["option_type_id", 935339593], ["position", 1], ["product_id", 1060501398], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.649864' WHERE "spree_products"."id" = 1060501398 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501398], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.651450' WHERE "spree_products"."id" = 1060501398  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592221, 979460927) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501398]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501398 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.661438' WHERE "spree_products"."id" = 1060501398 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501398], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.663071' WHERE "spree_products"."id" = 1060501398  (0.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592222, 979460928) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501398]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501398 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.675069' WHERE "spree_products"."id" = 1060501398 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501398], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.676764' WHERE "spree_products"."id" = 1060501398  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592223, 979460929) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501398]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592221 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592222 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592223 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.702202' WHERE "spree_products"."id" = 1060501398  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592221 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.704025' WHERE "spree_products"."id" = 1060501398 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.706448' WHERE "spree_products"."id" = 1060501398  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592222 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.707631' WHERE "spree_products"."id" = 1060501398 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.708962' WHERE "spree_products"."id" = 1060501398  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592223 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.709985' WHERE "spree_products"."id" = 1060501398 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501398) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:08:05.716500' WHERE "spree_products"."id" = 1060501398 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.727486' WHERE "spree_products"."id" = 1060501399 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501399], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.730500' WHERE "spree_products"."id" = 1060501399  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592224 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.732773' WHERE "spree_products"."id" = 1060501399  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501399  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["product_id", nil], ["property_id", 905835601], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501399, "updated_at" = '2012-10-23 14:08:05.740306' WHERE "spree_product_properties"."id" = 1073273986 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::Property Load (60.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["product_id", nil], ["property_id", 905835600], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501399, "updated_at" = '2012-10-23 14:08:05.805646' WHERE "spree_product_properties"."id" = 1073273987 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["product_id", nil], ["property_id", 905835602], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501399, "updated_at" = '2012-10-23 14:08:05.812497' WHERE "spree_product_properties"."id" = 1073273988 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452418 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452418], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501399 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501399, 558400136) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452415 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400130 AND "spree_taxons"."taxonomy_id" = 854452415 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501399, 558400131)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501399, 558400130) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501399 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501399) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["option_type_id", 935339593], ["position", 1], ["product_id", 1060501399], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.842615' WHERE "spree_products"."id" = 1060501399 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501399], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.844274' WHERE "spree_products"."id" = 1060501399  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592225, 979460927) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501399]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (3.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501399 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.858496' WHERE "spree_products"."id" = 1060501399 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501399], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.860021' WHERE "spree_products"."id" = 1060501399  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592226, 979460928) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501399]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501399 AND "spree_option_types"."id" = 935339593 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339593 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.870820' WHERE "spree_products"."id" = 1060501399 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501399], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.873692' WHERE "spree_products"."id" = 1060501399  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592227, 979460929) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501399]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501399 AND "spree_option_types"."id" = 935339594 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501399) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["option_type_id", 935339594], ["position", 2], ["product_id", 1060501399], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339594 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339594) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339594], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.893861' WHERE "spree_products"."id" = 1060501399 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501399], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.895037' WHERE "spree_products"."id" = 1060501399  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592228, 979460930) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501399]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (29.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501399 AND "spree_option_types"."id" = 935339594 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339594 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339594) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00], ["name", "colour"], ["option_type_id", 935339594], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:08:05 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.937418' WHERE "spree_products"."id" = 1060501399 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501399], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.938789' WHERE "spree_products"."id" = 1060501399  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592229, 979460931) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501399]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592225 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592226 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592227 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592228 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592229 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.960654' WHERE "spree_products"."id" = 1060501399  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592225 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.962064' WHERE "spree_products"."id" = 1060501399 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.964212' WHERE "spree_products"."id" = 1060501399  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592226 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.965299' WHERE "spree_products"."id" = 1060501399 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.971750' WHERE "spree_products"."id" = 1060501399  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592227 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.972822' WHERE "spree_products"."id" = 1060501399 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.974293' WHERE "spree_products"."id" = 1060501399  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592228 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.975493' WHERE "spree_products"."id" = 1060501399 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501399 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.978199' WHERE "spree_products"."id" = 1060501399  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592229 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:05.979380' WHERE "spree_products"."id" = 1060501399 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501399) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:08:05.982493' WHERE "spree_products"."id" = 1060501399  (4.4ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501397 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501397 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501398 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501398 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452415 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400130 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452415 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400134 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400134 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400135 ORDER BY "lft" SQL (4.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (34.9ms) DELETE FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501400 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.195102' WHERE "spree_products"."id" = 1060501400 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501400], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.196810' WHERE "spree_products"."id" = 1060501400  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592230 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.226847' WHERE "spree_products"."id" = 1060501400  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501400 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501400 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501400  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501400 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452419], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400137 AND "spree_taxons"."taxonomy_id" = 854452419 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400137]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400137], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452419], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400137]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400138]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400138 THEN 558400137 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400137]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400138]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501400 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501400, 558400138)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501400, 558400137) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501400) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452420 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452420], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501400, 558400139) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501400) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592230 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501400) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 14:08:06.323974' WHERE "spree_products"."id" = 1060501400  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592230 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.326387' WHERE "spree_products"."id" = 1060501400 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501400 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060501400 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (1.8ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501401 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.427564' WHERE "spree_products"."id" = 1060501401 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501401], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.428918' WHERE "spree_products"."id" = 1060501401  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592231 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.431184' WHERE "spree_products"."id" = 1060501401  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501401 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501401 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501401  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501401 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501401 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501401, 558400137) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501401) LIMIT 1 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452421 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452421], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501401, 558400140) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501401) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400137 AND "spree_taxons"."taxonomy_id" = 854452419 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400137]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400137], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452419], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400137]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400141]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400141 THEN 558400137 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400137]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400141]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400141 AND "spree_taxons"."taxonomy_id" = 854452419 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400141]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400141], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452419], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400141]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400142]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400142 THEN 558400141 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400141]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400142]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501401, 558400141)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501401, 558400142) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501401) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592231 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501401) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:08:06.500480' WHERE "spree_products"."id" = 1060501401  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592231 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.502436' WHERE "spree_products"."id" = 1060501401 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501401 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060501401 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501402 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.558352' WHERE "spree_products"."id" = 1060501402 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501402], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.560398' WHERE "spree_products"."id" = 1060501402  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592232 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.561979' WHERE "spree_products"."id" = 1060501402  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501402 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501402 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501402  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501402 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452422 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452422], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400143 AND "spree_taxons"."taxonomy_id" = 854452422 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400143]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400143], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452422], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400143]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400144]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400144 THEN 558400143 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.6ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400143]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400144]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501402 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501402, 558400144)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501402, 558400143) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501402) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452423 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452423], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501402, 558400145) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501402) LIMIT 1 Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592232 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501402) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 14:08:06.854470' WHERE "spree_products"."id" = 1060501402  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592232 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.857129' WHERE "spree_products"."id" = 1060501402 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501402 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060501402 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501403 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.871856' WHERE "spree_products"."id" = 1060501403 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501403], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.873396' WHERE "spree_products"."id" = 1060501403  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592233 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:06.875643' WHERE "spree_products"."id" = 1060501403  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501403 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501403 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (25.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501403  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501403 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452422 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400143 AND "spree_taxons"."taxonomy_id" = 854452422 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501403 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501403, 558400144)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501403, 558400143) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501403) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400137 AND "spree_taxons"."taxonomy_id" = 854452419 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400141 AND "spree_taxons"."taxonomy_id" = 854452419 LIMIT 1  (1.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400141]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400141], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452419], ["updated_at", Tue, 23 Oct 2012 14:08:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400141]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400146]] SQL (1.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400146 THEN 558400141 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400141]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400146]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400146 AND "spree_taxons"."taxonomy_id" = 854452419 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400146]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400146], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452419], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400146]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400147]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400147 THEN 558400146 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400146]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400147]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501403, 558400141)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501403, 558400146)  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501403, 558400147)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501403, 558400137) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501403) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592233 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501403) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:08:07.031324' WHERE "spree_products"."id" = 1060501403  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592233 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.033116' WHERE "spree_products"."id" = 1060501403 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501403 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060501403 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501404 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.096464' WHERE "spree_products"."id" = 1060501404 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501404], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.098298' WHERE "spree_products"."id" = 1060501404  (2.8ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592234 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.102452' WHERE "spree_products"."id" = 1060501404  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501404 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501404 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501404  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501404 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452422 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400143 AND "spree_taxons"."taxonomy_id" = 854452422 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400144 AND "spree_taxons"."taxonomy_id" = 854452422 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400144]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400144], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452422], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400144]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400148]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400148 THEN 558400144 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400144]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400148]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501404 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501404, 558400144)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501404, 558400148)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501404, 558400143) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501404) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452421 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501404, 558400140) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501404) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592234 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501404) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:08:07.200274' WHERE "spree_products"."id" = 1060501404  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592234 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.259370' WHERE "spree_products"."id" = 1060501404 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501404 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060501404 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (63.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452420 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452421 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452422 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452423 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452419 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400137 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400137) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400141 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400141) Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400141) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400137 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400141 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400146 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400147 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400146) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452422 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452422 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400144 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400144 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400148 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400148) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452421 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452421 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400140 ORDER BY "lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452423 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452423 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400145 ORDER BY "lft" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (28.7ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (7.1ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501405 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.554094' WHERE "spree_products"."id" = 1060501405 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501405], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.556193' WHERE "spree_products"."id" = 1060501405  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592235 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.557591' WHERE "spree_products"."id" = 1060501405  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501405 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501405 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501405  (24.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501405 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452424], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400149 AND "spree_taxons"."taxonomy_id" = 854452424 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400149]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400149], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452424], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400149]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400150]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400150 THEN 558400149 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400149]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400150]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501405 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501405, 558400150)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501405, 558400149) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501405) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452425 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452425], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501405, 558400151) Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501405) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592235 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501405) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 14:08:07.658840' WHERE "spree_products"."id" = 1060501405  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592235 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.661409' WHERE "spree_products"."id" = 1060501405 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501405 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501406 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.671269' WHERE "spree_products"."id" = 1060501406 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501406], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.673006' WHERE "spree_products"."id" = 1060501406  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592236 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.674683' WHERE "spree_products"."id" = 1060501406  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501406 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501406 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501406  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501406 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501406 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501406, 558400149) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501406) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452426 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452426], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501406, 558400152) Spree::Product Exists (3.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501406) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400149 AND "spree_taxons"."taxonomy_id" = 854452424 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400149]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400149], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452424], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (1.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400149]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400153]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400153 THEN 558400149 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400149]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400153]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400153 AND "spree_taxons"."taxonomy_id" = 854452424 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400153]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400153], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452424], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400153]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400154]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400154 THEN 558400153 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400153]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400154]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501406, 558400153)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501406, 558400154) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501406) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592236 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501406) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:08:07.727804' WHERE "spree_products"."id" = 1060501406  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592236 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.729807' WHERE "spree_products"."id" = 1060501406 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501406 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501407 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.739294' WHERE "spree_products"."id" = 1060501407 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501407], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.740766' WHERE "spree_products"."id" = 1060501407  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592237 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.742294' WHERE "spree_products"."id" = 1060501407  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501407 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501407 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501407  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501407 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (59.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (1.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452427 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452427], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400155 AND "spree_taxons"."taxonomy_id" = 854452427 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400155]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400155], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452427], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400155]] Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400156]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400156 THEN 558400155 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400155]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400156]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501407 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501407, 558400156)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501407, 558400155) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501407) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452428 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452428], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501407, 558400157) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501407) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592237 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501407) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 14:08:07.839309' WHERE "spree_products"."id" = 1060501407  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592237 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.841550' WHERE "spree_products"."id" = 1060501407 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501407 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501408 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.849875' WHERE "spree_products"."id" = 1060501408 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501408], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.851441' WHERE "spree_products"."id" = 1060501408  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592238 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.852951' WHERE "spree_products"."id" = 1060501408  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501408 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501408 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501408  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501408 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452427 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400155 AND "spree_taxons"."taxonomy_id" = 854452427 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501408 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501408, 558400156)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501408, 558400155) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501408) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400149 AND "spree_taxons"."taxonomy_id" = 854452424 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400153 AND "spree_taxons"."taxonomy_id" = 854452424 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400153]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400153], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452424], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400153]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400158]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400158 THEN 558400153 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400153]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400158]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400158 AND "spree_taxons"."taxonomy_id" = 854452424 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400158]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400158], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452424], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400158]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400159]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400159 THEN 558400158 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400158]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400159]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501408, 558400153)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501408, 558400158)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501408, 558400159)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501408, 558400149) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501408) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592238 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501408) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:08:07.888443' WHERE "spree_products"."id" = 1060501408  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592238 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.890443' WHERE "spree_products"."id" = 1060501408 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501408 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501409 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.900241' WHERE "spree_products"."id" = 1060501409 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501409], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.901443' WHERE "spree_products"."id" = 1060501409  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592239 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.903332' WHERE "spree_products"."id" = 1060501409  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501409 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501409 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501409  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501409 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452427 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400155 AND "spree_taxons"."taxonomy_id" = 854452427 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400156 AND "spree_taxons"."taxonomy_id" = 854452427 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400156]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400156], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452427], ["updated_at", Tue, 23 Oct 2012 14:08:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400156]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400160]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400160 THEN 558400156 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400156]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400160]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501409 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501409, 558400156)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501409, 558400160)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501409, 558400155) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501409) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452426 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501409, 558400152) Current value to assign : Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501409) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592239 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501409) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:08:07.934391' WHERE "spree_products"."id" = 1060501409  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592239 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:08:07.936288' WHERE "spree_products"."id" = 1060501409 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501409  (5.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452425 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452426 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452427 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452428 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452424 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400149 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400149) Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400153 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400153) Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400153) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400149 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400153 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400158 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400159 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400158) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452427 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452427 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400156 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400156 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400160 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400160) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452426 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452426 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400152 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452428 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452428 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400157 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (8.7ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (25.5ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (25.2ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (25.8ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones" SQL (1.7ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (23.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (6.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.1ms) commit transaction SQL (1.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (24.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (24.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (5.1ms) DELETE FROM "spree_products" SQL (2.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (29.9ms) DELETE FROM "spree_product_properties" SQL (9.0ms) DELETE FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (6.0ms) DELETE FROM "spree_zones" SQL (3.5ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (27.7ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (1.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (26.2ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (39.7ms) DELETE FROM "spree_products" SQL (1.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (58.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501410 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:29.755692' WHERE "spree_products"."id" = 1060501410 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501410], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:29.758685' WHERE "spree_products"."id" = 1060501410  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592240 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:29.761247' WHERE "spree_products"."id" = 1060501410  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501410  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00]] Created New Property # SQL (0.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["product_id", nil], ["property_id", 905835603], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501410, "updated_at" = '2012-10-23 14:18:29.853244' WHERE "spree_product_properties"."id" = 1073273989 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501410) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452429 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452429], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501410 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501410, 558400161) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452430 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452430], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501410, 558400162) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501410) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:18:29 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501410 AND "spree_option_types"."id" = 935339595 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501410) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["option_type_id", 935339595], ["position", 1], ["product_id", 1060501410], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339595) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339595], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501410 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.130593' WHERE "spree_products"."id" = 1060501410 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501410], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.132237' WHERE "spree_products"."id" = 1060501410  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592241, 979460932) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339595) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339595], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501410 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.141237' WHERE "spree_products"."id" = 1060501410 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501410], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.143111' WHERE "spree_products"."id" = 1060501410  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592242, 979460933) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339595) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339595], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501410 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.149177' WHERE "spree_products"."id" = 1060501410 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501410], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.150828' WHERE "spree_products"."id" = 1060501410  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592243, 979460934) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501410]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501410) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592241 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592242 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592243 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501410) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501410 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.214074' WHERE "spree_products"."id" = 1060501410  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592241 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.215749' WHERE "spree_products"."id" = 1060501410 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501410 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.217714' WHERE "spree_products"."id" = 1060501410  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592242 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.219174' WHERE "spree_products"."id" = 1060501410 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501410 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.220682' WHERE "spree_products"."id" = 1060501410  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592243 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.222446' WHERE "spree_products"."id" = 1060501410 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501410) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:18:30.227444' WHERE "spree_products"."id" = 1060501410 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501410 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501411 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.239234' WHERE "spree_products"."id" = 1060501411 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501411], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.242712' WHERE "spree_products"."id" = 1060501411  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592244 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.244120' WHERE "spree_products"."id" = 1060501411  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501411  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["product_id", nil], ["property_id", 905835604], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501411, "updated_at" = '2012-10-23 14:18:30.279212' WHERE "spree_product_properties"."id" = 1073273990 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501411) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452429 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501411 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501411, 558400161) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452431 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452431], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501411, 558400163) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452429 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (27.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400161 AND "spree_taxons"."taxonomy_id" = 854452429 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400161]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400161], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452429], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400161]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400164]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400164 THEN 558400161 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400161]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400164]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400164 AND "spree_taxons"."taxonomy_id" = 854452429 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400164]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400164], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452429], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400164]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400165]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400165 THEN 558400164 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400164]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400165]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501411, 558400164)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501411, 558400165) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501411) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501411 AND "spree_option_types"."id" = 935339595 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501411) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["option_type_id", 935339595], ["position", 1], ["product_id", 1060501411], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501411 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.360473' WHERE "spree_products"."id" = 1060501411 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501411], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.362030' WHERE "spree_products"."id" = 1060501411  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592245, 979460932) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501411 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.365337' WHERE "spree_products"."id" = 1060501411 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501411], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.367231' WHERE "spree_products"."id" = 1060501411  (1.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592246, 979460933) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501411 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.395016' WHERE "spree_products"."id" = 1060501411 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501411], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.396716' WHERE "spree_products"."id" = 1060501411  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592247, 979460934) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501411]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501411) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592245 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592246 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592247 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501411) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501411 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.495228' WHERE "spree_products"."id" = 1060501411  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592245 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.496706' WHERE "spree_products"."id" = 1060501411 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501411 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.498132' WHERE "spree_products"."id" = 1060501411  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592246 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.499430' WHERE "spree_products"."id" = 1060501411 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501411 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.500520' WHERE "spree_products"."id" = 1060501411  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592247 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.501470' WHERE "spree_products"."id" = 1060501411 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501411) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:18:30.504585' WHERE "spree_products"."id" = 1060501411 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501411 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.518227' WHERE "spree_products"."id" = 1060501412 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501412], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.519747' WHERE "spree_products"."id" = 1060501412  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592248 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.521401' WHERE "spree_products"."id" = 1060501412  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501412  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["product_id", nil], ["property_id", 905835605], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501412, "updated_at" = '2012-10-23 14:18:30.553443' WHERE "spree_product_properties"."id" = 1073273991 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["product_id", nil], ["property_id", 905835604], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501412, "updated_at" = '2012-10-23 14:18:30.556426' WHERE "spree_product_properties"."id" = 1073273992 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["product_id", nil], ["property_id", 905835606], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501412, "updated_at" = '2012-10-23 14:18:30.561462' WHERE "spree_product_properties"."id" = 1073273993 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501412) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452432 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452432], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Taxon Load (1.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501412 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501412, 558400166) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452429 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400161 AND "spree_taxons"."taxonomy_id" = 854452429 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400161]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400161], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452429], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400161]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400167]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400167 THEN 558400161 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400161]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400167]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501412, 558400167)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501412, 558400161) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501412) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501412 AND "spree_option_types"."id" = 935339595 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501412) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["option_type_id", 935339595], ["position", 1], ["product_id", 1060501412], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.622485' WHERE "spree_products"."id" = 1060501412 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501412], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.624121' WHERE "spree_products"."id" = 1060501412  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592249, 979460932) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.628061' WHERE "spree_products"."id" = 1060501412 SQL (24.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501412], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.655393' WHERE "spree_products"."id" = 1060501412  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592250, 979460933) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339595 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.659401' WHERE "spree_products"."id" = 1060501412 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501412], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.660607' WHERE "spree_products"."id" = 1060501412  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592251, 979460934) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501412]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501412 AND "spree_option_types"."id" = 935339596 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501412) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["option_type_id", 935339596], ["position", 2], ["product_id", 1060501412], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339596 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339596) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339596], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.678487' WHERE "spree_products"."id" = 1060501412 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501412], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.680274' WHERE "spree_products"."id" = 1060501412  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592252, 979460935) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339596 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339596) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00], ["name", "colour"], ["option_type_id", 935339596], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:30 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.711898' WHERE "spree_products"."id" = 1060501412 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501412], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.713222' WHERE "spree_products"."id" = 1060501412  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592253, 979460936) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501412]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501412) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592249 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592250 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592251 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592252 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592253 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501412) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.732376' WHERE "spree_products"."id" = 1060501412  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592249 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.733785' WHERE "spree_products"."id" = 1060501412 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.759017' WHERE "spree_products"."id" = 1060501412  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592250 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.760051' WHERE "spree_products"."id" = 1060501412 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.761479' WHERE "spree_products"."id" = 1060501412  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592251 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.762432' WHERE "spree_products"."id" = 1060501412 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.763978' WHERE "spree_products"."id" = 1060501412  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592252 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.765221' WHERE "spree_products"."id" = 1060501412 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501412 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.766652' WHERE "spree_products"."id" = 1060501412  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592253 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:30.767822' WHERE "spree_products"."id" = 1060501412 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501412) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:18:30.770735' WHERE "spree_products"."id" = 1060501412 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501412 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (34.8ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592248) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501412)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (4.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592240, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1309 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:31 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592240, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1310 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501410) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501410) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501410 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:37 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013592244, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1311 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501411) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501411) LIMIT 1  (1.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501411 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (2.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:41 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592248, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1312 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501412) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501412) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501412  (55.7ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501410 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592240) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501410)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501411 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592244) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501411)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501412 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592248) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501412)) SQL (2.6ms) DELETE FROM "spree_products" SQL (1.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (22.9ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.030802' WHERE "spree_products"."id" = 1060501413 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501413], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.033633' WHERE "spree_products"."id" = 1060501413  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592254 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.035826' WHERE "spree_products"."id" = 1060501413  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501413  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["product_id", nil], ["property_id", 905835607], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501413, "updated_at" = '2012-10-23 14:18:43.044901' WHERE "spree_product_properties"."id" = 1073273994 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501413) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452433 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452433], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501413 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501413, 558400168) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452434 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (23.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452434], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501413, 558400169) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501413) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501413 AND "spree_option_types"."id" = 935339597 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501413) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["option_type_id", 935339597], ["position", 1], ["product_id", 1060501413], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339597 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339597) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339597], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.107100' WHERE "spree_products"."id" = 1060501413 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501413], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.109443' WHERE "spree_products"."id" = 1060501413  (26.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592255, 979460937) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339597 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339597) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339597], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.141560' WHERE "spree_products"."id" = 1060501413 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501413], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.142898' WHERE "spree_products"."id" = 1060501413  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592256, 979460938) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339597 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339597) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339597], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.147771' WHERE "spree_products"."id" = 1060501413 SQL (3.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501413], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.152626' WHERE "spree_products"."id" = 1060501413  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592257, 979460939) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501413]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501413) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592255 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592256 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501413) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.171898' WHERE "spree_products"."id" = 1060501413  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592255 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.173282' WHERE "spree_products"."id" = 1060501413 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.196798' WHERE "spree_products"."id" = 1060501413  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592256 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.197790' WHERE "spree_products"."id" = 1060501413 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.199575' WHERE "spree_products"."id" = 1060501413  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592257 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.200579' WHERE "spree_products"."id" = 1060501413 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592254, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1313 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501413 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:43.976720' WHERE "spree_products"."id" = 1060501413  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501413 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:43 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592254, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1314 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.001323' WHERE "spree_products"."id" = 1060501413 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501413 Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592254, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1315 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.619828' WHERE "spree_products"."id" = 1060501413 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501413 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501413) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:18:45.627370' WHERE "spree_products"."id" = 1060501413 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501413 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.762996' WHERE "spree_products"."id" = 1060501414 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501414], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.764821' WHERE "spree_products"."id" = 1060501414  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592258 SQL (1.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.766533' WHERE "spree_products"."id" = 1060501414  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (27.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501414  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["product_id", nil], ["property_id", 905835608], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501414, "updated_at" = '2012-10-23 14:18:45.804027' WHERE "spree_product_properties"."id" = 1073273995 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501414) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452433 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501414 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501414, 558400168) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452435 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452435], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501414, 558400170) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452436 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452436], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501414, 558400171) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501414) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501414 AND "spree_option_types"."id" = 935339597 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501414) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00], ["option_type_id", 935339597], ["position", 1], ["product_id", 1060501414], ["updated_at", Tue, 23 Oct 2012 14:18:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339597 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.867298' WHERE "spree_products"."id" = 1060501414 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501414], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.868827' WHERE "spree_products"."id" = 1060501414  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592259, 979460937) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339597 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.872246' WHERE "spree_products"."id" = 1060501414 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501414], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.873610' WHERE "spree_products"."id" = 1060501414  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592260, 979460938) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339597 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.903068' WHERE "spree_products"."id" = 1060501414 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501414], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.904812' WHERE "spree_products"."id" = 1060501414  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592261, 979460939) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501414]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501414) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592259 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592260 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592261 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501414) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.922251' WHERE "spree_products"."id" = 1060501414  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592259 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.923764' WHERE "spree_products"."id" = 1060501414 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.925494' WHERE "spree_products"."id" = 1060501414  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592260 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.954825' WHERE "spree_products"."id" = 1060501414 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.956168' WHERE "spree_products"."id" = 1060501414  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592261 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:45.957234' WHERE "spree_products"."id" = 1060501414 Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:46 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592258, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1316 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:18:50 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592258, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1317 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501414 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:18:51.322556' WHERE "spree_products"."id" = 1060501414  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501414 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501414) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:18:51.401027' WHERE "spree_products"."id" = 1060501414 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501414 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (36.8ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501413 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592254 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (4.2ms) DELETE FROM "spree_products" SQL (2.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (28.2ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (50.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501415 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.226994' WHERE "spree_products"."id" = 1060501415 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501415], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.230442' WHERE "spree_products"."id" = 1060501415  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592262 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.233409' WHERE "spree_products"."id" = 1060501415  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501415  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["product_id", nil], ["property_id", 905835609], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501415, "updated_at" = '2012-10-23 14:26:16.307696' WHERE "spree_product_properties"."id" = 1073273996 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501415) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452437 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452437], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501415 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501415, 558400172) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452438 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452438], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501415, 558400173) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501415) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501415 AND "spree_option_types"."id" = 935339598 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501415) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["option_type_id", 935339598], ["position", 1], ["product_id", 1060501415], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339598) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339598], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501415 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.671673' WHERE "spree_products"."id" = 1060501415 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501415], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.673135' WHERE "spree_products"."id" = 1060501415  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592263, 979460940) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339598) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339598], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501415 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.681815' WHERE "spree_products"."id" = 1060501415 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501415], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.683226' WHERE "spree_products"."id" = 1060501415  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592264, 979460941) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339598) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339598], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501415 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.689375' WHERE "spree_products"."id" = 1060501415 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501415], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.690669' WHERE "spree_products"."id" = 1060501415  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592265, 979460942) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501415]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501415) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592263 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592264 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592265 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501415) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501415 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.805502' WHERE "spree_products"."id" = 1060501415  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592263 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.806910' WHERE "spree_products"."id" = 1060501415 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501415 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.808609' WHERE "spree_products"."id" = 1060501415  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592264 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.809629' WHERE "spree_products"."id" = 1060501415 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501415 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.810878' WHERE "spree_products"."id" = 1060501415  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592265 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.811876' WHERE "spree_products"."id" = 1060501415 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501415) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:26:16.815051' WHERE "spree_products"."id" = 1060501415 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501415 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501416 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.832664' WHERE "spree_products"."id" = 1060501416 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501416], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.833996' WHERE "spree_products"."id" = 1060501416  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592266 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:16.835863' WHERE "spree_products"."id" = 1060501416  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501416  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (26.9ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["product_id", nil], ["property_id", 905835610], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501416, "updated_at" = '2012-10-23 14:26:16.870176' WHERE "spree_product_properties"."id" = 1073273997 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501416) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452437 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501416 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501416, 558400172) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452439 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452439], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501416, 558400174) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452437 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400172 AND "spree_taxons"."taxonomy_id" = 854452437 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400172]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400172], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452437], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400172]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400175]] SQL (1.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400175 THEN 558400172 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400172]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400175]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400175 AND "spree_taxons"."taxonomy_id" = 854452437 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400175]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400175], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452437], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400175]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400176]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400176 THEN 558400175 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400175]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400176]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501416, 558400175)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501416, 558400176) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501416) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501416 AND "spree_option_types"."id" = 935339598 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501416) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00], ["option_type_id", 935339598], ["position", 1], ["product_id", 1060501416], ["updated_at", Tue, 23 Oct 2012 14:26:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501416 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.000641' WHERE "spree_products"."id" = 1060501416 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501416], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.002226' WHERE "spree_products"."id" = 1060501416  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592267, 979460940) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501416 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.005644' WHERE "spree_products"."id" = 1060501416 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501416], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.006925' WHERE "spree_products"."id" = 1060501416  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592268, 979460941) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501416 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.009560' WHERE "spree_products"."id" = 1060501416 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501416], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.011064' WHERE "spree_products"."id" = 1060501416  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592269, 979460942) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501416]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501416) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592267 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592268 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592269 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501416) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501416 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.112562' WHERE "spree_products"."id" = 1060501416  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592267 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.113829' WHERE "spree_products"."id" = 1060501416 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501416 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.115561' WHERE "spree_products"."id" = 1060501416  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592268 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.116599' WHERE "spree_products"."id" = 1060501416 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501416 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.118239' WHERE "spree_products"."id" = 1060501416  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592269 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.119295' WHERE "spree_products"."id" = 1060501416 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501416) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:26:17.122992' WHERE "spree_products"."id" = 1060501416 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501416 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.135528' WHERE "spree_products"."id" = 1060501417 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501417], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.137098' WHERE "spree_products"."id" = 1060501417  (1.6ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592270 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.140942' WHERE "spree_products"."id" = 1060501417  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501417  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["product_id", nil], ["property_id", 905835611], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501417, "updated_at" = '2012-10-23 14:26:17.175727' WHERE "spree_product_properties"."id" = 1073273998 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["product_id", nil], ["property_id", 905835610], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501417, "updated_at" = '2012-10-23 14:26:17.179407' WHERE "spree_product_properties"."id" = 1073273999 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["product_id", nil], ["property_id", 905835612], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501417, "updated_at" = '2012-10-23 14:26:17.183770' WHERE "spree_product_properties"."id" = 1073274000 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501417) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452440 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452440], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501417 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501417, 558400177) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452437 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (31.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400172 AND "spree_taxons"."taxonomy_id" = 854452437 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400172]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400172], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452437], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400172]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400178]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400178 THEN 558400172 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400172]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400178]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501417, 558400178)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501417, 558400172) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501417) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501417 AND "spree_option_types"."id" = 935339598 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501417) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["option_type_id", 935339598], ["position", 1], ["product_id", 1060501417], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.264375' WHERE "spree_products"."id" = 1060501417 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501417], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.265981' WHERE "spree_products"."id" = 1060501417  (27.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592271, 979460940) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.298153' WHERE "spree_products"."id" = 1060501417 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501417], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.299525' WHERE "spree_products"."id" = 1060501417  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592272, 979460941) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339598 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.302629' WHERE "spree_products"."id" = 1060501417 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501417], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.303906' WHERE "spree_products"."id" = 1060501417  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592273, 979460942) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501417]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501417 AND "spree_option_types"."id" = 935339599 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501417) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["option_type_id", 935339599], ["position", 2], ["product_id", 1060501417], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339599 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339599) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339599], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]]  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.320876' WHERE "spree_products"."id" = 1060501417 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501417], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.322517' WHERE "spree_products"."id" = 1060501417  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592274, 979460943) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339599 LIMIT 1 Spree::OptionValue Load (31.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339599) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["name", "colour"], ["option_type_id", 935339599], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.359963' WHERE "spree_products"."id" = 1060501417 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501417], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.361509' WHERE "spree_products"."id" = 1060501417  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592275, 979460944) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501417]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501417) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592271 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592272 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592273 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592274 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592275 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501417) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.413989' WHERE "spree_products"."id" = 1060501417  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592271 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.415833' WHERE "spree_products"."id" = 1060501417 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.417334' WHERE "spree_products"."id" = 1060501417  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592272 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.418358' WHERE "spree_products"."id" = 1060501417 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.419617' WHERE "spree_products"."id" = 1060501417  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592273 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.420770' WHERE "spree_products"."id" = 1060501417 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.422311' WHERE "spree_products"."id" = 1060501417  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592274 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.423379' WHERE "spree_products"."id" = 1060501417 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501417 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.424631' WHERE "spree_products"."id" = 1060501417  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592275 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:17.425939' WHERE "spree_products"."id" = 1060501417 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501417) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:26:17.429851' WHERE "spree_products"."id" = 1060501417 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501417 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (67.9ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592270) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501417)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:17 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592262, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1318 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:18 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592262, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1319 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501415) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501415) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501415 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:25 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592266, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1320 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501416) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501416) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501416 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592270, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1321 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501417) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501417) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501417  (58.6ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501415 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592262) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501415)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501416 AND ("spree_variants".is_master = 't') LIMIT 1  (27.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592266) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501416)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501417 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592270) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501417)) SQL (2.4ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (30.4ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.045384' WHERE "spree_products"."id" = 1060501418 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501418], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.047301' WHERE "spree_products"."id" = 1060501418  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592276 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.049016' WHERE "spree_products"."id" = 1060501418  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501418  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["product_id", nil], ["property_id", 905835613], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501418, "updated_at" = '2012-10-23 14:26:33.056374' WHERE "spree_product_properties"."id" = 1073274001 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501418) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452441 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452441], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501418 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501418, 558400179) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452442 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452442], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501418, 558400180) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501418) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501418 AND "spree_option_types"."id" = 935339600 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501418) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["option_type_id", 935339600], ["position", 1], ["product_id", 1060501418], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339600 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339600) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339600], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.147530' WHERE "spree_products"."id" = 1060501418 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501418], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.149216' WHERE "spree_products"."id" = 1060501418  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592277, 979460945) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339600 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339600) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339600], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.183560' WHERE "spree_products"."id" = 1060501418 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501418], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.185090' WHERE "spree_products"."id" = 1060501418  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592278, 979460946) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339600 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339600) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339600], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.190491' WHERE "spree_products"."id" = 1060501418 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501418], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.191900' WHERE "spree_products"."id" = 1060501418  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592279, 979460947) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501418]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501418) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592277 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592278 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592279 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501418) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.211747' WHERE "spree_products"."id" = 1060501418  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592277 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.213377' WHERE "spree_products"."id" = 1060501418 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.243607' WHERE "spree_products"."id" = 1060501418  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592278 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.245026' WHERE "spree_products"."id" = 1060501418 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.246550' WHERE "spree_products"."id" = 1060501418  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592279 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:33.247631' WHERE "spree_products"."id" = 1060501418 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:33 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592276, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1322 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501418 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:34.042807' WHERE "spree_products"."id" = 1060501418  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501418 Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:34 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592276, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1323 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:34.878872' WHERE "spree_products"."id" = 1060501418 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501418 Spree::Asset Load (4.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:34 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592276, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1324 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.644947' WHERE "spree_products"."id" = 1060501418 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501418 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501418) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:26:35.652592' WHERE "spree_products"."id" = 1060501418 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501418 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.837202' WHERE "spree_products"."id" = 1060501419 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501419], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.838587' WHERE "spree_products"."id" = 1060501419  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592280 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.840268' WHERE "spree_products"."id" = 1060501419  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501419  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["product_id", nil], ["property_id", 905835614], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501419, "updated_at" = '2012-10-23 14:26:35.847502' WHERE "spree_product_properties"."id" = 1073274002 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501419) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452441 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501419 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501419, 558400179) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452443 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452443], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501419, 558400181) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452444 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452444], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501419, 558400182) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501419) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501419 AND "spree_option_types"."id" = 935339600 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501419) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00], ["option_type_id", 935339600], ["position", 1], ["product_id", 1060501419], ["updated_at", Tue, 23 Oct 2012 14:26:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339600 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.907185' WHERE "spree_products"."id" = 1060501419 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501419], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.908585' WHERE "spree_products"."id" = 1060501419  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592281, 979460945) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339600 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.911881' WHERE "spree_products"."id" = 1060501419 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501419], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.913555' WHERE "spree_products"."id" = 1060501419  (26.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592282, 979460946) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339600 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.943905' WHERE "spree_products"."id" = 1060501419 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501419], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.945555' WHERE "spree_products"."id" = 1060501419  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592283, 979460947) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501419]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501419) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592281 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592282 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592283 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501419) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (1.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.962115' WHERE "spree_products"."id" = 1060501419  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592281 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.964584' WHERE "spree_products"."id" = 1060501419 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (28.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.966140' WHERE "spree_products"."id" = 1060501419  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592282 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.995850' WHERE "spree_products"."id" = 1060501419 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.997429' WHERE "spree_products"."id" = 1060501419  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592283 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:35.998583' WHERE "spree_products"."id" = 1060501419 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:36 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592280, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1325 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:26:42 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592280, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1326 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501419 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:26:43.271692' WHERE "spree_products"."id" = 1060501419  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501419 Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501419) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:26:43.383554' WHERE "spree_products"."id" = 1060501419 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501419 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.4ms) commit transaction  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501418 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592276 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (7.2ms) DELETE FROM "spree_products" SQL (3.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.6ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.4ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (50.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00]] Spree::Product Load (2.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:50.715174' WHERE "spree_products"."id" = 1060501420 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501420], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:50.718113' WHERE "spree_products"."id" = 1060501420  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592284 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:50.721167' WHERE "spree_products"."id" = 1060501420  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501420  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["product_id", nil], ["property_id", 905835615], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501420, "updated_at" = '2012-10-23 14:27:50.797635' WHERE "spree_product_properties"."id" = 1073274003 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501420) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452445 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452445], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00]] Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501420 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501420, 558400183) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452446 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452446], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501420, 558400184) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501420) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:27:50 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501420 AND "spree_option_types"."id" = 935339601 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501420) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00], ["option_type_id", 935339601], ["position", 1], ["product_id", 1060501420], ["updated_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339601 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339601) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339601], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.016629' WHERE "spree_products"."id" = 1060501420 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501420], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.018333' WHERE "spree_products"."id" = 1060501420  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592285, 979460948) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339601 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339601) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339601], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.026759' WHERE "spree_products"."id" = 1060501420 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501420], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.028908' WHERE "spree_products"."id" = 1060501420  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592286, 979460949) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339601 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339601) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339601], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.033181' WHERE "spree_products"."id" = 1060501420 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501420], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.034544' WHERE "spree_products"."id" = 1060501420  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592287, 979460950) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501420]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501420) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592285 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592286 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592287 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501420) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.086509' WHERE "spree_products"."id" = 1060501420  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592285 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.088179' WHERE "spree_products"."id" = 1060501420 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.089502' WHERE "spree_products"."id" = 1060501420  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592286 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.090289' WHERE "spree_products"."id" = 1060501420 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.091627' WHERE "spree_products"."id" = 1060501420  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592287 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.092887' WHERE "spree_products"."id" = 1060501420 Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592284, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1327 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501420 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:51.720223' WHERE "spree_products"."id" = 1060501420  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501420 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:27:51 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592284, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1328 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:52.345332' WHERE "spree_products"."id" = 1060501420 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501420 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:27:52 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592284, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1329 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:52.935823' WHERE "spree_products"."id" = 1060501420 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501420 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501420) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:27:52.942964' WHERE "spree_products"."id" = 1060501420 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501420 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:27:52 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:27:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:52.993453' WHERE "spree_products"."id" = 1060501421 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501421], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:52.995490' WHERE "spree_products"."id" = 1060501421  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592288 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:52.998339' WHERE "spree_products"."id" = 1060501421  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501421  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["product_id", nil], ["property_id", 905835616], ["updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501421, "updated_at" = '2012-10-23 14:27:53.006794' WHERE "spree_product_properties"."id" = 1073274004 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501421) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452445 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501421 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501421, 558400183) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452447 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452447], ["updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501421, 558400185) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452448 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452448], ["updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501421, 558400186) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501421) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501421 AND "spree_option_types"."id" = 935339601 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501421) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["option_type_id", 935339601], ["position", 1], ["product_id", 1060501421], ["updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339601 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.056000' WHERE "spree_products"."id" = 1060501421 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501421], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.058035' WHERE "spree_products"."id" = 1060501421  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592289, 979460948) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339601 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.061335' WHERE "spree_products"."id" = 1060501421 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501421], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.063470' WHERE "spree_products"."id" = 1060501421  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592290, 979460949) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339601 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.080907' WHERE "spree_products"."id" = 1060501421 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501421], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.082640' WHERE "spree_products"."id" = 1060501421  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592291, 979460950) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501421]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501421) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592289 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592290 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592291 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501421) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.101039' WHERE "spree_products"."id" = 1060501421  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592289 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.102780' WHERE "spree_products"."id" = 1060501421 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.118692' WHERE "spree_products"."id" = 1060501421  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592290 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.119835' WHERE "spree_products"."id" = 1060501421 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.121440' WHERE "spree_products"."id" = 1060501421  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592291 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:53.122421' WHERE "spree_products"."id" = 1060501421 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:27:53 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592288, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1330 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (4.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:27:57 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592288, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1331 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501421 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:27:58.596057' WHERE "spree_products"."id" = 1060501421  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501421 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501421) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:27:58.651430' WHERE "spree_products"."id" = 1060501421 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501421 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (30.6ms) commit transaction  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501420 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592284 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (6.8ms) DELETE FROM "spree_products" SQL (4.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (51.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.591426' WHERE "spree_products"."id" = 1060501422 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501422], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.594930' WHERE "spree_products"."id" = 1060501422  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592292 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.597566' WHERE "spree_products"."id" = 1060501422  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501422  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["product_id", nil], ["property_id", 905835617], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501422, "updated_at" = '2012-10-23 14:29:15.680055' WHERE "spree_product_properties"."id" = 1073274005 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501422) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452449 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452449], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501422 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501422, 558400187) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452450 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452450], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501422, 558400188) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501422) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501422 AND "spree_option_types"."id" = 935339602 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501422) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["option_type_id", 935339602], ["position", 1], ["product_id", 1060501422], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339602 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339602) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339602], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.871374' WHERE "spree_products"."id" = 1060501422 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501422], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.872906' WHERE "spree_products"."id" = 1060501422  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592293, 979460951) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339602 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339602) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339602], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.881559' WHERE "spree_products"."id" = 1060501422 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501422], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.883208' WHERE "spree_products"."id" = 1060501422  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592294, 979460952) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339602 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339602) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339602], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.887973' WHERE "spree_products"."id" = 1060501422 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501422], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.889374' WHERE "spree_products"."id" = 1060501422  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592295, 979460953) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501422]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501422) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592293 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592294 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592295 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501422) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.924927' WHERE "spree_products"."id" = 1060501422  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592293 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.926105' WHERE "spree_products"."id" = 1060501422 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.927687' WHERE "spree_products"."id" = 1060501422  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592294 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.928570' WHERE "spree_products"."id" = 1060501422 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.929776' WHERE "spree_products"."id" = 1060501422  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592295 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:15.931129' WHERE "spree_products"."id" = 1060501422 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:29:15 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592292, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1332 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501422 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:16.564946' WHERE "spree_products"."id" = 1060501422  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501422 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:29:16 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592292, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1333 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.205384' WHERE "spree_products"."id" = 1060501422 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501422 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592292, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1334 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.761531' WHERE "spree_products"."id" = 1060501422 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501422 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501422) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:29:17.769272' WHERE "spree_products"."id" = 1060501422 Row ["MULTI_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:more random alt text", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501422 Current value to assign : MULTI_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.798861' WHERE "spree_products"."id" = 1060501423 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501423], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.800324' WHERE "spree_products"."id" = 1060501423  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592296 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.802867' WHERE "spree_products"."id" = 1060501423  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501423  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["product_id", nil], ["property_id", 905835618], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501423, "updated_at" = '2012-10-23 14:29:17.811612' WHERE "spree_product_properties"."id" = 1073274006 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501423) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452449 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501423 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501423, 558400187) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452451 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452451], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501423, 558400189) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452452 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452452], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501423, 558400190) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501423) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501423 AND "spree_option_types"."id" = 935339602 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501423) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["option_type_id", 935339602], ["position", 1], ["product_id", 1060501423], ["updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339602 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.852027' WHERE "spree_products"."id" = 1060501423 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501423], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.854037' WHERE "spree_products"."id" = 1060501423  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592297, 979460951) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339602 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.857435' WHERE "spree_products"."id" = 1060501423 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501423], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.858948' WHERE "spree_products"."id" = 1060501423  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592298, 979460952) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339602 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.862678' WHERE "spree_products"."id" = 1060501423 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501423], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.864124' WHERE "spree_products"."id" = 1060501423  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592299, 979460953) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501423]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501423) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592297 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592298 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592299 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501423) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.881491' WHERE "spree_products"."id" = 1060501423  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592297 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.882756' WHERE "spree_products"."id" = 1060501423 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.884245' WHERE "spree_products"."id" = 1060501423  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592298 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.885367' WHERE "spree_products"."id" = 1060501423 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.886985' WHERE "spree_products"."id" = 1060501423  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592299 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:17.888258' WHERE "spree_products"."id" = 1060501423 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:29:17 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592296, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1335 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:29:22 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592296, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1336 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501423 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:29:23.054390' WHERE "spree_products"."id" = 1060501423  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501423 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501423) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:29:23.088725' WHERE "spree_products"."id" = 1060501423 Row ["MULTI_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501423 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (19.7ms) commit transaction  (1.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501422 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592292 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (5.3ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (52.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.516800' WHERE "spree_products"."id" = 1060501424 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501424], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.520666' WHERE "spree_products"."id" = 1060501424  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592300 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.523639' WHERE "spree_products"."id" = 1060501424  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501424  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["product_id", nil], ["property_id", 905835619], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501424, "updated_at" = '2012-10-23 14:33:48.604207' WHERE "spree_product_properties"."id" = 1073274007 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501424) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452453 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452453], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501424 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501424, 558400191) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452454 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452454], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501424, 558400192) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501424) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501424 AND "spree_option_types"."id" = 935339603 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501424) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["option_type_id", 935339603], ["position", 1], ["product_id", 1060501424], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339603 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339603) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339603], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.891174' WHERE "spree_products"."id" = 1060501424 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501424], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.892967' WHERE "spree_products"."id" = 1060501424  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592301, 979460954) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339603 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339603) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339603], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.903597' WHERE "spree_products"."id" = 1060501424 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501424], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.905107' WHERE "spree_products"."id" = 1060501424  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592302, 979460955) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339603 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339603) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339603], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.909975' WHERE "spree_products"."id" = 1060501424 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501424], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.911128' WHERE "spree_products"."id" = 1060501424  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592303, 979460956) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501424]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501424) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592301 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592302 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592303 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501424) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.948508' WHERE "spree_products"."id" = 1060501424  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592301 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.949780' WHERE "spree_products"."id" = 1060501424 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.950987' WHERE "spree_products"."id" = 1060501424  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592302 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.952162' WHERE "spree_products"."id" = 1060501424 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.953370' WHERE "spree_products"."id" = 1060501424  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592303 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:48.954441' WHERE "spree_products"."id" = 1060501424 Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:33:48 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592300, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1337 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501424 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:49.607003' WHERE "spree_products"."id" = 1060501424  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501424 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:33:49 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592300, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1338 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.202533' WHERE "spree_products"."id" = 1060501424 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501424 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592300, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1339 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.753059' WHERE "spree_products"."id" = 1060501424 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501424 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501424) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:33:50.759684' WHERE "spree_products"."id" = 1060501424 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501424 Current value to assign : MULTI_002 Current value to assign : Demo 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo 002"], ["permalink", "demo-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.784623' WHERE "spree_products"."id" = 1060501425 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501425], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.786143' WHERE "spree_products"."id" = 1060501425  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592304 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.787785' WHERE "spree_products"."id" = 1060501425  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501425  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["product_id", nil], ["property_id", 905835620], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501425, "updated_at" = '2012-10-23 14:33:50.797259' WHERE "spree_product_properties"."id" = 1073274008 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501425) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452453 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501425 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501425, 558400191) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452455 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452455], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501425, 558400193) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452456 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452456], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501425, 558400194) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501425) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501425 AND "spree_option_types"."id" = 935339603 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501425) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["option_type_id", 935339603], ["position", 1], ["product_id", 1060501425], ["updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339603 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.832344' WHERE "spree_products"."id" = 1060501425 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501425], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.833913' WHERE "spree_products"."id" = 1060501425  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592305, 979460954) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339603 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.836754' WHERE "spree_products"."id" = 1060501425 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501425], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.838055' WHERE "spree_products"."id" = 1060501425  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592306, 979460955) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339603 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.840926' WHERE "spree_products"."id" = 1060501425 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501425], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.843044' WHERE "spree_products"."id" = 1060501425  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592307, 979460956) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501425]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501425) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592305 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592306 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592307 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501425) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.858079' WHERE "spree_products"."id" = 1060501425  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592305 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.859626' WHERE "spree_products"."id" = 1060501425 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.861892' WHERE "spree_products"."id" = 1060501425  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592306 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.862817' WHERE "spree_products"."id" = 1060501425 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.864316' WHERE "spree_products"."id" = 1060501425  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592307 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:50.865257' WHERE "spree_products"."id" = 1060501425 Spree::Asset Load (2.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:33:50 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592304, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1340 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:33:56 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013592304, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1341 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501425 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:33:57.140033' WHERE "spree_products"."id" = 1060501425  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501425 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501425) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:33:57.170484' WHERE "spree_products"."id" = 1060501425 Row ["MULTI_002", "Demo 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501425 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (20.4ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Booted Spree using version 1.1.3 SQL (7.9ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (47.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.446680' WHERE "spree_products"."id" = 1060501426 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501426], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.450283' WHERE "spree_products"."id" = 1060501426  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592308 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.452516' WHERE "spree_products"."id" = 1060501426  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501426  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["product_id", nil], ["property_id", 905835621], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501426, "updated_at" = '2012-10-23 14:36:23.543281' WHERE "spree_product_properties"."id" = 1073274009 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501426) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452457 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452457], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501426 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501426, 558400195) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452458 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452458], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501426, 558400196) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501426) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::OptionType Exists (3.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501426 AND "spree_option_types"."id" = 935339604 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501426) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["option_type_id", 935339604], ["position", 1], ["product_id", 1060501426], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339604 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339604) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339604], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.757082' WHERE "spree_products"."id" = 1060501426 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501426], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.758455' WHERE "spree_products"."id" = 1060501426  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592309, 979460957) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339604 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339604) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339604], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.766748' WHERE "spree_products"."id" = 1060501426 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501426], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.768852' WHERE "spree_products"."id" = 1060501426  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592310, 979460958) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339604 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339604) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339604], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.773976' WHERE "spree_products"."id" = 1060501426 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501426], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.775274' WHERE "spree_products"."id" = 1060501426  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592311, 979460959) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501426]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501426) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592309 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592310 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592311 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501426) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.810984' WHERE "spree_products"."id" = 1060501426  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592309 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.812630' WHERE "spree_products"."id" = 1060501426 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.813698' WHERE "spree_products"."id" = 1060501426  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592310 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.814747' WHERE "spree_products"."id" = 1060501426 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.816230' WHERE "spree_products"."id" = 1060501426  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592311 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:23.817154' WHERE "spree_products"."id" = 1060501426 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:36:23 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592308, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1342 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501426 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:24.528018' WHERE "spree_products"."id" = 1060501426  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501426 Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:36:24 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592308, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1343 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:25.462039' WHERE "spree_products"."id" = 1060501426 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501426 Spree::Asset Load (2.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:36:25 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592308, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1344 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.046416' WHERE "spree_products"."id" = 1060501426 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501426 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501426) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:36:26.053522' WHERE "spree_products"."id" = 1060501426 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501426 Current value to assign : MULTI_002 Current value to assign : Demo 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo 002"], ["permalink", "demo-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.087029' WHERE "spree_products"."id" = 1060501427 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501427], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.098829' WHERE "spree_products"."id" = 1060501427  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592312 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.101017' WHERE "spree_products"."id" = 1060501427  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501427  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["product_id", nil], ["property_id", 905835622], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501427, "updated_at" = '2012-10-23 14:36:26.109214' WHERE "spree_product_properties"."id" = 1073274010 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501427) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452457 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501427 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501427, 558400195) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452459 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452459], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501427, 558400197) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452460 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452460], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501427, 558400198) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501427) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501427 AND "spree_option_types"."id" = 935339604 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501427) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["option_type_id", 935339604], ["position", 1], ["product_id", 1060501427], ["updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339604 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.148131' WHERE "spree_products"."id" = 1060501427 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501427], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.149472' WHERE "spree_products"."id" = 1060501427  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592313, 979460957) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339604 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.153022' WHERE "spree_products"."id" = 1060501427 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501427], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.154169' WHERE "spree_products"."id" = 1060501427  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592314, 979460958) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339604 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.157546' WHERE "spree_products"."id" = 1060501427 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501427], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.158721' WHERE "spree_products"."id" = 1060501427  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592315, 979460959) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501427]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501427) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592313 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592314 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592315 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501427) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.176124' WHERE "spree_products"."id" = 1060501427  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592313 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.177503' WHERE "spree_products"."id" = 1060501427 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.181091' WHERE "spree_products"."id" = 1060501427  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592314 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.182043' WHERE "spree_products"."id" = 1060501427 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.183540' WHERE "spree_products"."id" = 1060501427  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592315 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:26.184500' WHERE "spree_products"."id" = 1060501427 Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:36:26 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592312, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1345 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (3.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:36:30 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592312, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1346 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501427 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:36:31.527772' WHERE "spree_products"."id" = 1060501427  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501427 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501427) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:36:31.558532' WHERE "spree_products"."id" = 1060501427 Row ["MULTI_002", "Demo 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501427 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.7ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501426 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592308 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (6.6ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (51.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.188595' WHERE "spree_products"."id" = 1060501428 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501428], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.192232' WHERE "spree_products"."id" = 1060501428  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592316 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.195072' WHERE "spree_products"."id" = 1060501428  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501428  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["product_id", nil], ["property_id", 905835623], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501428, "updated_at" = '2012-10-23 14:40:54.273934' WHERE "spree_product_properties"."id" = 1073274011 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501428) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452461 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452461], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501428 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501428, 558400199) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452462 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452462], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501428, 558400200) Spree::Product Exists (1.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501428) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501428 AND "spree_option_types"."id" = 935339605 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501428) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["option_type_id", 935339605], ["position", 1], ["product_id", 1060501428], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339605 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339605) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339605], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.454361' WHERE "spree_products"."id" = 1060501428 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501428], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.456049' WHERE "spree_products"."id" = 1060501428  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592317, 979460960) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339605 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339605) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339605], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.464604' WHERE "spree_products"."id" = 1060501428 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501428], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.466045' WHERE "spree_products"."id" = 1060501428  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592318, 979460961) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339605 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339605) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339605], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.472990' WHERE "spree_products"."id" = 1060501428 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501428], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.474224' WHERE "spree_products"."id" = 1060501428  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592319, 979460962) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501428]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501428) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592317 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592318 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592319 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501428) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.511017' WHERE "spree_products"."id" = 1060501428  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592317 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.512491' WHERE "spree_products"."id" = 1060501428 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.513908' WHERE "spree_products"."id" = 1060501428  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592318 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.515177' WHERE "spree_products"."id" = 1060501428 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.516320' WHERE "spree_products"."id" = 1060501428  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592319 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:54.517618' WHERE "spree_products"."id" = 1060501428 Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:40:54 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592316, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1347 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501428 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:55.158829' WHERE "spree_products"."id" = 1060501428  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501428 Spree::Asset Load (1.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:40:55 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592316, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1348 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:55.726018' WHERE "spree_products"."id" = 1060501428 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501428 Spree::Asset Load (2.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:40:55 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592316, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1349 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.301440' WHERE "spree_products"."id" = 1060501428 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501428 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501428) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:40:56.309627' WHERE "spree_products"."id" = 1060501428 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501428 Current value to assign : MULTI_002 Current value to assign : Demo 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo 002"], ["permalink", "demo-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.337706' WHERE "spree_products"."id" = 1060501429 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501429], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.339803' WHERE "spree_products"."id" = 1060501429  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592320 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.342000' WHERE "spree_products"."id" = 1060501429  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501429  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["product_id", nil], ["property_id", 905835624], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501429, "updated_at" = '2012-10-23 14:40:56.349680' WHERE "spree_product_properties"."id" = 1073274012 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501429) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452461 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501429 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501429, 558400199) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452463 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452463], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501429, 558400201) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452464 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452464], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501429, 558400202) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501429) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501429 AND "spree_option_types"."id" = 935339605 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501429) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["option_type_id", 935339605], ["position", 1], ["product_id", 1060501429], ["updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339605 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.388277' WHERE "spree_products"."id" = 1060501429 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501429], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.390375' WHERE "spree_products"."id" = 1060501429  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592321, 979460960) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339605 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.393810' WHERE "spree_products"."id" = 1060501429 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501429], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.395346' WHERE "spree_products"."id" = 1060501429  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592322, 979460961) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339605 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.398678' WHERE "spree_products"."id" = 1060501429 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501429], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.400087' WHERE "spree_products"."id" = 1060501429  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592323, 979460962) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501429]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501429) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592321 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592322 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592323 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501429) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.416502' WHERE "spree_products"."id" = 1060501429  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592321 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.417775' WHERE "spree_products"."id" = 1060501429 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.419080' WHERE "spree_products"."id" = 1060501429  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592322 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.420370' WHERE "spree_products"."id" = 1060501429 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.422108' WHERE "spree_products"."id" = 1060501429  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592323 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:40:56.423331' WHERE "spree_products"."id" = 1060501429 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:40:56 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592320, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1350 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:41:01 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.2ms) UPDATE "spree_assets" SET "viewable_id" = 1013592320, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1351 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501429 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:41:02.438277' WHERE "spree_products"."id" = 1060501429  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501429 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501429) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:41:02.451718' WHERE "spree_products"."id" = 1060501429 Row ["MULTI_002", "Demo 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501429 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.5ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501428 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592316 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (6.4ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (50.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.100053' WHERE "spree_products"."id" = 1060501430 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501430], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.102708' WHERE "spree_products"."id" = 1060501430  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592324 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.106317' WHERE "spree_products"."id" = 1060501430  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501430  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["product_id", nil], ["property_id", 905835625], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501430, "updated_at" = '2012-10-23 14:42:31.181089' WHERE "spree_product_properties"."id" = 1073274013 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501430) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (2.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452465 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452465], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501430 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501430, 558400203) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452466 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452466], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501430, 558400204) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501430) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501430 AND "spree_option_types"."id" = 935339606 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501430) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["option_type_id", 935339606], ["position", 1], ["product_id", 1060501430], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339606 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339606) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339606], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.366674' WHERE "spree_products"."id" = 1060501430 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501430], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.368278' WHERE "spree_products"."id" = 1060501430  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592325, 979460963) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339606 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339606) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339606], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.381238' WHERE "spree_products"."id" = 1060501430 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501430], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.382690' WHERE "spree_products"."id" = 1060501430  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592326, 979460964) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339606 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339606) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339606], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.387379' WHERE "spree_products"."id" = 1060501430 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501430], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.388700' WHERE "spree_products"."id" = 1060501430  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592327, 979460965) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501430]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501430) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592325 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592326 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592327 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501430) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.424679' WHERE "spree_products"."id" = 1060501430  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592325 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.425976' WHERE "spree_products"."id" = 1060501430 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.427282' WHERE "spree_products"."id" = 1060501430  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592326 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.428231' WHERE "spree_products"."id" = 1060501430 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.429279' WHERE "spree_products"."id" = 1060501430  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592327 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:31.430458' WHERE "spree_products"."id" = 1060501430 Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:42:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.9ms) UPDATE "spree_assets" SET "viewable_id" = 1013592324, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1352 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501430 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:32.071488' WHERE "spree_products"."id" = 1060501430  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501430 Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:42:32 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592324, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1353 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:32.666821' WHERE "spree_products"."id" = 1060501430 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501430 Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:42:32 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592324, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1354 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.220652' WHERE "spree_products"."id" = 1060501430 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501430 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501430) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:42:33.227728' WHERE "spree_products"."id" = 1060501430 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501430 Current value to assign : MULTI_002 Current value to assign : Demo 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo 002"], ["permalink", "demo-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.252596' WHERE "spree_products"."id" = 1060501431 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501431], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.255178' WHERE "spree_products"."id" = 1060501431  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592328 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.256989' WHERE "spree_products"."id" = 1060501431  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501431  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["product_id", nil], ["property_id", 905835626], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501431, "updated_at" = '2012-10-23 14:42:33.265651' WHERE "spree_product_properties"."id" = 1073274014 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501431) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452465 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501431 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501431, 558400203) Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452467 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452467], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501431, 558400205) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452468], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501431, 558400206) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501431) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501431 AND "spree_option_types"."id" = 935339606 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501431) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["option_type_id", 935339606], ["position", 1], ["product_id", 1060501431], ["updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339606 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.300807' WHERE "spree_products"."id" = 1060501431 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501431], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.302227' WHERE "spree_products"."id" = 1060501431  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592329, 979460963) Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339606 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.306195' WHERE "spree_products"."id" = 1060501431 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501431], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.307650' WHERE "spree_products"."id" = 1060501431  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592330, 979460964) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339606 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.310827' WHERE "spree_products"."id" = 1060501431 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501431], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.312201' WHERE "spree_products"."id" = 1060501431  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592331, 979460965) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501431]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501431) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592329 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592330 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592331 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501431) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.329742' WHERE "spree_products"."id" = 1060501431  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592329 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.330952' WHERE "spree_products"."id" = 1060501431 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.332170' WHERE "spree_products"."id" = 1060501431  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592330 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.333269' WHERE "spree_products"."id" = 1060501431 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.334558' WHERE "spree_products"."id" = 1060501431  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592331 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:33.335951' WHERE "spree_products"."id" = 1060501431 Spree::Asset Load (1.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:42:33 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592328, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1355 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:42:37 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592328, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1356 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501431 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:42:38.161944' WHERE "spree_products"."id" = 1060501431  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501431 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501431) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:42:38.190696' WHERE "spree_products"."id" = 1060501431 Row ["MULTI_002", "Demo 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501431 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.5ms) commit transaction  (13.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501430 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592324 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (55.7ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (66.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.553582' WHERE "spree_products"."id" = 1060501432 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501432], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.557247' WHERE "spree_products"."id" = 1060501432  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592332 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.559874' WHERE "spree_products"."id" = 1060501432  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501432  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["product_id", nil], ["property_id", 905835627], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501432, "updated_at" = '2012-10-23 14:48:31.701427' WHERE "spree_product_properties"."id" = 1073274015 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501432) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (3.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452469 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452469], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501432 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501432, 558400207) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452470 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452470], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501432, 558400208) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501432) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501432 AND "spree_option_types"."id" = 935339607 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501432) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["option_type_id", 935339607], ["position", 1], ["product_id", 1060501432], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339607 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339607], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.931958' WHERE "spree_products"."id" = 1060501432 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501432], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.933574' WHERE "spree_products"."id" = 1060501432  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592333, 979460966) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339607 LIMIT 1 Spree::OptionValue Load (3.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339607], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.947636' WHERE "spree_products"."id" = 1060501432 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501432], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.949052' WHERE "spree_products"."id" = 1060501432  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592334, 979460967) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339607 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339607], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:48:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.954115' WHERE "spree_products"."id" = 1060501432 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501432], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:31.955554' WHERE "spree_products"."id" = 1060501432  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592335, 979460968) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501432]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501432) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (16.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592333 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592334 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592335 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501432) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:32.008232' WHERE "spree_products"."id" = 1060501432  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592333 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:32.009440' WHERE "spree_products"."id" = 1060501432 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:32.010205' WHERE "spree_products"."id" = 1060501432  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592334 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:32.011159' WHERE "spree_products"."id" = 1060501432 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:32.012294' WHERE "spree_products"."id" = 1060501432  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592335 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:32.013375' WHERE "spree_products"."id" = 1060501432 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:48:32 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592332, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1357 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501432 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:33.217125' WHERE "spree_products"."id" = 1060501432  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501432 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:48:33 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592332, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1358 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:34.151186' WHERE "spree_products"."id" = 1060501432 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501432 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:48:34 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013592332, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1359 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.334116' WHERE "spree_products"."id" = 1060501432 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501432 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501432) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:48:35.341804' WHERE "spree_products"."id" = 1060501432 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501432 Current value to assign : MULTI_002 Current value to assign : Demo 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (12.8ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo 002"], ["permalink", "demo-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.365563' WHERE "spree_products"."id" = 1060501433 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501433], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.367108' WHERE "spree_products"."id" = 1060501433  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592336 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.371899' WHERE "spree_products"."id" = 1060501433  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501433  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["product_id", nil], ["property_id", 905835628], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501433, "updated_at" = '2012-10-23 14:48:35.380575' WHERE "spree_product_properties"."id" = 1073274016 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501433) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452469 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501433 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501433, 558400207) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452471 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452471], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501433, 558400209) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452472 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452472], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501433, 558400210) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501433) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501433 AND "spree_option_types"."id" = 935339607 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501433) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["option_type_id", 935339607], ["position", 1], ["product_id", 1060501433], ["updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339607 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.438402' WHERE "spree_products"."id" = 1060501433 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501433], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.440218' WHERE "spree_products"."id" = 1060501433  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592337, 979460966) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339607 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (1.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.442989' WHERE "spree_products"."id" = 1060501433 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501433], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.445409' WHERE "spree_products"."id" = 1060501433  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592338, 979460967) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339607 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.448174' WHERE "spree_products"."id" = 1060501433 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501433], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.449494' WHERE "spree_products"."id" = 1060501433  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592339, 979460968) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501433]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501433) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592337 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592338 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592339 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501433) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.464643' WHERE "spree_products"."id" = 1060501433  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592337 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.466224' WHERE "spree_products"."id" = 1060501433 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.468094' WHERE "spree_products"."id" = 1060501433  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592338 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.468981' WHERE "spree_products"."id" = 1060501433 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.470159' WHERE "spree_products"."id" = 1060501433  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592339 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:35.471483' WHERE "spree_products"."id" = 1060501433 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:48:35 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592336, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1360 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:48:43 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592336, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1361 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501433 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:48:44.756881' WHERE "spree_products"."id" = 1060501433  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501433 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501433) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:48:44.770857' WHERE "spree_products"."id" = 1060501433 Row ["MULTI_002", "Demo 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501433 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.1ms) commit transaction  (0.8ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501432 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592332 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Booted Spree using version 1.1.3 SQL (9.6ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (53.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.325876' WHERE "spree_products"."id" = 1060501434 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501434], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.329333' WHERE "spree_products"."id" = 1060501434  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592340 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.333028' WHERE "spree_products"."id" = 1060501434  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501434  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["product_id", nil], ["property_id", 905835629], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501434, "updated_at" = '2012-10-23 14:52:50.410193' WHERE "spree_product_properties"."id" = 1073274017 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501434) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452473 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452473], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501434 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501434, 558400211) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452474 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452474], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501434, 558400212) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501434) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501434 AND "spree_option_types"."id" = 935339608 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501434) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["option_type_id", 935339608], ["position", 1], ["product_id", 1060501434], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339608 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339608) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339608], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.598764' WHERE "spree_products"."id" = 1060501434 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501434], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.600573' WHERE "spree_products"."id" = 1060501434  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592341, 979460969) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339608 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339608) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339608], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.608868' WHERE "spree_products"."id" = 1060501434 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501434], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.610305' WHERE "spree_products"."id" = 1060501434  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592342, 979460970) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339608 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339608) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339608], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.615234' WHERE "spree_products"."id" = 1060501434 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501434], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.616572' WHERE "spree_products"."id" = 1060501434  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592343, 979460971) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501434]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501434) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592341 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592342 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592343 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501434) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.653521' WHERE "spree_products"."id" = 1060501434  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592341 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.654872' WHERE "spree_products"."id" = 1060501434 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.656503' WHERE "spree_products"."id" = 1060501434  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592342 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.657313' WHERE "spree_products"."id" = 1060501434 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.658907' WHERE "spree_products"."id" = 1060501434  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592343 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:50.659895' WHERE "spree_products"."id" = 1060501434 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:52:50 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592340, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1362 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501434 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:51.281759' WHERE "spree_products"."id" = 1060501434  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501434 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:52:51 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592340, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1363 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:51.888669' WHERE "spree_products"."id" = 1060501434 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501434 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:52:51 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592340, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1364 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.431280' WHERE "spree_products"."id" = 1060501434 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501434 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501434) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:52:52.438191' WHERE "spree_products"."id" = 1060501434 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501434 Current value to assign : MULTI_002 Current value to assign : Demo 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1  (16.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo 002"], ["permalink", "demo-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.466610' WHERE "spree_products"."id" = 1060501435 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501435], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.468164' WHERE "spree_products"."id" = 1060501435  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592344 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.470091' WHERE "spree_products"."id" = 1060501435  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501435  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["product_id", nil], ["property_id", 905835630], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501435, "updated_at" = '2012-10-23 14:52:52.478218' WHERE "spree_product_properties"."id" = 1073274018 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501435) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452473 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501435 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501435, 558400211) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452475 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452475], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501435, 558400213) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452476 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452476], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501435, 558400214) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501435) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501435 AND "spree_option_types"."id" = 935339608 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501435) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["option_type_id", 935339608], ["position", 1], ["product_id", 1060501435], ["updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339608 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.514915' WHERE "spree_products"."id" = 1060501435 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501435], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.517055' WHERE "spree_products"."id" = 1060501435  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592345, 979460969) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339608 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.520784' WHERE "spree_products"."id" = 1060501435 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501435], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.521924' WHERE "spree_products"."id" = 1060501435  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592346, 979460970) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339608 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.525021' WHERE "spree_products"."id" = 1060501435 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501435], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.526523' WHERE "spree_products"."id" = 1060501435  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592347, 979460971) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501435]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501435) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592345 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592346 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592347 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501435) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.542247' WHERE "spree_products"."id" = 1060501435  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592345 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.543553' WHERE "spree_products"."id" = 1060501435 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.544819' WHERE "spree_products"."id" = 1060501435  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592346 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.545771' WHERE "spree_products"."id" = 1060501435 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.547584' WHERE "spree_products"."id" = 1060501435  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592347 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:52.548522' WHERE "spree_products"."id" = 1060501435 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:52:52 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592344, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1365 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:52:56 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592344, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1366 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501435 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:52:57.348603' WHERE "spree_products"."id" = 1060501435  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501435 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-002' AND "spree_products"."id" != 1060501435) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:52:57.377109' WHERE "spree_products"."id" = 1060501435 Row ["MULTI_002", "Demo 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text|fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501435 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.4ms) commit transaction  (14.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501434 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592340 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Booted Spree using version 1.1.3 SQL (9.9ms) DELETE FROM "spree_products" SQL (3.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.9ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (47.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:14.868246' WHERE "spree_products"."id" = 1060501436 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501436], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:14.872067' WHERE "spree_products"."id" = 1060501436  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592348 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:14.874786' WHERE "spree_products"."id" = 1060501436  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501436  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00], ["product_id", nil], ["property_id", 905835631], ["updated_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501436, "updated_at" = '2012-10-23 14:54:14.950282' WHERE "spree_product_properties"."id" = 1073274019 Created New ProductProperty # Spree::Product Exists (2.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501436) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452477 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452477], ["updated_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501436 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501436, 558400215) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:54:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452478], ["updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501436, 558400216) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501436) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501436 AND "spree_option_types"."id" = 935339609 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501436) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["option_type_id", 935339609], ["position", 1], ["product_id", 1060501436], ["updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339609 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339609) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339609], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.129272' WHERE "spree_products"."id" = 1060501436 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501436], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.130785' WHERE "spree_products"."id" = 1060501436  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592349, 979460972) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339609 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339609) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339609], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.141196' WHERE "spree_products"."id" = 1060501436 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501436], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.142573' WHERE "spree_products"."id" = 1060501436  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592350, 979460973) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339609 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339609) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339609], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.147715' WHERE "spree_products"."id" = 1060501436 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501436], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.149066' WHERE "spree_products"."id" = 1060501436  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592351, 979460974) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501436]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501436) LIMIT 1  (1.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592349 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592350 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592351 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501436) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.185026' WHERE "spree_products"."id" = 1060501436  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592349 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.186370' WHERE "spree_products"."id" = 1060501436 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.187940' WHERE "spree_products"."id" = 1060501436  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592350 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.189092' WHERE "spree_products"."id" = 1060501436 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.191209' WHERE "spree_products"."id" = 1060501436  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592351 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.192332' WHERE "spree_products"."id" = 1060501436 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592348, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1367 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501436 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:15.828353' WHERE "spree_products"."id" = 1060501436  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.7ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501436 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:54:15 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592348, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1368 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:16.376294' WHERE "spree_products"."id" = 1060501436 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501436 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:54:16 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592348, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1369 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:16.937428' WHERE "spree_products"."id" = 1060501436 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501436 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501436) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:54:16.944475' WHERE "spree_products"."id" = 1060501436 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501436 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:54:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 002"], ["permalink", "demo-product-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:54:16 UTC +00:00]] Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:16.978695' WHERE "spree_products"."id" = 1060501437 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501437], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:16.980212' WHERE "spree_products"."id" = 1060501437  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592352 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:16.982163' WHERE "spree_products"."id" = 1060501437  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501437  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:54:16 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:16 UTC +00:00], ["product_id", nil], ["property_id", 905835632], ["updated_at", Tue, 23 Oct 2012 14:54:16 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501437, "updated_at" = '2012-10-23 14:54:16.993323' WHERE "spree_product_properties"."id" = 1073274020 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501437) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452477 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501437 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501437, 558400215) Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452479 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452479], ["updated_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501437, 558400217) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452480 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452480], ["updated_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501437, 558400218) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501437) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501437 AND "spree_option_types"."id" = 935339609 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501437) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00], ["option_type_id", 935339609], ["position", 1], ["product_id", 1060501437], ["updated_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339609 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.030569' WHERE "spree_products"."id" = 1060501437 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501437], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.032793' WHERE "spree_products"."id" = 1060501437  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592353, 979460972) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339609 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.035840' WHERE "spree_products"."id" = 1060501437 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501437], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.037066' WHERE "spree_products"."id" = 1060501437  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592354, 979460973) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339609 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.040295' WHERE "spree_products"."id" = 1060501437 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501437], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.041746' WHERE "spree_products"."id" = 1060501437  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592355, 979460974) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501437]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501437) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592353 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592354 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592355 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501437) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.056528' WHERE "spree_products"."id" = 1060501437  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592353 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.057564' WHERE "spree_products"."id" = 1060501437 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.059080' WHERE "spree_products"."id" = 1060501437  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592354 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.060041' WHERE "spree_products"."id" = 1060501437 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.061246' WHERE "spree_products"."id" = 1060501437  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592355 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:17.062463' WHERE "spree_products"."id" = 1060501437 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text for 002"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:54:17 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592352, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1370 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "323X428 ror bag"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:54:21 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592352, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1371 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501437 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:54:21.818088' WHERE "spree_products"."id" = 1060501437  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501437 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501437) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:54:21.849112' WHERE "spree_products"."id" = 1060501437 Row ["MULTI_002", "Demo Product 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text for 002|fixtures/images/DEMO_001_ror_bag.jpeg:323X428 ror bag"] succesfully SAVED : ID 1060501437 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501436 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592348 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501437 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592352 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Booted Spree using version 1.1.3 SQL (9.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (48.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:40.841481' WHERE "spree_products"."id" = 1060501438 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501438], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:40.844139' WHERE "spree_products"."id" = 1060501438  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592356 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:40.846559' WHERE "spree_products"."id" = 1060501438  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501438  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["product_id", nil], ["property_id", 905835633], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501438, "updated_at" = '2012-10-23 14:55:40.920492' WHERE "spree_product_properties"."id" = 1073274021 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501438) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452481 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452481], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501438 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501438, 558400219) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452482], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501438, 558400220) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501438) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:55:40 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501438 AND "spree_option_types"."id" = 935339610 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501438) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00], ["option_type_id", 935339610], ["position", 1], ["product_id", 1060501438], ["updated_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339610) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339610], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.111833' WHERE "spree_products"."id" = 1060501438 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501438], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.112868' WHERE "spree_products"."id" = 1060501438  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592357, 979460975) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339610) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339610], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.122132' WHERE "spree_products"."id" = 1060501438 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501438], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.123737' WHERE "spree_products"."id" = 1060501438  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592358, 979460976) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339610) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339610], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.129060' WHERE "spree_products"."id" = 1060501438 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501438], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.131378' WHERE "spree_products"."id" = 1060501438  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592359, 979460977) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501438]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501438) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592357 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592359 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501438) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.167068' WHERE "spree_products"."id" = 1060501438  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592357 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.168270' WHERE "spree_products"."id" = 1060501438 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.169866' WHERE "spree_products"."id" = 1060501438  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592358 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.170696' WHERE "spree_products"."id" = 1060501438 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.171774' WHERE "spree_products"."id" = 1060501438  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592359 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.173415' WHERE "spree_products"."id" = 1060501438 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:41 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592356, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1372 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501438 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:41.994504' WHERE "spree_products"."id" = 1060501438  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501438 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501438) LIMIT 1  (25.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:55:42.029219' WHERE "spree_products"."id" = 1060501438 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.041556' WHERE "spree_products"."id" = 1060501439 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501439], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.043108' WHERE "spree_products"."id" = 1060501439  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592360 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.045108' WHERE "spree_products"."id" = 1060501439  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501439  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["product_id", nil], ["property_id", 905835634], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501439, "updated_at" = '2012-10-23 14:55:42.054469' WHERE "spree_product_properties"."id" = 1073274022 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501439) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452481 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501439 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501439, 558400219) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452483 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452483], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501439, 558400221) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452484 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452484], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501439, 558400222) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501439) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501439 AND "spree_option_types"."id" = 935339610 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501439) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["option_type_id", 935339610], ["position", 1], ["product_id", 1060501439], ["updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.087520' WHERE "spree_products"."id" = 1060501439 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501439], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.089358' WHERE "spree_products"."id" = 1060501439  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592361, 979460975) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.092576' WHERE "spree_products"."id" = 1060501439 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501439], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.094217' WHERE "spree_products"."id" = 1060501439  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592362, 979460976) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.096953' WHERE "spree_products"."id" = 1060501439 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501439], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.098598' WHERE "spree_products"."id" = 1060501439  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592363, 979460977) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501439]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501439) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592361 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592362 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592363 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501439) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.115106' WHERE "spree_products"."id" = 1060501439  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592361 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.116559' WHERE "spree_products"."id" = 1060501439 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.123175' WHERE "spree_products"."id" = 1060501439  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592362 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.124376' WHERE "spree_products"."id" = 1060501439 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.125768' WHERE "spree_products"."id" = 1060501439  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592363 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:42.126932' WHERE "spree_products"."id" = 1060501439 SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:42 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592360, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1373 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501439 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.269330' WHERE "spree_products"."id" = 1060501439  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501439 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501439) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (19.3ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:55:46.279330' WHERE "spree_products"."id" = 1060501439 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (5.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.316339' WHERE "spree_products"."id" = 1060501440 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501440], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.318225' WHERE "spree_products"."id" = 1060501440  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592364 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.320283' WHERE "spree_products"."id" = 1060501440  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501440  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["product_id", nil], ["property_id", 905835635], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501440, "updated_at" = '2012-10-23 14:55:46.329726' WHERE "spree_product_properties"."id" = 1073274023 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["product_id", nil], ["property_id", 905835634], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501440, "updated_at" = '2012-10-23 14:55:46.333914' WHERE "spree_product_properties"."id" = 1073274024 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["product_id", nil], ["property_id", 905835636], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501440, "updated_at" = '2012-10-23 14:55:46.338741' WHERE "spree_product_properties"."id" = 1073274025 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501440) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452485 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452485], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501440 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501440, 558400223) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501440) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501440 AND "spree_option_types"."id" = 935339610 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501440) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["option_type_id", 935339610], ["position", 1], ["product_id", 1060501440], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.361694' WHERE "spree_products"."id" = 1060501440 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501440], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.362995' WHERE "spree_products"."id" = 1060501440  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592365, 979460975) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.366813' WHERE "spree_products"."id" = 1060501440 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501440], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.369426' WHERE "spree_products"."id" = 1060501440  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592366, 979460976) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339610 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.372885' WHERE "spree_products"."id" = 1060501440 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501440], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.376462' WHERE "spree_products"."id" = 1060501440  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592367, 979460977) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501440]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501440 AND "spree_option_types"."id" = 935339611 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501440) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["option_type_id", 935339611], ["position", 2], ["product_id", 1060501440], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339611 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339611) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339611], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.395718' WHERE "spree_products"."id" = 1060501440 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501440], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.397322' WHERE "spree_products"."id" = 1060501440  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592368, 979460978) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339611 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339611) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["name", "colour"], ["option_type_id", 935339611], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.423297' WHERE "spree_products"."id" = 1060501440 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501440], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.425768' WHERE "spree_products"."id" = 1060501440  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592369, 979460979) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501440]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501440) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592365 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592366 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592367 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592369 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501440) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.447331' WHERE "spree_products"."id" = 1060501440  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592365 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.448911' WHERE "spree_products"."id" = 1060501440 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.450433' WHERE "spree_products"."id" = 1060501440  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592366 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.451993' WHERE "spree_products"."id" = 1060501440 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (1.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.453430' WHERE "spree_products"."id" = 1060501440  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592367 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.456423' WHERE "spree_products"."id" = 1060501440 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.457680' WHERE "spree_products"."id" = 1060501440  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592368 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.458954' WHERE "spree_products"."id" = 1060501440 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.460649' WHERE "spree_products"."id" = 1060501440  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592369 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:46.461775' WHERE "spree_products"."id" = 1060501440 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:46 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592364, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1374 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501440 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.128582' WHERE "spree_products"."id" = 1060501440  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501440 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501440) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:55:47.162013' WHERE "spree_products"."id" = 1060501440  (5.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592356) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501438)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592356 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501438 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592356) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501438)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501439 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592360) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501439)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501440 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592364) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501440)) SQL (2.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (5.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (22.2ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.836724' WHERE "spree_products"."id" = 1060501441 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501441], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.839169' WHERE "spree_products"."id" = 1060501441  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592370 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.840941' WHERE "spree_products"."id" = 1060501441  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501441  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["product_id", nil], ["property_id", 905835637], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501441, "updated_at" = '2012-10-23 14:55:47.849934' WHERE "spree_product_properties"."id" = 1073274026 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501441) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452486], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501441 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501441, 558400224) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452487 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452487], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501441, 558400225) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501441) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501441 AND "spree_option_types"."id" = 935339612 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501441) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["option_type_id", 935339612], ["position", 1], ["product_id", 1060501441], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339612) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339612], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.884162' WHERE "spree_products"."id" = 1060501441 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501441], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.885471' WHERE "spree_products"."id" = 1060501441  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592371, 979460980) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339612) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339612], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.890771' WHERE "spree_products"."id" = 1060501441 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501441], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.891955' WHERE "spree_products"."id" = 1060501441  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592372, 979460981) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339612) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339612], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.921024' WHERE "spree_products"."id" = 1060501441 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501441], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.922860' WHERE "spree_products"."id" = 1060501441  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592373, 979460982) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501441]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501441) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592371 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592372 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592373 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501441) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.939954' WHERE "spree_products"."id" = 1060501441  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592371 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.941238' WHERE "spree_products"."id" = 1060501441 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.942599' WHERE "spree_products"."id" = 1060501441  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592372 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.943578' WHERE "spree_products"."id" = 1060501441 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.945140' WHERE "spree_products"."id" = 1060501441  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592373 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:47.946471' WHERE "spree_products"."id" = 1060501441 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:47 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592370, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1375 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501441 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.611729' WHERE "spree_products"."id" = 1060501441  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501441 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501441) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:55:48.620936' WHERE "spree_products"."id" = 1060501441 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501441 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.659111' WHERE "spree_products"."id" = 1060501442 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501442], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.660413' WHERE "spree_products"."id" = 1060501442  (1.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592374 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.663359' WHERE "spree_products"."id" = 1060501442  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501442  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["product_id", nil], ["property_id", 905835638], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501442, "updated_at" = '2012-10-23 14:55:48.672935' WHERE "spree_product_properties"."id" = 1073274027 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501442) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452486 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501442 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501442, 558400224) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452488 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452488], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501442, 558400226) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452489 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452489], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501442, 558400227) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501442) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501442 AND "spree_option_types"."id" = 935339612 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501442) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["option_type_id", 935339612], ["position", 1], ["product_id", 1060501442], ["updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00]] Spree::OptionValue Load (1.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.713637' WHERE "spree_products"."id" = 1060501442 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501442], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.715389' WHERE "spree_products"."id" = 1060501442  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592375, 979460980) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.719753' WHERE "spree_products"."id" = 1060501442 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501442], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.720907' WHERE "spree_products"."id" = 1060501442  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592376, 979460981) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.723874' WHERE "spree_products"."id" = 1060501442 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501442], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.725532' WHERE "spree_products"."id" = 1060501442  (0.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592377, 979460982) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501442]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501442) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592375 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592376 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592377 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501442) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.745416' WHERE "spree_products"."id" = 1060501442  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592375 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.747162' WHERE "spree_products"."id" = 1060501442 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.750435' WHERE "spree_products"."id" = 1060501442  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592376 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.751576' WHERE "spree_products"."id" = 1060501442 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.752772' WHERE "spree_products"."id" = 1060501442  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592377 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:48.754074' WHERE "spree_products"."id" = 1060501442 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:48 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592374, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1376 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501442 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.146995' WHERE "spree_products"."id" = 1060501442  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501442 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501442) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:55:53.179087' WHERE "spree_products"."id" = 1060501442 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501442 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (19.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.225513' WHERE "spree_products"."id" = 1060501443 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501443], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.229124' WHERE "spree_products"."id" = 1060501443  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592378 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.230721' WHERE "spree_products"."id" = 1060501443  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501443  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["product_id", nil], ["property_id", 905835639], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501443, "updated_at" = '2012-10-23 14:55:53.248816' WHERE "spree_product_properties"."id" = 1073274028 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["product_id", nil], ["property_id", 905835638], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501443, "updated_at" = '2012-10-23 14:55:53.252713' WHERE "spree_product_properties"."id" = 1073274029 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["product_id", nil], ["property_id", 905835640], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501443, "updated_at" = '2012-10-23 14:55:53.262555' WHERE "spree_product_properties"."id" = 1073274030 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501443) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452490 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452490], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501443 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501443, 558400228) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501443) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501443 AND "spree_option_types"."id" = 935339612 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501443) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["option_type_id", 935339612], ["position", 1], ["product_id", 1060501443], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.290811' WHERE "spree_products"."id" = 1060501443 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501443], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.294264' WHERE "spree_products"."id" = 1060501443  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592379, 979460980) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.297396' WHERE "spree_products"."id" = 1060501443 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501443], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.299679' WHERE "spree_products"."id" = 1060501443  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592380, 979460981) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339612 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.309659' WHERE "spree_products"."id" = 1060501443 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501443], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.311061' WHERE "spree_products"."id" = 1060501443  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592381, 979460982) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501443]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (2.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501443 AND "spree_option_types"."id" = 935339613 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501443) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["option_type_id", 935339613], ["position", 2], ["product_id", 1060501443], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339613 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339613) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339613], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.360451' WHERE "spree_products"."id" = 1060501443 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501443], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.362597' WHERE "spree_products"."id" = 1060501443  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592382, 979460983) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339613 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339613) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["name", "colour"], ["option_type_id", 935339613], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.387695' WHERE "spree_products"."id" = 1060501443 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501443], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.389812' WHERE "spree_products"."id" = 1060501443  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592383, 979460984) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501443]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501443) LIMIT 1  (9.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592379 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592380 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592381 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592382 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592383 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501443) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.428690' WHERE "spree_products"."id" = 1060501443  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592379 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.430003' WHERE "spree_products"."id" = 1060501443 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.431553' WHERE "spree_products"."id" = 1060501443  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592380 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.433005' WHERE "spree_products"."id" = 1060501443 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.434146' WHERE "spree_products"."id" = 1060501443  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592381 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.435144' WHERE "spree_products"."id" = 1060501443 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.436759' WHERE "spree_products"."id" = 1060501443  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592382 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.438058' WHERE "spree_products"."id" = 1060501443 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.439351' WHERE "spree_products"."id" = 1060501443  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592383 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:53.440577' WHERE "spree_products"."id" = 1060501443 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:53 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592378, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1377 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501443 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.361860' WHERE "spree_products"."id" = 1060501443  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501443 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501443) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:55:54.408355' WHERE "spree_products"."id" = 1060501443 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501443 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (88.3ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592370) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501441)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501441 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592370) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501441)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501442 AND ("spree_variants".is_master = 't') LIMIT 1  (0.9ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592374) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501442)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501443 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592378) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501443))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.769599' WHERE "spree_products"."id" = 1060501444 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501444], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.771425' WHERE "spree_products"."id" = 1060501444  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592384 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.773189' WHERE "spree_products"."id" = 1060501444  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501444  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["product_id", nil], ["property_id", 905835641], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501444, "updated_at" = '2012-10-23 14:55:54.780758' WHERE "spree_product_properties"."id" = 1073274031 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501444) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452491 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452491], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501444 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501444, 558400229) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452492 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452492], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501444, 558400230) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501444) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501444 AND "spree_option_types"."id" = 935339614 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501444) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["option_type_id", 935339614], ["position", 1], ["product_id", 1060501444], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339614) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339614], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.823456' WHERE "spree_products"."id" = 1060501444 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501444], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.824775' WHERE "spree_products"."id" = 1060501444  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592385, 979460985) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339614) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339614], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Product Load (20.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.850403' WHERE "spree_products"."id" = 1060501444 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501444], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.851774' WHERE "spree_products"."id" = 1060501444  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592386, 979460986) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339614) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339614], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.857229' WHERE "spree_products"."id" = 1060501444 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501444], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.858667' WHERE "spree_products"."id" = 1060501444  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592387, 979460987) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501444]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501444) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592385 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592386 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592387 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501444) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.877030' WHERE "spree_products"."id" = 1060501444  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592385 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.878256' WHERE "spree_products"."id" = 1060501444 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.879867' WHERE "spree_products"."id" = 1060501444  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592386 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.881387' WHERE "spree_products"."id" = 1060501444 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.882585' WHERE "spree_products"."id" = 1060501444  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592387 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.884002' WHERE "spree_products"."id" = 1060501444 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501444) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:55:54.887597' WHERE "spree_products"."id" = 1060501444 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501444 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.896477' WHERE "spree_products"."id" = 1060501445 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501445], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.898153' WHERE "spree_products"."id" = 1060501445  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592388 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.899477' WHERE "spree_products"."id" = 1060501445  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501445  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["product_id", nil], ["property_id", 905835642], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501445, "updated_at" = '2012-10-23 14:55:54.906472' WHERE "spree_product_properties"."id" = 1073274032 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501445) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452491 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501445 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501445, 558400229) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452493 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452493], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501445, 558400231) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452491 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400229 AND "spree_taxons"."taxonomy_id" = 854452491 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400229]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400229], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452491], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400229]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400232]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400232 THEN 558400229 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400229]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400232]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400232 AND "spree_taxons"."taxonomy_id" = 854452491 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400232]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400232], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452491], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400232]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400233]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400233 THEN 558400232 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400232]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400233]] Product assigned to Taxons : ["Nature", "Seascape"]  (22.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501445, 558400232)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501445, 558400233) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501445) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501445 AND "spree_option_types"."id" = 935339614 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501445) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00], ["option_type_id", 935339614], ["position", 1], ["product_id", 1060501445], ["updated_at", Tue, 23 Oct 2012 14:55:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.973192' WHERE "spree_products"."id" = 1060501445 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501445], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.974771' WHERE "spree_products"."id" = 1060501445  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592389, 979460985) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.978275' WHERE "spree_products"."id" = 1060501445 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501445], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.979838' WHERE "spree_products"."id" = 1060501445  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592390, 979460986) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.982771' WHERE "spree_products"."id" = 1060501445 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501445], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:54.984309' WHERE "spree_products"."id" = 1060501445  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592391, 979460987) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501445]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501445) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592389 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592390 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592391 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501445) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.002897' WHERE "spree_products"."id" = 1060501445  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592389 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.004169' WHERE "spree_products"."id" = 1060501445 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.005749' WHERE "spree_products"."id" = 1060501445  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592390 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.006718' WHERE "spree_products"."id" = 1060501445 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.008560' WHERE "spree_products"."id" = 1060501445  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592391 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.009770' WHERE "spree_products"."id" = 1060501445 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501445) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:55:55.012770' WHERE "spree_products"."id" = 1060501445 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501445 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.022546' WHERE "spree_products"."id" = 1060501446 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501446], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.024770' WHERE "spree_products"."id" = 1060501446  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592392 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.026391' WHERE "spree_products"."id" = 1060501446  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501446  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["product_id", nil], ["property_id", 905835643], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501446, "updated_at" = '2012-10-23 14:55:55.033952' WHERE "spree_product_properties"."id" = 1073274033 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["product_id", nil], ["property_id", 905835642], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501446, "updated_at" = '2012-10-23 14:55:55.037348' WHERE "spree_product_properties"."id" = 1073274034 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["product_id", nil], ["property_id", 905835644], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501446, "updated_at" = '2012-10-23 14:55:55.042463' WHERE "spree_product_properties"."id" = 1073274035 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501446) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452494 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452494], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501446 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501446, 558400234) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452491 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400229 AND "spree_taxons"."taxonomy_id" = 854452491 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400229]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400229], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452491], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400229]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400235]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400235 THEN 558400229 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400229]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400235]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501446, 558400235)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501446, 558400229) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501446) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501446 AND "spree_option_types"."id" = 935339614 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501446) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["option_type_id", 935339614], ["position", 1], ["product_id", 1060501446], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.082024' WHERE "spree_products"."id" = 1060501446 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501446], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.083768' WHERE "spree_products"."id" = 1060501446  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592393, 979460985) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.087200' WHERE "spree_products"."id" = 1060501446 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501446], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.088768' WHERE "spree_products"."id" = 1060501446  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592394, 979460986) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339614 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.091548' WHERE "spree_products"."id" = 1060501446 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501446], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.092768' WHERE "spree_products"."id" = 1060501446  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592395, 979460987) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501446]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501446 AND "spree_option_types"."id" = 935339615 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501446) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["option_type_id", 935339615], ["position", 2], ["product_id", 1060501446], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339615 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339615) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339615], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.107528' WHERE "spree_products"."id" = 1060501446 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501446], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.108767' WHERE "spree_products"."id" = 1060501446  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592396, 979460988) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339615 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339615) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["name", "colour"], ["option_type_id", 935339615], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.114280' WHERE "spree_products"."id" = 1060501446 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501446], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.115710' WHERE "spree_products"."id" = 1060501446  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592397, 979460989) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501446]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501446) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592393 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592394 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592395 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592396 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592397 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501446) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.183437' WHERE "spree_products"."id" = 1060501446  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592393 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.241995' WHERE "spree_products"."id" = 1060501446 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.246839' WHERE "spree_products"."id" = 1060501446  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592394 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.248434' WHERE "spree_products"."id" = 1060501446 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.250306' WHERE "spree_products"."id" = 1060501446  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592395 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.251593' WHERE "spree_products"."id" = 1060501446 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.253099' WHERE "spree_products"."id" = 1060501446  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592396 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.254370' WHERE "spree_products"."id" = 1060501446 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.255918' WHERE "spree_products"."id" = 1060501446  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592397 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:55.257241' WHERE "spree_products"."id" = 1060501446 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501446) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:55:55.261389' WHERE "spree_products"."id" = 1060501446 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501446 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592392) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501446)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:55 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592384, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1378 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501444 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:56.095317' WHERE "spree_products"."id" = 1060501444  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501444 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:55:56.104117' WHERE "spree_products"."id" = 1060501444 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501444 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013592384 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:55:56 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592388, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1379 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501445 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:00.770013' WHERE "spree_products"."id" = 1060501445  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501445 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:00.778641' WHERE "spree_products"."id" = 1060501445 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501445 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013592388 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:00 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013592392, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1380 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501446 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.465602' WHERE "spree_products"."id" = 1060501446  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501446 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.473602' WHERE "spree_products"."id" = 1060501446 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501446 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013592392  (5.6ms) commit transaction Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501444 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592384) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501444)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501445 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592388) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501445)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501446 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592392) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501446)) SQL (47.3ms) DELETE FROM "spree_products" SQL (3.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (19.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501447 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.751288' WHERE "spree_products"."id" = 1060501447 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501447], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.753167' WHERE "spree_products"."id" = 1060501447  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592398 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.755558' WHERE "spree_products"."id" = 1060501447  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501447  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["product_id", nil], ["property_id", 905835645], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501447, "updated_at" = '2012-10-23 14:56:01.764541' WHERE "spree_product_properties"."id" = 1073274036 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501447) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452495], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501447 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501447, 558400236) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452496 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452496], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501447, 558400237) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501447) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501447 AND "spree_option_types"."id" = 935339616 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501447) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["option_type_id", 935339616], ["position", 1], ["product_id", 1060501447], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339616) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339616], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501447 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.805366' WHERE "spree_products"."id" = 1060501447 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501447], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.806956' WHERE "spree_products"."id" = 1060501447  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592399, 979460990) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339616) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339616], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501447 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.811593' WHERE "spree_products"."id" = 1060501447 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501447], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.813252' WHERE "spree_products"."id" = 1060501447  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592400, 979460991) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339616) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339616], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501447 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.840214' WHERE "spree_products"."id" = 1060501447 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501447], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.841592' WHERE "spree_products"."id" = 1060501447  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592401, 979460992) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501447]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501447) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592399 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592400 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592401 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501447) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501447 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.858113' WHERE "spree_products"."id" = 1060501447  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592399 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.859343' WHERE "spree_products"."id" = 1060501447 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501447 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.860313' WHERE "spree_products"."id" = 1060501447  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592400 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.861112' WHERE "spree_products"."id" = 1060501447 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501447 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.862750' WHERE "spree_products"."id" = 1060501447  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592401 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.863592' WHERE "spree_products"."id" = 1060501447 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501447) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:56:01.867467' WHERE "spree_products"."id" = 1060501447 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501447 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501448 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.877457' WHERE "spree_products"."id" = 1060501448 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501448], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.878816' WHERE "spree_products"."id" = 1060501448  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592402 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.880292' WHERE "spree_products"."id" = 1060501448  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501448  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["product_id", nil], ["property_id", 905835646], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501448, "updated_at" = '2012-10-23 14:56:01.887543' WHERE "spree_product_properties"."id" = 1073274037 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501448) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501448 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501448, 558400236) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452497 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452497], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501448, 558400238) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400236 AND "spree_taxons"."taxonomy_id" = 854452495 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400236]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400236], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452495], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400236]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400239]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400239 THEN 558400236 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400236]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400239]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400239 AND "spree_taxons"."taxonomy_id" = 854452495 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400239]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400239], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452495], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400239]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400240]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400240 THEN 558400239 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400239]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400240]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501448, 558400239)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501448, 558400240) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501448) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501448 AND "spree_option_types"."id" = 935339616 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501448) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["option_type_id", 935339616], ["position", 1], ["product_id", 1060501448], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501448 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.930769' WHERE "spree_products"."id" = 1060501448 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501448], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.932412' WHERE "spree_products"."id" = 1060501448  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592403, 979460990) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501448 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.935391' WHERE "spree_products"."id" = 1060501448 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501448], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.936893' WHERE "spree_products"."id" = 1060501448  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592404, 979460991) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501448 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.940038' WHERE "spree_products"."id" = 1060501448 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501448], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.941388' WHERE "spree_products"."id" = 1060501448  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592405, 979460992) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501448]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501448) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592403 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592404 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592405 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501448) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501448 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.958178' WHERE "spree_products"."id" = 1060501448  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592403 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.960369' WHERE "spree_products"."id" = 1060501448 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501448 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.961381' WHERE "spree_products"."id" = 1060501448  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592404 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.962441' WHERE "spree_products"."id" = 1060501448 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501448 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.964262' WHERE "spree_products"."id" = 1060501448  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592405 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.965408' WHERE "spree_products"."id" = 1060501448 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501448) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:56:01.968032' WHERE "spree_products"."id" = 1060501448 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501448 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.976355' WHERE "spree_products"."id" = 1060501449 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501449], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.977820' WHERE "spree_products"."id" = 1060501449  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592406 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:01.979387' WHERE "spree_products"."id" = 1060501449  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501449  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["product_id", nil], ["property_id", 905835647], ["updated_at", Tue, 23 Oct 2012 14:56:01 UTC +00:00], ["value", nil]]  (0.7ms) UPDATE "spree_product_properties" SET "product_id" = 1060501449, "updated_at" = '2012-10-23 14:56:02.032587' WHERE "spree_product_properties"."id" = 1073274038 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["product_id", nil], ["property_id", 905835646], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501449, "updated_at" = '2012-10-23 14:56:02.039087' WHERE "spree_product_properties"."id" = 1073274039 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["product_id", nil], ["property_id", 905835648], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501449, "updated_at" = '2012-10-23 14:56:02.042587' WHERE "spree_product_properties"."id" = 1073274040 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501449) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452498 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452498], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501449 Product assigned to Taxons : ["Drawings"]  (0.9ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501449, 558400241) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452495 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400236 AND "spree_taxons"."taxonomy_id" = 854452495 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400236]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400236], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452495], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400236]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400242]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400242 THEN 558400236 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400236]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400242]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501449, 558400242)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501449, 558400236) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501449) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501449 AND "spree_option_types"."id" = 935339616 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501449) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["option_type_id", 935339616], ["position", 1], ["product_id", 1060501449], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.079967' WHERE "spree_products"."id" = 1060501449 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501449], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.081976' WHERE "spree_products"."id" = 1060501449  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592407, 979460990) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.084850' WHERE "spree_products"."id" = 1060501449 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501449], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.086389' WHERE "spree_products"."id" = 1060501449  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592408, 979460991) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339616 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.090943' WHERE "spree_products"."id" = 1060501449 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501449], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.092300' WHERE "spree_products"."id" = 1060501449  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592409, 979460992) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501449]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501449 AND "spree_option_types"."id" = 935339617 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501449) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["option_type_id", 935339617], ["position", 2], ["product_id", 1060501449], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339617 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339617) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339617], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.106386' WHERE "spree_products"."id" = 1060501449 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501449], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.107557' WHERE "spree_products"."id" = 1060501449  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592410, 979460993) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339617 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339617) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339617], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.134726' WHERE "spree_products"."id" = 1060501449 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501449], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.136094' WHERE "spree_products"."id" = 1060501449  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592411, 979460994) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501449]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501449) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592407 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592408 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592409 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592410 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592411 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501449) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.155581' WHERE "spree_products"."id" = 1060501449  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592407 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.156811' WHERE "spree_products"."id" = 1060501449 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.158378' WHERE "spree_products"."id" = 1060501449  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592408 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.159378' WHERE "spree_products"."id" = 1060501449 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.160647' WHERE "spree_products"."id" = 1060501449  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592409 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.161768' WHERE "spree_products"."id" = 1060501449 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.164482' WHERE "spree_products"."id" = 1060501449  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592410 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.165584' WHERE "spree_products"."id" = 1060501449 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501449 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.167288' WHERE "spree_products"."id" = 1060501449  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592411 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:02.169525' WHERE "spree_products"."id" = 1060501449 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501449) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:56:02.173405' WHERE "spree_products"."id" = 1060501449 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501449 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.2ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592406) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501449)) Excel Loader processing 0 rows  (0.0ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013592398, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1381 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (39.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:02 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (16.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013592398, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1382 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501447) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501447) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (106.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501447 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:07 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013592402, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1383 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501448) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501448) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501448 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:12 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592406, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1384 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501449) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501449) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501449  (28.8ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501447 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592398) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501447)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501448 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592402) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501448)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501449 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592406) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501449)) SQL (2.6ms) DELETE FROM "spree_products" SQL (3.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (54.3ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.780451' WHERE "spree_products"."id" = 1060501450 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501450], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.782738' WHERE "spree_products"."id" = 1060501450  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592412 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.784703' WHERE "spree_products"."id" = 1060501450  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501450  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["product_id", nil], ["property_id", 905835649], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501450, "updated_at" = '2012-10-23 14:56:13.796435' WHERE "spree_product_properties"."id" = 1073274041 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501450) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452499 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452499], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501450 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501450, 558400243) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452500 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452500], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501450, 558400244) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501450) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::OptionType Exists (1.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501450 AND "spree_option_types"."id" = 935339618 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501450) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["option_type_id", 935339618], ["position", 1], ["product_id", 1060501450], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339618 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339618) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339618], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.842576' WHERE "spree_products"."id" = 1060501450 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501450], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.844263' WHERE "spree_products"."id" = 1060501450  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592413, 979460995) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339618 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339618) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339618], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.892010' WHERE "spree_products"."id" = 1060501450 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501450], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.894881' WHERE "spree_products"."id" = 1060501450  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592414, 979460996) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339618 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339618) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339618], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:56:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.900599' WHERE "spree_products"."id" = 1060501450 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501450], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:13.902105' WHERE "spree_products"."id" = 1060501450  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592415, 979460997) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501450]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501450) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592413 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592414 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592415 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501450) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:14.024227' WHERE "spree_products"."id" = 1060501450  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:14.025542' WHERE "spree_products"."id" = 1060501450 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:14.026880' WHERE "spree_products"."id" = 1060501450  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592414 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:14.028016' WHERE "spree_products"."id" = 1060501450 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:14.029197' WHERE "spree_products"."id" = 1060501450  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592415 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:14.030514' WHERE "spree_products"."id" = 1060501450 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:14 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592412, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1385 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501450 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:15.100537' WHERE "spree_products"."id" = 1060501450  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501450 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:15 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592412, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1386 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:16.025677' WHERE "spree_products"."id" = 1060501450 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501450 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:16 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592412, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1387 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:16.785698' WHERE "spree_products"."id" = 1060501450 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501450 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501450) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:56:16.795870' WHERE "spree_products"."id" = 1060501450 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501450 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 002"], ["permalink", "demo-product-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.220374' WHERE "spree_products"."id" = 1060501451 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501451], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.222255' WHERE "spree_products"."id" = 1060501451  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592416 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.224170' WHERE "spree_products"."id" = 1060501451  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501451  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["product_id", nil], ["property_id", 905835650], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501451, "updated_at" = '2012-10-23 14:56:17.233090' WHERE "spree_product_properties"."id" = 1073274042 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501451) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452499 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501451 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501451, 558400243) Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452501 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452501], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501451, 558400245) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452502 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452502], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501451, 558400246) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501451) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501451 AND "spree_option_types"."id" = 935339618 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501451) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["option_type_id", 935339618], ["position", 1], ["product_id", 1060501451], ["updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339618 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.291781' WHERE "spree_products"."id" = 1060501451 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501451], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.293317' WHERE "spree_products"."id" = 1060501451  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592417, 979460995) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339618 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.296579' WHERE "spree_products"."id" = 1060501451 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501451], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.298298' WHERE "spree_products"."id" = 1060501451  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592418, 979460996) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339618 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.301747' WHERE "spree_products"."id" = 1060501451 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501451], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.303567' WHERE "spree_products"."id" = 1060501451  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592419, 979460997) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501451]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501451) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592417 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592418 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592419 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501451) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.321078' WHERE "spree_products"."id" = 1060501451  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.323918' WHERE "spree_products"."id" = 1060501451 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.325629' WHERE "spree_products"."id" = 1060501451  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592418 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.326825' WHERE "spree_products"."id" = 1060501451 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.328373' WHERE "spree_products"."id" = 1060501451  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592419 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:17.329516' WHERE "spree_products"."id" = 1060501451 SQL (2.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text for 002"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:17 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013592416, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1388 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "323X428 ror bag"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:56:21 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592416, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1389 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501451 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:56:22.544197' WHERE "spree_products"."id" = 1060501451  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501451 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501451) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:56:22.606604' WHERE "spree_products"."id" = 1060501451 Row ["MULTI_002", "Demo Product 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text for 002|fixtures/images/DEMO_001_ror_bag.jpeg:323X428 ror bag"] succesfully SAVED : ID 1060501451 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501450 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592412 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501451 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592416 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (2.1ms) DELETE FROM "spree_products" SQL (1.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.3ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.5ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (7.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (80.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452503 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452503], ["updated_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00]]  (3.7ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452503], ["updated_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452503], ["updated_at", Tue, 23 Oct 2012 14:57:34 UTC +00:00]]  (2.7ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (6.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (24.1ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452504 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452504], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452504], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452504], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]]  (2.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (4.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (22.4ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (1.5ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452505 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452505], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452505], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]]  (3.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452505], ["updated_at", Tue, 23 Oct 2012 14:57:35 UTC +00:00]]  (2.8ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (22.3ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.6ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.3ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 147 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 147 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 148 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 148 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 149 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 149 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.5ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 150 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 150 Current value to assign : Current value to assign :  (2.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (20.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.3ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 151 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 152 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 153 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 154  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (20.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (24.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.4ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501452 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.676618' WHERE "spree_products"."id" = 1060501452 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501452], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.679629' WHERE "spree_products"."id" = 1060501452  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.683122' WHERE "spree_products"."id" = 1060501452  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501452 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501452 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501452  (1.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501452 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592420 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501452) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501452 AND "spree_option_types"."id" = 935339619 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501452) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["option_type_id", 935339619], ["position", 1], ["product_id", 1060501452], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501452) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 14:57:36.839950' WHERE "spree_products"."id" = 1060501452  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.842328' WHERE "spree_products"."id" = 1060501452 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501452 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501452 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501453 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.852073' WHERE "spree_products"."id" = 1060501453 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501453], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.853118' WHERE "spree_products"."id" = 1060501453  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.855117' WHERE "spree_products"."id" = 1060501453  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501453 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501453 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501453  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501453 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592421 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501453) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501453 AND "spree_option_types"."id" = 935339619 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501453) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["option_type_id", 935339619], ["position", 1], ["product_id", 1060501453], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501453) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:57:36.869848' WHERE "spree_products"."id" = 1060501453  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.871921' WHERE "spree_products"."id" = 1060501453 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501453 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501453 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501454 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.880227' WHERE "spree_products"."id" = 1060501454 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501454], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.881739' WHERE "spree_products"."id" = 1060501454  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.883492' WHERE "spree_products"."id" = 1060501454  (2.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501454 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501454 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501454  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501454 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592422 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501454) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501454 AND "spree_option_types"."id" = 935339619 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501454) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["option_type_id", 935339619], ["position", 1], ["product_id", 1060501454], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501454 AND "spree_option_types"."id" = 935339620 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501454) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00], ["option_type_id", 935339620], ["position", 2], ["product_id", 1060501454], ["updated_at", Tue, 23 Oct 2012 14:57:36 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501454) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 14:57:36.904194' WHERE "spree_products"."id" = 1060501454  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013592422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:36.906116' WHERE "spree_products"."id" = 1060501454 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501454 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501454 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 14:57:36.963614')  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 14:57:36.965115')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501452 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501452 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501452 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501454 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (23.3ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (1.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501455 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.125101' WHERE "spree_products"."id" = 1060501455 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501455], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.127304' WHERE "spree_products"."id" = 1060501455  (0.8ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.130455' WHERE "spree_products"."id" = 1060501455  (19.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501455 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501455 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501455  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501455 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592423 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501455) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501455 AND "spree_option_types"."id" = 935339621 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501455) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339621], ["position", 1], ["product_id", 1060501455], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501455) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 14:57:37.169911' WHERE "spree_products"."id" = 1060501455  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.172391' WHERE "spree_products"."id" = 1060501455 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501455 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501456 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.204235' WHERE "spree_products"."id" = 1060501456 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501456], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.206108' WHERE "spree_products"."id" = 1060501456  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592424 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.207717' WHERE "spree_products"."id" = 1060501456  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501456 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501456 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501456  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501456 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592424 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501456) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501456 AND "spree_option_types"."id" = 935339621 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501456) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339621], ["position", 1], ["product_id", 1060501456], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501456) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:57:37.222015' WHERE "spree_products"."id" = 1060501456  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592424 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.223933' WHERE "spree_products"."id" = 1060501456 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501456 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501457 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.233026' WHERE "spree_products"."id" = 1060501457 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501457], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.234780' WHERE "spree_products"."id" = 1060501457  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592425 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.237091' WHERE "spree_products"."id" = 1060501457  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501457 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501457 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501457  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501457 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592425 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501457) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501457 AND "spree_option_types"."id" = 935339621 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501457) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339621], ["position", 1], ["product_id", 1060501457], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501457 AND "spree_option_types"."id" = 935339622 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501457) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339622], ["position", 2], ["product_id", 1060501457], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501457) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 14:57:37.256739' WHERE "spree_products"."id" = 1060501457  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013592425 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.258598' WHERE "spree_products"."id" = 1060501457 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501457  (4.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 14:57:37.267072')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 14:57:37.267890')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501455 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501455 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501455 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501457 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (21.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 15:57:37 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501458 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.433467' WHERE "spree_products"."id" = 1060501458 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501458], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.435102' WHERE "spree_products"."id" = 1060501458  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592426 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.456622' WHERE "spree_products"."id" = 1060501458  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501458 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501458 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501458  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501458 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.8ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501458 AND "spree_option_types"."id" = 935339623 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501458) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339623], ["position", 1], ["product_id", 1060501458], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501458) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501458 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 15:57:37 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501459 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.482206' WHERE "spree_products"."id" = 1060501459 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501459], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.483752' WHERE "spree_products"."id" = 1060501459  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592427 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.506168' WHERE "spree_products"."id" = 1060501459  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501459 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501459 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501459  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501459 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501459 AND "spree_option_types"."id" = 935339623 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501459) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339623], ["position", 1], ["product_id", 1060501459], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501459) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501459 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 15:57:37 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501460 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.526773' WHERE "spree_products"."id" = 1060501460 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501460], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.528601' WHERE "spree_products"."id" = 1060501460  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592428 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.530397' WHERE "spree_products"."id" = 1060501460  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501460 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501460 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501460  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501460 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501460 AND "spree_option_types"."id" = 935339623 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501460) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339623], ["position", 1], ["product_id", 1060501460], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501460 AND "spree_option_types"."id" = 935339624 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501460) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339624], ["position", 2], ["product_id", 1060501460], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501460) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501460 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501458 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.9ms) DELETE FROM "spree_option_types" SQL (21.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (26.8ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501461 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.780555' WHERE "spree_products"."id" = 1060501461 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501461], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.787093' WHERE "spree_products"."id" = 1060501461  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592429 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.789242' WHERE "spree_products"."id" = 1060501461  (1.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501461 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501461 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501461  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501461 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501461 AND "spree_option_types"."id" = 935339625 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501461) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339625], ["position", 1], ["product_id", 1060501461], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501461) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501461 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501462 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.818288' WHERE "spree_products"."id" = 1060501462 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501462], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.870881' WHERE "spree_products"."id" = 1060501462  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592430 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.872643' WHERE "spree_products"."id" = 1060501462  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501462 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501462 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501462  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501462 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501462 AND "spree_option_types"."id" = 935339625 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501462) ORDER BY position DESC LIMIT 1 SQL (3.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339625], ["position", 1], ["product_id", 1060501462], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501462) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501462 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501463 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.895220' WHERE "spree_products"."id" = 1060501463 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501463], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.896731' WHERE "spree_products"."id" = 1060501463  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592431 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:37.898963' WHERE "spree_products"."id" = 1060501463  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501463 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501463 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501463  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501463 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501463 AND "spree_option_types"."id" = 935339625 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501463) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339625], ["position", 1], ["product_id", 1060501463], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501463 AND "spree_option_types"."id" = 935339626 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501463) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00], ["option_type_id", 935339626], ["position", 2], ["product_id", 1060501463], ["updated_at", Tue, 23 Oct 2012 14:57:37 UTC +00:00]] Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501463) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501463 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501461 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (24.3ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501464 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.096409' WHERE "spree_products"."id" = 1060501464 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501464], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.098574' WHERE "spree_products"."id" = 1060501464  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592432 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.100085' WHERE "spree_products"."id" = 1060501464  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501464  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["product_id", nil], ["property_id", 905835651], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501464, "updated_at" = '2012-10-23 14:57:38.126592' WHERE "spree_product_properties"."id" = 1073274043 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501464) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452506 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452506], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501464 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501464, 558400256) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452507 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452507], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501464, 558400257) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501464) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501464 AND "spree_option_types"."id" = 935339627 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501464) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["option_type_id", 935339627], ["position", 1], ["product_id", 1060501464], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339627) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339627], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501464 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.263081' WHERE "spree_products"."id" = 1060501464 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501464], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.287080' WHERE "spree_products"."id" = 1060501464  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592433, 979460998) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339627) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339627], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501464 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.299462' WHERE "spree_products"."id" = 1060501464 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501464], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.301080' WHERE "spree_products"."id" = 1060501464  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592434, 979460999) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339627) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339627], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501464 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.306843' WHERE "spree_products"."id" = 1060501464 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501464], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.308314' WHERE "spree_products"."id" = 1060501464  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592435, 979461000) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501464]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501464) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592433 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592434 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592435 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501464) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501464 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.323579' WHERE "spree_products"."id" = 1060501464  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592433 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.325280' WHERE "spree_products"."id" = 1060501464 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501464 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.326495' WHERE "spree_products"."id" = 1060501464  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592434 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.327281' WHERE "spree_products"."id" = 1060501464 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501464 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.328897' WHERE "spree_products"."id" = 1060501464  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592435 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.329921' WHERE "spree_products"."id" = 1060501464 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501464) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501464 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:38.332474' WHERE "spree_products"."id" = 1060501464 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501464 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501465 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.341505' WHERE "spree_products"."id" = 1060501465 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501465], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.342920' WHERE "spree_products"."id" = 1060501465  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592436 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.344801' WHERE "spree_products"."id" = 1060501465  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501465  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["product_id", nil], ["property_id", 905835652], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501465, "updated_at" = '2012-10-23 14:57:38.351320' WHERE "spree_product_properties"."id" = 1073274044 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501465) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452506 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501465 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501465, 558400256) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452508 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452508], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501465, 558400258) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452506 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400256 AND "spree_taxons"."taxonomy_id" = 854452506 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400256]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400256], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452506], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400256]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400259]] SQL (1.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400259 THEN 558400256 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400256]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400259]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400259 AND "spree_taxons"."taxonomy_id" = 854452506 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400259]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400259], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452506], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400259]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400260]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400260 THEN 558400259 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400259]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400260]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501465, 558400259)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501465, 558400260) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501465) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501465 AND "spree_option_types"."id" = 935339627 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501465) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["option_type_id", 935339627], ["position", 1], ["product_id", 1060501465], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501465 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.396846' WHERE "spree_products"."id" = 1060501465 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501465], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.398391' WHERE "spree_products"."id" = 1060501465  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592437, 979460998) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501465 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.401019' WHERE "spree_products"."id" = 1060501465 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501465], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.402655' WHERE "spree_products"."id" = 1060501465  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592438, 979460999) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501465 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.405495' WHERE "spree_products"."id" = 1060501465 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501465], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.406741' WHERE "spree_products"."id" = 1060501465  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592439, 979461000) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501465]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501465) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592437 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592438 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592439 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501465) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501465 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.424434' WHERE "spree_products"."id" = 1060501465  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592437 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.425948' WHERE "spree_products"."id" = 1060501465 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501465 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.427137' WHERE "spree_products"."id" = 1060501465  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592438 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.428011' WHERE "spree_products"."id" = 1060501465 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501465 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.429386' WHERE "spree_products"."id" = 1060501465  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592439 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.430457' WHERE "spree_products"."id" = 1060501465 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501465) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501465 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:38.432691' WHERE "spree_products"."id" = 1060501465 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501465 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.442075' WHERE "spree_products"."id" = 1060501466 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501466], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.443467' WHERE "spree_products"."id" = 1060501466  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592440 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.445292' WHERE "spree_products"."id" = 1060501466  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501466  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["product_id", nil], ["property_id", 905835653], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501466, "updated_at" = '2012-10-23 14:57:38.452902' WHERE "spree_product_properties"."id" = 1073274045 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["product_id", nil], ["property_id", 905835652], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501466, "updated_at" = '2012-10-23 14:57:38.455295' WHERE "spree_product_properties"."id" = 1073274046 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["product_id", nil], ["property_id", 905835654], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501466, "updated_at" = '2012-10-23 14:57:38.458693' WHERE "spree_product_properties"."id" = 1073274047 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501466) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452509 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452509], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501466 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501466, 558400261) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452506 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400256 AND "spree_taxons"."taxonomy_id" = 854452506 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400256]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400256], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452506], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400256]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400262]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400262 THEN 558400256 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400256]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400262]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501466, 558400262)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501466, 558400256) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501466) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501466 AND "spree_option_types"."id" = 935339627 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501466) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["option_type_id", 935339627], ["position", 1], ["product_id", 1060501466], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.489209' WHERE "spree_products"."id" = 1060501466 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501466], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.490697' WHERE "spree_products"."id" = 1060501466  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592441, 979460998) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.496957' WHERE "spree_products"."id" = 1060501466 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501466], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.498958' WHERE "spree_products"."id" = 1060501466  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592442, 979460999) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339627 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.501739' WHERE "spree_products"."id" = 1060501466 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501466], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.503254' WHERE "spree_products"."id" = 1060501466  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592443, 979461000) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501466]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501466 AND "spree_option_types"."id" = 935339628 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501466) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["option_type_id", 935339628], ["position", 2], ["product_id", 1060501466], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339628 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339628) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339628], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.517965' WHERE "spree_products"."id" = 1060501466 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501466], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.519322' WHERE "spree_products"."id" = 1060501466  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592444, 979461001) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339628 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339628) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "colour"], ["option_type_id", 935339628], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.524550' WHERE "spree_products"."id" = 1060501466 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501466], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.526074' WHERE "spree_products"."id" = 1060501466  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592445, 979461002) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501466]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501466) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592441 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592442 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592443 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592444 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592445 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501466) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.570228' WHERE "spree_products"."id" = 1060501466  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592441 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.571073' WHERE "spree_products"."id" = 1060501466 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.572703' WHERE "spree_products"."id" = 1060501466  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592442 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.573897' WHERE "spree_products"."id" = 1060501466 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.575380' WHERE "spree_products"."id" = 1060501466  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592443 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.577073' WHERE "spree_products"."id" = 1060501466 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.578293' WHERE "spree_products"."id" = 1060501466  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592444 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.579548' WHERE "spree_products"."id" = 1060501466 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501466 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.580698' WHERE "spree_products"."id" = 1060501466  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592445 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.581884' WHERE "spree_products"."id" = 1060501466 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501466) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501466 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:38.584756' WHERE "spree_products"."id" = 1060501466 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501466 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (1.8ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501464 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501466 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.4ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501466 SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (22.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) begin transaction  (0.1ms) commit transaction  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501467 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.891476' WHERE "spree_products"."id" = 1060501467 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501467], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.893196' WHERE "spree_products"."id" = 1060501467  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592446 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.894487' WHERE "spree_products"."id" = 1060501467  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501467  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["product_id", nil], ["property_id", 905835655], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501467, "updated_at" = '2012-10-23 14:57:38.903760' WHERE "spree_product_properties"."id" = 1073274048 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452510 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452510], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501467 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501467, 558400263) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452511 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452511], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501467, 558400264) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501467 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501467) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["option_type_id", 935339629], ["position", 1], ["product_id", 1060501467], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339629) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339629], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501467 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.994243' WHERE "spree_products"."id" = 1060501467 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501467], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:38.996349' WHERE "spree_products"."id" = 1060501467  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592447, 979461003) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501467]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501467 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339629) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339629], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501467 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.025605' WHERE "spree_products"."id" = 1060501467 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501467], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.027007' WHERE "spree_products"."id" = 1060501467  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592448, 979461004) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501467]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501467 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339629) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339629], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501467 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.039319' WHERE "spree_products"."id" = 1060501467 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501467], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.040906' WHERE "spree_products"."id" = 1060501467  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592449, 979461005) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501467]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592447 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592448 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592449 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501467 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.062599' WHERE "spree_products"."id" = 1060501467  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592447 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.064177' WHERE "spree_products"."id" = 1060501467 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501467 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.065478' WHERE "spree_products"."id" = 1060501467  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592448 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.066703' WHERE "spree_products"."id" = 1060501467 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501467 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.068450' WHERE "spree_products"."id" = 1060501467  (21.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592449 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.090870' WHERE "spree_products"."id" = 1060501467 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501467) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501467 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:39.094324' WHERE "spree_products"."id" = 1060501467 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501467 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501468 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.104435' WHERE "spree_products"."id" = 1060501468 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501468], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.105778' WHERE "spree_products"."id" = 1060501468  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592450 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.107370' WHERE "spree_products"."id" = 1060501468  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501468  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["product_id", nil], ["property_id", 905835656], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501468, "updated_at" = '2012-10-23 14:57:39.114261' WHERE "spree_product_properties"."id" = 1073274049 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452510 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501468 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501468, 558400263) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452512 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452512], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501468, 558400265) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452510 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400263 AND "spree_taxons"."taxonomy_id" = 854452510 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400263]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400263], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452510], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400263]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400266]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400266 THEN 558400263 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400263]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400266]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400266 AND "spree_taxons"."taxonomy_id" = 854452510 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400266]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400266], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452510], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400266]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400267]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400267 THEN 558400266 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400266]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400267]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501468, 558400266)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501468, 558400267) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501468 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501468) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["option_type_id", 935339629], ["position", 1], ["product_id", 1060501468], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501468 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.167314' WHERE "spree_products"."id" = 1060501468 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501468], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.168908' WHERE "spree_products"."id" = 1060501468  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592451, 979461003) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501468]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1 Spree::OptionType Load (1.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501468 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501468 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.180445' WHERE "spree_products"."id" = 1060501468 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501468], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.181758' WHERE "spree_products"."id" = 1060501468  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592452, 979461004) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501468]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501468 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501468 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.190429' WHERE "spree_products"."id" = 1060501468 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501468], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.191714' WHERE "spree_products"."id" = 1060501468  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592453, 979461005) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501468]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592451 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592452 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592453 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501468 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.211958' WHERE "spree_products"."id" = 1060501468  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592451 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.213425' WHERE "spree_products"."id" = 1060501468 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501468 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.214654' WHERE "spree_products"."id" = 1060501468  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592452 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.215967' WHERE "spree_products"."id" = 1060501468 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501468 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.217514' WHERE "spree_products"."id" = 1060501468  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592453 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.218646' WHERE "spree_products"."id" = 1060501468 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501468) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501468 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:39.221607' WHERE "spree_products"."id" = 1060501468 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501468 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.231006' WHERE "spree_products"."id" = 1060501469 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501469], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.233604' WHERE "spree_products"."id" = 1060501469  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.235482' WHERE "spree_products"."id" = 1060501469  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501469  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["product_id", nil], ["property_id", 905835657], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501469, "updated_at" = '2012-10-23 14:57:39.242880' WHERE "spree_product_properties"."id" = 1073274050 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["product_id", nil], ["property_id", 905835656], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501469, "updated_at" = '2012-10-23 14:57:39.246930' WHERE "spree_product_properties"."id" = 1073274051 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["product_id", nil], ["property_id", 905835658], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501469, "updated_at" = '2012-10-23 14:57:39.252428' WHERE "spree_product_properties"."id" = 1073274052 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452513 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452513], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501469 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501469, 558400268) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452510 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400263 AND "spree_taxons"."taxonomy_id" = 854452510 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400263]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400263], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452510], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400263]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400269]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400269 THEN 558400263 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400263]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400269]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501469, 558400269)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501469, 558400263) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501469 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501469) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["option_type_id", 935339629], ["position", 1], ["product_id", 1060501469], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.301907' WHERE "spree_products"."id" = 1060501469 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501469], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.303565' WHERE "spree_products"."id" = 1060501469  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592455, 979461003) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501469]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501469 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.312483' WHERE "spree_products"."id" = 1060501469 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501469], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.313811' WHERE "spree_products"."id" = 1060501469  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592456, 979461004) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501469]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501469 AND "spree_option_types"."id" = 935339629 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339629 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.322634' WHERE "spree_products"."id" = 1060501469 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501469], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.324004' WHERE "spree_products"."id" = 1060501469  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592457, 979461005) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501469]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::OptionType Exists (2.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501469 AND "spree_option_types"."id" = 935339630 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501469) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["option_type_id", 935339630], ["position", 2], ["product_id", 1060501469], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339630 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339630) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339630], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.341342' WHERE "spree_products"."id" = 1060501469 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501469], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.342566' WHERE "spree_products"."id" = 1060501469  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592458, 979461006) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501469]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501469 AND "spree_option_types"."id" = 935339630 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339630 LIMIT 1 Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339630) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00], ["name", "colour"], ["option_type_id", 935339630], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:39 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.484545' WHERE "spree_products"."id" = 1060501469 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501469], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.486298' WHERE "spree_products"."id" = 1060501469  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592459, 979461007) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501469]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592455 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592456 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592457 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592458 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.9ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592459 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.508121' WHERE "spree_products"."id" = 1060501469  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592455 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.509382' WHERE "spree_products"."id" = 1060501469 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.510596' WHERE "spree_products"."id" = 1060501469  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.511632' WHERE "spree_products"."id" = 1060501469 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.516387' WHERE "spree_products"."id" = 1060501469  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.517390' WHERE "spree_products"."id" = 1060501469 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.518739' WHERE "spree_products"."id" = 1060501469  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.519738' WHERE "spree_products"."id" = 1060501469 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501469 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.520953' WHERE "spree_products"."id" = 1060501469  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:39.521958' WHERE "spree_products"."id" = 1060501469 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501469) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501469 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:39.525124' WHERE "spree_products"."id" = 1060501469 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501469 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501467 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501469 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.2ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501469 SQL (3.3ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (3.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (22.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (51.4ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (5.7ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (6.2ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (23.7ms) DELETE FROM "spree_variants" SQL (18.6ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (4.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452514 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452514], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452514], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501470 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.458921' WHERE "spree_products"."id" = 1060501470 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501470], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.461575' WHERE "spree_products"."id" = 1060501470  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592460 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.464044' WHERE "spree_products"."id" = 1060501470  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501470  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["product_id", nil], ["property_id", 905835659], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501470, "updated_at" = '2012-10-23 14:57:40.472323' WHERE "spree_product_properties"."id" = 1073274053 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501470) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452514 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501470 Product assigned to Taxons : ["Paintings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501470, 558400270) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452515 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452515], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501470, 558400272) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501470) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501470 AND "spree_option_types"."id" = 935339631 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501470) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["option_type_id", 935339631], ["position", 1], ["product_id", 1060501470], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339631) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339631], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501470 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.510842' WHERE "spree_products"."id" = 1060501470 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501470], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.512666' WHERE "spree_products"."id" = 1060501470  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592461, 979461008) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339631) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339631], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501470 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.539675' WHERE "spree_products"."id" = 1060501470 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501470], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.541346' WHERE "spree_products"."id" = 1060501470  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592462, 979461009) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339631) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339631], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501470 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.546734' WHERE "spree_products"."id" = 1060501470 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501470], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.548196' WHERE "spree_products"."id" = 1060501470  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592463, 979461010) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501470]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501470) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592461 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592462 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592463 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501470) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501470 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.572408' WHERE "spree_products"."id" = 1060501470  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592461 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.573682' WHERE "spree_products"."id" = 1060501470 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501470 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.574950' WHERE "spree_products"."id" = 1060501470  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592462 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.576076' WHERE "spree_products"."id" = 1060501470 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501470 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.577483' WHERE "spree_products"."id" = 1060501470  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592463 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.579268' WHERE "spree_products"."id" = 1060501470 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501470) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:40.582331' WHERE "spree_products"."id" = 1060501470 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501470 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501471 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.592660' WHERE "spree_products"."id" = 1060501471 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501471], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.594472' WHERE "spree_products"."id" = 1060501471  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592464 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.596487' WHERE "spree_products"."id" = 1060501471  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501471  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["product_id", nil], ["property_id", 905835660], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501471, "updated_at" = '2012-10-23 14:57:40.604127' WHERE "spree_product_properties"."id" = 1073274054 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501471) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452514 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501471 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501471, 558400270) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452516 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452516], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501471, 558400273) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452514 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400270 AND "spree_taxons"."taxonomy_id" = 854452514 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400270]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400270], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452514], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400270]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400274]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400274 THEN 558400270 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400270]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400274]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400274 AND "spree_taxons"."taxonomy_id" = 854452514 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400274]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400274], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452514], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400274]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400275]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400275 THEN 558400274 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400274]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400275]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501471, 558400274)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501471, 558400275) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501471) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501471 AND "spree_option_types"."id" = 935339631 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501471) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["option_type_id", 935339631], ["position", 1], ["product_id", 1060501471], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501471 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.653507' WHERE "spree_products"."id" = 1060501471 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501471], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.655250' WHERE "spree_products"."id" = 1060501471  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592465, 979461008) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501471 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.658597' WHERE "spree_products"."id" = 1060501471 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501471], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.660040' WHERE "spree_products"."id" = 1060501471  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592466, 979461009) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501471 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.662870' WHERE "spree_products"."id" = 1060501471 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501471], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.664336' WHERE "spree_products"."id" = 1060501471  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592467, 979461010) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501471]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501471) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592465 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592466 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592467 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501471) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501471 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.681612' WHERE "spree_products"."id" = 1060501471  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592465 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.682762' WHERE "spree_products"."id" = 1060501471 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501471 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.684112' WHERE "spree_products"."id" = 1060501471  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592466 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.685195' WHERE "spree_products"."id" = 1060501471 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501471 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.686468' WHERE "spree_products"."id" = 1060501471  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592467 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.687518' WHERE "spree_products"."id" = 1060501471 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501471) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:40.691079' WHERE "spree_products"."id" = 1060501471 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501471 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.701491' WHERE "spree_products"."id" = 1060501472 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501472], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.702933' WHERE "spree_products"."id" = 1060501472  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592468 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.704524' WHERE "spree_products"."id" = 1060501472  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501472  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["product_id", nil], ["property_id", 905835661], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501472, "updated_at" = '2012-10-23 14:57:40.768516' WHERE "spree_product_properties"."id" = 1073274055 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["product_id", nil], ["property_id", 905835660], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501472, "updated_at" = '2012-10-23 14:57:40.771015' WHERE "spree_product_properties"."id" = 1073274056 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["product_id", nil], ["property_id", 905835662], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501472, "updated_at" = '2012-10-23 14:57:40.775522' WHERE "spree_product_properties"."id" = 1073274057 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501472) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452517 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452517], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501472 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501472, 558400276) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452514 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400270 AND "spree_taxons"."taxonomy_id" = 854452514 LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400270]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400270], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452514], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400270]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400277]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400277 THEN 558400270 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400270]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400277]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501472, 558400277)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501472, 558400270) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501472) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501472 AND "spree_option_types"."id" = 935339631 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501472) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["option_type_id", 935339631], ["position", 1], ["product_id", 1060501472], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.812484' WHERE "spree_products"."id" = 1060501472 SQL (22.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501472], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.836915' WHERE "spree_products"."id" = 1060501472  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592469, 979461008) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.840087' WHERE "spree_products"."id" = 1060501472 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501472], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.841788' WHERE "spree_products"."id" = 1060501472  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592470, 979461009) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339631 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.844390' WHERE "spree_products"."id" = 1060501472 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501472], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.846112' WHERE "spree_products"."id" = 1060501472  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592471, 979461010) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501472]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501472 AND "spree_option_types"."id" = 935339632 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501472) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["option_type_id", 935339632], ["position", 2], ["product_id", 1060501472], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339632 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339632) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339632], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.862954' WHERE "spree_products"."id" = 1060501472 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501472], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.864497' WHERE "spree_products"."id" = 1060501472  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592472, 979461011) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339632 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339632) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339632], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.870013' WHERE "spree_products"."id" = 1060501472 SQL (1.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501472], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.894012' WHERE "spree_products"."id" = 1060501472  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592473, 979461012) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501472]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501472) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592469 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592470 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592471 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592472 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592473 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501472) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.917786' WHERE "spree_products"."id" = 1060501472  (3.5ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592469 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.922590' WHERE "spree_products"."id" = 1060501472 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.924169' WHERE "spree_products"."id" = 1060501472  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592470 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.925202' WHERE "spree_products"."id" = 1060501472 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.926327' WHERE "spree_products"."id" = 1060501472  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592471 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.929546' WHERE "spree_products"."id" = 1060501472 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.930875' WHERE "spree_products"."id" = 1060501472  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592472 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.931898' WHERE "spree_products"."id" = 1060501472 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501472 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.932945' WHERE "spree_products"."id" = 1060501472  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592473 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:40.934256' WHERE "spree_products"."id" = 1060501472 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501472) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:40.938300' WHERE "spree_products"."id" = 1060501472 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501472 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501471 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501472 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501470 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501470 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592461 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592462 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339631 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592463 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (7.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (23.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452518 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452518], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (2.4ms) commit transaction  (2.2ms) begin transaction  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452518], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501473 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.237578' WHERE "spree_products"."id" = 1060501473 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501473], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.239438' WHERE "spree_products"."id" = 1060501473  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592474 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.241368' WHERE "spree_products"."id" = 1060501473  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501473  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["product_id", nil], ["property_id", 905835663], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501473, "updated_at" = '2012-10-23 14:57:41.248895' WHERE "spree_product_properties"."id" = 1073274058 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452518 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501473 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501473, 558400278) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452519 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452519], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501473, 558400280) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501473 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501473) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["option_type_id", 935339633], ["position", 1], ["product_id", 1060501473], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339633) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339633], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501473 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.285574' WHERE "spree_products"."id" = 1060501473 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501473], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.287524' WHERE "spree_products"."id" = 1060501473  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592475, 979461013) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501473]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501473 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339633) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339633], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501473 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.317001' WHERE "spree_products"."id" = 1060501473 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501473], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.319264' WHERE "spree_products"."id" = 1060501473  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592476, 979461014) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501473]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501473 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339633) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339633], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (58.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501473 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.389533' WHERE "spree_products"."id" = 1060501473 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501473], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.390999' WHERE "spree_products"."id" = 1060501473  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592477, 979461015) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501473]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592475 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592476 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592477 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501473 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.412670' WHERE "spree_products"."id" = 1060501473  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592475 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.413999' WHERE "spree_products"."id" = 1060501473 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501473 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.415599' WHERE "spree_products"."id" = 1060501473  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592476 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.416519' WHERE "spree_products"."id" = 1060501473 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501473 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.417954' WHERE "spree_products"."id" = 1060501473  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592477 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.419169' WHERE "spree_products"."id" = 1060501473 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501473) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:41.421999' WHERE "spree_products"."id" = 1060501473 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501473 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501474 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.431639' WHERE "spree_products"."id" = 1060501474 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501474], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.433254' WHERE "spree_products"."id" = 1060501474  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592478 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.434998' WHERE "spree_products"."id" = 1060501474  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501474  (1.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["product_id", nil], ["property_id", 905835664], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501474, "updated_at" = '2012-10-23 14:57:41.441873' WHERE "spree_product_properties"."id" = 1073274059 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452518 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501474 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501474, 558400278) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452520 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452520], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501474, 558400281) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452518 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400278 AND "spree_taxons"."taxonomy_id" = 854452518 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400278]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400278], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452518], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400278]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400282]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400282 THEN 558400278 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400278]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400282]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400282 AND "spree_taxons"."taxonomy_id" = 854452518 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400282]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400282], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452518], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400282]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400283]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400283 THEN 558400282 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400282]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400283]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501474, 558400282)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501474, 558400283) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501474 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501474) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["option_type_id", 935339633], ["position", 1], ["product_id", 1060501474], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501474 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.491965' WHERE "spree_products"."id" = 1060501474 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501474], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (1.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.493848' WHERE "spree_products"."id" = 1060501474  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592479, 979461013) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501474]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501474 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501474 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.504852' WHERE "spree_products"."id" = 1060501474 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501474], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.506253' WHERE "spree_products"."id" = 1060501474  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592480, 979461014) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501474]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501474 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501474 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.515490' WHERE "spree_products"."id" = 1060501474 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501474], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.517510' WHERE "spree_products"."id" = 1060501474  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592481, 979461015) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501474]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592479 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592480 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592481 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501474 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.588571' WHERE "spree_products"."id" = 1060501474  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592479 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.590372' WHERE "spree_products"."id" = 1060501474 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501474 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.591450' WHERE "spree_products"."id" = 1060501474  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592480 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.592550' WHERE "spree_products"."id" = 1060501474 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501474 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.593965' WHERE "spree_products"."id" = 1060501474  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592481 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.594931' WHERE "spree_products"."id" = 1060501474 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501474) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:41.597499' WHERE "spree_products"."id" = 1060501474 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501474 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.607103' WHERE "spree_products"."id" = 1060501475 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501475], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.608541' WHERE "spree_products"."id" = 1060501475  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592482 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.610344' WHERE "spree_products"."id" = 1060501475  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501475  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["product_id", nil], ["property_id", 905835665], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501475, "updated_at" = '2012-10-23 14:57:41.617851' WHERE "spree_product_properties"."id" = 1073274060 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["product_id", nil], ["property_id", 905835664], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501475, "updated_at" = '2012-10-23 14:57:41.622007' WHERE "spree_product_properties"."id" = 1073274061 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["product_id", nil], ["property_id", 905835666], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["value", nil]]  (5.7ms) UPDATE "spree_product_properties" SET "product_id" = 1060501475, "updated_at" = '2012-10-23 14:57:41.627955' WHERE "spree_product_properties"."id" = 1073274062 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452521 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452521], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501475 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501475, 558400284) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452518 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400278 AND "spree_taxons"."taxonomy_id" = 854452518 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400278]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400278], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452518], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400278]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400285]] SQL (8.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400285 THEN 558400278 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400278]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400285]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501475, 558400285)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501475, 558400278) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501475 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501475) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["option_type_id", 935339633], ["position", 1], ["product_id", 1060501475], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.678857' WHERE "spree_products"."id" = 1060501475 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501475], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.680771' WHERE "spree_products"."id" = 1060501475  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592483, 979461013) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501475]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501475 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.689928' WHERE "spree_products"."id" = 1060501475 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501475], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.691241' WHERE "spree_products"."id" = 1060501475  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592484, 979461014) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501475]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501475 AND "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339633 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (11.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.702272' WHERE "spree_products"."id" = 1060501475 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501475], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.714867' WHERE "spree_products"."id" = 1060501475  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592485, 979461015) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501475]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501475 AND "spree_option_types"."id" = 935339634 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501475) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["option_type_id", 935339634], ["position", 2], ["product_id", 1060501475], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339634 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339634) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339634], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.733910' WHERE "spree_products"."id" = 1060501475 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501475], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.735822' WHERE "spree_products"."id" = 1060501475  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592486, 979461016) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501475]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (30.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501475 AND "spree_option_types"."id" = 935339634 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339634 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339634) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "colour"], ["option_type_id", 935339634], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.778125' WHERE "spree_products"."id" = 1060501475 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501475], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.779655' WHERE "spree_products"."id" = 1060501475  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592487, 979461017) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501475]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592483 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592484 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592485 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592486 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592487 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.799718' WHERE "spree_products"."id" = 1060501475  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592483 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.800967' WHERE "spree_products"."id" = 1060501475 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.802203' WHERE "spree_products"."id" = 1060501475  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592484 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.803289' WHERE "spree_products"."id" = 1060501475 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.804622' WHERE "spree_products"."id" = 1060501475  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592485 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.805770' WHERE "spree_products"."id" = 1060501475 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.806975' WHERE "spree_products"."id" = 1060501475  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592486 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.808265' WHERE "spree_products"."id" = 1060501475 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501475 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.809546' WHERE "spree_products"."id" = 1060501475  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592487 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:41.810472' WHERE "spree_products"."id" = 1060501475 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501475) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:41.813891' WHERE "spree_products"."id" = 1060501475 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501475 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501474 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501475 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501473 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501473 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592475 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592476 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339633 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592477 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.2ms) DELETE FROM "spree_products" SQL (1.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452522 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452522], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (3.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452522], ["updated_at", Tue, 23 Oct 2012 14:57:41 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501476 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.022314' WHERE "spree_products"."id" = 1060501476 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501476], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.023931' WHERE "spree_products"."id" = 1060501476  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592488 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.025410' WHERE "spree_products"."id" = 1060501476  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501476  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["product_id", nil], ["property_id", 905835667], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501476, "updated_at" = '2012-10-23 14:57:42.064766' WHERE "spree_product_properties"."id" = 1073274063 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452522 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501476 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501476, 558400286) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452523 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452523], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501476, 558400288) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionType Exists (2.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501476 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501476) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339635], ["position", 1], ["product_id", 1060501476], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339635) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339635], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501476 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.190121' WHERE "spree_products"."id" = 1060501476 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501476], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.191910' WHERE "spree_products"."id" = 1060501476  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592489, 979461018) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501476]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501476 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339635) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339635], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501476 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.205093' WHERE "spree_products"."id" = 1060501476 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501476], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.206742' WHERE "spree_products"."id" = 1060501476  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592490, 979461019) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501476]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501476 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339635) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339635], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501476 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.229514' WHERE "spree_products"."id" = 1060501476 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501476], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.230934' WHERE "spree_products"."id" = 1060501476  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592491, 979461020) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501476]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592489 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592490 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592491 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501476 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.252104' WHERE "spree_products"."id" = 1060501476  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592489 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.254908' WHERE "spree_products"."id" = 1060501476 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501476 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.256758' WHERE "spree_products"."id" = 1060501476  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592490 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.257977' WHERE "spree_products"."id" = 1060501476 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501476 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.259457' WHERE "spree_products"."id" = 1060501476  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592491 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.260637' WHERE "spree_products"."id" = 1060501476 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501476) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:42.263169' WHERE "spree_products"."id" = 1060501476 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501477 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.272530' WHERE "spree_products"."id" = 1060501477 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501477], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.273976' WHERE "spree_products"."id" = 1060501477  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592492 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.275412' WHERE "spree_products"."id" = 1060501477  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501477  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["product_id", nil], ["property_id", 905835668], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501477, "updated_at" = '2012-10-23 14:57:42.281976' WHERE "spree_product_properties"."id" = 1073274064 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (2.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452522 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501477 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501477, 558400286) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452524 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452524], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501477, 558400289) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452522 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400286 AND "spree_taxons"."taxonomy_id" = 854452522 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400286]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400286], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452522], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400286]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400290]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400290 THEN 558400286 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400286]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400290]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400290 AND "spree_taxons"."taxonomy_id" = 854452522 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400290]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400290], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452522], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400290]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400291]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400291 THEN 558400290 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400290]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400291]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501477, 558400290)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501477, 558400291) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501477 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501477) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339635], ["position", 1], ["product_id", 1060501477], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501477 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.389815' WHERE "spree_products"."id" = 1060501477 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501477], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.391529' WHERE "spree_products"."id" = 1060501477  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592493, 979461018) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501477]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501477 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501477 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.400240' WHERE "spree_products"."id" = 1060501477 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501477], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.401526' WHERE "spree_products"."id" = 1060501477  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592494, 979461019) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501477]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501477 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501477 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.409730' WHERE "spree_products"."id" = 1060501477 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501477], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.411183' WHERE "spree_products"."id" = 1060501477  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592495, 979461020) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501477]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592493 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592494 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592495 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501477 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.431959' WHERE "spree_products"."id" = 1060501477  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592493 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.432952' WHERE "spree_products"."id" = 1060501477 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501477 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.434431' WHERE "spree_products"."id" = 1060501477  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592494 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.435628' WHERE "spree_products"."id" = 1060501477 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501477 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.436871' WHERE "spree_products"."id" = 1060501477  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592495 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.438126' WHERE "spree_products"."id" = 1060501477 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501477) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:42.441135' WHERE "spree_products"."id" = 1060501477 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.450726' WHERE "spree_products"."id" = 1060501478 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501478], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.452199' WHERE "spree_products"."id" = 1060501478  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592496 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.453764' WHERE "spree_products"."id" = 1060501478  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501478  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["product_id", nil], ["property_id", 905835669], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501478, "updated_at" = '2012-10-23 14:57:42.461069' WHERE "spree_product_properties"."id" = 1073274065 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["product_id", nil], ["property_id", 905835668], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501478, "updated_at" = '2012-10-23 14:57:42.465500' WHERE "spree_product_properties"."id" = 1073274066 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["product_id", nil], ["property_id", 905835670], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501478, "updated_at" = '2012-10-23 14:57:42.469971' WHERE "spree_product_properties"."id" = 1073274067 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452525 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452525], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501478 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501478, 558400292) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452522 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400286 AND "spree_taxons"."taxonomy_id" = 854452522 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400286]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400286], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452522], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400286]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400293]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400293 THEN 558400286 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400286]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400293]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501478, 558400293)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501478, 558400286) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501478 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501478) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339635], ["position", 1], ["product_id", 1060501478], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.514946' WHERE "spree_products"."id" = 1060501478 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501478], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.517970' WHERE "spree_products"."id" = 1060501478  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592497, 979461018) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501478]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501478 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.528970' WHERE "spree_products"."id" = 1060501478 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501478], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.529970' WHERE "spree_products"."id" = 1060501478  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592498, 979461019) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501478]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501478 AND "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339635 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.540460' WHERE "spree_products"."id" = 1060501478 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501478], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.542096' WHERE "spree_products"."id" = 1060501478  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592499, 979461020) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501478]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501478 AND "spree_option_types"."id" = 935339636 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501478) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339636], ["position", 2], ["product_id", 1060501478], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339636 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339636) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339636], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.562514' WHERE "spree_products"."id" = 1060501478 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501478], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.563696' WHERE "spree_products"."id" = 1060501478  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592500, 979461021) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501478]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (24.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501478 AND "spree_option_types"."id" = 935339636 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339636 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339636) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "colour"], ["option_type_id", 935339636], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.600107' WHERE "spree_products"."id" = 1060501478 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501478], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.601535' WHERE "spree_products"."id" = 1060501478  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592501, 979461022) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501478]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592497 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592498 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592499 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592500 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592501 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.621967' WHERE "spree_products"."id" = 1060501478  (0.8ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592497 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.625346' WHERE "spree_products"."id" = 1060501478 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.626496' WHERE "spree_products"."id" = 1060501478  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592498 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.627683' WHERE "spree_products"."id" = 1060501478 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.629150' WHERE "spree_products"."id" = 1060501478  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592499 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.630241' WHERE "spree_products"."id" = 1060501478 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.632302' WHERE "spree_products"."id" = 1060501478  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592500 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.633832' WHERE "spree_products"."id" = 1060501478 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501478 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.635400' WHERE "spree_products"."id" = 1060501478  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592501 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.636649' WHERE "spree_products"."id" = 1060501478 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501478) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.8ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:42.641806' WHERE "spree_products"."id" = 1060501478  (5.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501477 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501478 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501476 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501476 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592489 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592490 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339635 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592491 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (22.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452526 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452526], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]]  (3.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452526], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501479 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.756215' WHERE "spree_products"."id" = 1060501479 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501479], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.757877' WHERE "spree_products"."id" = 1060501479  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592502 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.759601' WHERE "spree_products"."id" = 1060501479  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501479  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501479 AND "spree_option_types"."id" = 935339637 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501479) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339637], ["position", 1], ["product_id", 1060501479], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501479 AND "spree_option_types"."id" = 935339638 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501479) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339638], ["position", 2], ["product_id", 1060501479], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339637) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339637], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339638 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339638) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "colour"], ["option_type_id", 935339638], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501479 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.825895' WHERE "spree_products"."id" = 1060501479 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501479], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.827484' WHERE "spree_products"."id" = 1060501479  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592503, 979461023)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592503, 979461024) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339637) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339637], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339638 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501479 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.834208' WHERE "spree_products"."id" = 1060501479 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501479], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.836045' WHERE "spree_products"."id" = 1060501479  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592504, 979461025)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592504, 979461024) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501479]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501479) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501479 AND "spree_option_types"."id" = 935339637 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339637) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339637], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501479 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.851762' WHERE "spree_products"."id" = 1060501479 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501479], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.853320' WHERE "spree_products"."id" = 1060501479  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592505, 979461026) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501479]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501479) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592503 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592504 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592505 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501479) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501479 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.869465' WHERE "spree_products"."id" = 1060501479  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592503 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.870614' WHERE "spree_products"."id" = 1060501479 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501479 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.871938' WHERE "spree_products"."id" = 1060501479  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592504 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.873034' WHERE "spree_products"."id" = 1060501479 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501479 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.874547' WHERE "spree_products"."id" = 1060501479  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592505 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.875483' WHERE "spree_products"."id" = 1060501479 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501479) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:42.878143' WHERE "spree_products"."id" = 1060501479 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501480 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.886644' WHERE "spree_products"."id" = 1060501480 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501480], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.888034' WHERE "spree_products"."id" = 1060501480  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592506 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.889508' WHERE "spree_products"."id" = 1060501480  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501480  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501480 AND "spree_option_types"."id" = 935339637 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501480) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339637], ["position", 1], ["product_id", 1060501480], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501480 AND "spree_option_types"."id" = 935339638 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501480) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["option_type_id", 935339638], ["position", 2], ["product_id", 1060501480], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339638 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339638) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339638], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501480 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.908783' WHERE "spree_products"."id" = 1060501480 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501480], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.910202' WHERE "spree_products"."id" = 1060501480  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592507, 979461027)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592507, 979461023) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501480]] Current value to assign : Spree::Variant Load (2.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501480) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501480 AND "spree_option_types"."id" = 935339637 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501480 AND "spree_option_types"."id" = 935339638 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339638 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501480 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.983264' WHERE "spree_products"."id" = 1060501480 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501480], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.984958' WHERE "spree_products"."id" = 1060501480  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592508, 979461027)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592508, 979461026) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501480]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501480) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592507 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592508 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501480) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501480 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.998467' WHERE "spree_products"."id" = 1060501480  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592507 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:42.999794' WHERE "spree_products"."id" = 1060501480 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501480 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.001125' WHERE "spree_products"."id" = 1060501480  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592508 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.002226' WHERE "spree_products"."id" = 1060501480 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501480) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501480 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 14:57:43.005156' WHERE "spree_products"."id" = 1060501480 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501481 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.014066' WHERE "spree_products"."id" = 1060501481 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501481], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.015633' WHERE "spree_products"."id" = 1060501481  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592509 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.017625' WHERE "spree_products"."id" = 1060501481  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501481  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501481 AND "spree_option_types"."id" = 935339637 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501481) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["option_type_id", 935339637], ["position", 1], ["product_id", 1060501481], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501481 AND "spree_option_types"."id" = 935339638 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501481) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["option_type_id", 935339638], ["position", 2], ["product_id", 1060501481], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501481 AND "spree_option_types"."id" = 935339639 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501481) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["option_type_id", 935339639], ["position", 3], ["product_id", 1060501481], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339638 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339639 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339639) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "large"], ["option_type_id", 935339639], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionValue Load (1.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501481 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.046490' WHERE "spree_products"."id" = 1060501481 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501481], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.048296' WHERE "spree_products"."id" = 1060501481  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592510, 979461024)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592510, 979461028)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592510, 979461023) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339638 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339638) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339638], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339639 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501481 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.075031' WHERE "spree_products"."id" = 1060501481 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501481], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.076530' WHERE "spree_products"."id" = 1060501481  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592511, 979461029)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592511, 979461028)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592511, 979461023) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501481]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501481 AND "spree_option_types"."id" = 935339637 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501481 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.087510' WHERE "spree_products"."id" = 1060501481 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501481], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.089210' WHERE "spree_products"."id" = 1060501481  (0.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592512, 979461026) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501481]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501481) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501481 AND "spree_option_types"."id" = 935339637 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339637 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501481 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.100955' WHERE "spree_products"."id" = 1060501481 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501481], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.102741' WHERE "spree_products"."id" = 1060501481  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592513, 979461025) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501481]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501481 AND "spree_option_types"."id" = 935339638 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339638 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501481 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.109885' WHERE "spree_products"."id" = 1060501481 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501481], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.111178' WHERE "spree_products"."id" = 1060501481  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592514, 979461027) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501481]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501481) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501481) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501481 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (3.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501479 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501479 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592503 Booted Spree using version 1.1.3 SQL (5.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (21.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.241951' WHERE "spree_products"."id" = 1060501482 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501482], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.243643' WHERE "spree_products"."id" = 1060501482  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592515 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.246240' WHERE "spree_products"."id" = 1060501482  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501482  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["product_id", nil], ["property_id", 905835671], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501482, "updated_at" = '2012-10-23 14:57:43.288817' WHERE "spree_product_properties"."id" = 1073274068 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501482) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452527 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452527], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501482 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501482, 558400296) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452528 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452528], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501482, 558400297) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501482) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501482 AND "spree_option_types"."id" = 935339640 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501482) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["option_type_id", 935339640], ["position", 1], ["product_id", 1060501482], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339640) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339640], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.329905' WHERE "spree_products"."id" = 1060501482 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501482], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.331455' WHERE "spree_products"."id" = 1060501482  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592516, 979461030) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339640) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339640], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.336546' WHERE "spree_products"."id" = 1060501482 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501482], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.358543' WHERE "spree_products"."id" = 1060501482  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592517, 979461031) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339640) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339640], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.364658' WHERE "spree_products"."id" = 1060501482 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501482], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.365948' WHERE "spree_products"."id" = 1060501482  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592518, 979461032) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501482]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501482) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592516 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592517 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592518 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501482) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.383188' WHERE "spree_products"."id" = 1060501482  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592516 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.384302' WHERE "spree_products"."id" = 1060501482 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.386157' WHERE "spree_products"."id" = 1060501482  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592517 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.387223' WHERE "spree_products"."id" = 1060501482 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.388382' WHERE "spree_products"."id" = 1060501482  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592518 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:43.389514' WHERE "spree_products"."id" = 1060501482 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:43 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592515, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1390 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501482 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.133460' WHERE "spree_products"."id" = 1060501482  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501482 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501482) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:44.171123' WHERE "spree_products"."id" = 1060501482 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.182797' WHERE "spree_products"."id" = 1060501483 SQL (1.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501483], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.185815' WHERE "spree_products"."id" = 1060501483  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592519 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.187657' WHERE "spree_products"."id" = 1060501483  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501483  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["product_id", nil], ["property_id", 905835672], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501483, "updated_at" = '2012-10-23 14:57:44.196926' WHERE "spree_product_properties"."id" = 1073274069 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501483) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452527 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501483 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501483, 558400296) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452529], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501483, 558400298) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452530 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452530], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501483, 558400299) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501483) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501483 AND "spree_option_types"."id" = 935339640 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501483) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["option_type_id", 935339640], ["position", 1], ["product_id", 1060501483], ["updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.230364' WHERE "spree_products"."id" = 1060501483 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501483], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.231925' WHERE "spree_products"."id" = 1060501483  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592520, 979461030) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.234919' WHERE "spree_products"."id" = 1060501483 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501483], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.236446' WHERE "spree_products"."id" = 1060501483  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592521, 979461031) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.239526' WHERE "spree_products"."id" = 1060501483 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501483], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.240925' WHERE "spree_products"."id" = 1060501483  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592522, 979461032) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501483]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501483) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592520 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592521 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592522 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501483) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.255747' WHERE "spree_products"."id" = 1060501483  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592520 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.256838' WHERE "spree_products"."id" = 1060501483 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.258176' WHERE "spree_products"."id" = 1060501483  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592521 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.259410' WHERE "spree_products"."id" = 1060501483 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.260391' WHERE "spree_products"."id" = 1060501483  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592522 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:44.261595' WHERE "spree_products"."id" = 1060501483 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:44 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592519, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1391 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501483 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.286660' WHERE "spree_products"."id" = 1060501483  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501483 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501483) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:48.295998' WHERE "spree_products"."id" = 1060501483 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.332063' WHERE "spree_products"."id" = 1060501484 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501484], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.333760' WHERE "spree_products"."id" = 1060501484  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592523 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.336017' WHERE "spree_products"."id" = 1060501484  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501484  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["product_id", nil], ["property_id", 905835673], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501484, "updated_at" = '2012-10-23 14:57:48.346585' WHERE "spree_product_properties"."id" = 1073274070 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["product_id", nil], ["property_id", 905835672], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501484, "updated_at" = '2012-10-23 14:57:48.349774' WHERE "spree_product_properties"."id" = 1073274071 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["product_id", nil], ["property_id", 905835674], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501484, "updated_at" = '2012-10-23 14:57:48.353845' WHERE "spree_product_properties"."id" = 1073274072 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501484) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452531 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452531], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501484 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501484, 558400300) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501484) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501484 AND "spree_option_types"."id" = 935339640 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501484) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["option_type_id", 935339640], ["position", 1], ["product_id", 1060501484], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.381606' WHERE "spree_products"."id" = 1060501484 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501484], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.383299' WHERE "spree_products"."id" = 1060501484  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592524, 979461030) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.386953' WHERE "spree_products"."id" = 1060501484 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501484], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.388420' WHERE "spree_products"."id" = 1060501484  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592525, 979461031) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339640 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.392065' WHERE "spree_products"."id" = 1060501484 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501484], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.393458' WHERE "spree_products"."id" = 1060501484  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592526, 979461032) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501484]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501484 AND "spree_option_types"."id" = 935339641 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501484) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["option_type_id", 935339641], ["position", 2], ["product_id", 1060501484], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339641 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339641) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339641], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.410185' WHERE "spree_products"."id" = 1060501484 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501484], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.411643' WHERE "spree_products"."id" = 1060501484  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592527, 979461033) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339641 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339641) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339641], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.417227' WHERE "spree_products"."id" = 1060501484 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501484], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.437535' WHERE "spree_products"."id" = 1060501484  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592528, 979461034) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501484]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501484) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592524 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592525 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592526 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592527 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592528 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501484) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.458662' WHERE "spree_products"."id" = 1060501484  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592524 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.460151' WHERE "spree_products"."id" = 1060501484 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.461482' WHERE "spree_products"."id" = 1060501484  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592525 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.462604' WHERE "spree_products"."id" = 1060501484 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.464013' WHERE "spree_products"."id" = 1060501484  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592526 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.465088' WHERE "spree_products"."id" = 1060501484 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.466396' WHERE "spree_products"."id" = 1060501484  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592527 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.467676' WHERE "spree_products"."id" = 1060501484 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.469029' WHERE "spree_products"."id" = 1060501484  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592528 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:48.470113' WHERE "spree_products"."id" = 1060501484 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:48 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592523, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1392 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501484 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.136394' WHERE "spree_products"."id" = 1060501484  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501484 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501484) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:49.173430' WHERE "spree_products"."id" = 1060501484  (11.7ms) commit transaction  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592515) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501482)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592515 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501482 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592515) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501482)) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501483 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592519) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501483)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501484 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592523) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501484)) SQL (3.6ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (21.2ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.419535' WHERE "spree_products"."id" = 1060501485 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501485], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.421396' WHERE "spree_products"."id" = 1060501485  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592529 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.423241' WHERE "spree_products"."id" = 1060501485  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501485  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["product_id", nil], ["property_id", 905835675], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501485, "updated_at" = '2012-10-23 14:57:49.431652' WHERE "spree_product_properties"."id" = 1073274073 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501485) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452532 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452532], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501485 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501485, 558400301) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452533], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501485, 558400302) Spree::Product Exists (1.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501485) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501485 AND "spree_option_types"."id" = 935339642 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501485) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["option_type_id", 935339642], ["position", 1], ["product_id", 1060501485], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339642) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339642], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.466093' WHERE "spree_products"."id" = 1060501485 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501485], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.467222' WHERE "spree_products"."id" = 1060501485  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592530, 979461035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339642) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339642], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::Product Load (1.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.474017' WHERE "spree_products"."id" = 1060501485 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501485], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.494530' WHERE "spree_products"."id" = 1060501485  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592531, 979461036) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339642) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339642], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.501001' WHERE "spree_products"."id" = 1060501485 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501485], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.502648' WHERE "spree_products"."id" = 1060501485  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592532, 979461037) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501485]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501485) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592530 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592531 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592532 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501485) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.521587' WHERE "spree_products"."id" = 1060501485  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592530 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.522788' WHERE "spree_products"."id" = 1060501485 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.524291' WHERE "spree_products"."id" = 1060501485  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592531 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.525381' WHERE "spree_products"."id" = 1060501485 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.527114' WHERE "spree_products"."id" = 1060501485  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592532 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:49.528147' WHERE "spree_products"."id" = 1060501485 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:49 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592529, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1393 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501485 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.131007' WHERE "spree_products"."id" = 1060501485  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501485 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501485) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:50.140798' WHERE "spree_products"."id" = 1060501485 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501485 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (2.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.182274' WHERE "spree_products"."id" = 1060501486 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501486], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.184442' WHERE "spree_products"."id" = 1060501486  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592533 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.186209' WHERE "spree_products"."id" = 1060501486  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501486  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["product_id", nil], ["property_id", 905835676], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501486, "updated_at" = '2012-10-23 14:57:50.195381' WHERE "spree_product_properties"."id" = 1073274074 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501486) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452532 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501486 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501486, 558400301) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452534 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452534], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.8ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501486, 558400303) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452535 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452535], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501486, 558400304) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501486) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501486 AND "spree_option_types"."id" = 935339642 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501486) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["option_type_id", 935339642], ["position", 1], ["product_id", 1060501486], ["updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.229348' WHERE "spree_products"."id" = 1060501486 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501486], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.230913' WHERE "spree_products"."id" = 1060501486  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592534, 979461035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.234018' WHERE "spree_products"."id" = 1060501486 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501486], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.236032' WHERE "spree_products"."id" = 1060501486  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592535, 979461036) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.239270' WHERE "spree_products"."id" = 1060501486 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501486], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.240720' WHERE "spree_products"."id" = 1060501486  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592536, 979461037) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501486]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501486) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592534 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592535 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592536 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501486) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.256595' WHERE "spree_products"."id" = 1060501486  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592534 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.258325' WHERE "spree_products"."id" = 1060501486 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.259709' WHERE "spree_products"."id" = 1060501486  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592535 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.260768' WHERE "spree_products"."id" = 1060501486 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.262362' WHERE "spree_products"."id" = 1060501486  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592536 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:50.263529' WHERE "spree_products"."id" = 1060501486 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:50 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592533, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1394 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501486 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.364645' WHERE "spree_products"."id" = 1060501486  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.9ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501486 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501486) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:54.372042' WHERE "spree_products"."id" = 1060501486 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501486 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.405416' WHERE "spree_products"."id" = 1060501487 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501487], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.407690' WHERE "spree_products"."id" = 1060501487  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592537 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.409812' WHERE "spree_products"."id" = 1060501487  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501487  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["product_id", nil], ["property_id", 905835677], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501487, "updated_at" = '2012-10-23 14:57:54.418139' WHERE "spree_product_properties"."id" = 1073274075 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["product_id", nil], ["property_id", 905835676], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501487, "updated_at" = '2012-10-23 14:57:54.421072' WHERE "spree_product_properties"."id" = 1073274076 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["product_id", nil], ["property_id", 905835678], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501487, "updated_at" = '2012-10-23 14:57:54.424774' WHERE "spree_product_properties"."id" = 1073274077 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501487) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452536 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452536], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501487 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501487, 558400305) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501487) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501487 AND "spree_option_types"."id" = 935339642 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501487) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["option_type_id", 935339642], ["position", 1], ["product_id", 1060501487], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.448874' WHERE "spree_products"."id" = 1060501487 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501487], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.450581' WHERE "spree_products"."id" = 1060501487  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592538, 979461035) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.453636' WHERE "spree_products"."id" = 1060501487 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501487], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.454880' WHERE "spree_products"."id" = 1060501487  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592539, 979461036) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339642 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.457723' WHERE "spree_products"."id" = 1060501487 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501487], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.459167' WHERE "spree_products"."id" = 1060501487  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592540, 979461037) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501487]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501487 AND "spree_option_types"."id" = 935339643 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501487) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["option_type_id", 935339643], ["position", 2], ["product_id", 1060501487], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339643 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339643) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339643], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.474201' WHERE "spree_products"."id" = 1060501487 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501487], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.475328' WHERE "spree_products"."id" = 1060501487  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592541, 979461038) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339643 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339643) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["name", "colour"], ["option_type_id", 935339643], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.480939' WHERE "spree_products"."id" = 1060501487 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501487], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.482288' WHERE "spree_products"."id" = 1060501487  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592542, 979461039) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501487]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501487) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592538 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592539 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592540 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592541 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592542 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501487) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.520825' WHERE "spree_products"."id" = 1060501487  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592538 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.522178' WHERE "spree_products"."id" = 1060501487 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.523393' WHERE "spree_products"."id" = 1060501487  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592539 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.524657' WHERE "spree_products"."id" = 1060501487 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.525961' WHERE "spree_products"."id" = 1060501487  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592540 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.526905' WHERE "spree_products"."id" = 1060501487 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.528178' WHERE "spree_products"."id" = 1060501487  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592541 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.529204' WHERE "spree_products"."id" = 1060501487 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.531432' WHERE "spree_products"."id" = 1060501487  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592542 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:54.532433' WHERE "spree_products"."id" = 1060501487 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:54 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592537, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1395 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501487 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.206409' WHERE "spree_products"."id" = 1060501487  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501487 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501487) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (29.6ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:55.217099' WHERE "spree_products"."id" = 1060501487 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501487 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.3ms) commit transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592529) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501485)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501485 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592529) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501485)) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501486 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592533) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501486)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501487 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592537) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501487))  (20.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (28.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.544296' WHERE "spree_products"."id" = 1060501488 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501488], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.546394' WHERE "spree_products"."id" = 1060501488  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592543 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.547883' WHERE "spree_products"."id" = 1060501488  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501488  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["product_id", nil], ["property_id", 905835679], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501488, "updated_at" = '2012-10-23 14:57:55.555269' WHERE "spree_product_properties"."id" = 1073274078 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501488) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452537], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501488 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501488, 558400306) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452538 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452538], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501488, 558400307) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501488) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501488 AND "spree_option_types"."id" = 935339644 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501488) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["option_type_id", 935339644], ["position", 1], ["product_id", 1060501488], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339644) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339644], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.590346' WHERE "spree_products"."id" = 1060501488 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501488], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.592288' WHERE "spree_products"."id" = 1060501488  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592544, 979461040) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339644) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339644], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.597346' WHERE "spree_products"."id" = 1060501488 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501488], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.598559' WHERE "spree_products"."id" = 1060501488  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592545, 979461041) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339644) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339644], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.624318' WHERE "spree_products"."id" = 1060501488 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501488], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.625599' WHERE "spree_products"."id" = 1060501488  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592546, 979461042) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501488]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501488) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592544 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592545 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592546 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501488) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.640978' WHERE "spree_products"."id" = 1060501488  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592544 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.642160' WHERE "spree_products"."id" = 1060501488 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.643400' WHERE "spree_products"."id" = 1060501488  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592545 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.644477' WHERE "spree_products"."id" = 1060501488 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.645803' WHERE "spree_products"."id" = 1060501488  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592546 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.646947' WHERE "spree_products"."id" = 1060501488 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501488) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:57:55.649969' WHERE "spree_products"."id" = 1060501488 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501488 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.659203' WHERE "spree_products"."id" = 1060501489 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501489], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.660524' WHERE "spree_products"."id" = 1060501489  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592547 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.662013' WHERE "spree_products"."id" = 1060501489  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501489  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["product_id", nil], ["property_id", 905835680], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501489, "updated_at" = '2012-10-23 14:57:55.668982' WHERE "spree_product_properties"."id" = 1073274079 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501489) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501489 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501489, 558400306) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452539], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501489, 558400308) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400306 AND "spree_taxons"."taxonomy_id" = 854452537 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400306]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400306], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452537], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400306]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400309]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400309 THEN 558400306 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400306]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400309]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400309 AND "spree_taxons"."taxonomy_id" = 854452537 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400309]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400309], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452537], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400309]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400310]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400310 THEN 558400309 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400309]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400310]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501489, 558400309)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501489, 558400310) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501489) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501489 AND "spree_option_types"."id" = 935339644 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501489) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["option_type_id", 935339644], ["position", 1], ["product_id", 1060501489], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.709353' WHERE "spree_products"."id" = 1060501489 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501489], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.711010' WHERE "spree_products"."id" = 1060501489  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592548, 979461040) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.714884' WHERE "spree_products"."id" = 1060501489 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501489], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.716078' WHERE "spree_products"."id" = 1060501489  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592549, 979461041) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.719108' WHERE "spree_products"."id" = 1060501489 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501489], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.720538' WHERE "spree_products"."id" = 1060501489  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592550, 979461042) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501489]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501489) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592548 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592549 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592550 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501489) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.738343' WHERE "spree_products"."id" = 1060501489  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592548 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.739490' WHERE "spree_products"."id" = 1060501489 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.741006' WHERE "spree_products"."id" = 1060501489  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592549 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.743102' WHERE "spree_products"."id" = 1060501489 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.744503' WHERE "spree_products"."id" = 1060501489  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592550 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.745735' WHERE "spree_products"."id" = 1060501489 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501489) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:57:55.748735' WHERE "spree_products"."id" = 1060501489 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501489 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.757427' WHERE "spree_products"."id" = 1060501490 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501490], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.758927' WHERE "spree_products"."id" = 1060501490  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592551 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.760587' WHERE "spree_products"."id" = 1060501490  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501490  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["product_id", nil], ["property_id", 905835681], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501490, "updated_at" = '2012-10-23 14:57:55.769006' WHERE "spree_product_properties"."id" = 1073274080 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["product_id", nil], ["property_id", 905835680], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501490, "updated_at" = '2012-10-23 14:57:55.772893' WHERE "spree_product_properties"."id" = 1073274081 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["product_id", nil], ["property_id", 905835682], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501490, "updated_at" = '2012-10-23 14:57:55.776432' WHERE "spree_product_properties"."id" = 1073274082 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501490) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452540 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452540], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501490 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501490, 558400311) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400306 AND "spree_taxons"."taxonomy_id" = 854452537 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400306]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400306], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452537], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400306]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400312]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400312 THEN 558400306 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400306]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400312]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501490, 558400312)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501490, 558400306) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501490) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501490 AND "spree_option_types"."id" = 935339644 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501490) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["option_type_id", 935339644], ["position", 1], ["product_id", 1060501490], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.806489' WHERE "spree_products"."id" = 1060501490 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501490], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.807914' WHERE "spree_products"."id" = 1060501490  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592552, 979461040) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.810596' WHERE "spree_products"."id" = 1060501490 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501490], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.811906' WHERE "spree_products"."id" = 1060501490  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592553, 979461041) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339644 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.814906' WHERE "spree_products"."id" = 1060501490 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501490], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.816076' WHERE "spree_products"."id" = 1060501490  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592554, 979461042) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501490]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501490 AND "spree_option_types"."id" = 935339645 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501490) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["option_type_id", 935339645], ["position", 2], ["product_id", 1060501490], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339645 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339645) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339645], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.829574' WHERE "spree_products"."id" = 1060501490 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501490], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.831124' WHERE "spree_products"."id" = 1060501490  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592555, 979461043) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339645 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339645) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00], ["name", "colour"], ["option_type_id", 935339645], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:57:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.858060' WHERE "spree_products"."id" = 1060501490 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501490], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.860212' WHERE "spree_products"."id" = 1060501490  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592556, 979461044) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501490]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501490) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592552 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592553 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592554 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592555 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592556 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501490) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.879183' WHERE "spree_products"."id" = 1060501490  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592552 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.880449' WHERE "spree_products"."id" = 1060501490 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.881763' WHERE "spree_products"."id" = 1060501490  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592553 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.882745' WHERE "spree_products"."id" = 1060501490 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.884400' WHERE "spree_products"."id" = 1060501490  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592554 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.885795' WHERE "spree_products"."id" = 1060501490 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.887150' WHERE "spree_products"."id" = 1060501490  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592555 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.888249' WHERE "spree_products"."id" = 1060501490 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.889508' WHERE "spree_products"."id" = 1060501490  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592556 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:55.890505' WHERE "spree_products"."id" = 1060501490 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501490) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:57:55.893617' WHERE "spree_products"."id" = 1060501490 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501490 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592551) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501490)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (2.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 SQL (1.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:56 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592543, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1396 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501488 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:56.653321' WHERE "spree_products"."id" = 1060501488  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501488 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:57:56.663818' WHERE "spree_products"."id" = 1060501488 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501488 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013592543 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:57:56 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592547, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1397 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501489 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.018807' WHERE "spree_products"."id" = 1060501489  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501489 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.029105' WHERE "spree_products"."id" = 1060501489 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501489 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013592547 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592551, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1398 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501490 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.663608' WHERE "spree_products"."id" = 1060501490  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501490 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.671445' WHERE "spree_products"."id" = 1060501490 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501490 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013592551  (29.2ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501488 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592543) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501488)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501489 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592547) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501489)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501490 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592551) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501490)) SQL (3.2ms) DELETE FROM "spree_products" SQL (1.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (21.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501491 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.942993' WHERE "spree_products"."id" = 1060501491 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501491], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.944721' WHERE "spree_products"."id" = 1060501491  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592557 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.946438' WHERE "spree_products"."id" = 1060501491  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501491  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["product_id", nil], ["property_id", 905835683], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501491, "updated_at" = '2012-10-23 14:58:02.954479' WHERE "spree_product_properties"."id" = 1073274083 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501491) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452541 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452541], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501491 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501491, 558400313) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452542 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452542], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501491, 558400314) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501491) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501491 AND "spree_option_types"."id" = 935339646 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501491) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["option_type_id", 935339646], ["position", 1], ["product_id", 1060501491], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339646) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339646], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501491 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.992296' WHERE "spree_products"."id" = 1060501491 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501491], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.993702' WHERE "spree_products"."id" = 1060501491  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592558, 979461045) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339646) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339646], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501491 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.998364' WHERE "spree_products"."id" = 1060501491 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501491], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:02.999693' WHERE "spree_products"."id" = 1060501491  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592559, 979461046) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339646) ORDER BY position DESC LIMIT 1 SQL (20.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339646], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501491 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.024872' WHERE "spree_products"."id" = 1060501491 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501491], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.029635' WHERE "spree_products"."id" = 1060501491  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592560, 979461047) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501491]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501491) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592558 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592559 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592560 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501491) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501491 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.046415' WHERE "spree_products"."id" = 1060501491  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592558 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.048215' WHERE "spree_products"."id" = 1060501491 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501491 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.050435' WHERE "spree_products"."id" = 1060501491  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592559 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.051396' WHERE "spree_products"."id" = 1060501491 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501491 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.052819' WHERE "spree_products"."id" = 1060501491  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592560 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.053796' WHERE "spree_products"."id" = 1060501491 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501491) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:58:03.056975' WHERE "spree_products"."id" = 1060501491 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501491 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501492 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.065785' WHERE "spree_products"."id" = 1060501492 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501492], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.067244' WHERE "spree_products"."id" = 1060501492  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592561 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.069108' WHERE "spree_products"."id" = 1060501492  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501492  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["product_id", nil], ["property_id", 905835684], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501492, "updated_at" = '2012-10-23 14:58:03.075691' WHERE "spree_product_properties"."id" = 1073274084 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501492) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452541 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501492 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501492, 558400313) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452543 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452543], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501492, 558400315) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452541 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400313 AND "spree_taxons"."taxonomy_id" = 854452541 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400313]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400313], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452541], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400313]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400316]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400316 THEN 558400313 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400313]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400316]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400316 AND "spree_taxons"."taxonomy_id" = 854452541 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400316]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400316], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452541], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400316]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400317]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400317 THEN 558400316 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400316]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400317]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501492, 558400316)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501492, 558400317) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501492) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501492 AND "spree_option_types"."id" = 935339646 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501492) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["option_type_id", 935339646], ["position", 1], ["product_id", 1060501492], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501492 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.116378' WHERE "spree_products"."id" = 1060501492 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501492], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.118354' WHERE "spree_products"."id" = 1060501492  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592562, 979461045) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501492 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.120879' WHERE "spree_products"."id" = 1060501492 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501492], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.122140' WHERE "spree_products"."id" = 1060501492  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592563, 979461046) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501492 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.125343' WHERE "spree_products"."id" = 1060501492 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501492], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.126673' WHERE "spree_products"."id" = 1060501492  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592564, 979461047) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501492]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501492) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592562 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592563 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592564 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501492) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501492 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.143192' WHERE "spree_products"."id" = 1060501492  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592562 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.144433' WHERE "spree_products"."id" = 1060501492 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501492 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.145694' WHERE "spree_products"."id" = 1060501492  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592563 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.146800' WHERE "spree_products"."id" = 1060501492 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501492 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.148303' WHERE "spree_products"."id" = 1060501492  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592564 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.149433' WHERE "spree_products"."id" = 1060501492 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501492) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:58:03.152345' WHERE "spree_products"."id" = 1060501492 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501492 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.161190' WHERE "spree_products"."id" = 1060501493 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501493], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.162666' WHERE "spree_products"."id" = 1060501493  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592565 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.164079' WHERE "spree_products"."id" = 1060501493  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501493  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["product_id", nil], ["property_id", 905835685], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501493, "updated_at" = '2012-10-23 14:58:03.170708' WHERE "spree_product_properties"."id" = 1073274085 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["product_id", nil], ["property_id", 905835684], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501493, "updated_at" = '2012-10-23 14:58:03.173533' WHERE "spree_product_properties"."id" = 1073274086 Created New ProductProperty # Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["product_id", nil], ["property_id", 905835686], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501493, "updated_at" = '2012-10-23 14:58:03.177412' WHERE "spree_product_properties"."id" = 1073274087 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501493) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452544 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452544], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501493 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501493, 558400318) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452541 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400313 AND "spree_taxons"."taxonomy_id" = 854452541 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400313]] SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400313], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452541], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400313]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400319]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400319 THEN 558400313 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400313]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400319]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501493, 558400319)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501493, 558400313) Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501493) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501493 AND "spree_option_types"."id" = 935339646 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501493) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["option_type_id", 935339646], ["position", 1], ["product_id", 1060501493], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.211170' WHERE "spree_products"."id" = 1060501493 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501493], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.212797' WHERE "spree_products"."id" = 1060501493  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592566, 979461045) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.215846' WHERE "spree_products"."id" = 1060501493 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501493], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.217427' WHERE "spree_products"."id" = 1060501493  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592567, 979461046) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339646 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.220162' WHERE "spree_products"."id" = 1060501493 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501493], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.221431' WHERE "spree_products"."id" = 1060501493  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592568, 979461047) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501493]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501493 AND "spree_option_types"."id" = 935339647 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501493) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["option_type_id", 935339647], ["position", 2], ["product_id", 1060501493], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339647 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339647) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339647], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.235327' WHERE "spree_products"."id" = 1060501493 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501493], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.238403' WHERE "spree_products"."id" = 1060501493  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592569, 979461048) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339647 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339647) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["name", "colour"], ["option_type_id", 935339647], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.243348' WHERE "spree_products"."id" = 1060501493 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501493], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.264436' WHERE "spree_products"."id" = 1060501493  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592570, 979461049) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501493]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501493) LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592566 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592567 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592569 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592570 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501493) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.284869' WHERE "spree_products"."id" = 1060501493  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592566 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.286275' WHERE "spree_products"."id" = 1060501493 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.287860' WHERE "spree_products"."id" = 1060501493  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592567 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.288903' WHERE "spree_products"."id" = 1060501493 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.290330' WHERE "spree_products"."id" = 1060501493  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592568 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.291427' WHERE "spree_products"."id" = 1060501493 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.292717' WHERE "spree_products"."id" = 1060501493  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592569 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.293812' WHERE "spree_products"."id" = 1060501493 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501493 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.295199' WHERE "spree_products"."id" = 1060501493  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592570 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:03.296767' WHERE "spree_products"."id" = 1060501493 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501493) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:58:03.299844' WHERE "spree_products"."id" = 1060501493 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501493 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.4ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592565) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501493)) Excel Loader processing 0 rows  (0.0ms) begin transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:03 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592557, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1399 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:04 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013592557, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1400 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501491) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501491) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501491 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:08 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.9ms) UPDATE "spree_assets" SET "viewable_id" = 1013592561, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1401 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501492) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501492) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501492 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:12 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592565, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1402 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501493) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501493) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501493  (28.4ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501491 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592557) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501491)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501492 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592561) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501492)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501493 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592565) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501493)) SQL (24.2ms) DELETE FROM "spree_products" SQL (21.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.503657' WHERE "spree_products"."id" = 1060501494 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501494], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.505745' WHERE "spree_products"."id" = 1060501494  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592571 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.507555' WHERE "spree_products"."id" = 1060501494  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501494  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["product_id", nil], ["property_id", 905835687], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501494, "updated_at" = '2012-10-23 14:58:13.516489' WHERE "spree_product_properties"."id" = 1073274088 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501494) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452545 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452545], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501494 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501494, 558400320) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452546 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452546], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501494, 558400321) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501494) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501494 AND "spree_option_types"."id" = 935339648 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501494) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["option_type_id", 935339648], ["position", 1], ["product_id", 1060501494], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339648 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339648) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339648], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.549962' WHERE "spree_products"."id" = 1060501494 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501494], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.551502' WHERE "spree_products"."id" = 1060501494  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592572, 979461050) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339648 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339648) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339648], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.556505' WHERE "spree_products"."id" = 1060501494 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501494], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.558027' WHERE "spree_products"."id" = 1060501494  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592573, 979461051) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339648 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339648) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339648], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.583844' WHERE "spree_products"."id" = 1060501494 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501494], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.585482' WHERE "spree_products"."id" = 1060501494  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592574, 979461052) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501494]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501494) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592573 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592574 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501494) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.602705' WHERE "spree_products"."id" = 1060501494  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592572 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.603969' WHERE "spree_products"."id" = 1060501494 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.605182' WHERE "spree_products"."id" = 1060501494  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592573 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.606182' WHERE "spree_products"."id" = 1060501494 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.607701' WHERE "spree_products"."id" = 1060501494  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592574 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:13.608924' WHERE "spree_products"."id" = 1060501494 SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:13 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013592571, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1403 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501494 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:14.351717' WHERE "spree_products"."id" = 1060501494  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501494 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:14 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592571, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1404 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.147773' WHERE "spree_products"."id" = 1060501494 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501494 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592571, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1405 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.859374' WHERE "spree_products"."id" = 1060501494 SQL (26.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501494 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501494) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:58:15.893981' WHERE "spree_products"."id" = 1060501494 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501494 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 002"], ["permalink", "demo-product-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.909480' WHERE "spree_products"."id" = 1060501495 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501495], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.911054' WHERE "spree_products"."id" = 1060501495  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592575 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.913090' WHERE "spree_products"."id" = 1060501495  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501495  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["product_id", nil], ["property_id", 905835688], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501495, "updated_at" = '2012-10-23 14:58:15.922095' WHERE "spree_product_properties"."id" = 1073274089 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501495) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452545 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501495 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501495, 558400320) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452547 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452547], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501495, 558400322) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452548 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452548], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501495, 558400323) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501495) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501495 AND "spree_option_types"."id" = 935339648 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501495) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00], ["option_type_id", 935339648], ["position", 1], ["product_id", 1060501495], ["updated_at", Tue, 23 Oct 2012 14:58:15 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339648 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.953254' WHERE "spree_products"."id" = 1060501495 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501495], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.954839' WHERE "spree_products"."id" = 1060501495  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592576, 979461050) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339648 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.957861' WHERE "spree_products"."id" = 1060501495 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501495], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.959308' WHERE "spree_products"."id" = 1060501495  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592577, 979461051) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339648 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.963088' WHERE "spree_products"."id" = 1060501495 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501495], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.964654' WHERE "spree_products"."id" = 1060501495  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592578, 979461052) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501495]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501495) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592576 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592577 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592578 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501495) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.981187' WHERE "spree_products"."id" = 1060501495  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592576 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.982385' WHERE "spree_products"."id" = 1060501495 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.983589' WHERE "spree_products"."id" = 1060501495  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592577 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.984998' WHERE "spree_products"."id" = 1060501495 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.986161' WHERE "spree_products"."id" = 1060501495  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592578 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:15.987041' WHERE "spree_products"."id" = 1060501495 SQL (2.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text for 002"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:16 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013592575, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1406 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "323X428 ror bag"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 14:58:20 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592575, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1407 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501495 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:21.167373' WHERE "spree_products"."id" = 1060501495  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501495 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501495) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:58:21.232817' WHERE "spree_products"."id" = 1060501495 Row ["MULTI_002", "Demo Product 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text for 002|fixtures/images/DEMO_001_ror_bag.jpeg:323X428 ror bag"] succesfully SAVED : ID 1060501495 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (25.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501494 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592571 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501495 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592575 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (2.2ms) DELETE FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (20.0ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (22.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452549 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452549], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452549], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (86.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452549], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (2.4ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452550 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452550], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452550], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452550], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (2.6ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452550 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452550 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452550 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (23.8ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452551], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452551], ["updated_at", Tue, 23 Oct 2012 14:58:21 UTC +00:00]]  (4.5ms) commit transaction  (0.0ms) begin transaction  (0.6ms) UPDATE "spree_taxons" SET "parent_id" = 558400330, "updated_at" = '2012-10-23 14:58:21.975735' WHERE "spree_taxons"."id" = 558400331 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400330]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400331]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400331 THEN 558400330 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400330]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400331]]  (1.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400330 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.061296' WHERE "spree_products"."id" = 1060501496 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501496], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.063490' WHERE "spree_products"."id" = 1060501496  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592579 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.066298' WHERE "spree_products"."id" = 1060501496  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501496  (3.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["product_id", nil], ["property_id", 905835689], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["value", nil]]  (1.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501496, "updated_at" = '2012-10-23 14:58:22.079098' WHERE "spree_product_properties"."id" = 1073274090 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501496) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501496 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501496, 558400330) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452552 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452552], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501496, 558400332) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501496) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501496 AND "spree_option_types"."id" = 935339649 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501496) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["option_type_id", 935339649], ["position", 1], ["product_id", 1060501496], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339649) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339649], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.115190' WHERE "spree_products"."id" = 1060501496 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501496], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.116542' WHERE "spree_products"."id" = 1060501496  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592580, 979461053) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339649) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339649], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.121775' WHERE "spree_products"."id" = 1060501496 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501496], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.141481' WHERE "spree_products"."id" = 1060501496  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592581, 979461054) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339649) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339649], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.149318' WHERE "spree_products"."id" = 1060501496 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501496], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.150959' WHERE "spree_products"."id" = 1060501496  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592582, 979461055) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501496]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501496) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592580 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592581 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592582 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501496) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.170051' WHERE "spree_products"."id" = 1060501496  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592580 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.171332' WHERE "spree_products"."id" = 1060501496 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.172378' WHERE "spree_products"."id" = 1060501496  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592581 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.173299' WHERE "spree_products"."id" = 1060501496 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.174652' WHERE "spree_products"."id" = 1060501496  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592582 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.175802' WHERE "spree_products"."id" = 1060501496 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501496) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501496 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:58:22.178358' WHERE "spree_products"."id" = 1060501496 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501496 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.187826' WHERE "spree_products"."id" = 1060501497 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501497], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.189163' WHERE "spree_products"."id" = 1060501497  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592583 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.190470' WHERE "spree_products"."id" = 1060501497  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501497  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["product_id", nil], ["property_id", 905835690], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501497, "updated_at" = '2012-10-23 14:58:22.200437' WHERE "spree_product_properties"."id" = 1073274091 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501497) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501497 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501497, 558400330) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452553 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452553], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501497, 558400333) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400330 AND "spree_taxons"."taxonomy_id" = 854452551 LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400330]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400330], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452551], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400330]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400334]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400334 THEN 558400330 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400330]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400334]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400334 AND "spree_taxons"."taxonomy_id" = 854452551 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400334]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400334], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452551], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400334]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400335]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400335 THEN 558400334 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400334]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400335]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501497, 558400334)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501497, 558400335) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501497) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501497 AND "spree_option_types"."id" = 935339649 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501497) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["option_type_id", 935339649], ["position", 1], ["product_id", 1060501497], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.253338' WHERE "spree_products"."id" = 1060501497 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501497], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.254856' WHERE "spree_products"."id" = 1060501497  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592584, 979461053) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.257623' WHERE "spree_products"."id" = 1060501497 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501497], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.259301' WHERE "spree_products"."id" = 1060501497  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592585, 979461054) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.262032' WHERE "spree_products"."id" = 1060501497 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501497], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.263421' WHERE "spree_products"."id" = 1060501497  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592586, 979461055) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501497]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (3.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501497) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592584 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592585 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592586 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501497) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.346068' WHERE "spree_products"."id" = 1060501497  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592584 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.347802' WHERE "spree_products"."id" = 1060501497 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.349502' WHERE "spree_products"."id" = 1060501497  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592585 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.350702' WHERE "spree_products"."id" = 1060501497 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.351992' WHERE "spree_products"."id" = 1060501497  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592586 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.353079' WHERE "spree_products"."id" = 1060501497 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501497) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501497 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:58:22.356202' WHERE "spree_products"."id" = 1060501497 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501497 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.364797' WHERE "spree_products"."id" = 1060501498 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501498], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.366824' WHERE "spree_products"."id" = 1060501498  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592587 SQL (4.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.368891' WHERE "spree_products"."id" = 1060501498  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501498  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["product_id", nil], ["property_id", 905835691], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501498, "updated_at" = '2012-10-23 14:58:22.379584' WHERE "spree_product_properties"."id" = 1073274092 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["product_id", nil], ["property_id", 905835690], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501498, "updated_at" = '2012-10-23 14:58:22.384351' WHERE "spree_product_properties"."id" = 1073274093 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["product_id", nil], ["property_id", 905835692], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501498, "updated_at" = '2012-10-23 14:58:22.389473' WHERE "spree_product_properties"."id" = 1073274094 Created New ProductProperty # Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501498) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452554 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452554], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501498 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501498, 558400336) Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400330 AND "spree_taxons"."taxonomy_id" = 854452551 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501498, 558400331)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501498, 558400330) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501498) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501498 AND "spree_option_types"."id" = 935339649 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501498) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["option_type_id", 935339649], ["position", 1], ["product_id", 1060501498], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.425342' WHERE "spree_products"."id" = 1060501498 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501498], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.427556' WHERE "spree_products"."id" = 1060501498  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592588, 979461053) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.431368' WHERE "spree_products"."id" = 1060501498 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501498], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.432896' WHERE "spree_products"."id" = 1060501498  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592589, 979461054) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339649 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.436729' WHERE "spree_products"."id" = 1060501498 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501498], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.438141' WHERE "spree_products"."id" = 1060501498  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592590, 979461055) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501498]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501498 AND "spree_option_types"."id" = 935339650 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501498) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["option_type_id", 935339650], ["position", 2], ["product_id", 1060501498], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339650 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339650) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339650], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]]  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.454775' WHERE "spree_products"."id" = 1060501498 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501498], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.456202' WHERE "spree_products"."id" = 1060501498  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592591, 979461056) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339650 LIMIT 1 Spree::OptionValue Load (31.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339650) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "colour"], ["option_type_id", 935339650], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.495061' WHERE "spree_products"."id" = 1060501498 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501498], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.497200' WHERE "spree_products"."id" = 1060501498  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592592, 979461057) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501498]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501498) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592588 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592589 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592590 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592591 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592592 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501498) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.535994' WHERE "spree_products"."id" = 1060501498  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592588 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.537807' WHERE "spree_products"."id" = 1060501498 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.539651' WHERE "spree_products"."id" = 1060501498  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592589 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.540874' WHERE "spree_products"."id" = 1060501498 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.542136' WHERE "spree_products"."id" = 1060501498  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592590 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.543197' WHERE "spree_products"."id" = 1060501498 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.546474' WHERE "spree_products"."id" = 1060501498  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592591 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.547765' WHERE "spree_products"."id" = 1060501498 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501498 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.550116' WHERE "spree_products"."id" = 1060501498  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592592 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.551154' WHERE "spree_products"."id" = 1060501498 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501498) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501498 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:58:22.554909' WHERE "spree_products"."id" = 1060501498 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501498 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (19.4ms) commit transaction Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501496 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501496 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501497 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501497 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452551 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400330 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452551 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400334 LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400334 ORDER BY "lft" Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400335 ORDER BY "lft" SQL (18.8ms) DELETE FROM "spree_products" SQL (20.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.1ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (3.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452555], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452555], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_taxons" SET "parent_id" = 558400337, "updated_at" = '2012-10-23 14:58:22.788649' WHERE "spree_taxons"."id" = 558400338 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400337]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400338]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400338 THEN 558400337 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400337]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400338]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400337 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.969790' WHERE "spree_products"."id" = 1060501499 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501499], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.974388' WHERE "spree_products"."id" = 1060501499  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592593 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:22.975916' WHERE "spree_products"."id" = 1060501499  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501499  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["product_id", nil], ["property_id", 905835693], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501499, "updated_at" = '2012-10-23 14:58:22.984559' WHERE "spree_product_properties"."id" = 1073274095 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501499 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501499, 558400337) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:58:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452556 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452556], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501499, 558400339) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501499 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501499) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["option_type_id", 935339651], ["position", 1], ["product_id", 1060501499], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339651) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339651], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.028312' WHERE "spree_products"."id" = 1060501499 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501499], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.030915' WHERE "spree_products"."id" = 1060501499  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592594, 979461058) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501499]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501499 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339651) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339651], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.069240' WHERE "spree_products"."id" = 1060501499 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501499], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.070914' WHERE "spree_products"."id" = 1060501499  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592595, 979461059) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501499]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501499 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339651) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339651], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.081648' WHERE "spree_products"."id" = 1060501499 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501499], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.083676' WHERE "spree_products"."id" = 1060501499  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592596, 979461060) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501499]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592594 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592595 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592596 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.109154' WHERE "spree_products"."id" = 1060501499  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592594 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.110400' WHERE "spree_products"."id" = 1060501499 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.111674' WHERE "spree_products"."id" = 1060501499  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592595 SQL (2.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.112714' WHERE "spree_products"."id" = 1060501499 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.116913' WHERE "spree_products"."id" = 1060501499  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592596 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.117913' WHERE "spree_products"."id" = 1060501499 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501499) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501499 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:58:23.120912' WHERE "spree_products"."id" = 1060501499 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501499 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.129769' WHERE "spree_products"."id" = 1060501500 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501500], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.131412' WHERE "spree_products"."id" = 1060501500  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592597 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.133185' WHERE "spree_products"."id" = 1060501500  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501500  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835694], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501500, "updated_at" = '2012-10-23 14:58:23.141757' WHERE "spree_product_properties"."id" = 1073274096 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501500 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501500, 558400337) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452557 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452557], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (5.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501500, 558400340) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400337 AND "spree_taxons"."taxonomy_id" = 854452555 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400337]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400337], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452555], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400337]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400341]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400341 THEN 558400337 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400337]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400341]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400341 AND "spree_taxons"."taxonomy_id" = 854452555 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400341]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400341], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452555], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400341]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400342]] SQL (1.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400342 THEN 558400341 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400341]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400342]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501500, 558400341)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501500, 558400342) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501500 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501500) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["option_type_id", 935339651], ["position", 1], ["product_id", 1060501500], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.199726' WHERE "spree_products"."id" = 1060501500 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501500], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.201094' WHERE "spree_products"."id" = 1060501500  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592598, 979461058) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501500]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501500 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.212377' WHERE "spree_products"."id" = 1060501500 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501500], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.213700' WHERE "spree_products"."id" = 1060501500  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592599, 979461059) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501500]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501500 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.222618' WHERE "spree_products"."id" = 1060501500 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501500], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.224137' WHERE "spree_products"."id" = 1060501500  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592600, 979461060) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501500]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592598 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592599 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592600 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.243746' WHERE "spree_products"."id" = 1060501500  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592598 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.245352' WHERE "spree_products"."id" = 1060501500 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.246983' WHERE "spree_products"."id" = 1060501500  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592599 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.248316' WHERE "spree_products"."id" = 1060501500 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.249796' WHERE "spree_products"."id" = 1060501500  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592600 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.250811' WHERE "spree_products"."id" = 1060501500 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501500) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501500 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:58:23.253636' WHERE "spree_products"."id" = 1060501500 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501500 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.263246' WHERE "spree_products"."id" = 1060501501 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501501], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.265008' WHERE "spree_products"."id" = 1060501501  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592601 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.266692' WHERE "spree_products"."id" = 1060501501  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501501  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835695], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501501, "updated_at" = '2012-10-23 14:58:23.273728' WHERE "spree_product_properties"."id" = 1073274097 Created New ProductProperty # Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835694], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501501, "updated_at" = '2012-10-23 14:58:23.277624' WHERE "spree_product_properties"."id" = 1073274098 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835696], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501501, "updated_at" = '2012-10-23 14:58:23.281908' WHERE "spree_product_properties"."id" = 1073274099 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452558 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452558], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501501 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501501, 558400343) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400337 AND "spree_taxons"."taxonomy_id" = 854452555 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501501, 558400338)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501501, 558400337) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501501 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501501) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["option_type_id", 935339651], ["position", 1], ["product_id", 1060501501], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.308815' WHERE "spree_products"."id" = 1060501501 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501501], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.309908' WHERE "spree_products"."id" = 1060501501  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592602, 979461058) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501501]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (35.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501501 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.353829' WHERE "spree_products"."id" = 1060501501 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501501], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.355300' WHERE "spree_products"."id" = 1060501501  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592603, 979461059) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501501]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501501 AND "spree_option_types"."id" = 935339651 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339651 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.364694' WHERE "spree_products"."id" = 1060501501 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501501], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.366501' WHERE "spree_products"."id" = 1060501501  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592604, 979461060) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501501]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501501 AND "spree_option_types"."id" = 935339652 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501501) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["option_type_id", 935339652], ["position", 2], ["product_id", 1060501501], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339652 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339652) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339652], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.381735' WHERE "spree_products"."id" = 1060501501 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501501], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.384152' WHERE "spree_products"."id" = 1060501501  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592605, 979461061) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501501]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501501 AND "spree_option_types"."id" = 935339652 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339652 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339652) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "colour"], ["option_type_id", 935339652], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.417386' WHERE "spree_products"."id" = 1060501501 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501501], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.419100' WHERE "spree_products"."id" = 1060501501  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592606, 979461062) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501501]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592602 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592603 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592604 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592605 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592606 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.439854' WHERE "spree_products"."id" = 1060501501  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592602 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.441443' WHERE "spree_products"."id" = 1060501501 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.443280' WHERE "spree_products"."id" = 1060501501  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592603 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.444666' WHERE "spree_products"."id" = 1060501501 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.445966' WHERE "spree_products"."id" = 1060501501  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592604 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.446904' WHERE "spree_products"."id" = 1060501501 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.449262' WHERE "spree_products"."id" = 1060501501  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592605 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.450205' WHERE "spree_products"."id" = 1060501501 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501501 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.451519' WHERE "spree_products"."id" = 1060501501  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592606 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.452822' WHERE "spree_products"."id" = 1060501501 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501501) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501501 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:58:23.456079' WHERE "spree_products"."id" = 1060501501 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501501 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501499 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501499 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501500 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501500 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452555 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (2.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400337 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452555 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400341 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400341 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400342 ORDER BY "lft" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (22.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452559], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (3.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452559], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_taxons" SET "parent_id" = 558400344, "updated_at" = '2012-10-23 14:58:23.666633' WHERE "spree_taxons"."id" = 558400345 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400344]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400345]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400345 THEN 558400344 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400344]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400345]]  (1.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400344 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.698040' WHERE "spree_products"."id" = 1060501502 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501502], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.699658' WHERE "spree_products"."id" = 1060501502  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592607 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.701965' WHERE "spree_products"."id" = 1060501502  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501502  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835697], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501502, "updated_at" = '2012-10-23 14:58:23.730432' WHERE "spree_product_properties"."id" = 1073274100 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501502 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501502, 558400344) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452560 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452560], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501502, 558400346) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501502 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501502) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["option_type_id", 935339653], ["position", 1], ["product_id", 1060501502], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339653) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339653], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.772200' WHERE "spree_products"."id" = 1060501502 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501502], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.773618' WHERE "spree_products"."id" = 1060501502  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592608, 979461063) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501502]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1 Spree::OptionType Load (18.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501502 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339653) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339653], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.806033' WHERE "spree_products"."id" = 1060501502 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501502], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.807664' WHERE "spree_products"."id" = 1060501502  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592609, 979461064) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501502]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501502 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339653) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339653], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.821291' WHERE "spree_products"."id" = 1060501502 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501502], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.822839' WHERE "spree_products"."id" = 1060501502  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592610, 979461065) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501502]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592608 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592609 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592610 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.843460' WHERE "spree_products"."id" = 1060501502  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592608 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.844894' WHERE "spree_products"."id" = 1060501502 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.846321' WHERE "spree_products"."id" = 1060501502  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592609 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.847423' WHERE "spree_products"."id" = 1060501502 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.848510' WHERE "spree_products"."id" = 1060501502  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592610 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.849635' WHERE "spree_products"."id" = 1060501502 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501502) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501502 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 14:58:23.852333' WHERE "spree_products"."id" = 1060501502 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.861008' WHERE "spree_products"."id" = 1060501503 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501503], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.862633' WHERE "spree_products"."id" = 1060501503  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592611 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.864179' WHERE "spree_products"."id" = 1060501503  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501503  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835698], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501503, "updated_at" = '2012-10-23 14:58:23.871338' WHERE "spree_product_properties"."id" = 1073274101 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501503 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501503, 558400344) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452561 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452561], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501503, 558400347) Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400344 AND "spree_taxons"."taxonomy_id" = 854452559 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400344]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400344], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452559], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400344]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400348]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400348 THEN 558400344 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400344]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400348]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400348 AND "spree_taxons"."taxonomy_id" = 854452559 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400348]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400348], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452559], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400348]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400349]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400349 THEN 558400348 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400348]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400349]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501503, 558400348)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501503, 558400349) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501503 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501503) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["option_type_id", 935339653], ["position", 1], ["product_id", 1060501503], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.916643' WHERE "spree_products"."id" = 1060501503 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501503], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.918442' WHERE "spree_products"."id" = 1060501503  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592612, 979461063) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501503]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501503 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.926892' WHERE "spree_products"."id" = 1060501503 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501503], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.929084' WHERE "spree_products"."id" = 1060501503  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592613, 979461064) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501503]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501503 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.938218' WHERE "spree_products"."id" = 1060501503 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501503], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.939495' WHERE "spree_products"."id" = 1060501503  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592614, 979461065) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501503]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592612 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592613 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592614 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.966185' WHERE "spree_products"."id" = 1060501503  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592612 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.967661' WHERE "spree_products"."id" = 1060501503 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.969055' WHERE "spree_products"."id" = 1060501503  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592613 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.970163' WHERE "spree_products"."id" = 1060501503 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.971352' WHERE "spree_products"."id" = 1060501503  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592614 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.972801' WHERE "spree_products"."id" = 1060501503 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501503) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501503 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 14:58:23.975345' WHERE "spree_products"."id" = 1060501503 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.983634' WHERE "spree_products"."id" = 1060501504 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501504], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.985240' WHERE "spree_products"."id" = 1060501504  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592615 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:23.986890' WHERE "spree_products"."id" = 1060501504  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501504  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835699], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501504, "updated_at" = '2012-10-23 14:58:23.992890' WHERE "spree_product_properties"."id" = 1073274102 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["product_id", nil], ["property_id", 905835698], ["updated_at", Tue, 23 Oct 2012 14:58:23 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501504, "updated_at" = '2012-10-23 14:58:23.997347' WHERE "spree_product_properties"."id" = 1073274103 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["product_id", nil], ["property_id", 905835700], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501504, "updated_at" = '2012-10-23 14:58:24.003584' WHERE "spree_product_properties"."id" = 1073274104 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452562 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452562], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501504 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501504, 558400350) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400344 AND "spree_taxons"."taxonomy_id" = 854452559 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501504, 558400345)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501504, 558400344) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501504 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501504) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["option_type_id", 935339653], ["position", 1], ["product_id", 1060501504], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.029336' WHERE "spree_products"."id" = 1060501504 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501504], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.031030' WHERE "spree_products"."id" = 1060501504  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592616, 979461063) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501504]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501504 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.039239' WHERE "spree_products"."id" = 1060501504 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501504], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.040578' WHERE "spree_products"."id" = 1060501504  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592617, 979461064) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501504]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501504 AND "spree_option_types"."id" = 935339653 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339653 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.048394' WHERE "spree_products"."id" = 1060501504 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501504], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.050110' WHERE "spree_products"."id" = 1060501504  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592618, 979461065) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501504]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501504 AND "spree_option_types"."id" = 935339654 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501504) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["option_type_id", 935339654], ["position", 2], ["product_id", 1060501504], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339654 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339654) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339654], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.065745' WHERE "spree_products"."id" = 1060501504 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501504], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.068286' WHERE "spree_products"."id" = 1060501504  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592619, 979461066) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501504]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501504 AND "spree_option_types"."id" = 935339654 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339654 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339654) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "colour"], ["option_type_id", 935339654], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.102680' WHERE "spree_products"."id" = 1060501504 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501504], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.104666' WHERE "spree_products"."id" = 1060501504  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592620, 979461067) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501504]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592616 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592617 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592618 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592619 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592620 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.126003' WHERE "spree_products"."id" = 1060501504  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592616 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.127170' WHERE "spree_products"."id" = 1060501504 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.128327' WHERE "spree_products"."id" = 1060501504  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592617 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.129418' WHERE "spree_products"."id" = 1060501504 Spree::Product Load (59.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.190599' WHERE "spree_products"."id" = 1060501504  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592618 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.192597' WHERE "spree_products"."id" = 1060501504 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.194279' WHERE "spree_products"."id" = 1060501504  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592619 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.195184' WHERE "spree_products"."id" = 1060501504 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501504 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.196809' WHERE "spree_products"."id" = 1060501504  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592620 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.198001' WHERE "spree_products"."id" = 1060501504 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501504) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501504 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 14:58:24.201199' WHERE "spree_products"."id" = 1060501504  (5.5ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501502 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501502 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501503 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501503 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452559 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400344 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452559 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400348 LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400348 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400349 ORDER BY "lft" SQL (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (22.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (21.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501505 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.344410' WHERE "spree_products"."id" = 1060501505 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501505], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.346534' WHERE "spree_products"."id" = 1060501505  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592621 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.348327' WHERE "spree_products"."id" = 1060501505  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501505 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501505 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501505  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501505 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452563 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452563], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400351 AND "spree_taxons"."taxonomy_id" = 854452563 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400351]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400351], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452563], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400351]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400352]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400352 THEN 558400351 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400351]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400352]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501505 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501505, 558400352)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501505, 558400351) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501505) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452564 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452564], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501505, 558400353) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501505) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592621 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501505) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 14:58:24.391797' WHERE "spree_products"."id" = 1060501505  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592621 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.393815' WHERE "spree_products"."id" = 1060501505 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501505 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060501505 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501506 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.405366' WHERE "spree_products"."id" = 1060501506 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501506], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.406879' WHERE "spree_products"."id" = 1060501506  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592622 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.408298' WHERE "spree_products"."id" = 1060501506  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501506 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501506 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501506  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501506 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452563 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501506 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501506, 558400351) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501506) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452565 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452565], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501506, 558400354) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501506) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452563 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400351 AND "spree_taxons"."taxonomy_id" = 854452563 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400351]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400351], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452563], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400351]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400355]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400355 THEN 558400351 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400351]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400355]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400355 AND "spree_taxons"."taxonomy_id" = 854452563 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400355]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400355], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452563], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400355]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400356]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400356 THEN 558400355 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400355]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400356]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501506, 558400355)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501506, 558400356) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501506) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592622 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501506) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:58:24.448878' WHERE "spree_products"."id" = 1060501506  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592622 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.451091' WHERE "spree_products"."id" = 1060501506 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501506 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060501506 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501507 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.461321' WHERE "spree_products"."id" = 1060501507 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501507], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.462740' WHERE "spree_products"."id" = 1060501507  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592623 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.464254' WHERE "spree_products"."id" = 1060501507  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501507 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501507 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501507  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501507 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452566 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452566], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400357 AND "spree_taxons"."taxonomy_id" = 854452566 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400357]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400357], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452566], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400357]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400358]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400358 THEN 558400357 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400357]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400358]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501507 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501507, 558400358)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501507, 558400357) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501507) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452567 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452567], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501507, 558400359) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501507) LIMIT 1 Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592623 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501507) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 14:58:24.498966' WHERE "spree_products"."id" = 1060501507  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592623 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.500700' WHERE "spree_products"."id" = 1060501507 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501507 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060501507 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501508 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.569041' WHERE "spree_products"."id" = 1060501508 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501508], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.570633' WHERE "spree_products"."id" = 1060501508  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592624 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.572302' WHERE "spree_products"."id" = 1060501508  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501508 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501508 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501508  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501508 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452566 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400357 AND "spree_taxons"."taxonomy_id" = 854452566 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501508 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501508, 558400358)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501508, 558400357) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501508) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452563 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400351 AND "spree_taxons"."taxonomy_id" = 854452563 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400355 AND "spree_taxons"."taxonomy_id" = 854452563 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400355]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400355], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452563], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400355]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400360]] SQL (1.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400360 THEN 558400355 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400355]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400360]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400360 AND "spree_taxons"."taxonomy_id" = 854452563 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400360]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400360], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452563], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400360]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400361]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400361 THEN 558400360 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400360]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400361]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501508, 558400355)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501508, 558400360)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501508, 558400361)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501508, 558400351) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501508) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592624 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501508) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:58:24.610874' WHERE "spree_products"."id" = 1060501508  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592624 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.613315' WHERE "spree_products"."id" = 1060501508 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501508 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060501508 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501509 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.621998' WHERE "spree_products"."id" = 1060501509 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501509], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.623775' WHERE "spree_products"."id" = 1060501509  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592625 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.625294' WHERE "spree_products"."id" = 1060501509  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501509 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501509 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501509  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501509 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452566 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400357 AND "spree_taxons"."taxonomy_id" = 854452566 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400358 AND "spree_taxons"."taxonomy_id" = 854452566 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400358]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400358], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452566], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400358]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400362]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400362 THEN 558400358 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400358]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400362]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501509 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501509, 558400358)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501509, 558400362)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501509, 558400357) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501509) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452565 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501509, 558400354) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501509) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592625 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501509) LIMIT 1  (0.8ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:58:24.650591' WHERE "spree_products"."id" = 1060501509  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592625 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.652873' WHERE "spree_products"."id" = 1060501509 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501509 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060501509 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452563 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452564 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452565 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452566 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452567 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452563 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452563 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400351 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400351) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400355 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400355) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400355) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400351 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400355 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400360 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400361 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400360) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452566 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452566 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400358 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400358 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400362 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400362) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452565 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452565 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400354 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452567 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452567 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400359 ORDER BY "lft" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (4.7ms) DELETE FROM "spree_taxonomies" SQL (15.1ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501510 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.872781' WHERE "spree_products"."id" = 1060501510 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501510], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.875193' WHERE "spree_products"."id" = 1060501510  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592626 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.876867' WHERE "spree_products"."id" = 1060501510  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501510 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501510 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501510  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501510 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452568], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400363 AND "spree_taxons"."taxonomy_id" = 854452568 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400363]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400363], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452568], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400363]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400364]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400364 THEN 558400363 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400363]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400364]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501510 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501510, 558400364)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501510, 558400363) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501510) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452569 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452569], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501510, 558400365) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501510) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592626 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501510) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 14:58:24.962333' WHERE "spree_products"."id" = 1060501510  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592626 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.965164' WHERE "spree_products"."id" = 1060501510 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501510 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501511 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.974552' WHERE "spree_products"."id" = 1060501511 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501511], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.975864' WHERE "spree_products"."id" = 1060501511  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592627 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:24.977376' WHERE "spree_products"."id" = 1060501511  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501511 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501511 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501511  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501511 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501511 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501511, 558400363) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501511) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452570 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452570], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501511, 558400366) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501511) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400363 AND "spree_taxons"."taxonomy_id" = 854452568 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400363]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400363], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452568], ["updated_at", Tue, 23 Oct 2012 14:58:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400363]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400367]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400367 THEN 558400363 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400363]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400367]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400367 AND "spree_taxons"."taxonomy_id" = 854452568 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400367]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400367], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452568], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400367]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400368]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400368 THEN 558400367 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400367]] Spree::Taxon Load (0.6ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400368]] Product assigned to Taxons : ["Nature", "Landscape"]  (1.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501511, 558400367)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501511, 558400368) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501511) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592627 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501511) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 14:58:25.016863' WHERE "spree_products"."id" = 1060501511  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592627 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.018787' WHERE "spree_products"."id" = 1060501511 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501511 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501512 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.027578' WHERE "spree_products"."id" = 1060501512 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501512], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.028863' WHERE "spree_products"."id" = 1060501512  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592628 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.030434' WHERE "spree_products"."id" = 1060501512  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501512 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501512 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501512  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501512 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452571 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452571], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400369 AND "spree_taxons"."taxonomy_id" = 854452571 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400369]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400369], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452571], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400369]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400370]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400370 THEN 558400369 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400369]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400370]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501512 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501512, 558400370)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501512, 558400369) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501512) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452572], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501512, 558400371) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501512) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592628 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501512) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 14:58:25.088086' WHERE "spree_products"."id" = 1060501512  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592628 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.091425' WHERE "spree_products"."id" = 1060501512 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501512 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501513 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.100967' WHERE "spree_products"."id" = 1060501513 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501513], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.102265' WHERE "spree_products"."id" = 1060501513  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592629 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.103399' WHERE "spree_products"."id" = 1060501513  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501513 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501513 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501513  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501513 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452571 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400369 AND "spree_taxons"."taxonomy_id" = 854452571 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501513 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501513, 558400370)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501513, 558400369) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501513) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400363 AND "spree_taxons"."taxonomy_id" = 854452568 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400367 AND "spree_taxons"."taxonomy_id" = 854452568 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400367]] SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400367], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452568], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400367]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400372]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400372 THEN 558400367 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400367]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400372]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400372 AND "spree_taxons"."taxonomy_id" = 854452568 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400372]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400372], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452568], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400372]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400373]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400373 THEN 558400372 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400372]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400373]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501513, 558400367)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501513, 558400372)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501513, 558400373)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501513, 558400363) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501513) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592629 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501513) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:58:25.139336' WHERE "spree_products"."id" = 1060501513  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592629 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.141299' WHERE "spree_products"."id" = 1060501513 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501513 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (4.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501514 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.154117' WHERE "spree_products"."id" = 1060501514 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501514], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.155391' WHERE "spree_products"."id" = 1060501514  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592630 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.156859' WHERE "spree_products"."id" = 1060501514  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501514 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501514 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501514  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501514 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452571 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400369 AND "spree_taxons"."taxonomy_id" = 854452571 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400370 AND "spree_taxons"."taxonomy_id" = 854452571 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400370]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400370], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452571], ["updated_at", Tue, 23 Oct 2012 14:58:25 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400370]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400374]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400374 THEN 558400370 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400370]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400374]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501514 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501514, 558400370)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501514, 558400374)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501514, 558400369) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501514) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452570 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501514, 558400366) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501514) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592630 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501514) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 14:58:25.241436' WHERE "spree_products"."id" = 1060501514  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592630 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 14:58:25.243301' WHERE "spree_products"."id" = 1060501514 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501514  (5.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452569 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452570 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452571 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452568 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452568 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400363 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400363) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400367 ORDER BY "lft"  (0.3ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400367) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400367) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400363 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400367 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400372 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400373 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400372) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452571 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452571 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400370 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400370 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400374 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400374) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452570 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452570 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400366 ORDER BY "lft" Spree::Taxonomy Load (27.7ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452572 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452572 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400371 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (80.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones" SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (24.0ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (4.9ms) DELETE FROM "spree_zones" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (33.3ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (2.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (23.4ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (25.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (29.1ms) DELETE FROM "spree_zones" SQL (3.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (30.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (3.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (22.0ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.4ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (102.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452573 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452573], ["updated_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00]]  (3.7ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452573], ["updated_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452573], ["updated_at", Tue, 23 Oct 2012 15:00:54 UTC +00:00]]  (7.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (28.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (20.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (8.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452574 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452574], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]]  (2.9ms) commit transaction  (0.3ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452574], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452574], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]]  (17.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (23.8ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452575 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452575], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452575], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452575], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00]]  (2.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.4ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction SQL (2.8ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.7ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 155 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 155 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 156 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 156 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (30.9ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 157 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 157 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:00:55 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 158 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 158 Current value to assign : Current value to assign :  (2.9ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.6ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 159 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 160 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.8ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 161 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 162  (3.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (23.4ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (41.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.4ms) begin transaction  (0.1ms) commit transaction SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (24.0ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501515 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.634677' WHERE "spree_products"."id" = 1060501515 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501515], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.638459' WHERE "spree_products"."id" = 1060501515  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592631 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.643420' WHERE "spree_products"."id" = 1060501515  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501515 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501515 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501515  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501515 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592631 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501515) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501515 AND "spree_option_types"."id" = 935339655 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501515) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["option_type_id", 935339655], ["position", 1], ["product_id", 1060501515], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501515) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:00:56.814328' WHERE "spree_products"."id" = 1060501515  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592631 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.816840' WHERE "spree_products"."id" = 1060501515 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501515 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501515 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501516 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.827153' WHERE "spree_products"."id" = 1060501516 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501516], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.828765' WHERE "spree_products"."id" = 1060501516  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592632 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.831179' WHERE "spree_products"."id" = 1060501516  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501516 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501516 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501516  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501516 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592632 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501516) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501516 AND "spree_option_types"."id" = 935339655 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (19.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501516) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["option_type_id", 935339655], ["position", 1], ["product_id", 1060501516], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501516) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:00:56.865815' WHERE "spree_products"."id" = 1060501516  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592632 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.867908' WHERE "spree_products"."id" = 1060501516 SQL (8.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501516 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501516 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (3.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501517 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.888617' WHERE "spree_products"."id" = 1060501517 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501517], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.890223' WHERE "spree_products"."id" = 1060501517  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592633 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.891908' WHERE "spree_products"."id" = 1060501517  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501517 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501517 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501517  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501517 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592633 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501517) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501517 AND "spree_option_types"."id" = 935339655 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501517) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["option_type_id", 935339655], ["position", 1], ["product_id", 1060501517], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501517 AND "spree_option_types"."id" = 935339656 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501517) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00], ["option_type_id", 935339656], ["position", 2], ["product_id", 1060501517], ["updated_at", Tue, 23 Oct 2012 15:00:56 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501517) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:00:56.914844' WHERE "spree_products"."id" = 1060501517  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013592633 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:56.916669' WHERE "spree_products"."id" = 1060501517 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501517 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501517 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (25.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:00:56.952527')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:00:56.953845')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501515 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.6ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501515 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501515 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501517 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (6.3ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (26.1ms) DELETE FROM "spree_variants" SQL (5.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501518 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.372177' WHERE "spree_products"."id" = 1060501518 SQL (21.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501518], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.395894' WHERE "spree_products"."id" = 1060501518  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592634 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.397637' WHERE "spree_products"."id" = 1060501518  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501518 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501518 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501518  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501518 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501518) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501518 AND "spree_option_types"."id" = 935339657 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501518) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339657], ["position", 1], ["product_id", 1060501518], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501518) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:00:57.417394' WHERE "spree_products"."id" = 1060501518  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592634 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.419337' WHERE "spree_products"."id" = 1060501518 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501518 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501519 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.452561' WHERE "spree_products"."id" = 1060501519 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501519], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.454657' WHERE "spree_products"."id" = 1060501519  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592635 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.456893' WHERE "spree_products"."id" = 1060501519  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501519 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501519 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501519  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501519 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592635 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501519) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501519 AND "spree_option_types"."id" = 935339657 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501519) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339657], ["position", 1], ["product_id", 1060501519], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501519) LIMIT 1  (0.7ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:00:57.471516' WHERE "spree_products"."id" = 1060501519  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592635 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.474719' WHERE "spree_products"."id" = 1060501519 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501519 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501520 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.484782' WHERE "spree_products"."id" = 1060501520 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501520], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.486083' WHERE "spree_products"."id" = 1060501520  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592636 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.487611' WHERE "spree_products"."id" = 1060501520  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501520 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501520 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501520  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501520 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592636 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501520) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501520 AND "spree_option_types"."id" = 935339657 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501520) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339657], ["position", 1], ["product_id", 1060501520], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501520 AND "spree_option_types"."id" = 935339658 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501520) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339658], ["position", 2], ["product_id", 1060501520], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501520) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:00:57.510891' WHERE "spree_products"."id" = 1060501520  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013592636 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.512891' WHERE "spree_products"."id" = 1060501520 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501520  (3.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:00:57.519891')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:00:57.520508')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501518 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (23.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501518 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501518 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501520 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:00:57 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501521 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.684887' WHERE "spree_products"."id" = 1060501521 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501521], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.710886' WHERE "spree_products"."id" = 1060501521  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592637 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.712886' WHERE "spree_products"."id" = 1060501521  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501521 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501521 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501521  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501521 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501521 AND "spree_option_types"."id" = 935339659 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501521) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339659], ["position", 1], ["product_id", 1060501521], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501521) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501521 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:00:57 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501522 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.736028' WHERE "spree_products"."id" = 1060501522 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501522], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.737735' WHERE "spree_products"."id" = 1060501522  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592638 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.766885' WHERE "spree_products"."id" = 1060501522  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501522 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501522 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501522  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501522 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501522 AND "spree_option_types"."id" = 935339659 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501522) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339659], ["position", 1], ["product_id", 1060501522], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501522) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501522 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:00:57 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501523 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.788780' WHERE "spree_products"."id" = 1060501523 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501523], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.790637' WHERE "spree_products"."id" = 1060501523  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592639 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:57.792673' WHERE "spree_products"."id" = 1060501523  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501523 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501523 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501523  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501523 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501523 AND "spree_option_types"."id" = 935339659 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501523) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339659], ["position", 1], ["product_id", 1060501523], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501523 AND "spree_option_types"."id" = 935339660 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501523) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00], ["option_type_id", 935339660], ["position", 2], ["product_id", 1060501523], ["updated_at", Tue, 23 Oct 2012 15:00:57 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501523) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501523 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501521 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (20.6ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.4ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (5.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (2.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501524 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.096962' WHERE "spree_products"."id" = 1060501524 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501524], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.098443' WHERE "spree_products"."id" = 1060501524  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592640 SQL (1.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.100724' WHERE "spree_products"."id" = 1060501524  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501524 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501524 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501524  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501524 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501524 AND "spree_option_types"."id" = 935339661 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501524) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["option_type_id", 935339661], ["position", 1], ["product_id", 1060501524], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501524) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501524 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (22.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501525 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.149569' WHERE "spree_products"."id" = 1060501525 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501525], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.151164' WHERE "spree_products"."id" = 1060501525  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592641 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.152991' WHERE "spree_products"."id" = 1060501525  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501525 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501525 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501525  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501525 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501525 AND "spree_option_types"."id" = 935339661 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501525) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["option_type_id", 935339661], ["position", 1], ["product_id", 1060501525], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501525) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501525 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501526 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.177953' WHERE "spree_products"."id" = 1060501526 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501526], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.179416' WHERE "spree_products"."id" = 1060501526  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592642 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.182987' WHERE "spree_products"."id" = 1060501526  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501526 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501526 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501526  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501526 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501526 AND "spree_option_types"."id" = 935339661 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501526) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["option_type_id", 935339661], ["position", 1], ["product_id", 1060501526], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501526 AND "spree_option_types"."id" = 935339662 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501526) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["option_type_id", 935339662], ["position", 2], ["product_id", 1060501526], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501526) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501526 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501524 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products"  SQL (24.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (25.7ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]]  (1.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501527 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.379148' WHERE "spree_products"."id" = 1060501527 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501527], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.380829' WHERE "spree_products"."id" = 1060501527  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592643 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.382689' WHERE "spree_products"."id" = 1060501527  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501527  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["product_id", nil], ["property_id", 905835701], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["value", nil]]  (1.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501527, "updated_at" = '2012-10-23 15:00:58.410482' WHERE "spree_product_properties"."id" = 1073274105 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501527) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452576], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501527 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501527, 558400384) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452577 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452577], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501527, 558400385) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501527) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501527 AND "spree_option_types"."id" = 935339663 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501527) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["option_type_id", 935339663], ["position", 1], ["product_id", 1060501527], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339663) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339663], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501527 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.580393' WHERE "spree_products"."id" = 1060501527 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501527], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.582960' WHERE "spree_products"."id" = 1060501527  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592644, 979461068) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339663) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339663], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501527 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.595349' WHERE "spree_products"."id" = 1060501527 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501527], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.596983' WHERE "spree_products"."id" = 1060501527  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592645, 979461069) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339663) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339663], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501527 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.602470' WHERE "spree_products"."id" = 1060501527 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501527], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.603795' WHERE "spree_products"."id" = 1060501527  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592646, 979461070) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501527]] Spree::Variant Load (2.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501527) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592644 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592645 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592646 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501527) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501527 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.642998' WHERE "spree_products"."id" = 1060501527  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592644 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.644376' WHERE "spree_products"."id" = 1060501527 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501527 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.645788' WHERE "spree_products"."id" = 1060501527  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592645 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.646937' WHERE "spree_products"."id" = 1060501527 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501527 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.648289' WHERE "spree_products"."id" = 1060501527  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592646 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.649659' WHERE "spree_products"."id" = 1060501527 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501527) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501527 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:00:58.653020' WHERE "spree_products"."id" = 1060501527 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501527 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501528 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.663067' WHERE "spree_products"."id" = 1060501528 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501528], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.664411' WHERE "spree_products"."id" = 1060501528  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592647 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.666261' WHERE "spree_products"."id" = 1060501528  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501528  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Created New Property # SQL (0.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["product_id", nil], ["property_id", 905835702], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501528, "updated_at" = '2012-10-23 15:00:58.674069' WHERE "spree_product_properties"."id" = 1073274106 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501528) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501528 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501528, 558400384) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452578 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452578], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501528, 558400386) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400384 AND "spree_taxons"."taxonomy_id" = 854452576 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400384]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400384], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452576], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400384]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400387]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400387 THEN 558400384 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400384]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400387]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400387 AND "spree_taxons"."taxonomy_id" = 854452576 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400387]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400387], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452576], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400387]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400388]] SQL (15.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400388 THEN 558400387 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400387]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400388]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501528, 558400387)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501528, 558400388) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501528) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501528 AND "spree_option_types"."id" = 935339663 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501528) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["option_type_id", 935339663], ["position", 1], ["product_id", 1060501528], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501528 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.735620' WHERE "spree_products"."id" = 1060501528 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501528], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.737057' WHERE "spree_products"."id" = 1060501528  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592648, 979461068) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501528 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.740011' WHERE "spree_products"."id" = 1060501528 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501528], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.754904' WHERE "spree_products"."id" = 1060501528  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592649, 979461069) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501528 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.763698' WHERE "spree_products"."id" = 1060501528 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501528], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.765436' WHERE "spree_products"."id" = 1060501528  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592650, 979461070) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501528]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501528) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592648 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592649 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (6.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592650 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501528) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501528 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.793021' WHERE "spree_products"."id" = 1060501528  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592648 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.794190' WHERE "spree_products"."id" = 1060501528 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501528 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.795529' WHERE "spree_products"."id" = 1060501528  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592649 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.797001' WHERE "spree_products"."id" = 1060501528 Spree::Product Load (5.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501528 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.803500' WHERE "spree_products"."id" = 1060501528  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592650 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.804788' WHERE "spree_products"."id" = 1060501528 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501528) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501528 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:00:58.808512' WHERE "spree_products"."id" = 1060501528 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501528 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.931636' WHERE "spree_products"."id" = 1060501529 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501529], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.933093' WHERE "spree_products"."id" = 1060501529  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592651 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:58.934879' WHERE "spree_products"."id" = 1060501529  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501529  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["product_id", nil], ["property_id", 905835703], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501529, "updated_at" = '2012-10-23 15:00:58.944401' WHERE "spree_product_properties"."id" = 1073274107 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["product_id", nil], ["property_id", 905835702], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501529, "updated_at" = '2012-10-23 15:00:58.947657' WHERE "spree_product_properties"."id" = 1073274108 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["product_id", nil], ["property_id", 905835704], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501529, "updated_at" = '2012-10-23 15:00:58.951384' WHERE "spree_product_properties"."id" = 1073274109 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501529) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452579 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452579], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501529 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501529, 558400389) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452576 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400384 AND "spree_taxons"."taxonomy_id" = 854452576 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400384]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400384], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452576], ["updated_at", Tue, 23 Oct 2012 15:00:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400384]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400390]] SQL (1.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400390 THEN 558400384 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400384]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400390]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501529, 558400390)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501529, 558400384) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501529) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501529 AND "spree_option_types"."id" = 935339663 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501529) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["option_type_id", 935339663], ["position", 1], ["product_id", 1060501529], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.017157' WHERE "spree_products"."id" = 1060501529 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501529], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.018707' WHERE "spree_products"."id" = 1060501529  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592652, 979461068) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.022036' WHERE "spree_products"."id" = 1060501529 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501529], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.024332' WHERE "spree_products"."id" = 1060501529  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592653, 979461069) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339663 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.027332' WHERE "spree_products"."id" = 1060501529 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501529], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.028369' WHERE "spree_products"."id" = 1060501529  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592654, 979461070) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501529]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501529 AND "spree_option_types"."id" = 935339664 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501529) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["option_type_id", 935339664], ["position", 2], ["product_id", 1060501529], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339664 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339664) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339664], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.044506' WHERE "spree_products"."id" = 1060501529 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501529], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.046439' WHERE "spree_products"."id" = 1060501529  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592655, 979461071) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339664 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339664) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "colour"], ["option_type_id", 935339664], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.079667' WHERE "spree_products"."id" = 1060501529 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501529], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.081083' WHERE "spree_products"."id" = 1060501529  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592656, 979461072) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501529]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501529) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592652 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592653 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592654 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592655 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592656 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501529) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.101153' WHERE "spree_products"."id" = 1060501529  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592652 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.103333' WHERE "spree_products"."id" = 1060501529 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.104874' WHERE "spree_products"."id" = 1060501529  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592653 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.106319' WHERE "spree_products"."id" = 1060501529 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.107588' WHERE "spree_products"."id" = 1060501529  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592654 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.118974' WHERE "spree_products"."id" = 1060501529 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.120435' WHERE "spree_products"."id" = 1060501529  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592655 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.121663' WHERE "spree_products"."id" = 1060501529 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501529 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.124229' WHERE "spree_products"."id" = 1060501529  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592656 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.125301' WHERE "spree_products"."id" = 1060501529 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501529) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501529 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:00:59.128383' WHERE "spree_products"."id" = 1060501529 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501529 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (2.4ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501527 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501529 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.2ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501529 SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (30.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]]  (4.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501530 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.449383' WHERE "spree_products"."id" = 1060501530 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501530], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.451865' WHERE "spree_products"."id" = 1060501530  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592657 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.454298' WHERE "spree_products"."id" = 1060501530  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501530  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["product_id", nil], ["property_id", 905835705], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501530, "updated_at" = '2012-10-23 15:00:59.460723' WHERE "spree_product_properties"."id" = 1073274110 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452580], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501530 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501530, 558400391) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452581 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452581], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501530, 558400392) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501530 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501530) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["option_type_id", 935339665], ["position", 1], ["product_id", 1060501530], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339665) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339665], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501530 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.570608' WHERE "spree_products"."id" = 1060501530 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501530], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.572103' WHERE "spree_products"."id" = 1060501530  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592658, 979461073) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501530]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501530 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1 Spree::OptionValue Load (1.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339665) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339665], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501530 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.611934' WHERE "spree_products"."id" = 1060501530 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501530], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.613267' WHERE "spree_products"."id" = 1060501530  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592659, 979461074) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501530]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501530 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339665) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339665], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501530 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.626424' WHERE "spree_products"."id" = 1060501530 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501530], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.628141' WHERE "spree_products"."id" = 1060501530  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592660, 979461075) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501530]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592658 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592659 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592660 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501530 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.650115' WHERE "spree_products"."id" = 1060501530  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592658 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.651397' WHERE "spree_products"."id" = 1060501530 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501530 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.653504' WHERE "spree_products"."id" = 1060501530  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592659 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.654556' WHERE "spree_products"."id" = 1060501530 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501530 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.655857' WHERE "spree_products"."id" = 1060501530  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592660 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.656856' WHERE "spree_products"."id" = 1060501530 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501530) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501530 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:00:59.660048' WHERE "spree_products"."id" = 1060501530 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501530 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501531 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.668311' WHERE "spree_products"."id" = 1060501531 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501531], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.669682' WHERE "spree_products"."id" = 1060501531  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592661 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.671029' WHERE "spree_products"."id" = 1060501531  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501531  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["product_id", nil], ["property_id", 905835706], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501531, "updated_at" = '2012-10-23 15:00:59.679443' WHERE "spree_product_properties"."id" = 1073274111 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501531 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501531, 558400391) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452582 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452582], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501531, 558400393) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400391 AND "spree_taxons"."taxonomy_id" = 854452580 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400391]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400391], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452580], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400391]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400394]] SQL (1.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400394 THEN 558400391 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400391]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400394]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400394 AND "spree_taxons"."taxonomy_id" = 854452580 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400394]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400394], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452580], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400394]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400395]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400395 THEN 558400394 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400394]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400395]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501531, 558400394)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501531, 558400395) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501531 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501531) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["option_type_id", 935339665], ["position", 1], ["product_id", 1060501531], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501531 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.731368' WHERE "spree_products"."id" = 1060501531 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501531], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.732673' WHERE "spree_products"."id" = 1060501531  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592662, 979461073) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501531]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501531 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501531 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.744935' WHERE "spree_products"."id" = 1060501531 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501531], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.746260' WHERE "spree_products"."id" = 1060501531  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592663, 979461074) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501531]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501531 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501531 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.754463' WHERE "spree_products"."id" = 1060501531 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501531], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.755864' WHERE "spree_products"."id" = 1060501531  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592664, 979461075) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501531]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592662 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592663 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592664 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501531 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.778696' WHERE "spree_products"."id" = 1060501531  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592662 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.779768' WHERE "spree_products"."id" = 1060501531 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501531 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.781147' WHERE "spree_products"."id" = 1060501531  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592663 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.782117' WHERE "spree_products"."id" = 1060501531 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501531 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.783509' WHERE "spree_products"."id" = 1060501531  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592664 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.785179' WHERE "spree_products"."id" = 1060501531 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501531) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501531 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:00:59.787832' WHERE "spree_products"."id" = 1060501531 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501531 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.797591' WHERE "spree_products"."id" = 1060501532 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501532], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.799111' WHERE "spree_products"."id" = 1060501532  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592665 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.801069' WHERE "spree_products"."id" = 1060501532  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501532  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["product_id", nil], ["property_id", 905835707], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501532, "updated_at" = '2012-10-23 15:00:59.807786' WHERE "spree_product_properties"."id" = 1073274112 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["product_id", nil], ["property_id", 905835706], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501532, "updated_at" = '2012-10-23 15:00:59.811463' WHERE "spree_product_properties"."id" = 1073274113 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["product_id", nil], ["property_id", 905835708], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501532, "updated_at" = '2012-10-23 15:00:59.816337' WHERE "spree_product_properties"."id" = 1073274114 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452583 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452583], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501532 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501532, 558400396) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452580 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400391 AND "spree_taxons"."taxonomy_id" = 854452580 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400391]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400391], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452580], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400391]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400397]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400397 THEN 558400391 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400391]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400397]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501532, 558400397)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501532, 558400391) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501532 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501532) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["option_type_id", 935339665], ["position", 1], ["product_id", 1060501532], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.861830' WHERE "spree_products"."id" = 1060501532 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501532], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.864020' WHERE "spree_products"."id" = 1060501532  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592666, 979461073) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501532]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501532 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.873781' WHERE "spree_products"."id" = 1060501532 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501532], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.875772' WHERE "spree_products"."id" = 1060501532  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592667, 979461074) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501532]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501532 AND "spree_option_types"."id" = 935339665 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339665 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.888791' WHERE "spree_products"."id" = 1060501532 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501532], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.890518' WHERE "spree_products"."id" = 1060501532  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592668, 979461075) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501532]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501532 AND "spree_option_types"."id" = 935339666 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501532) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["option_type_id", 935339666], ["position", 2], ["product_id", 1060501532], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339666 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339666) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339666], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]]  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.911542' WHERE "spree_products"."id" = 1060501532 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501532], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.913136' WHERE "spree_products"."id" = 1060501532  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592669, 979461076) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501532]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501532 AND "spree_option_types"."id" = 935339666 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339666 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339666) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00], ["name", "colour"], ["option_type_id", 935339666], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:00:59 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.950353' WHERE "spree_products"."id" = 1060501532 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501532], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:00:59.951828' WHERE "spree_products"."id" = 1060501532  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592670, 979461077) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501532]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592666 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592667 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592668 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592669 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592670 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.019129' WHERE "spree_products"."id" = 1060501532  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592666 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.021102' WHERE "spree_products"."id" = 1060501532 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.022826' WHERE "spree_products"."id" = 1060501532  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592667 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.024649' WHERE "spree_products"."id" = 1060501532 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.027002' WHERE "spree_products"."id" = 1060501532  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592668 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.028570' WHERE "spree_products"."id" = 1060501532 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.030269' WHERE "spree_products"."id" = 1060501532  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592669 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.031826' WHERE "spree_products"."id" = 1060501532 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501532 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.039691' WHERE "spree_products"."id" = 1060501532  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592670 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.043537' WHERE "spree_products"."id" = 1060501532 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501532) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501532 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:00.049003' WHERE "spree_products"."id" = 1060501532 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501532 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (10.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501530 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501532 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501532 SQL (6.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (25.0ms) DELETE FROM "spree_option_types" SQL (52.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.7ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (58.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.2ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (24.0ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (24.6ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452584 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452584], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452584], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]]  (5.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501533 LIMIT 1 SQL (1.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.902391' WHERE "spree_products"."id" = 1060501533 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501533], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.906412' WHERE "spree_products"."id" = 1060501533  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592671 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.912092' WHERE "spree_products"."id" = 1060501533  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501533  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["product_id", nil], ["property_id", 905835709], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501533, "updated_at" = '2012-10-23 15:01:00.921148' WHERE "spree_product_properties"."id" = 1073274115 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501533) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452584 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501533 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501533, 558400398) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452585 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452585], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501533, 558400400) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501533) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501533 AND "spree_option_types"."id" = 935339667 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501533) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["option_type_id", 935339667], ["position", 1], ["product_id", 1060501533], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339667) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339667], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501533 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.955451' WHERE "spree_products"."id" = 1060501533 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501533], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.957214' WHERE "spree_products"."id" = 1060501533  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592672, 979461078) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339667) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339667], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501533 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.986575' WHERE "spree_products"."id" = 1060501533 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501533], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.988521' WHERE "spree_products"."id" = 1060501533  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592673, 979461079) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339667) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339667], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501533 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.993751' WHERE "spree_products"."id" = 1060501533 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501533], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:00.995597' WHERE "spree_products"."id" = 1060501533  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592674, 979461080) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501533]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501533) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592672 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592673 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592674 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501533) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501533 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.012311' WHERE "spree_products"."id" = 1060501533  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592672 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.013763' WHERE "spree_products"."id" = 1060501533 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501533 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.015018' WHERE "spree_products"."id" = 1060501533  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592673 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.016070' WHERE "spree_products"."id" = 1060501533 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501533 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.017619' WHERE "spree_products"."id" = 1060501533  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592674 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.018522' WHERE "spree_products"."id" = 1060501533 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501533) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:01.022022' WHERE "spree_products"."id" = 1060501533 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501533 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501534 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.033011' WHERE "spree_products"."id" = 1060501534 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501534], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.034158' WHERE "spree_products"."id" = 1060501534  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592675 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.035861' WHERE "spree_products"."id" = 1060501534  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501534  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["product_id", nil], ["property_id", 905835710], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501534, "updated_at" = '2012-10-23 15:01:01.042785' WHERE "spree_product_properties"."id" = 1073274116 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501534) LIMIT 1 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452584 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501534 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501534, 558400398) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452586 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452586], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501534, 558400401) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452584 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400398 AND "spree_taxons"."taxonomy_id" = 854452584 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400398]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400398], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452584], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400398]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400402]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400402 THEN 558400398 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400398]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400402]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400402 AND "spree_taxons"."taxonomy_id" = 854452584 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400402]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400402], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452584], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400402]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400403]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400403 THEN 558400402 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400402]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400403]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501534, 558400402)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501534, 558400403) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501534) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501534 AND "spree_option_types"."id" = 935339667 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501534) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["option_type_id", 935339667], ["position", 1], ["product_id", 1060501534], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501534 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.098553' WHERE "spree_products"."id" = 1060501534 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501534], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (1.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.100580' WHERE "spree_products"."id" = 1060501534  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592676, 979461078) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501534 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.105414' WHERE "spree_products"."id" = 1060501534 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501534], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.106589' WHERE "spree_products"."id" = 1060501534  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592677, 979461079) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501534 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.121103' WHERE "spree_products"."id" = 1060501534 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501534], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.122555' WHERE "spree_products"."id" = 1060501534  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592678, 979461080) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501534]] Current value to assign : Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501534) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592676 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592677 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592678 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501534) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501534 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.193715' WHERE "spree_products"."id" = 1060501534  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592676 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.194986' WHERE "spree_products"."id" = 1060501534 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501534 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.196237' WHERE "spree_products"."id" = 1060501534  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592677 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.197127' WHERE "spree_products"."id" = 1060501534 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501534 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.198481' WHERE "spree_products"."id" = 1060501534  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592678 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.199761' WHERE "spree_products"."id" = 1060501534 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501534) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:01.205099' WHERE "spree_products"."id" = 1060501534 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501534 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.236030' WHERE "spree_products"."id" = 1060501535 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501535], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.238145' WHERE "spree_products"."id" = 1060501535  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592679 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.239794' WHERE "spree_products"."id" = 1060501535  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501535  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["product_id", nil], ["property_id", 905835711], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501535, "updated_at" = '2012-10-23 15:01:01.248397' WHERE "spree_product_properties"."id" = 1073274117 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["product_id", nil], ["property_id", 905835710], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501535, "updated_at" = '2012-10-23 15:01:01.252877' WHERE "spree_product_properties"."id" = 1073274118 Created New ProductProperty # Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["product_id", nil], ["property_id", 905835712], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501535, "updated_at" = '2012-10-23 15:01:01.256730' WHERE "spree_product_properties"."id" = 1073274119 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501535) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452587 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452587], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501535 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501535, 558400404) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452584 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400398 AND "spree_taxons"."taxonomy_id" = 854452584 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400398]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400398], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452584], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400398]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400405]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400405 THEN 558400398 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400398]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400405]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501535, 558400405)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501535, 558400398) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501535) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501535 AND "spree_option_types"."id" = 935339667 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501535) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["option_type_id", 935339667], ["position", 1], ["product_id", 1060501535], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.293364' WHERE "spree_products"."id" = 1060501535 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501535], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.295230' WHERE "spree_products"."id" = 1060501535  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592680, 979461078) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.298218' WHERE "spree_products"."id" = 1060501535 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501535], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.299524' WHERE "spree_products"."id" = 1060501535  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592681, 979461079) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339667 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.303251' WHERE "spree_products"."id" = 1060501535 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501535], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.304476' WHERE "spree_products"."id" = 1060501535  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592682, 979461080) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501535]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501535 AND "spree_option_types"."id" = 935339668 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501535) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["option_type_id", 935339668], ["position", 2], ["product_id", 1060501535], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339668 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339668) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339668], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.361707' WHERE "spree_products"."id" = 1060501535 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501535], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.365067' WHERE "spree_products"."id" = 1060501535  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592683, 979461081) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339668 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339668) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "colour"], ["option_type_id", 935339668], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.370754' WHERE "spree_products"."id" = 1060501535 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501535], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.373513' WHERE "spree_products"."id" = 1060501535  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592684, 979461082) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501535]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501535) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592680 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592681 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592682 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592683 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592684 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501535) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.392549' WHERE "spree_products"."id" = 1060501535  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592680 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.393859' WHERE "spree_products"."id" = 1060501535 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.395194' WHERE "spree_products"."id" = 1060501535  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592681 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.396302' WHERE "spree_products"."id" = 1060501535 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.397247' WHERE "spree_products"."id" = 1060501535  (1.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592682 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.399169' WHERE "spree_products"."id" = 1060501535 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.400357' WHERE "spree_products"."id" = 1060501535  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592683 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.401417' WHERE "spree_products"."id" = 1060501535 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501535 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.403300' WHERE "spree_products"."id" = 1060501535  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592684 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.404073' WHERE "spree_products"."id" = 1060501535 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501535) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:01.406982' WHERE "spree_products"."id" = 1060501535 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501535 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501534 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501535 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501533 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (2.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501533 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592672 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592673 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339667 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592674 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (33.6ms) DELETE FROM "spree_variants" SQL (9.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452588 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452588], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452588], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (25.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501536 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.694602' WHERE "spree_products"."id" = 1060501536 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501536], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.696498' WHERE "spree_products"."id" = 1060501536  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592685 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.698316' WHERE "spree_products"."id" = 1060501536  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501536  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["product_id", nil], ["property_id", 905835713], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501536, "updated_at" = '2012-10-23 15:01:01.706782' WHERE "spree_product_properties"."id" = 1073274120 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452588 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501536 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501536, 558400406) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452589 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452589], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501536, 558400408) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::OptionType Exists (1.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501536 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501536) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["option_type_id", 935339669], ["position", 1], ["product_id", 1060501536], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339669) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339669], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501536 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.748781' WHERE "spree_products"."id" = 1060501536 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501536], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.750419' WHERE "spree_products"."id" = 1060501536  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592686, 979461083) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501536]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501536 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339669) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339669], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501536 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.782671' WHERE "spree_products"."id" = 1060501536 SQL (1.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501536], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.785206' WHERE "spree_products"."id" = 1060501536  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592687, 979461084) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501536]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (2.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501536 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339669) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339669], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501536 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.799753' WHERE "spree_products"."id" = 1060501536 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501536], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.801929' WHERE "spree_products"."id" = 1060501536  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592688, 979461085) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501536]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592686 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592687 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592688 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501536 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.824609' WHERE "spree_products"."id" = 1060501536  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592686 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.826152' WHERE "spree_products"."id" = 1060501536 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501536 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.827216' WHERE "spree_products"."id" = 1060501536  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592687 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.828713' WHERE "spree_products"."id" = 1060501536 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501536 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.829852' WHERE "spree_products"."id" = 1060501536  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592688 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.831267' WHERE "spree_products"."id" = 1060501536 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501536) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:01.833946' WHERE "spree_products"."id" = 1060501536 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501536 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501537 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.842901' WHERE "spree_products"."id" = 1060501537 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501537], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.844481' WHERE "spree_products"."id" = 1060501537  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592689 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.846167' WHERE "spree_products"."id" = 1060501537  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501537  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["product_id", nil], ["property_id", 905835714], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501537, "updated_at" = '2012-10-23 15:01:01.852756' WHERE "spree_product_properties"."id" = 1073274121 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452588 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501537 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501537, 558400406) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452590 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452590], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501537, 558400409) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452588 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400406 AND "spree_taxons"."taxonomy_id" = 854452588 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400406]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400406], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452588], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400406]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400410]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400410 THEN 558400406 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400406]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400410]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400410 AND "spree_taxons"."taxonomy_id" = 854452588 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400410]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400410], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452588], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400410]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400411]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400411 THEN 558400410 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400410]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400411]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501537, 558400410)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501537, 558400411) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501537 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501537) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00], ["option_type_id", 935339669], ["position", 1], ["product_id", 1060501537], ["updated_at", Tue, 23 Oct 2012 15:01:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501537 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.916624' WHERE "spree_products"."id" = 1060501537 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501537], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.918155' WHERE "spree_products"."id" = 1060501537  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592690, 979461083) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501537]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501537 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501537 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.927460' WHERE "spree_products"."id" = 1060501537 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501537], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.929211' WHERE "spree_products"."id" = 1060501537  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592691, 979461084) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501537]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501537 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501537 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.937467' WHERE "spree_products"."id" = 1060501537 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501537], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:01.938776' WHERE "spree_products"."id" = 1060501537  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592692, 979461085) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501537]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592690 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592691 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592692 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501537 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.018067' WHERE "spree_products"."id" = 1060501537  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592690 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.019661' WHERE "spree_products"."id" = 1060501537 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501537 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.020702' WHERE "spree_products"."id" = 1060501537  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592691 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.022139' WHERE "spree_products"."id" = 1060501537 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501537 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.023552' WHERE "spree_products"."id" = 1060501537  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592692 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.024604' WHERE "spree_products"."id" = 1060501537 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501537) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:02.027689' WHERE "spree_products"."id" = 1060501537 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501537 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.036339' WHERE "spree_products"."id" = 1060501538 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501538], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.037774' WHERE "spree_products"."id" = 1060501538  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592693 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.039446' WHERE "spree_products"."id" = 1060501538  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501538  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835715], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501538, "updated_at" = '2012-10-23 15:01:02.045937' WHERE "spree_product_properties"."id" = 1073274122 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835714], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501538, "updated_at" = '2012-10-23 15:01:02.049573' WHERE "spree_product_properties"."id" = 1073274123 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835716], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501538, "updated_at" = '2012-10-23 15:01:02.055773' WHERE "spree_product_properties"."id" = 1073274124 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452591 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452591], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501538 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501538, 558400412) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452588 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400406 AND "spree_taxons"."taxonomy_id" = 854452588 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400406]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400406], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452588], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400406]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400413]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400413 THEN 558400406 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400406]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400413]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501538, 558400413)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501538, 558400406) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501538 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501538) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["option_type_id", 935339669], ["position", 1], ["product_id", 1060501538], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.090566' WHERE "spree_products"."id" = 1060501538 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501538], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.092256' WHERE "spree_products"."id" = 1060501538  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592694, 979461083) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501538]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501538 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.100673' WHERE "spree_products"."id" = 1060501538 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501538], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.102234' WHERE "spree_products"."id" = 1060501538  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592695, 979461084) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501538]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501538 AND "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339669 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.110841' WHERE "spree_products"."id" = 1060501538 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501538], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.111772' WHERE "spree_products"."id" = 1060501538  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592696, 979461085) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501538]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501538 AND "spree_option_types"."id" = 935339670 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501538) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["option_type_id", 935339670], ["position", 2], ["product_id", 1060501538], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339670 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339670) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339670], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.127144' WHERE "spree_products"."id" = 1060501538 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501538], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.129197' WHERE "spree_products"."id" = 1060501538  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592697, 979461086) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501538]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501538 AND "spree_option_types"."id" = 935339670 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339670 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339670) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339670], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.158699' WHERE "spree_products"."id" = 1060501538 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501538], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.160268' WHERE "spree_products"."id" = 1060501538  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592698, 979461087) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501538]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592694 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592695 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592696 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592697 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592698 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.179770' WHERE "spree_products"."id" = 1060501538  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592694 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.181582' WHERE "spree_products"."id" = 1060501538 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.183770' WHERE "spree_products"."id" = 1060501538  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592695 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.184770' WHERE "spree_products"."id" = 1060501538 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.186216' WHERE "spree_products"."id" = 1060501538  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592696 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.187355' WHERE "spree_products"."id" = 1060501538 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.188716' WHERE "spree_products"."id" = 1060501538  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592697 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.189522' WHERE "spree_products"."id" = 1060501538 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501538 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.191860' WHERE "spree_products"."id" = 1060501538  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592698 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.193069' WHERE "spree_products"."id" = 1060501538 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501538) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:02.195769' WHERE "spree_products"."id" = 1060501538 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501538 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501537 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501538 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501536 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501536 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592686 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592687 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339669 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592688 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (22.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452592 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452592], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452592], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.4ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501539 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.379765' WHERE "spree_products"."id" = 1060501539 SQL (0.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501539], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.381765' WHERE "spree_products"."id" = 1060501539  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592699 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.383319' WHERE "spree_products"."id" = 1060501539  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501539  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835717], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", nil]]  (21.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501539, "updated_at" = '2012-10-23 15:01:02.390397' WHERE "spree_product_properties"."id" = 1073274125 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452592 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501539 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501539, 558400414) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452593 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452593], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501539, 558400416) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionType Exists (1.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501539 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501539) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["option_type_id", 935339671], ["position", 1], ["product_id", 1060501539], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339671) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339671], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501539 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.450051' WHERE "spree_products"."id" = 1060501539 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501539], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.451356' WHERE "spree_products"."id" = 1060501539  (0.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592700, 979461088) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501539]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501539 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (21.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339671) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339671], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501539 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.483841' WHERE "spree_products"."id" = 1060501539 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501539], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.485194' WHERE "spree_products"."id" = 1060501539  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592701, 979461089) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501539]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501539 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339671) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339671], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501539 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.497953' WHERE "spree_products"."id" = 1060501539 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501539], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.499198' WHERE "spree_products"."id" = 1060501539  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592702, 979461090) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501539]] Current value to assign : Current value to assign : Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592700 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592701 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592702 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (5.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501539 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.524695' WHERE "spree_products"."id" = 1060501539  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592700 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.525943' WHERE "spree_products"."id" = 1060501539 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501539 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.527371' WHERE "spree_products"."id" = 1060501539  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592701 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.528459' WHERE "spree_products"."id" = 1060501539 Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501539 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.530848' WHERE "spree_products"."id" = 1060501539  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592702 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.531982' WHERE "spree_products"."id" = 1060501539 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501539) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:02.535061' WHERE "spree_products"."id" = 1060501539 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501540 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.549665' WHERE "spree_products"."id" = 1060501540 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501540], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.550760' WHERE "spree_products"."id" = 1060501540  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592703 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.552567' WHERE "spree_products"."id" = 1060501540  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501540  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835718], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501540, "updated_at" = '2012-10-23 15:01:02.560634' WHERE "spree_product_properties"."id" = 1073274126 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452592 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501540 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501540, 558400414) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452594 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452594], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501540, 558400417) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452592 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400414 AND "spree_taxons"."taxonomy_id" = 854452592 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400414]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400414], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452592], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400414]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400418]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400418 THEN 558400414 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400414]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400418]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400418 AND "spree_taxons"."taxonomy_id" = 854452592 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400418]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400418], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452592], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400418]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400419]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400419 THEN 558400418 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400418]] Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400419]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501540, 558400418)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501540, 558400419) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501540 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501540) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["option_type_id", 935339671], ["position", 1], ["product_id", 1060501540], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501540 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.687615' WHERE "spree_products"."id" = 1060501540 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501540], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.689281' WHERE "spree_products"."id" = 1060501540  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592704, 979461088) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501540]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501540 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501540 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.698512' WHERE "spree_products"."id" = 1060501540 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501540], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.699756' WHERE "spree_products"."id" = 1060501540  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592705, 979461089) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501540]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501540 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501540 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.709756' WHERE "spree_products"."id" = 1060501540 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501540], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.711756' WHERE "spree_products"."id" = 1060501540  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592706, 979461090) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501540]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592704 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592705 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592706 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501540 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.730990' WHERE "spree_products"."id" = 1060501540  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592704 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.732352' WHERE "spree_products"."id" = 1060501540 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501540 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.734155' WHERE "spree_products"."id" = 1060501540  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592705 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.735443' WHERE "spree_products"."id" = 1060501540 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501540 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.736676' WHERE "spree_products"."id" = 1060501540  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592706 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.737554' WHERE "spree_products"."id" = 1060501540 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501540) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:02.740437' WHERE "spree_products"."id" = 1060501540 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.749820' WHERE "spree_products"."id" = 1060501541 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501541], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.751156' WHERE "spree_products"."id" = 1060501541  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592707 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.752755' WHERE "spree_products"."id" = 1060501541  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501541  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835719], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501541, "updated_at" = '2012-10-23 15:01:02.759755' WHERE "spree_product_properties"."id" = 1073274127 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835718], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501541, "updated_at" = '2012-10-23 15:01:02.763755' WHERE "spree_product_properties"."id" = 1073274128 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["product_id", nil], ["property_id", 905835720], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501541, "updated_at" = '2012-10-23 15:01:02.768755' WHERE "spree_product_properties"."id" = 1073274129 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452595 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452595], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501541 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501541, 558400420) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452592 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400414 AND "spree_taxons"."taxonomy_id" = 854452592 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400414]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400414], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452592], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400414]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400421]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400421 THEN 558400414 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400414]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400421]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501541, 558400421)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501541, 558400414) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501541 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501541) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["option_type_id", 935339671], ["position", 1], ["product_id", 1060501541], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.801340' WHERE "spree_products"."id" = 1060501541 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501541], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.802929' WHERE "spree_products"."id" = 1060501541  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592708, 979461088) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501541]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501541 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.812753' WHERE "spree_products"."id" = 1060501541 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501541], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.814268' WHERE "spree_products"."id" = 1060501541  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592709, 979461089) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501541]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501541 AND "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339671 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.826025' WHERE "spree_products"."id" = 1060501541 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501541], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.827335' WHERE "spree_products"."id" = 1060501541  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592710, 979461090) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501541]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501541 AND "spree_option_types"."id" = 935339672 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501541) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["option_type_id", 935339672], ["position", 2], ["product_id", 1060501541], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339672 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339672) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339672], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.844999' WHERE "spree_products"."id" = 1060501541 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501541], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.847186' WHERE "spree_products"."id" = 1060501541  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592711, 979461091) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501541]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501541 AND "spree_option_types"."id" = 935339672 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339672 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339672) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339672], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.878719' WHERE "spree_products"."id" = 1060501541 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501541], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.881168' WHERE "spree_products"."id" = 1060501541  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592712, 979461092) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501541]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592708 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592709 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592710 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592711 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592712 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.904486' WHERE "spree_products"."id" = 1060501541  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592708 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.905751' WHERE "spree_products"."id" = 1060501541 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.907444' WHERE "spree_products"."id" = 1060501541  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592709 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.908533' WHERE "spree_products"."id" = 1060501541 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.909813' WHERE "spree_products"."id" = 1060501541  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592710 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.911541' WHERE "spree_products"."id" = 1060501541 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.915673' WHERE "spree_products"."id" = 1060501541  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592711 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.917026' WHERE "spree_products"."id" = 1060501541 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501541 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.918287' WHERE "spree_products"."id" = 1060501541  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592712 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:02.919354' WHERE "spree_products"."id" = 1060501541 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501541) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:02.928590' WHERE "spree_products"."id" = 1060501541  (10.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501540 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501541 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501539 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501539 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592700 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592701 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339671 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592702 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (23.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452596 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452596], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]]  (3.4ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452596], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]]  (2.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501542 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.059590' WHERE "spree_products"."id" = 1060501542 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501542], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (21.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.065336' WHERE "spree_products"."id" = 1060501542  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592713 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.089746' WHERE "spree_products"."id" = 1060501542  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501542  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501542 AND "spree_option_types"."id" = 935339673 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501542) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339673], ["position", 1], ["product_id", 1060501542], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Load (1.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501542 AND "spree_option_types"."id" = 935339674 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501542) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339674], ["position", 2], ["product_id", 1060501542], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339673) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339673], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339674 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339674) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "colour"], ["option_type_id", 935339674], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501542 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.141966' WHERE "spree_products"."id" = 1060501542 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501542], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.143745' WHERE "spree_products"."id" = 1060501542  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592714, 979461093)  (1.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592714, 979461094) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339673) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339673], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339674 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501542 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.151253' WHERE "spree_products"."id" = 1060501542 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501542], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.153071' WHERE "spree_products"."id" = 1060501542  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592715, 979461095)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592715, 979461094) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501542]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501542) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501542 AND "spree_option_types"."id" = 935339673 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339673) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339673], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501542 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.170014' WHERE "spree_products"."id" = 1060501542 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501542], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.171410' WHERE "spree_products"."id" = 1060501542  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592716, 979461096) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501542]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501542) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592714 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592715 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592716 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501542) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501542 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.186352' WHERE "spree_products"."id" = 1060501542  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592714 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.187506' WHERE "spree_products"."id" = 1060501542 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501542 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.188647' WHERE "spree_products"."id" = 1060501542  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592715 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.190041' WHERE "spree_products"."id" = 1060501542 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501542 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.191385' WHERE "spree_products"."id" = 1060501542  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592716 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.192460' WHERE "spree_products"."id" = 1060501542 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501542) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:03.195743' WHERE "spree_products"."id" = 1060501542 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501543 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.204743' WHERE "spree_products"."id" = 1060501543 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501543], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.206729' WHERE "spree_products"."id" = 1060501543  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592717 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.209100' WHERE "spree_products"."id" = 1060501543  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501543  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501543 AND "spree_option_types"."id" = 935339673 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501543) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339673], ["position", 1], ["product_id", 1060501543], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501543 AND "spree_option_types"."id" = 935339674 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501543) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339674], ["position", 2], ["product_id", 1060501543], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339674 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339674) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339674], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501543 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.227512' WHERE "spree_products"."id" = 1060501543 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501543], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.229217' WHERE "spree_products"."id" = 1060501543  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592718, 979461097)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592718, 979461093) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501543]] Current value to assign : Spree::Variant Load (1.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501543) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501543 AND "spree_option_types"."id" = 935339673 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501543 AND "spree_option_types"."id" = 935339674 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339674 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501543 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.309740' WHERE "spree_products"."id" = 1060501543 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501543], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.311169' WHERE "spree_products"."id" = 1060501543  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592719, 979461097)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592719, 979461096) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501543]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501543) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592718 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592719 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501543) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501543 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.324886' WHERE "spree_products"."id" = 1060501543  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592718 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.326164' WHERE "spree_products"."id" = 1060501543 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501543 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.328740' WHERE "spree_products"."id" = 1060501543  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592719 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.329740' WHERE "spree_products"."id" = 1060501543 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501543) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501543 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 15:01:03.332740' WHERE "spree_products"."id" = 1060501543 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501544 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.343740' WHERE "spree_products"."id" = 1060501544 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501544], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.345339' WHERE "spree_products"."id" = 1060501544  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592720 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.346992' WHERE "spree_products"."id" = 1060501544  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501544  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501544 AND "spree_option_types"."id" = 935339673 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501544) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339673], ["position", 1], ["product_id", 1060501544], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501544 AND "spree_option_types"."id" = 935339674 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501544) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339674], ["position", 2], ["product_id", 1060501544], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501544 AND "spree_option_types"."id" = 935339675 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501544) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339675], ["position", 3], ["product_id", 1060501544], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339674 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339675 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339675) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "large"], ["option_type_id", 935339675], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501544 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.373701' WHERE "spree_products"."id" = 1060501544 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501544], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.375138' WHERE "spree_products"."id" = 1060501544  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592721, 979461094)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592721, 979461098)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592721, 979461093) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339674 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339674) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339674], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339675 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501544 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.381603' WHERE "spree_products"."id" = 1060501544 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501544], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.402781' WHERE "spree_products"."id" = 1060501544  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592722, 979461099)  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592722, 979461098)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592722, 979461093) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501544]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501544 AND "spree_option_types"."id" = 935339673 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501544 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.447323' WHERE "spree_products"."id" = 1060501544 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501544], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.448701' WHERE "spree_products"."id" = 1060501544  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592723, 979461096) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501544]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501544) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501544 AND "spree_option_types"."id" = 935339673 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339673 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501544 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.458362' WHERE "spree_products"."id" = 1060501544 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501544], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.459737' WHERE "spree_products"."id" = 1060501544  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592724, 979461095) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501544]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501544 AND "spree_option_types"."id" = 935339674 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339674 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501544 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.468483' WHERE "spree_products"."id" = 1060501544 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501544], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.470117' WHERE "spree_products"."id" = 1060501544  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592725, 979461097) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501544]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501544) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501544) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501544 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (9.8ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501542 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501542 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013592714 Booted Spree using version 1.1.3 SQL (4.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.661220' WHERE "spree_products"."id" = 1060501545 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501545], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.663215' WHERE "spree_products"."id" = 1060501545  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592726 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.665731' WHERE "spree_products"."id" = 1060501545  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501545  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["product_id", nil], ["property_id", 905835721], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501545, "updated_at" = '2012-10-23 15:01:03.673436' WHERE "spree_product_properties"."id" = 1073274130 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501545) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452597 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452597], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501545 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501545, 558400424) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452598 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452598], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501545, 558400425) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501545) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501545 AND "spree_option_types"."id" = 935339676 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501545) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["option_type_id", 935339676], ["position", 1], ["product_id", 1060501545], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339676) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339676], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.708320' WHERE "spree_products"."id" = 1060501545 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501545], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.709902' WHERE "spree_products"."id" = 1060501545  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592727, 979461100) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339676) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339676], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.716214' WHERE "spree_products"."id" = 1060501545 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501545], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.736219' WHERE "spree_products"."id" = 1060501545  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592728, 979461101) Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339676) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339676], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.741729' WHERE "spree_products"."id" = 1060501545 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501545], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.743690' WHERE "spree_products"."id" = 1060501545  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592729, 979461102) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501545]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501545) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592727 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592728 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592729 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501545) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.759031' WHERE "spree_products"."id" = 1060501545  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592727 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.760294' WHERE "spree_products"."id" = 1060501545 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.761517' WHERE "spree_products"."id" = 1060501545  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592728 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.763008' WHERE "spree_products"."id" = 1060501545 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.764793' WHERE "spree_products"."id" = 1060501545  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592729 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:03.765870' WHERE "spree_products"."id" = 1060501545 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:03 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 1013592726, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1408 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501545 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.705542' WHERE "spree_products"."id" = 1060501545  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (27.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501545 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501545) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:04.741933' WHERE "spree_products"."id" = 1060501545 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.755288' WHERE "spree_products"."id" = 1060501546 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501546], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.757065' WHERE "spree_products"."id" = 1060501546  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592730 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.759253' WHERE "spree_products"."id" = 1060501546  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501546  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (2.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["product_id", nil], ["property_id", 905835722], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501546, "updated_at" = '2012-10-23 15:01:04.771702' WHERE "spree_product_properties"."id" = 1073274131 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501546) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452597 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501546 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501546, 558400424) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452599 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452599], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501546, 558400426) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452600 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452600], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501546, 558400427) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501546) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501546 AND "spree_option_types"."id" = 935339676 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501546) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["option_type_id", 935339676], ["position", 1], ["product_id", 1060501546], ["updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.804412' WHERE "spree_products"."id" = 1060501546 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501546], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.805939' WHERE "spree_products"."id" = 1060501546  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592731, 979461100) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.809185' WHERE "spree_products"."id" = 1060501546 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501546], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.810425' WHERE "spree_products"."id" = 1060501546  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592732, 979461101) Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.813974' WHERE "spree_products"."id" = 1060501546 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501546], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.815536' WHERE "spree_products"."id" = 1060501546  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592733, 979461102) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501546]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501546) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592731 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592732 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592733 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501546) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.830588' WHERE "spree_products"."id" = 1060501546  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592731 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.831701' WHERE "spree_products"."id" = 1060501546 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.832947' WHERE "spree_products"."id" = 1060501546  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592732 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.834222' WHERE "spree_products"."id" = 1060501546 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.835296' WHERE "spree_products"."id" = 1060501546  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592733 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:04.836282' WHERE "spree_products"."id" = 1060501546 SQL (1.2ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (6.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:04 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (2.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013592730, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1409 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (1.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501546 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.366343' WHERE "spree_products"."id" = 1060501546  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (27.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501546 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501546) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:09.404527' WHERE "spree_products"."id" = 1060501546 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (6.8ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.458624' WHERE "spree_products"."id" = 1060501547 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501547], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.461337' WHERE "spree_products"."id" = 1060501547  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592734 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.466024' WHERE "spree_products"."id" = 1060501547  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501547  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["product_id", nil], ["property_id", 905835723], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501547, "updated_at" = '2012-10-23 15:01:09.477359' WHERE "spree_product_properties"."id" = 1073274132 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["product_id", nil], ["property_id", 905835722], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501547, "updated_at" = '2012-10-23 15:01:09.480332' WHERE "spree_product_properties"."id" = 1073274133 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["product_id", nil], ["property_id", 905835724], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501547, "updated_at" = '2012-10-23 15:01:09.489220' WHERE "spree_product_properties"."id" = 1073274134 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501547) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452601 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (3.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452601], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501547 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501547, 558400428) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501547) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (4.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501547 AND "spree_option_types"."id" = 935339676 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501547) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["option_type_id", 935339676], ["position", 1], ["product_id", 1060501547], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.521521' WHERE "spree_products"."id" = 1060501547 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501547], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.527233' WHERE "spree_products"."id" = 1060501547  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592735, 979461100) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.531219' WHERE "spree_products"."id" = 1060501547 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501547], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.532990' WHERE "spree_products"."id" = 1060501547  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592736, 979461101) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339676 LIMIT 1 Spree::Product Load (2.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.538481' WHERE "spree_products"."id" = 1060501547 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501547], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.540146' WHERE "spree_products"."id" = 1060501547  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592737, 979461102) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501547]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501547 AND "spree_option_types"."id" = 935339677 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501547) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["option_type_id", 935339677], ["position", 2], ["product_id", 1060501547], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339677 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339677) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339677], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (27.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.562470' WHERE "spree_products"."id" = 1060501547 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501547], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.592028' WHERE "spree_products"."id" = 1060501547  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592738, 979461103) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339677 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339677) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["name", "colour"], ["option_type_id", 935339677], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.598872' WHERE "spree_products"."id" = 1060501547 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501547], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.608576' WHERE "spree_products"."id" = 1060501547  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592739, 979461104) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501547]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501547) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592735 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592736 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592737 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592738 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592739 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501547) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.648991' WHERE "spree_products"."id" = 1060501547  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592735 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.650662' WHERE "spree_products"."id" = 1060501547 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.652323' WHERE "spree_products"."id" = 1060501547  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592736 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.653575' WHERE "spree_products"."id" = 1060501547 Spree::Product Load (2.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.657775' WHERE "spree_products"."id" = 1060501547  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592737 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.658876' WHERE "spree_products"."id" = 1060501547 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.661088' WHERE "spree_products"."id" = 1060501547  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592738 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.662314' WHERE "spree_products"."id" = 1060501547 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.663642' WHERE "spree_products"."id" = 1060501547  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592739 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:09.664865' WHERE "spree_products"."id" = 1060501547 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:09 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013592734, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1410 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501547 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:10.684656' WHERE "spree_products"."id" = 1060501547  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501547 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501547) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:10.721537' WHERE "spree_products"."id" = 1060501547  (5.9ms) commit transaction  (2.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592726) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501545)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592726 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501545 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592726) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501545)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501546 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592730) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501546)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501547 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592734) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501547)) SQL (3.6ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (25.3ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.002919' WHERE "spree_products"."id" = 1060501548 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501548], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.005494' WHERE "spree_products"."id" = 1060501548  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592740 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.007649' WHERE "spree_products"."id" = 1060501548  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501548  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["product_id", nil], ["property_id", 905835725], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501548, "updated_at" = '2012-10-23 15:01:11.017540' WHERE "spree_product_properties"."id" = 1073274135 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501548) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452602 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452602], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501548 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501548, 558400429) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452603 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452603], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501548, 558400430) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501548) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501548 AND "spree_option_types"."id" = 935339678 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501548) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["option_type_id", 935339678], ["position", 1], ["product_id", 1060501548], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339678) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339678], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.056860' WHERE "spree_products"."id" = 1060501548 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501548], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.058146' WHERE "spree_products"."id" = 1060501548  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592741, 979461105) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339678) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339678], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.063476' WHERE "spree_products"."id" = 1060501548 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501548], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.090438' WHERE "spree_products"."id" = 1060501548  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592742, 979461106) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339678) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339678], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.097996' WHERE "spree_products"."id" = 1060501548 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501548], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.099234' WHERE "spree_products"."id" = 1060501548  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592743, 979461107) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501548]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501548) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592741 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592742 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592743 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501548) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.116933' WHERE "spree_products"."id" = 1060501548  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592741 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.118841' WHERE "spree_products"."id" = 1060501548 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.120466' WHERE "spree_products"."id" = 1060501548  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592742 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.121813' WHERE "spree_products"."id" = 1060501548 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.125012' WHERE "spree_products"."id" = 1060501548  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592743 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.125901' WHERE "spree_products"."id" = 1060501548 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592740, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1411 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501548 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.776000' WHERE "spree_products"."id" = 1060501548  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501548 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501548) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:11.787104' WHERE "spree_products"."id" = 1060501548 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501548 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.824983' WHERE "spree_products"."id" = 1060501549 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501549], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.826409' WHERE "spree_products"."id" = 1060501549  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592744 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.829519' WHERE "spree_products"."id" = 1060501549  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501549  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["product_id", nil], ["property_id", 905835726], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501549, "updated_at" = '2012-10-23 15:01:11.838518' WHERE "spree_product_properties"."id" = 1073274136 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501549) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452602 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501549 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501549, 558400429) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452604 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452604], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501549, 558400431) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452605 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452605], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501549, 558400432) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501549) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501549 AND "spree_option_types"."id" = 935339678 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501549) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["option_type_id", 935339678], ["position", 1], ["product_id", 1060501549], ["updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.875819' WHERE "spree_products"."id" = 1060501549 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501549], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.877517' WHERE "spree_products"."id" = 1060501549  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592745, 979461105) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.881728' WHERE "spree_products"."id" = 1060501549 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501549], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.882910' WHERE "spree_products"."id" = 1060501549  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592746, 979461106) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.886205' WHERE "spree_products"."id" = 1060501549 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501549], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.887751' WHERE "spree_products"."id" = 1060501549  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592747, 979461107) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501549]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501549) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592745 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592746 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592747 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501549) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.904076' WHERE "spree_products"."id" = 1060501549  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592745 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.905335' WHERE "spree_products"."id" = 1060501549 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.907019' WHERE "spree_products"."id" = 1060501549  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592746 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.908771' WHERE "spree_products"."id" = 1060501549 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.909969' WHERE "spree_products"."id" = 1060501549  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592747 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:11.910969' WHERE "spree_products"."id" = 1060501549 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:11 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592744, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1412 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501549 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.111308' WHERE "spree_products"."id" = 1060501549  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501549 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501549) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:16.120429' WHERE "spree_products"."id" = 1060501549 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501549 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.154204' WHERE "spree_products"."id" = 1060501550 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501550], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.156231' WHERE "spree_products"."id" = 1060501550  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592748 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.158168' WHERE "spree_products"."id" = 1060501550  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501550  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["product_id", nil], ["property_id", 905835727], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501550, "updated_at" = '2012-10-23 15:01:16.166015' WHERE "spree_product_properties"."id" = 1073274137 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["product_id", nil], ["property_id", 905835726], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501550, "updated_at" = '2012-10-23 15:01:16.169166' WHERE "spree_product_properties"."id" = 1073274138 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["product_id", nil], ["property_id", 905835728], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501550, "updated_at" = '2012-10-23 15:01:16.172821' WHERE "spree_product_properties"."id" = 1073274139 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501550) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452606 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452606], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501550 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501550, 558400433) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501550) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501550 AND "spree_option_types"."id" = 935339678 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501550) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["option_type_id", 935339678], ["position", 1], ["product_id", 1060501550], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.194520' WHERE "spree_products"."id" = 1060501550 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501550], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.195953' WHERE "spree_products"."id" = 1060501550  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592749, 979461105) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.198747' WHERE "spree_products"."id" = 1060501550 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501550], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.200464' WHERE "spree_products"."id" = 1060501550  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592750, 979461106) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339678 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.203158' WHERE "spree_products"."id" = 1060501550 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501550], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.204589' WHERE "spree_products"."id" = 1060501550  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592751, 979461107) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501550]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501550 AND "spree_option_types"."id" = 935339679 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501550) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["option_type_id", 935339679], ["position", 2], ["product_id", 1060501550], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339679 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339679) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339679], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.220079' WHERE "spree_products"."id" = 1060501550 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501550], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.221429' WHERE "spree_products"."id" = 1060501550  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592752, 979461108) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339679 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339679) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["name", "colour"], ["option_type_id", 935339679], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.227212' WHERE "spree_products"."id" = 1060501550 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501550], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.247932' WHERE "spree_products"."id" = 1060501550  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592753, 979461109) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501550]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501550) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592749 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592750 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592751 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592752 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592753 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501550) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.267155' WHERE "spree_products"."id" = 1060501550  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592749 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.268440' WHERE "spree_products"."id" = 1060501550 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.269853' WHERE "spree_products"."id" = 1060501550  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592750 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.270926' WHERE "spree_products"."id" = 1060501550 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.272246' WHERE "spree_products"."id" = 1060501550  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592751 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.273429' WHERE "spree_products"."id" = 1060501550 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.274766' WHERE "spree_products"."id" = 1060501550  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592752 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.275858' WHERE "spree_products"."id" = 1060501550 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.277212' WHERE "spree_products"."id" = 1060501550  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592753 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.278251' WHERE "spree_products"."id" = 1060501550 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:16 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592748, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1413 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501550 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:16.908194' WHERE "spree_products"."id" = 1060501550  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501550 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501550) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:16.918346' WHERE "spree_products"."id" = 1060501550 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501550 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.4ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 't') LIMIT 1  (21.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592740) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501548)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501548 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592740) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501548)) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501549 AND ("spree_variants".is_master = 't') LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592744) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501549)) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501550 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592748) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501550))  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_products" SQL (1.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (25.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.260891' WHERE "spree_products"."id" = 1060501551 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501551], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.262842' WHERE "spree_products"."id" = 1060501551  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592754 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.264430' WHERE "spree_products"."id" = 1060501551  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501551  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["product_id", nil], ["property_id", 905835729], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501551, "updated_at" = '2012-10-23 15:01:17.274373' WHERE "spree_product_properties"."id" = 1073274140 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501551) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452607 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452607], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501551 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501551, 558400434) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452608 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452608], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501551, 558400435) Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501551) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501551 AND "spree_option_types"."id" = 935339680 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501551) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["option_type_id", 935339680], ["position", 1], ["product_id", 1060501551], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339680) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339680], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Product Load (1.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.322254' WHERE "spree_products"."id" = 1060501551 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501551], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.324235' WHERE "spree_products"."id" = 1060501551  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592755, 979461110) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339680) ORDER BY position DESC LIMIT 1 SQL (22.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339680], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.351734' WHERE "spree_products"."id" = 1060501551 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501551], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.354613' WHERE "spree_products"."id" = 1060501551  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592756, 979461111) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339680) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339680], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.360290' WHERE "spree_products"."id" = 1060501551 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501551], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.362731' WHERE "spree_products"."id" = 1060501551  (0.8ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592757, 979461112) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501551]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501551) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592755 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592756 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592757 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501551) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.380900' WHERE "spree_products"."id" = 1060501551  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592755 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.382491' WHERE "spree_products"."id" = 1060501551 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.384129' WHERE "spree_products"."id" = 1060501551  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592756 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.385166' WHERE "spree_products"."id" = 1060501551 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.387562' WHERE "spree_products"."id" = 1060501551  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592757 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.388559' WHERE "spree_products"."id" = 1060501551 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501551) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:17.391600' WHERE "spree_products"."id" = 1060501551 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501551 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.401285' WHERE "spree_products"."id" = 1060501552 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501552], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.402735' WHERE "spree_products"."id" = 1060501552  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592758 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.404889' WHERE "spree_products"."id" = 1060501552  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501552  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["product_id", nil], ["property_id", 905835730], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501552, "updated_at" = '2012-10-23 15:01:17.413373' WHERE "spree_product_properties"."id" = 1073274141 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501552) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452607 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501552 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501552, 558400434) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452609 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452609], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501552, 558400436) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452607 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400434 AND "spree_taxons"."taxonomy_id" = 854452607 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400434]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400434], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452607], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400434]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400437]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400437 THEN 558400434 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400434]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400437]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400437 AND "spree_taxons"."taxonomy_id" = 854452607 LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400437]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400437], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452607], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400437]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400438]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400438 THEN 558400437 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400437]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400438]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501552, 558400437)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501552, 558400438) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501552) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501552 AND "spree_option_types"."id" = 935339680 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501552) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["option_type_id", 935339680], ["position", 1], ["product_id", 1060501552], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.458900' WHERE "spree_products"."id" = 1060501552 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501552], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.460155' WHERE "spree_products"."id" = 1060501552  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592759, 979461110) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.463317' WHERE "spree_products"."id" = 1060501552 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501552], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.464372' WHERE "spree_products"."id" = 1060501552  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592760, 979461111) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.467526' WHERE "spree_products"."id" = 1060501552 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501552], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.468747' WHERE "spree_products"."id" = 1060501552  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592761, 979461112) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501552]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501552) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592759 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592760 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592761 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501552) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.489869' WHERE "spree_products"."id" = 1060501552  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592759 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.490799' WHERE "spree_products"."id" = 1060501552 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.492188' WHERE "spree_products"."id" = 1060501552  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592760 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.493180' WHERE "spree_products"."id" = 1060501552 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.494664' WHERE "spree_products"."id" = 1060501552  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592761 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.495611' WHERE "spree_products"."id" = 1060501552 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501552) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:17.499052' WHERE "spree_products"."id" = 1060501552 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501552 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.509183' WHERE "spree_products"."id" = 1060501553 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501553], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.510775' WHERE "spree_products"."id" = 1060501553  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592762 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.512371' WHERE "spree_products"."id" = 1060501553  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501553  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["product_id", nil], ["property_id", 905835731], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501553, "updated_at" = '2012-10-23 15:01:17.520066' WHERE "spree_product_properties"."id" = 1073274142 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["product_id", nil], ["property_id", 905835730], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501553, "updated_at" = '2012-10-23 15:01:17.523370' WHERE "spree_product_properties"."id" = 1073274143 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["product_id", nil], ["property_id", 905835732], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501553, "updated_at" = '2012-10-23 15:01:17.527273' WHERE "spree_product_properties"."id" = 1073274144 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501553) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452610 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.8ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452610], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501553 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501553, 558400439) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452607 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400434 AND "spree_taxons"."taxonomy_id" = 854452607 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400434]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400434], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452607], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400434]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400440]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400440 THEN 558400434 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400434]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400440]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501553, 558400440)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501553, 558400434) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501553) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501553 AND "spree_option_types"."id" = 935339680 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501553) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["option_type_id", 935339680], ["position", 1], ["product_id", 1060501553], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.577865' WHERE "spree_products"."id" = 1060501553 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501553], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.579138' WHERE "spree_products"."id" = 1060501553  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592763, 979461110) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.582542' WHERE "spree_products"."id" = 1060501553 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501553], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.584022' WHERE "spree_products"."id" = 1060501553  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592764, 979461111) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339680 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.587021' WHERE "spree_products"."id" = 1060501553 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501553], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.588369' WHERE "spree_products"."id" = 1060501553  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592765, 979461112) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501553]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501553 AND "spree_option_types"."id" = 935339681 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501553) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["option_type_id", 935339681], ["position", 2], ["product_id", 1060501553], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339681 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339681) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339681], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.605695' WHERE "spree_products"."id" = 1060501553 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501553], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.607305' WHERE "spree_products"."id" = 1060501553  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592766, 979461113) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339681 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339681) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["name", "colour"], ["option_type_id", 935339681], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.633764' WHERE "spree_products"."id" = 1060501553 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501553], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.635801' WHERE "spree_products"."id" = 1060501553  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592767, 979461114) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501553]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501553) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592763 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592764 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592765 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592766 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592767 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501553) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.657326' WHERE "spree_products"."id" = 1060501553  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592763 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.658949' WHERE "spree_products"."id" = 1060501553 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.660604' WHERE "spree_products"."id" = 1060501553  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592764 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.661541' WHERE "spree_products"."id" = 1060501553 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.663185' WHERE "spree_products"."id" = 1060501553  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592765 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.664734' WHERE "spree_products"."id" = 1060501553 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.665814' WHERE "spree_products"."id" = 1060501553  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592766 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.666889' WHERE "spree_products"."id" = 1060501553 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.668366' WHERE "spree_products"."id" = 1060501553  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592767 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:17.669297' WHERE "spree_products"."id" = 1060501553 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501553) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:17.671564' WHERE "spree_products"."id" = 1060501553 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501553 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592762) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501553)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:17 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592754, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1414 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501551 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:18.729111' WHERE "spree_products"."id" = 1060501551  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501551 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:18.736339' WHERE "spree_products"."id" = 1060501551 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501551 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013592754 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:18 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592758, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1415 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501552 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:24.837077' WHERE "spree_products"."id" = 1060501552  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501552 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:24.844672' WHERE "spree_products"."id" = 1060501552 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501552 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013592758 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (5.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:24 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592762, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1416 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501553 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:25.812199' WHERE "spree_products"."id" = 1060501553  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501553 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:25.820930' WHERE "spree_products"."id" = 1060501553 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501553 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013592762  (29.8ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501551 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592754) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501551)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501552 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592758) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501552)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501553 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592762) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501553)) SQL (64.2ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (5.9ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501554 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.198943' WHERE "spree_products"."id" = 1060501554 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501554], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.202382' WHERE "spree_products"."id" = 1060501554  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592768 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.204144' WHERE "spree_products"."id" = 1060501554  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501554  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Created New Property # SQL (0.7ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["product_id", nil], ["property_id", 905835733], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501554, "updated_at" = '2012-10-23 15:01:26.216393' WHERE "spree_product_properties"."id" = 1073274145 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501554) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452611 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (3.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452611], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501554 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501554, 558400441) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452612 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452612], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501554, 558400442) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501554) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501554 AND "spree_option_types"."id" = 935339682 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501554) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["option_type_id", 935339682], ["position", 1], ["product_id", 1060501554], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339682) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339682], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501554 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.262050' WHERE "spree_products"."id" = 1060501554 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501554], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.263551' WHERE "spree_products"."id" = 1060501554  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592769, 979461115) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339682) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339682], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501554 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.293432' WHERE "spree_products"."id" = 1060501554 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501554], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.294593' WHERE "spree_products"."id" = 1060501554  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592770, 979461116) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339682) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339682], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501554 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.301694' WHERE "spree_products"."id" = 1060501554 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501554], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.303086' WHERE "spree_products"."id" = 1060501554  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592771, 979461117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501554]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501554) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592769 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592770 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592771 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501554) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501554 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.319697' WHERE "spree_products"."id" = 1060501554  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592769 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.320895' WHERE "spree_products"."id" = 1060501554 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501554 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.322331' WHERE "spree_products"."id" = 1060501554  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592770 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.323414' WHERE "spree_products"."id" = 1060501554 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501554 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.324582' WHERE "spree_products"."id" = 1060501554  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592771 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.325829' WHERE "spree_products"."id" = 1060501554 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501554) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:26.332620' WHERE "spree_products"."id" = 1060501554 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501554 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501555 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.342911' WHERE "spree_products"."id" = 1060501555 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501555], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.344146' WHERE "spree_products"."id" = 1060501555  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592772 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.345609' WHERE "spree_products"."id" = 1060501555  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501555  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["product_id", nil], ["property_id", 905835734], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501555, "updated_at" = '2012-10-23 15:01:26.354974' WHERE "spree_product_properties"."id" = 1073274146 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501555) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452611 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501555 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501555, 558400441) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452613 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452613], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501555, 558400443) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452611 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400441 AND "spree_taxons"."taxonomy_id" = 854452611 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400441]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400441], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452611], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400441]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400444]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400444 THEN 558400441 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400441]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400444]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400444 AND "spree_taxons"."taxonomy_id" = 854452611 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400444]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400444], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452611], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400444]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400445]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400445 THEN 558400444 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.9ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400444]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400445]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501555, 558400444)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501555, 558400445) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501555) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501555 AND "spree_option_types"."id" = 935339682 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501555) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["option_type_id", 935339682], ["position", 1], ["product_id", 1060501555], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501555 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.409263' WHERE "spree_products"."id" = 1060501555 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501555], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.411044' WHERE "spree_products"."id" = 1060501555  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592773, 979461115) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501555 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.414842' WHERE "spree_products"."id" = 1060501555 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501555], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.416603' WHERE "spree_products"."id" = 1060501555  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592774, 979461116) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501555 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.423069' WHERE "spree_products"."id" = 1060501555 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501555], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.424905' WHERE "spree_products"."id" = 1060501555  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592775, 979461117) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501555]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501555) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592773 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592774 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592775 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501555) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501555 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.447138' WHERE "spree_products"."id" = 1060501555  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592773 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.448699' WHERE "spree_products"."id" = 1060501555 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501555 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.450249' WHERE "spree_products"."id" = 1060501555  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592774 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.451416' WHERE "spree_products"."id" = 1060501555 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501555 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.453127' WHERE "spree_products"."id" = 1060501555  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592775 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.454554' WHERE "spree_products"."id" = 1060501555 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501555) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:26.458840' WHERE "spree_products"."id" = 1060501555 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501555 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.470676' WHERE "spree_products"."id" = 1060501556 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501556], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.472137' WHERE "spree_products"."id" = 1060501556  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592776 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.474901' WHERE "spree_products"."id" = 1060501556  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501556  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["product_id", nil], ["property_id", 905835735], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501556, "updated_at" = '2012-10-23 15:01:26.485655' WHERE "spree_product_properties"."id" = 1073274147 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["product_id", nil], ["property_id", 905835734], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501556, "updated_at" = '2012-10-23 15:01:26.488831' WHERE "spree_product_properties"."id" = 1073274148 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["product_id", nil], ["property_id", 905835736], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501556, "updated_at" = '2012-10-23 15:01:26.494956' WHERE "spree_product_properties"."id" = 1073274149 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501556) LIMIT 1 Spree::Taxonomy Load (0.8ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452614 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452614], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501556 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501556, 558400446) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452611 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400441 AND "spree_taxons"."taxonomy_id" = 854452611 LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400441]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400441], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452611], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400441]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400447]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400447 THEN 558400441 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400441]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400447]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501556, 558400447)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501556, 558400441) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501556) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501556 AND "spree_option_types"."id" = 935339682 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501556) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["option_type_id", 935339682], ["position", 1], ["product_id", 1060501556], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.537791' WHERE "spree_products"."id" = 1060501556 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501556], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.539428' WHERE "spree_products"."id" = 1060501556  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592777, 979461115) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.542825' WHERE "spree_products"."id" = 1060501556 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501556], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.544368' WHERE "spree_products"."id" = 1060501556  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592778, 979461116) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339682 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.550205' WHERE "spree_products"."id" = 1060501556 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501556], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.551571' WHERE "spree_products"."id" = 1060501556  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592779, 979461117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501556]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501556 AND "spree_option_types"."id" = 935339683 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501556) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["option_type_id", 935339683], ["position", 2], ["product_id", 1060501556], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339683 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339683) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339683], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.566926' WHERE "spree_products"."id" = 1060501556 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501556], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.572717' WHERE "spree_products"."id" = 1060501556  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592780, 979461118) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339683 LIMIT 1 Spree::OptionValue Load (22.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339683) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["name", "colour"], ["option_type_id", 935339683], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.602052' WHERE "spree_products"."id" = 1060501556 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501556], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.603134' WHERE "spree_products"."id" = 1060501556  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592781, 979461119) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501556]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501556) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592777 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592778 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592779 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592780 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592781 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501556) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.622656' WHERE "spree_products"."id" = 1060501556  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592777 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.624371' WHERE "spree_products"."id" = 1060501556 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.625897' WHERE "spree_products"."id" = 1060501556  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592778 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.627269' WHERE "spree_products"."id" = 1060501556 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.628637' WHERE "spree_products"."id" = 1060501556  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592779 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.630012' WHERE "spree_products"."id" = 1060501556 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.631330' WHERE "spree_products"."id" = 1060501556  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592780 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.632453' WHERE "spree_products"."id" = 1060501556 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501556 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.633776' WHERE "spree_products"."id" = 1060501556  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592781 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:26.638120' WHERE "spree_products"."id" = 1060501556 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501556) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:26.641670' WHERE "spree_products"."id" = 1060501556 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501556 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.9ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592776) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501556)) Excel Loader processing 0 rows  (0.2ms) begin transaction Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:26 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592768, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1417 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (3.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:27 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592768, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1418 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501554) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501554) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501554 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:32 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592772, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1419 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501555) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501555) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501555 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:36 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_id" = 1013592776, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1420 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501556) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501556) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501556  (40.7ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501554 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592768) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501554)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501555 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592772) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501555)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501556 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013592776) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501556)) SQL (109.2ms) DELETE FROM "spree_products" SQL (104.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (66.0ms) DELETE FROM "spree_option_types" SQL (51.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (24.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::Product Load (6.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.619275' WHERE "spree_products"."id" = 1060501557 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501557], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.621821' WHERE "spree_products"."id" = 1060501557  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592782 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.624220' WHERE "spree_products"."id" = 1060501557  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501557  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["product_id", nil], ["property_id", 905835737], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501557, "updated_at" = '2012-10-23 15:01:38.633890' WHERE "spree_product_properties"."id" = 1073274150 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501557) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452615 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452615], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501557 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501557, 558400448) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452616 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452616], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501557, 558400449) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501557) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501557 AND "spree_option_types"."id" = 935339684 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501557) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["option_type_id", 935339684], ["position", 1], ["product_id", 1060501557], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339684 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339684) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339684], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.669819' WHERE "spree_products"."id" = 1060501557 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501557], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.671396' WHERE "spree_products"."id" = 1060501557  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592783, 979461120) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339684 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339684) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339684], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.677389' WHERE "spree_products"."id" = 1060501557 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501557], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.697424' WHERE "spree_products"."id" = 1060501557  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592784, 979461121) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339684 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339684) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339684], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.702819' WHERE "spree_products"."id" = 1060501557 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501557], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.705168' WHERE "spree_products"."id" = 1060501557  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592785, 979461122) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501557]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501557) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592783 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592784 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592785 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501557) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.722464' WHERE "spree_products"."id" = 1060501557  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592783 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.724327' WHERE "spree_products"."id" = 1060501557 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.725786' WHERE "spree_products"."id" = 1060501557  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592784 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.727375' WHERE "spree_products"."id" = 1060501557 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.730362' WHERE "spree_products"."id" = 1060501557  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592785 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:38.731292' WHERE "spree_products"."id" = 1060501557 SQL (1.3ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:38 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592782, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1421 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501557 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:39.844617' WHERE "spree_products"."id" = 1060501557  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501557 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:39 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592782, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1422 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:41.440345' WHERE "spree_products"."id" = 1060501557 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501557 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:41 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592782, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1423 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.326230' WHERE "spree_products"."id" = 1060501557 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501557 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501557) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:42.335508' WHERE "spree_products"."id" = 1060501557 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501557 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 002"], ["permalink", "demo-product-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.368723' WHERE "spree_products"."id" = 1060501558 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501558], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.370658' WHERE "spree_products"."id" = 1060501558  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592786 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.372709' WHERE "spree_products"."id" = 1060501558  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (4.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501558  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00]] Created New Property # SQL (1.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["product_id", nil], ["property_id", 905835738], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501558, "updated_at" = '2012-10-23 15:01:42.386951' WHERE "spree_product_properties"."id" = 1073274151 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501558) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452615 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (2.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501558 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501558, 558400448) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452617 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452617], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501558, 558400450) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452618 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452618], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501558, 558400451) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501558) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501558 AND "spree_option_types"."id" = 935339684 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501558) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["option_type_id", 935339684], ["position", 1], ["product_id", 1060501558], ["updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339684 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.430495' WHERE "spree_products"."id" = 1060501558 SQL (1.8ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501558], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.433777' WHERE "spree_products"."id" = 1060501558  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592787, 979461120) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339684 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.437365' WHERE "spree_products"."id" = 1060501558 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501558], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.438921' WHERE "spree_products"."id" = 1060501558  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592788, 979461121) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339684 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.442324' WHERE "spree_products"."id" = 1060501558 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501558], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.444545' WHERE "spree_products"."id" = 1060501558  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592789, 979461122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501558]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501558) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592787 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592788 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592789 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501558) LIMIT 1  (1.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.463473' WHERE "spree_products"."id" = 1060501558  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592787 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.465199' WHERE "spree_products"."id" = 1060501558 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.466791' WHERE "spree_products"."id" = 1060501558  (0.8ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592788 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.468721' WHERE "spree_products"."id" = 1060501558 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.470953' WHERE "spree_products"."id" = 1060501558  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592789 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:42.472019' WHERE "spree_products"."id" = 1060501558 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text for 002"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:42 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592786, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1424 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "323X428 ror bag"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:01:48 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013592786, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1425 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501558 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:49.463740' WHERE "spree_products"."id" = 1060501558  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501558 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501558) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:49.571475' WHERE "spree_products"."id" = 1060501558 Row ["MULTI_002", "Demo Product 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text for 002|fixtures/images/DEMO_001_ror_bag.jpeg:323X428 ror bag"] succesfully SAVED : ID 1060501558 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (90.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501557 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592782 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501558 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013592786 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (2.5ms) DELETE FROM "spree_products" SQL (3.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (23.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (78.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.1ms) DELETE FROM "spree_properties" SQL (2.5ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:49 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452619 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452619], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (4.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452619], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (121.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452619], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (4.6ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (110.8ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452620 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452620], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (3.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452620], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (3.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452620], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (2.0ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452620 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452620 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452620 LIMIT 1 Booted Spree using version 1.1.3 SQL (7.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (24.1ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452621], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452621], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]]  (5.2ms) commit transaction  (0.0ms) begin transaction  (2.3ms) UPDATE "spree_taxons" SET "parent_id" = 558400458, "updated_at" = '2012-10-23 15:01:50.652108' WHERE "spree_taxons"."id" = 558400459 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400458]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400459]] SQL (2.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400459 THEN 558400458 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400458]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400459]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400458 ORDER BY "lft" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.753639' WHERE "spree_products"."id" = 1060501559 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501559], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.755727' WHERE "spree_products"."id" = 1060501559  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592790 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.758658' WHERE "spree_products"."id" = 1060501559  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501559  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Created New Property # SQL (1.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["product_id", nil], ["property_id", 905835739], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501559, "updated_at" = '2012-10-23 15:01:50.850259' WHERE "spree_product_properties"."id" = 1073274152 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501559) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501559 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501559, 558400458) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452622 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452622], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501559, 558400460) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501559) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501559 AND "spree_option_types"."id" = 935339685 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501559) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["option_type_id", 935339685], ["position", 1], ["product_id", 1060501559], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339685) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339685], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.889330' WHERE "spree_products"."id" = 1060501559 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501559], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.891093' WHERE "spree_products"."id" = 1060501559  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592791, 979461123) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339685) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339685], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.929615' WHERE "spree_products"."id" = 1060501559 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501559], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.931181' WHERE "spree_products"."id" = 1060501559  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592792, 979461124) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339685) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339685], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:50 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.936995' WHERE "spree_products"."id" = 1060501559 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501559], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.938692' WHERE "spree_products"."id" = 1060501559  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592793, 979461125) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501559]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501559) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592791 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592792 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592793 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501559) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.979082' WHERE "spree_products"."id" = 1060501559  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592791 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.980678' WHERE "spree_products"."id" = 1060501559 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.982099' WHERE "spree_products"."id" = 1060501559  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592792 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:50.983484' WHERE "spree_products"."id" = 1060501559 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.108222' WHERE "spree_products"."id" = 1060501559  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592793 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.110056' WHERE "spree_products"."id" = 1060501559 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501559) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501559 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:51.113797' WHERE "spree_products"."id" = 1060501559 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501559 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.122831' WHERE "spree_products"."id" = 1060501560 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501560], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.124401' WHERE "spree_products"."id" = 1060501560  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592794 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.127222' WHERE "spree_products"."id" = 1060501560  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501560  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["product_id", nil], ["property_id", 905835740], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501560, "updated_at" = '2012-10-23 15:01:51.133495' WHERE "spree_product_properties"."id" = 1073274153 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501560) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501560 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501560, 558400458) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452623 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452623], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501560, 558400461) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400458 AND "spree_taxons"."taxonomy_id" = 854452621 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400458]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400458], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452621], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400458]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400462]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400462 THEN 558400458 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400458]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400462]] Spree::Taxon Load (1.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400462 AND "spree_taxons"."taxonomy_id" = 854452621 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400462]] SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400462], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452621], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400462]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400463]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400463 THEN 558400462 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400462]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400463]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501560, 558400462)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501560, 558400463) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501560) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501560 AND "spree_option_types"."id" = 935339685 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501560) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["option_type_id", 935339685], ["position", 1], ["product_id", 1060501560], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.177255' WHERE "spree_products"."id" = 1060501560 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501560], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.178729' WHERE "spree_products"."id" = 1060501560  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592795, 979461123) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.181648' WHERE "spree_products"."id" = 1060501560 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501560], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.182846' WHERE "spree_products"."id" = 1060501560  (0.8ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592796, 979461124) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.186251' WHERE "spree_products"."id" = 1060501560 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501560], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.246029' WHERE "spree_products"."id" = 1060501560  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592797, 979461125) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501560]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501560) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592795 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592796 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592797 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501560) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.323818' WHERE "spree_products"."id" = 1060501560  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592795 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.325776' WHERE "spree_products"."id" = 1060501560 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.327321' WHERE "spree_products"."id" = 1060501560  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592796 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.328476' WHERE "spree_products"."id" = 1060501560 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.329594' WHERE "spree_products"."id" = 1060501560  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592797 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.330840' WHERE "spree_products"."id" = 1060501560 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501560) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501560 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:51.333735' WHERE "spree_products"."id" = 1060501560 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501560 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.341919' WHERE "spree_products"."id" = 1060501561 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501561], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.345489' WHERE "spree_products"."id" = 1060501561  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592798 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.347366' WHERE "spree_products"."id" = 1060501561  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501561  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["product_id", nil], ["property_id", 905835741], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501561, "updated_at" = '2012-10-23 15:01:51.366489' WHERE "spree_product_properties"."id" = 1073274154 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["product_id", nil], ["property_id", 905835740], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501561, "updated_at" = '2012-10-23 15:01:51.369219' WHERE "spree_product_properties"."id" = 1073274155 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["product_id", nil], ["property_id", 905835742], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501561, "updated_at" = '2012-10-23 15:01:51.372881' WHERE "spree_product_properties"."id" = 1073274156 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501561) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452624 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452624], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501561 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501561, 558400464) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400458 AND "spree_taxons"."taxonomy_id" = 854452621 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501561, 558400459)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501561, 558400458) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501561) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501561 AND "spree_option_types"."id" = 935339685 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501561) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["option_type_id", 935339685], ["position", 1], ["product_id", 1060501561], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.397180' WHERE "spree_products"."id" = 1060501561 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501561], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.398741' WHERE "spree_products"."id" = 1060501561  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592799, 979461123) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.401468' WHERE "spree_products"."id" = 1060501561 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501561], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.402829' WHERE "spree_products"."id" = 1060501561  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592800, 979461124) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339685 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.405473' WHERE "spree_products"."id" = 1060501561 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501561], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.407777' WHERE "spree_products"."id" = 1060501561  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592801, 979461125) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501561]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501561 AND "spree_option_types"."id" = 935339686 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501561) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["option_type_id", 935339686], ["position", 2], ["product_id", 1060501561], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339686 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339686) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339686], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.422458' WHERE "spree_products"."id" = 1060501561 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501561], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.423834' WHERE "spree_products"."id" = 1060501561  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592802, 979461126) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339686 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339686) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00], ["name", "colour"], ["option_type_id", 935339686], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:51 UTC +00:00]]  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.429876' WHERE "spree_products"."id" = 1060501561 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501561], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.431487' WHERE "spree_products"."id" = 1060501561  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592803, 979461127) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501561]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501561) LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592799 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592800 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592801 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592802 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592803 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501561) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.782124' WHERE "spree_products"."id" = 1060501561  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592799 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.783334' WHERE "spree_products"."id" = 1060501561 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.784478' WHERE "spree_products"."id" = 1060501561  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592800 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.785608' WHERE "spree_products"."id" = 1060501561 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.787061' WHERE "spree_products"."id" = 1060501561  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592801 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.789370' WHERE "spree_products"."id" = 1060501561 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.790617' WHERE "spree_products"."id" = 1060501561  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592802 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.792264' WHERE "spree_products"."id" = 1060501561 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501561 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.793663' WHERE "spree_products"."id" = 1060501561  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592803 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:51.794750' WHERE "spree_products"."id" = 1060501561 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501561) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501561 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:51.798199' WHERE "spree_products"."id" = 1060501561 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501561 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (12.6ms) commit transaction Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501559 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501559 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501560 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501560 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452621 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400458 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452621 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400462 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400462 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400463 ORDER BY "lft" SQL (3.1ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (21.8ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (22.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452625], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]]  (13.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452625], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558400465, "updated_at" = '2012-10-23 15:01:52.130048' WHERE "spree_taxons"."id" = 558400466 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400465]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400466]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400466 THEN 558400465 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400465]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400466]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400465 ORDER BY "lft" Excel Loader processing 0 rows  (1.9ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.325954' WHERE "spree_products"."id" = 1060501562 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501562], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.327447' WHERE "spree_products"."id" = 1060501562  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592804 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.328900' WHERE "spree_products"."id" = 1060501562  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501562  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["product_id", nil], ["property_id", 905835743], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501562, "updated_at" = '2012-10-23 15:01:52.335627' WHERE "spree_product_properties"."id" = 1073274157 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501562 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501562, 558400465) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452626 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452626], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501562, 558400467) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501562 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501562) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["option_type_id", 935339687], ["position", 1], ["product_id", 1060501562], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339687) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339687], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.421703' WHERE "spree_products"."id" = 1060501562 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501562], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.424253' WHERE "spree_products"."id" = 1060501562  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592805, 979461128) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501562]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501562 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339687) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339687], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.455862' WHERE "spree_products"."id" = 1060501562 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501562], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.458460' WHERE "spree_products"."id" = 1060501562  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592806, 979461129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501562]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501562 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339687) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339687], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.492147' WHERE "spree_products"."id" = 1060501562 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501562], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.493459' WHERE "spree_products"."id" = 1060501562  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592807, 979461130) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501562]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592805 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592806 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592807 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.515335' WHERE "spree_products"."id" = 1060501562  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592805 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.516459' WHERE "spree_products"."id" = 1060501562 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.517748' WHERE "spree_products"."id" = 1060501562  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592806 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.519366' WHERE "spree_products"."id" = 1060501562 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.520442' WHERE "spree_products"."id" = 1060501562  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592807 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.522828' WHERE "spree_products"."id" = 1060501562 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501562) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501562 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:52.525821' WHERE "spree_products"."id" = 1060501562 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501562 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.535139' WHERE "spree_products"."id" = 1060501563 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501563], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.536458' WHERE "spree_products"."id" = 1060501563  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592808 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.538248' WHERE "spree_products"."id" = 1060501563  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501563  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["product_id", nil], ["property_id", 905835744], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501563, "updated_at" = '2012-10-23 15:01:52.545729' WHERE "spree_product_properties"."id" = 1073274158 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501563 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501563, 558400465) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452627 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452627], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501563, 558400468) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400465 AND "spree_taxons"."taxonomy_id" = 854452625 LIMIT 1  (2.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400465]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400465], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452625], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400465]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400469]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400469 THEN 558400465 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400465]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400469]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400469 AND "spree_taxons"."taxonomy_id" = 854452625 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400469]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400469], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452625], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400469]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400470]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400470 THEN 558400469 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400469]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400470]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501563, 558400469)  (0.7ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501563, 558400470) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501563 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501563) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["option_type_id", 935339687], ["position", 1], ["product_id", 1060501563], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.618000' WHERE "spree_products"."id" = 1060501563 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501563], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.619362' WHERE "spree_products"."id" = 1060501563  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592809, 979461128) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501563]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501563 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.631567' WHERE "spree_products"."id" = 1060501563 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501563], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.632852' WHERE "spree_products"."id" = 1060501563  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592810, 979461129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501563]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501563 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.641998' WHERE "spree_products"."id" = 1060501563 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501563], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.643259' WHERE "spree_products"."id" = 1060501563  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592811, 979461130) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501563]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592809 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592810 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592811 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.662455' WHERE "spree_products"."id" = 1060501563  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592809 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.663710' WHERE "spree_products"."id" = 1060501563 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.664778' WHERE "spree_products"."id" = 1060501563  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592810 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.665806' WHERE "spree_products"."id" = 1060501563 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.667431' WHERE "spree_products"."id" = 1060501563  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592811 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.668137' WHERE "spree_products"."id" = 1060501563 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501563) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501563 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:52.671927' WHERE "spree_products"."id" = 1060501563 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501563 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.681455' WHERE "spree_products"."id" = 1060501564 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501564], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.682758' WHERE "spree_products"."id" = 1060501564  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592812 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.684623' WHERE "spree_products"."id" = 1060501564  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501564  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["product_id", nil], ["property_id", 905835745], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501564, "updated_at" = '2012-10-23 15:01:52.690887' WHERE "spree_product_properties"."id" = 1073274159 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["product_id", nil], ["property_id", 905835744], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501564, "updated_at" = '2012-10-23 15:01:52.694396' WHERE "spree_product_properties"."id" = 1073274160 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["product_id", nil], ["property_id", 905835746], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501564, "updated_at" = '2012-10-23 15:01:52.698848' WHERE "spree_product_properties"."id" = 1073274161 Created New ProductProperty # Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452628 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452628], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501564 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501564, 558400471) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400465 AND "spree_taxons"."taxonomy_id" = 854452625 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501564, 558400466)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501564, 558400465) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501564 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501564) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["option_type_id", 935339687], ["position", 1], ["product_id", 1060501564], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.783248' WHERE "spree_products"."id" = 1060501564 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501564], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.784977' WHERE "spree_products"."id" = 1060501564  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592813, 979461128) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501564]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501564 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.795452' WHERE "spree_products"."id" = 1060501564 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501564], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.797254' WHERE "spree_products"."id" = 1060501564  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592814, 979461129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501564]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501564 AND "spree_option_types"."id" = 935339687 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339687 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.806092' WHERE "spree_products"."id" = 1060501564 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501564], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.807386' WHERE "spree_products"."id" = 1060501564  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592815, 979461130) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501564]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501564 AND "spree_option_types"."id" = 935339688 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501564) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["option_type_id", 935339688], ["position", 2], ["product_id", 1060501564], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339688 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339688) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339688], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.822440' WHERE "spree_products"."id" = 1060501564 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501564], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.824316' WHERE "spree_products"."id" = 1060501564  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592816, 979461131) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501564]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501564 AND "spree_option_types"."id" = 935339688 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339688 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339688) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00], ["name", "colour"], ["option_type_id", 935339688], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:52 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.885521' WHERE "spree_products"."id" = 1060501564 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501564], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.887388' WHERE "spree_products"."id" = 1060501564  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592817, 979461132) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501564]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592813 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592814 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592815 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592816 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592817 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.909488' WHERE "spree_products"."id" = 1060501564  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592813 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.910723' WHERE "spree_products"."id" = 1060501564 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.911904' WHERE "spree_products"."id" = 1060501564  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592814 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.913203' WHERE "spree_products"."id" = 1060501564 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.914448' WHERE "spree_products"."id" = 1060501564  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592815 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.915737' WHERE "spree_products"."id" = 1060501564 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.917385' WHERE "spree_products"."id" = 1060501564  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592816 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.918448' WHERE "spree_products"."id" = 1060501564 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501564 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.919448' WHERE "spree_products"."id" = 1060501564  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592817 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:52.921007' WHERE "spree_products"."id" = 1060501564 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501564) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501564 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:52.924661' WHERE "spree_products"."id" = 1060501564 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501564 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.1ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501562 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501562 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501563 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501563 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452625 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (3.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400465 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452625 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400469 LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400469 ORDER BY "lft" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400470 ORDER BY "lft" SQL (5.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (26.9ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452629], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.8ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452629], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]]  (20.8ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558400472, "updated_at" = '2012-10-23 15:01:53.449470' WHERE "spree_taxons"."id" = 558400473 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400473]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400473 THEN 558400472 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400473]]  (2.4ms) commit transaction  (0.8ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400472 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.486784' WHERE "spree_products"."id" = 1060501565 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501565], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.489304' WHERE "spree_products"."id" = 1060501565  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592818 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.490790' WHERE "spree_products"."id" = 1060501565  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501565  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["product_id", nil], ["property_id", 905835747], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501565, "updated_at" = '2012-10-23 15:01:53.527839' WHERE "spree_product_properties"."id" = 1073274162 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501565 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501565, 558400472) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452630 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452630], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501565, 558400474) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501565 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501565) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["option_type_id", 935339689], ["position", 1], ["product_id", 1060501565], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339689) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339689], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.589415' WHERE "spree_products"."id" = 1060501565 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501565], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.592112' WHERE "spree_products"."id" = 1060501565  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592819, 979461133) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501565]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501565 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1 Spree::OptionValue Load (0.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339689) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339689], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.626790' WHERE "spree_products"."id" = 1060501565 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501565], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.628283' WHERE "spree_products"."id" = 1060501565  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592820, 979461134) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501565]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501565 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339689) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339689], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.640527' WHERE "spree_products"."id" = 1060501565 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501565], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.641859' WHERE "spree_products"."id" = 1060501565  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592821, 979461135) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501565]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592819 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592820 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592821 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.696120' WHERE "spree_products"."id" = 1060501565  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592819 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.697548' WHERE "spree_products"."id" = 1060501565 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.699005' WHERE "spree_products"."id" = 1060501565  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592820 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.700089' WHERE "spree_products"."id" = 1060501565 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.701416' WHERE "spree_products"."id" = 1060501565  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592821 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.703600' WHERE "spree_products"."id" = 1060501565 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501565) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501565 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:01:53.707108' WHERE "spree_products"."id" = 1060501565 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.722896' WHERE "spree_products"."id" = 1060501566 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501566], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.724932' WHERE "spree_products"."id" = 1060501566  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592822 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.727389' WHERE "spree_products"."id" = 1060501566  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501566  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["product_id", nil], ["property_id", 905835748], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501566, "updated_at" = '2012-10-23 15:01:53.736427' WHERE "spree_product_properties"."id" = 1073274163 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1 Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501566 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501566, 558400472) Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452631 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452631], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501566, 558400475) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400472 AND "spree_taxons"."taxonomy_id" = 854452629 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400472]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400472], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452629], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400476]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400476 THEN 558400472 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400472]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400476]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400476 AND "spree_taxons"."taxonomy_id" = 854452629 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400476]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400476], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452629], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400476]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400477]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400477 THEN 558400476 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.7ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400476]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400477]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501566, 558400476)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501566, 558400477) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501566 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501566) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["option_type_id", 935339689], ["position", 1], ["product_id", 1060501566], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.805130' WHERE "spree_products"."id" = 1060501566 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501566], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.806811' WHERE "spree_products"."id" = 1060501566  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592823, 979461133) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501566]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501566 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.816967' WHERE "spree_products"."id" = 1060501566 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501566], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.818593' WHERE "spree_products"."id" = 1060501566  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592824, 979461134) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501566]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501566 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.827314' WHERE "spree_products"."id" = 1060501566 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501566], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.828597' WHERE "spree_products"."id" = 1060501566  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592825, 979461135) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501566]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592823 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592824 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592825 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.847534' WHERE "spree_products"."id" = 1060501566  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592823 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.848820' WHERE "spree_products"."id" = 1060501566 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.850011' WHERE "spree_products"."id" = 1060501566  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592824 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.850986' WHERE "spree_products"."id" = 1060501566 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.852281' WHERE "spree_products"."id" = 1060501566  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592825 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.853229' WHERE "spree_products"."id" = 1060501566 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501566) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501566 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:01:53.856037' WHERE "spree_products"."id" = 1060501566 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.864366' WHERE "spree_products"."id" = 1060501567 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501567], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.865424' WHERE "spree_products"."id" = 1060501567  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592826 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:53.867249' WHERE "spree_products"."id" = 1060501567  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501567  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["product_id", nil], ["property_id", 905835749], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501567, "updated_at" = '2012-10-23 15:01:53.874423' WHERE "spree_product_properties"."id" = 1073274164 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["product_id", nil], ["property_id", 905835748], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501567, "updated_at" = '2012-10-23 15:01:53.878423' WHERE "spree_product_properties"."id" = 1073274165 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["product_id", nil], ["property_id", 905835750], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501567, "updated_at" = '2012-10-23 15:01:53.882863' WHERE "spree_product_properties"."id" = 1073274166 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452632 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452632], ["updated_at", Tue, 23 Oct 2012 15:01:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501567 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501567, 558400478) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400472 AND "spree_taxons"."taxonomy_id" = 854452629 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501567, 558400473)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501567, 558400472) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501567 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501567) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["option_type_id", 935339689], ["position", 1], ["product_id", 1060501567], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.029063' WHERE "spree_products"."id" = 1060501567 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501567], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.031419' WHERE "spree_products"."id" = 1060501567  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592827, 979461133) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501567]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::OptionType Load (1.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501567 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.044501' WHERE "spree_products"."id" = 1060501567 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501567], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.045794' WHERE "spree_products"."id" = 1060501567  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592828, 979461134) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501567]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501567 AND "spree_option_types"."id" = 935339689 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339689 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.058068' WHERE "spree_products"."id" = 1060501567 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501567], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.059207' WHERE "spree_products"."id" = 1060501567  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592829, 979461135) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501567]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501567 AND "spree_option_types"."id" = 935339690 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501567) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["option_type_id", 935339690], ["position", 2], ["product_id", 1060501567], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339690 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339690) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339690], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.076475' WHERE "spree_products"."id" = 1060501567 SQL (1.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501567], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.079000' WHERE "spree_products"."id" = 1060501567  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592830, 979461136) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501567]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501567 AND "spree_option_types"."id" = 935339690 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339690 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339690) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "colour"], ["option_type_id", 935339690], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.152492' WHERE "spree_products"."id" = 1060501567 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501567], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.154324' WHERE "spree_products"."id" = 1060501567  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592831, 979461137) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501567]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592827 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592828 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592829 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592830 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592831 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.178940' WHERE "spree_products"."id" = 1060501567  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592827 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.180080' WHERE "spree_products"."id" = 1060501567 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.185415' WHERE "spree_products"."id" = 1060501567  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592828 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.188853' WHERE "spree_products"."id" = 1060501567 Spree::Product Load (85.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.280901' WHERE "spree_products"."id" = 1060501567  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592829 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.283309' WHERE "spree_products"."id" = 1060501567 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.285175' WHERE "spree_products"."id" = 1060501567  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592830 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.286082' WHERE "spree_products"."id" = 1060501567 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501567 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.289245' WHERE "spree_products"."id" = 1060501567  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592831 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.290443' WHERE "spree_products"."id" = 1060501567 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501567) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501567 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:01:54.294205' WHERE "spree_products"."id" = 1060501567  (11.7ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.5ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501565 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501565 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501566 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501566 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452629 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400472 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452629 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400476 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400476 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400477 ORDER BY "lft" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.2ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (100.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (4.8ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (33.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501568 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.562243' WHERE "spree_products"."id" = 1060501568 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501568], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.564406' WHERE "spree_products"."id" = 1060501568  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592832 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.566155' WHERE "spree_products"."id" = 1060501568  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501568 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501568 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501568  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501568 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452633 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452633], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400479 AND "spree_taxons"."taxonomy_id" = 854452633 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400479]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400479], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452633], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400479]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400480]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400480 THEN 558400479 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400479]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400480]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501568 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501568, 558400480)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501568, 558400479) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501568) LIMIT 1 Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452634 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452634], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501568, 558400481) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501568) LIMIT 1 Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592832 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501568) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:01:54.617404' WHERE "spree_products"."id" = 1060501568  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592832 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.619404' WHERE "spree_products"."id" = 1060501568 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501568 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060501568 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (1.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501569 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.632628' WHERE "spree_products"."id" = 1060501569 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501569], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.634095' WHERE "spree_products"."id" = 1060501569  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592833 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.635852' WHERE "spree_products"."id" = 1060501569  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501569 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501569 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501569  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501569 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452633 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501569 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501569, 558400479) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501569) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452635 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452635], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501569, 558400482) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501569) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452633 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400479 AND "spree_taxons"."taxonomy_id" = 854452633 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400479]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400479], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452633], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400479]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400483]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400483 THEN 558400479 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400479]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400483]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400483 AND "spree_taxons"."taxonomy_id" = 854452633 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400483]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400483], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452633], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400483]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400484]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400484 THEN 558400483 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400483]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400484]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501569, 558400483)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501569, 558400484) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501569) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592833 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501569) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:01:54.705402' WHERE "spree_products"."id" = 1060501569  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592833 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.707631' WHERE "spree_products"."id" = 1060501569 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501569 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060501569 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501570 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.719218' WHERE "spree_products"."id" = 1060501570 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501570], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.720693' WHERE "spree_products"."id" = 1060501570  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592834 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.722401' WHERE "spree_products"."id" = 1060501570  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501570 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501570 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501570  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501570 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452636 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452636], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400485 AND "spree_taxons"."taxonomy_id" = 854452636 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400485]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400485], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452636], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400485]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400486]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400486 THEN 558400485 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400485]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400486]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501570 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.4ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501570, 558400486)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501570, 558400485) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501570) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452637 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452637], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501570, 558400487) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501570) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592834 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501570) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:01:54.762686' WHERE "spree_products"."id" = 1060501570  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592834 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.764599' WHERE "spree_products"."id" = 1060501570 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501570 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060501570 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (2.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501571 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.852535' WHERE "spree_products"."id" = 1060501571 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501571], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.854701' WHERE "spree_products"."id" = 1060501571  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592835 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.856142' WHERE "spree_products"."id" = 1060501571  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501571 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501571 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501571  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501571 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452636 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400485 AND "spree_taxons"."taxonomy_id" = 854452636 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501571 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501571, 558400486)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501571, 558400485) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501571) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452633 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400479 AND "spree_taxons"."taxonomy_id" = 854452633 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400483 AND "spree_taxons"."taxonomy_id" = 854452633 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400483]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400483], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452633], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400483]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400488]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400488 THEN 558400483 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400483]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400488]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400488 AND "spree_taxons"."taxonomy_id" = 854452633 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400488]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400488], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452633], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400488]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400489]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400489 THEN 558400488 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400488]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400489]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501571, 558400483)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501571, 558400488)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501571, 558400489)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501571, 558400479) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501571) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592835 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501571) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:01:54.895155' WHERE "spree_products"."id" = 1060501571  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592835 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.896729' WHERE "spree_products"."id" = 1060501571 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501571 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060501571 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (16.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501572 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.922723' WHERE "spree_products"."id" = 1060501572 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501572], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.924083' WHERE "spree_products"."id" = 1060501572  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592836 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.925671' WHERE "spree_products"."id" = 1060501572  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501572 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501572 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501572  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501572 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452636 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400485 AND "spree_taxons"."taxonomy_id" = 854452636 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400486 AND "spree_taxons"."taxonomy_id" = 854452636 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400486]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400486], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452636], ["updated_at", Tue, 23 Oct 2012 15:01:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400486]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400490]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400490 THEN 558400486 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400486]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400490]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501572 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501572, 558400486)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501572, 558400490)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501572, 558400485) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501572) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452635 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501572, 558400482) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501572) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592836 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501572) LIMIT 1  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:01:54.954983' WHERE "spree_products"."id" = 1060501572  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592836 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:54.957395' WHERE "spree_products"."id" = 1060501572 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501572 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060501572 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452633 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452634 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452635 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452636 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452637 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452633 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452633 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400479 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400479) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400483 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400483) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400483) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400479 LIMIT 1 Spree::Taxon Load (2.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400483 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400488 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400489 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400488) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452636 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452636 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400486 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400486 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400490 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400490) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452635 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452635 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400482 ORDER BY "lft" Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452637 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452637 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400487 ORDER BY "lft" SQL (144.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501573 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.361385' WHERE "spree_products"."id" = 1060501573 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501573], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.363845' WHERE "spree_products"."id" = 1060501573  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592837 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.365349' WHERE "spree_products"."id" = 1060501573  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501573 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501573 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501573  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501573 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452638], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400491 AND "spree_taxons"."taxonomy_id" = 854452638 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400491]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400491], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452638], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400491]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400492]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400492 THEN 558400491 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400491]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400492]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501573 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501573, 558400492)  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501573, 558400491) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501573) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452639 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452639], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501573, 558400493) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501573) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592837 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501573) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:01:55.523381' WHERE "spree_products"."id" = 1060501573  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592837 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.525621' WHERE "spree_products"."id" = 1060501573 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501573 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501574 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.650747' WHERE "spree_products"."id" = 1060501574 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501574], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.652596' WHERE "spree_products"."id" = 1060501574  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592838 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.656134' WHERE "spree_products"."id" = 1060501574  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501574 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501574 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501574  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501574 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501574 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501574, 558400491) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501574) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452640 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452640], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501574, 558400494) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501574) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400491 AND "spree_taxons"."taxonomy_id" = 854452638 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400491]] SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400491], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452638], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400491]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400495]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400495 THEN 558400491 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400491]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400495]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400495 AND "spree_taxons"."taxonomy_id" = 854452638 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400495]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400495], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452638], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400495]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400496]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400496 THEN 558400495 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400495]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400496]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501574, 558400495)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501574, 558400496) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501574) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592838 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501574) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:01:55.708134' WHERE "spree_products"."id" = 1060501574  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592838 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.712292' WHERE "spree_products"."id" = 1060501574 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501574 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501575 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.721300' WHERE "spree_products"."id" = 1060501575 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501575], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.723097' WHERE "spree_products"."id" = 1060501575  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592839 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.724756' WHERE "spree_products"."id" = 1060501575  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501575 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501575 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501575  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501575 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452641 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452641], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400497 AND "spree_taxons"."taxonomy_id" = 854452641 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400497]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400497], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452641], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400497]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400498]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400498 THEN 558400497 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400497]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400498]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501575 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501575, 558400498)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501575, 558400497) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501575) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452642], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501575, 558400499) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501575) LIMIT 1 Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592839 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501575) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:01:55.759614' WHERE "spree_products"."id" = 1060501575  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592839 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.761781' WHERE "spree_products"."id" = 1060501575 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501575 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501576 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.770977' WHERE "spree_products"."id" = 1060501576 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501576], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.772374' WHERE "spree_products"."id" = 1060501576  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592840 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.821968' WHERE "spree_products"."id" = 1060501576  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501576 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501576 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501576  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501576 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452641 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400497 AND "spree_taxons"."taxonomy_id" = 854452641 LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501576 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501576, 558400498)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501576, 558400497) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501576) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400491 AND "spree_taxons"."taxonomy_id" = 854452638 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400495 AND "spree_taxons"."taxonomy_id" = 854452638 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400495]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400495], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452638], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400495]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400500]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400500 THEN 558400495 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400495]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400500]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400500 AND "spree_taxons"."taxonomy_id" = 854452638 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400500]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400500], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452638], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400500]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400501]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400501 THEN 558400500 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400500]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400501]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501576, 558400495)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501576, 558400500)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501576, 558400501)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501576, 558400491) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501576) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592840 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501576) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:01:55.861091' WHERE "spree_products"."id" = 1060501576  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592840 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.863220' WHERE "spree_products"."id" = 1060501576 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501576 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501577 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.871291' WHERE "spree_products"."id" = 1060501577 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501577], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.873613' WHERE "spree_products"."id" = 1060501577  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592841 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:55.875729' WHERE "spree_products"."id" = 1060501577  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501577 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501577 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501577  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501577 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452641 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400497 AND "spree_taxons"."taxonomy_id" = 854452641 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400498 AND "spree_taxons"."taxonomy_id" = 854452641 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400498]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400498], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452641], ["updated_at", Tue, 23 Oct 2012 15:01:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400498]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400502]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400502 THEN 558400498 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400498]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400502]] Spree::Taxon Load (2.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501577 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501577, 558400498)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501577, 558400502)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501577, 558400497) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501577) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452640 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501577, 558400494) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501577) LIMIT 1 Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592841 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501577) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:01:56.049260' WHERE "spree_products"."id" = 1060501577  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013592841 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:01:56.051841' WHERE "spree_products"."id" = 1060501577 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501577  (7.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452639 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452640 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452641 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452638 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452638 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400491 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400491) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400495 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400495) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400495) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400491 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400495 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400500 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400501 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400500) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452641 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452641 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400498 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400498 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400502 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400502) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452640 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452640 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400494 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452642 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452642 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400499 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (5.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (40.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (47.9ms) DELETE FROM "spree_zones" SQL (11.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (27.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (60.7ms) DELETE FROM "spree_variants" SQL (6.0ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (16.8ms) DELETE FROM "spree_properties" SQL (26.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (2.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (28.4ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (35.2ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (72.3ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (25.4ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (3.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (8.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501578 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.199571' WHERE "spree_products"."id" = 1060501578 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501578], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.203462' WHERE "spree_products"."id" = 1060501578  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592842 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.206462' WHERE "spree_products"."id" = 1060501578  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501578 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501578 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501578  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501578 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592842 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501578) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501578 AND "spree_option_types"."id" = 935339691 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501578) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["option_type_id", 935339691], ["position", 1], ["product_id", 1060501578], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501578) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:04:06.370254' WHERE "spree_products"."id" = 1060501578  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592842 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.373488' WHERE "spree_products"."id" = 1060501578 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501578 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501578 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501579 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.385174' WHERE "spree_products"."id" = 1060501579 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501579], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.388441' WHERE "spree_products"."id" = 1060501579  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592843 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.389938' WHERE "spree_products"."id" = 1060501579  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501579 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501579 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501579  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501579 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592843 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501579) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501579 AND "spree_option_types"."id" = 935339691 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501579) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["option_type_id", 935339691], ["position", 1], ["product_id", 1060501579], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501579) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:04:06.403972' WHERE "spree_products"."id" = 1060501579  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592843 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.405912' WHERE "spree_products"."id" = 1060501579 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501579 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501579 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501580 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.415090' WHERE "spree_products"."id" = 1060501580 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501580], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.416432' WHERE "spree_products"."id" = 1060501580  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592844 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.417863' WHERE "spree_products"."id" = 1060501580  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501580 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501580 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501580  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501580 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592844 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501580) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501580 AND "spree_option_types"."id" = 935339691 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501580) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["option_type_id", 935339691], ["position", 1], ["product_id", 1060501580], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501580 AND "spree_option_types"."id" = 935339692 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501580) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["option_type_id", 935339692], ["position", 2], ["product_id", 1060501580], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501580) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:04:06.438484' WHERE "spree_products"."id" = 1060501580  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013592844 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.440903' WHERE "spree_products"."id" = 1060501580 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501580 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501580 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (34.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:04:06.483911')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:04:06.484683')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501578 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.8ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501578 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501578 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501580 AND ("spree_variants".is_master = 't') LIMIT 1 Booted Spree using version 1.1.3 SQL (7.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (26.8ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501581 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.724885' WHERE "spree_products"."id" = 1060501581 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501581], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.726637' WHERE "spree_products"."id" = 1060501581  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592845 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.729341' WHERE "spree_products"."id" = 1060501581  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501581  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Created New Property # SQL (1.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["product_id", nil], ["property_id", 905835751], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["value", nil]]  (2.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501581, "updated_at" = '2012-10-23 15:04:06.851729' WHERE "spree_product_properties"."id" = 1073274167 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501581) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452643 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452643], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501581 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501581, 558400503) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452644 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (9.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452644], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501581, 558400504) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501581) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501581 AND "spree_option_types"."id" = 935339693 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501581) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["option_type_id", 935339693], ["position", 1], ["product_id", 1060501581], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339693) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339693], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501581 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.981738' WHERE "spree_products"."id" = 1060501581 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501581], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.983336' WHERE "spree_products"."id" = 1060501581  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592846, 979461138) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339693) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339693], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501581 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.993329' WHERE "spree_products"."id" = 1060501581 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501581], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:06.994801' WHERE "spree_products"."id" = 1060501581  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592847, 979461139) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339693) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339693], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501581 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.000440' WHERE "spree_products"."id" = 1060501581 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501581], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.001948' WHERE "spree_products"."id" = 1060501581  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592848, 979461140) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501581]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501581) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592846 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592847 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592848 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501581) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501581 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.019802' WHERE "spree_products"."id" = 1060501581  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592846 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.021702' WHERE "spree_products"."id" = 1060501581 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501581 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.022931' WHERE "spree_products"."id" = 1060501581  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592847 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.023956' WHERE "spree_products"."id" = 1060501581 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501581 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.025216' WHERE "spree_products"."id" = 1060501581  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592848 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.026114' WHERE "spree_products"."id" = 1060501581 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501581) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501581 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:04:07.028863' WHERE "spree_products"."id" = 1060501581 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501581 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501582 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.037931' WHERE "spree_products"."id" = 1060501582 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501582], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.039200' WHERE "spree_products"."id" = 1060501582  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592849 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.040865' WHERE "spree_products"."id" = 1060501582  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501582  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835752], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501582, "updated_at" = '2012-10-23 15:04:07.047330' WHERE "spree_product_properties"."id" = 1073274168 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501582) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452643 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501582 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501582, 558400503) Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452645 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452645], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501582, 558400505) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452643 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400503 AND "spree_taxons"."taxonomy_id" = 854452643 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400503]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400503], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452643], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400503]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400506]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400506 THEN 558400503 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400503]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400506]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400506 AND "spree_taxons"."taxonomy_id" = 854452643 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400506]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400506], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452643], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400506]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400507]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400507 THEN 558400506 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400506]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400507]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501582, 558400506)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501582, 558400507) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501582) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501582 AND "spree_option_types"."id" = 935339693 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501582) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["option_type_id", 935339693], ["position", 1], ["product_id", 1060501582], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501582 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.087241' WHERE "spree_products"."id" = 1060501582 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501582], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.088690' WHERE "spree_products"."id" = 1060501582  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592850, 979461138) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501582 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.091623' WHERE "spree_products"."id" = 1060501582 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501582], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.092954' WHERE "spree_products"."id" = 1060501582  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592851, 979461139) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501582 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.096409' WHERE "spree_products"."id" = 1060501582 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501582], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.097954' WHERE "spree_products"."id" = 1060501582  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592852, 979461140) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501582]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501582) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592850 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592851 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592852 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501582) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501582 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.171255' WHERE "spree_products"."id" = 1060501582  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592850 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.172690' WHERE "spree_products"."id" = 1060501582 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501582 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.174013' WHERE "spree_products"."id" = 1060501582  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592851 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.175022' WHERE "spree_products"."id" = 1060501582 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501582 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.176598' WHERE "spree_products"."id" = 1060501582  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592852 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.177952' WHERE "spree_products"."id" = 1060501582 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501582) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501582 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:04:07.180952' WHERE "spree_products"."id" = 1060501582 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501582 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.190787' WHERE "spree_products"."id" = 1060501583 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501583], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.192297' WHERE "spree_products"."id" = 1060501583  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592853 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.193813' WHERE "spree_products"."id" = 1060501583  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501583  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835753], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501583, "updated_at" = '2012-10-23 15:04:07.205318' WHERE "spree_product_properties"."id" = 1073274169 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835752], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501583, "updated_at" = '2012-10-23 15:04:07.208690' WHERE "spree_product_properties"."id" = 1073274170 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835754], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501583, "updated_at" = '2012-10-23 15:04:07.214120' WHERE "spree_product_properties"."id" = 1073274171 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501583) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (1.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452646 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452646], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501583 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501583, 558400508) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452643 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400503 AND "spree_taxons"."taxonomy_id" = 854452643 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400503]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400503], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452643], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400503]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400509]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400509 THEN 558400503 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400503]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400509]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501583, 558400509)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501583, 558400503) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501583) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501583 AND "spree_option_types"."id" = 935339693 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501583) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["option_type_id", 935339693], ["position", 1], ["product_id", 1060501583], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.252270' WHERE "spree_products"."id" = 1060501583 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501583], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.253458' WHERE "spree_products"."id" = 1060501583  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592854, 979461138) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.256913' WHERE "spree_products"."id" = 1060501583 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501583], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.258232' WHERE "spree_products"."id" = 1060501583  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592855, 979461139) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339693 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.261916' WHERE "spree_products"."id" = 1060501583 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501583], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.263261' WHERE "spree_products"."id" = 1060501583  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592856, 979461140) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501583]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501583 AND "spree_option_types"."id" = 935339694 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501583) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["option_type_id", 935339694], ["position", 2], ["product_id", 1060501583], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339694 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339694) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339694], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.279523' WHERE "spree_products"."id" = 1060501583 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501583], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.280949' WHERE "spree_products"."id" = 1060501583  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592857, 979461141) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339694 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339694) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "colour"], ["option_type_id", 935339694], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.310497' WHERE "spree_products"."id" = 1060501583 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501583], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.311948' WHERE "spree_products"."id" = 1060501583  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592858, 979461142) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501583]] Spree::Variant Load (1.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501583) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592854 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592855 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592856 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592857 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592858 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501583) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.332678' WHERE "spree_products"."id" = 1060501583  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592854 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.334397' WHERE "spree_products"."id" = 1060501583 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.335453' WHERE "spree_products"."id" = 1060501583  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592855 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.336429' WHERE "spree_products"."id" = 1060501583 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.338014' WHERE "spree_products"."id" = 1060501583  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592856 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.339216' WHERE "spree_products"."id" = 1060501583 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.340690' WHERE "spree_products"."id" = 1060501583  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592857 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.341862' WHERE "spree_products"."id" = 1060501583 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501583 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.343584' WHERE "spree_products"."id" = 1060501583  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592858 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.344788' WHERE "spree_products"."id" = 1060501583 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501583) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501583 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:04:07.352458' WHERE "spree_products"."id" = 1060501583 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501583 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (28.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452647 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452647], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]]  (3.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452647], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]]  (3.2ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558400510, "updated_at" = '2012-10-23 15:04:07.487768' WHERE "spree_taxons"."id" = 558400511 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400510]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400511]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400511 THEN 558400510 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400510]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400511]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400510 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.606940' WHERE "spree_products"."id" = 1060501584 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501584], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.608757' WHERE "spree_products"."id" = 1060501584  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592859 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.611566' WHERE "spree_products"."id" = 1060501584  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501584  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835755], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501584, "updated_at" = '2012-10-23 15:04:07.620249' WHERE "spree_product_properties"."id" = 1073274172 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501584) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452647 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501584 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501584, 558400510) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452648 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452648], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501584, 558400512) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501584) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501584 AND "spree_option_types"."id" = 935339695 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501584) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["option_type_id", 935339695], ["position", 1], ["product_id", 1060501584], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339695) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339695], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.654348' WHERE "spree_products"."id" = 1060501584 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501584], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.656117' WHERE "spree_products"."id" = 1060501584  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592860, 979461143) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339695) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339695], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.661646' WHERE "spree_products"."id" = 1060501584 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501584], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (21.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.662814' WHERE "spree_products"."id" = 1060501584  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592861, 979461144) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339695) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339695], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.689470' WHERE "spree_products"."id" = 1060501584 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501584], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.691132' WHERE "spree_products"."id" = 1060501584  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592862, 979461145) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501584]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501584) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592860 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592861 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592862 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501584) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.708355' WHERE "spree_products"."id" = 1060501584  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592860 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.709938' WHERE "spree_products"."id" = 1060501584 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.711091' WHERE "spree_products"."id" = 1060501584  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592861 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.711938' WHERE "spree_products"."id" = 1060501584 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.715001' WHERE "spree_products"."id" = 1060501584  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592862 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.717196' WHERE "spree_products"."id" = 1060501584 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501584) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501584 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:04:07.719938' WHERE "spree_products"."id" = 1060501584 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501584 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.729863' WHERE "spree_products"."id" = 1060501585 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501585], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.731163' WHERE "spree_products"."id" = 1060501585  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592863 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.732630' WHERE "spree_products"."id" = 1060501585  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501585  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835756], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501585, "updated_at" = '2012-10-23 15:04:07.740687' WHERE "spree_product_properties"."id" = 1073274173 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501585) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452647 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501585 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501585, 558400510) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452649 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452649], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501585, 558400513) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452647 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400510 AND "spree_taxons"."taxonomy_id" = 854452647 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400510]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400510], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452647], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400510]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400514]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400514 THEN 558400510 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400510]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400514]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400514 AND "spree_taxons"."taxonomy_id" = 854452647 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400514]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400514], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452647], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400514]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400515]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400515 THEN 558400514 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400514]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400515]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501585, 558400514)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501585, 558400515) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501585) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501585 AND "spree_option_types"."id" = 935339695 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501585) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["option_type_id", 935339695], ["position", 1], ["product_id", 1060501585], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.788855' WHERE "spree_products"."id" = 1060501585 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501585], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.789936' WHERE "spree_products"."id" = 1060501585  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592864, 979461143) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.793634' WHERE "spree_products"."id" = 1060501585 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501585], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.794779' WHERE "spree_products"."id" = 1060501585  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592865, 979461144) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.798382' WHERE "spree_products"."id" = 1060501585 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501585], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.799820' WHERE "spree_products"."id" = 1060501585  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592866, 979461145) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501585]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501585) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592864 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592865 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592866 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501585) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.819935' WHERE "spree_products"."id" = 1060501585  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592864 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.821408' WHERE "spree_products"."id" = 1060501585 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.822681' WHERE "spree_products"."id" = 1060501585  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592865 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.823864' WHERE "spree_products"."id" = 1060501585 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.825540' WHERE "spree_products"."id" = 1060501585  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592866 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.826552' WHERE "spree_products"."id" = 1060501585 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501585) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501585 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:04:07.830687' WHERE "spree_products"."id" = 1060501585 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501585 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.848575' WHERE "spree_products"."id" = 1060501586 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501586], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.850176' WHERE "spree_products"."id" = 1060501586  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592867 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.853131' WHERE "spree_products"."id" = 1060501586  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501586  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835757], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501586, "updated_at" = '2012-10-23 15:04:07.861368' WHERE "spree_product_properties"."id" = 1073274174 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835756], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501586, "updated_at" = '2012-10-23 15:04:07.863934' WHERE "spree_product_properties"."id" = 1073274175 Created New ProductProperty # Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["product_id", nil], ["property_id", 905835758], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501586, "updated_at" = '2012-10-23 15:04:07.868934' WHERE "spree_product_properties"."id" = 1073274176 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501586) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452650 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452650], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501586 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501586, 558400516) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452647 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400510 AND "spree_taxons"."taxonomy_id" = 854452647 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501586, 558400511)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501586, 558400510) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501586) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501586 AND "spree_option_types"."id" = 935339695 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501586) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["option_type_id", 935339695], ["position", 1], ["product_id", 1060501586], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.897238' WHERE "spree_products"."id" = 1060501586 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501586], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.898555' WHERE "spree_products"."id" = 1060501586  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592868, 979461143) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.902393' WHERE "spree_products"."id" = 1060501586 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501586], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.903669' WHERE "spree_products"."id" = 1060501586  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592869, 979461144) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339695 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.906764' WHERE "spree_products"."id" = 1060501586 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501586], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.908933' WHERE "spree_products"."id" = 1060501586  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592870, 979461145) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501586]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501586 AND "spree_option_types"."id" = 935339696 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501586) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["option_type_id", 935339696], ["position", 2], ["product_id", 1060501586], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339696 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339696) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339696], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]]  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.924932' WHERE "spree_products"."id" = 1060501586 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501586], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.926165' WHERE "spree_products"."id" = 1060501586  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592871, 979461146) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339696 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339696) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00], ["name", "colour"], ["option_type_id", 935339696], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:07 UTC +00:00]]  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.959630' WHERE "spree_products"."id" = 1060501586 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501586], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.961488' WHERE "spree_products"."id" = 1060501586  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592872, 979461147) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501586]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501586) LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592868 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592869 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592870 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592871 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592872 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501586) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.983699' WHERE "spree_products"."id" = 1060501586  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592868 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.985156' WHERE "spree_products"."id" = 1060501586 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.986377' WHERE "spree_products"."id" = 1060501586  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592869 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.988841' WHERE "spree_products"."id" = 1060501586 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.990353' WHERE "spree_products"."id" = 1060501586  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592870 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.991155' WHERE "spree_products"."id" = 1060501586 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.992490' WHERE "spree_products"."id" = 1060501586  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592871 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.993663' WHERE "spree_products"."id" = 1060501586 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501586 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.995930' WHERE "spree_products"."id" = 1060501586  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592872 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:07.996841' WHERE "spree_products"."id" = 1060501586 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501586) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501586 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.8ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:04:07.999631' WHERE "spree_products"."id" = 1060501586 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501586 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.8ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (1.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501584 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501584 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501585 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501585 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452647 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400510 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452647 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400514 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400514 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400515 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (7.5ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (29.6ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (6.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501587 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:54.741440' WHERE "spree_products"."id" = 1060501587 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501587], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:54.744847' WHERE "spree_products"."id" = 1060501587  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592873 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:54.747637' WHERE "spree_products"."id" = 1060501587  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501587  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["product_id", nil], ["property_id", 905835759], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501587, "updated_at" = '2012-10-23 15:04:54.779578' WHERE "spree_product_properties"."id" = 1073274177 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501587) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452651 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452651], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501587 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501587, 558400517) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452652 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452652], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501587, 558400518) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501587) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501587 AND "spree_option_types"."id" = 935339697 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501587) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["option_type_id", 935339697], ["position", 1], ["product_id", 1060501587], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339697) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339697], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501587 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:54.993866' WHERE "spree_products"."id" = 1060501587 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501587], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:54.995993' WHERE "spree_products"."id" = 1060501587  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592874, 979461148) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339697) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339697], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501587 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.005263' WHERE "spree_products"."id" = 1060501587 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501587], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.006541' WHERE "spree_products"."id" = 1060501587  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592875, 979461149) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339697) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339697], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501587 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.011807' WHERE "spree_products"."id" = 1060501587 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501587], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.013300' WHERE "spree_products"."id" = 1060501587  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592876, 979461150) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501587]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501587) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592874 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592875 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592876 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501587) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501587 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.097609' WHERE "spree_products"."id" = 1060501587  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592874 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.098993' WHERE "spree_products"."id" = 1060501587 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501587 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.100466' WHERE "spree_products"."id" = 1060501587  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592875 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.101703' WHERE "spree_products"."id" = 1060501587 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501587 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.102902' WHERE "spree_products"."id" = 1060501587  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592876 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.103984' WHERE "spree_products"."id" = 1060501587 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501587) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501587 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:04:55.107579' WHERE "spree_products"."id" = 1060501587 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501587 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501588 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.117277' WHERE "spree_products"."id" = 1060501588 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501588], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.118703' WHERE "spree_products"."id" = 1060501588  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592877 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.120246' WHERE "spree_products"."id" = 1060501588  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501588  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["product_id", nil], ["property_id", 905835760], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501588, "updated_at" = '2012-10-23 15:04:55.127805' WHERE "spree_product_properties"."id" = 1073274178 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501588) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452651 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501588 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501588, 558400517) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452653 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452653], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501588, 558400519) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452651 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400517 AND "spree_taxons"."taxonomy_id" = 854452651 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400517]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400517], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452651], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400517]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400520]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400520 THEN 558400517 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400517]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400520]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400520 AND "spree_taxons"."taxonomy_id" = 854452651 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400520]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400520], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452651], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400520]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400521]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400521 THEN 558400520 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400520]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400521]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501588, 558400520)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501588, 558400521) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501588) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501588 AND "spree_option_types"."id" = 935339697 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501588) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["option_type_id", 935339697], ["position", 1], ["product_id", 1060501588], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501588 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.177436' WHERE "spree_products"."id" = 1060501588 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501588], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.178879' WHERE "spree_products"."id" = 1060501588  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592878, 979461148) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501588 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.182513' WHERE "spree_products"."id" = 1060501588 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501588], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.184071' WHERE "spree_products"."id" = 1060501588  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592879, 979461149) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501588 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.187266' WHERE "spree_products"."id" = 1060501588 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501588], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.188701' WHERE "spree_products"."id" = 1060501588  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592880, 979461150) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501588]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501588) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592878 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592879 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592880 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501588) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501588 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.206076' WHERE "spree_products"."id" = 1060501588  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592878 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.207105' WHERE "spree_products"."id" = 1060501588 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501588 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.208354' WHERE "spree_products"."id" = 1060501588  (1.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592879 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.211117' WHERE "spree_products"."id" = 1060501588 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501588 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.212134' WHERE "spree_products"."id" = 1060501588  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592880 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.213573' WHERE "spree_products"."id" = 1060501588 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501588) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501588 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:04:55.216443' WHERE "spree_products"."id" = 1060501588 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501588 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.225080' WHERE "spree_products"."id" = 1060501589 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501589], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.227652' WHERE "spree_products"."id" = 1060501589  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592881 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.229232' WHERE "spree_products"."id" = 1060501589  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501589  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["product_id", nil], ["property_id", 905835761], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501589, "updated_at" = '2012-10-23 15:04:55.237674' WHERE "spree_product_properties"."id" = 1073274179 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["product_id", nil], ["property_id", 905835760], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501589, "updated_at" = '2012-10-23 15:04:55.241334' WHERE "spree_product_properties"."id" = 1073274180 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["product_id", nil], ["property_id", 905835762], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501589, "updated_at" = '2012-10-23 15:04:55.245268' WHERE "spree_product_properties"."id" = 1073274181 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501589) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452654 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452654], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Taxon Load (1.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501589 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501589, 558400522) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452651 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400517 AND "spree_taxons"."taxonomy_id" = 854452651 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400517]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400517], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452651], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400517]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400523]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400523 THEN 558400517 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400517]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400523]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501589, 558400523)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501589, 558400517) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501589) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501589 AND "spree_option_types"."id" = 935339697 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501589) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["option_type_id", 935339697], ["position", 1], ["product_id", 1060501589], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.287256' WHERE "spree_products"."id" = 1060501589 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501589], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.289064' WHERE "spree_products"."id" = 1060501589  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592882, 979461148) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.292678' WHERE "spree_products"."id" = 1060501589 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501589], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.294078' WHERE "spree_products"."id" = 1060501589  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592883, 979461149) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339697 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.296995' WHERE "spree_products"."id" = 1060501589 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501589], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.298079' WHERE "spree_products"."id" = 1060501589  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592884, 979461150) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501589]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501589 AND "spree_option_types"."id" = 935339698 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501589) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["option_type_id", 935339698], ["position", 2], ["product_id", 1060501589], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339698 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339698) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339698], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.345808' WHERE "spree_products"."id" = 1060501589 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501589], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.349242' WHERE "spree_products"."id" = 1060501589  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592885, 979461151) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339698 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339698) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00], ["name", "colour"], ["option_type_id", 935339698], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:04:55 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.356569' WHERE "spree_products"."id" = 1060501589 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501589], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.358184' WHERE "spree_products"."id" = 1060501589  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592886, 979461152) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501589]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501589) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592882 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592883 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592884 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592885 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592886 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501589) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.381696' WHERE "spree_products"."id" = 1060501589  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592882 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.383048' WHERE "spree_products"."id" = 1060501589 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.384411' WHERE "spree_products"."id" = 1060501589  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592883 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.385483' WHERE "spree_products"."id" = 1060501589 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.387159' WHERE "spree_products"."id" = 1060501589  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592884 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.387939' WHERE "spree_products"."id" = 1060501589 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.389255' WHERE "spree_products"."id" = 1060501589  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592885 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.390729' WHERE "spree_products"."id" = 1060501589 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501589 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.392277' WHERE "spree_products"."id" = 1060501589  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592886 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:04:55.393207' WHERE "spree_products"."id" = 1060501589 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501589) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501589 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:04:55.397491' WHERE "spree_products"."id" = 1060501589 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501589 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (11.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (1.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (8.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501590 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.402984' WHERE "spree_products"."id" = 1060501590 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501590], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.406815' WHERE "spree_products"."id" = 1060501590  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592887 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.410065' WHERE "spree_products"."id" = 1060501590  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501590  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["product_id", nil], ["property_id", 905835763], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501590, "updated_at" = '2012-10-23 15:06:36.464064' WHERE "spree_product_properties"."id" = 1073274182 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501590) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452655 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452655], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501590 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501590, 558400524) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452656 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452656], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501590, 558400525) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501590) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501590 AND "spree_option_types"."id" = 935339699 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501590) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["option_type_id", 935339699], ["position", 1], ["product_id", 1060501590], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339699) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339699], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501590 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.703744' WHERE "spree_products"."id" = 1060501590 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501590], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.706780' WHERE "spree_products"."id" = 1060501590  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592888, 979461153) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339699) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339699], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501590 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.720531' WHERE "spree_products"."id" = 1060501590 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501590], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.723352' WHERE "spree_products"."id" = 1060501590  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592889, 979461154) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339699) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339699], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501590 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.728057' WHERE "spree_products"."id" = 1060501590 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501590], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.729624' WHERE "spree_products"."id" = 1060501590  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592890, 979461155) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501590]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501590) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592888 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592889 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592890 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501590) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501590 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.886771' WHERE "spree_products"."id" = 1060501590  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592888 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.887981' WHERE "spree_products"."id" = 1060501590 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501590 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.889796' WHERE "spree_products"."id" = 1060501590  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592889 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.890776' WHERE "spree_products"."id" = 1060501590 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501590 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.892378' WHERE "spree_products"."id" = 1060501590  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592890 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.893327' WHERE "spree_products"."id" = 1060501590 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501590) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501590 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:06:36.896359' WHERE "spree_products"."id" = 1060501590 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501590 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (2.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501591 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.908805' WHERE "spree_products"."id" = 1060501591 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501591], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.909971' WHERE "spree_products"."id" = 1060501591  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592891 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.911735' WHERE "spree_products"."id" = 1060501591  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501591  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["product_id", nil], ["property_id", 905835764], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501591, "updated_at" = '2012-10-23 15:06:36.921324' WHERE "spree_product_properties"."id" = 1073274183 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501591) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452655 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501591 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501591, 558400524) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (2.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452657 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452657], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501591, 558400526) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452655 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400524 AND "spree_taxons"."taxonomy_id" = 854452655 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400524]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400524], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452655], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400524]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400527]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400527 THEN 558400524 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400524]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400527]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400527 AND "spree_taxons"."taxonomy_id" = 854452655 LIMIT 1  (0.7ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400527]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400527], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452655], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400527]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400528]] SQL (0.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400528 THEN 558400527 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400527]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400528]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501591, 558400527)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501591, 558400528) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501591) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501591 AND "spree_option_types"."id" = 935339699 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501591) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00], ["option_type_id", 935339699], ["position", 1], ["product_id", 1060501591], ["updated_at", Tue, 23 Oct 2012 15:06:36 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501591 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.998050' WHERE "spree_products"."id" = 1060501591 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501591], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:36.999622' WHERE "spree_products"."id" = 1060501591  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592892, 979461153) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501591 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.003648' WHERE "spree_products"."id" = 1060501591 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501591], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.005011' WHERE "spree_products"."id" = 1060501591  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592893, 979461154) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501591 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.007679' WHERE "spree_products"."id" = 1060501591 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501591], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.008934' WHERE "spree_products"."id" = 1060501591  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592894, 979461155) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501591]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501591) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592892 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592893 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592894 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501591) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501591 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.029379' WHERE "spree_products"."id" = 1060501591  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592892 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.030533' WHERE "spree_products"."id" = 1060501591 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501591 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.032109' WHERE "spree_products"."id" = 1060501591  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592893 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.033246' WHERE "spree_products"."id" = 1060501591 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501591 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.035832' WHERE "spree_products"."id" = 1060501591  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592894 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.036565' WHERE "spree_products"."id" = 1060501591 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501591) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501591 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:06:37.038868' WHERE "spree_products"."id" = 1060501591 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501591 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.049029' WHERE "spree_products"."id" = 1060501592 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501592], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.051708' WHERE "spree_products"."id" = 1060501592  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592895 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.053336' WHERE "spree_products"."id" = 1060501592  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501592  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["product_id", nil], ["property_id", 905835765], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501592, "updated_at" = '2012-10-23 15:06:37.061048' WHERE "spree_product_properties"."id" = 1073274184 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["product_id", nil], ["property_id", 905835764], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501592, "updated_at" = '2012-10-23 15:06:37.064048' WHERE "spree_product_properties"."id" = 1073274185 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["product_id", nil], ["property_id", 905835766], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["value", nil]]  (13.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501592, "updated_at" = '2012-10-23 15:06:37.069793' WHERE "spree_product_properties"."id" = 1073274186 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501592) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452658 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452658], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501592 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501592, 558400529) Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452655 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400524 AND "spree_taxons"."taxonomy_id" = 854452655 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400524]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400524], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452655], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400524]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400530]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400530 THEN 558400524 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400524]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400530]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501592, 558400530)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501592, 558400524) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501592) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501592 AND "spree_option_types"."id" = 935339699 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501592) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["option_type_id", 935339699], ["position", 1], ["product_id", 1060501592], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.113940' WHERE "spree_products"."id" = 1060501592 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501592], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.115621' WHERE "spree_products"."id" = 1060501592  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592896, 979461153) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.119791' WHERE "spree_products"."id" = 1060501592 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501592], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.121553' WHERE "spree_products"."id" = 1060501592  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592897, 979461154) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339699 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.124756' WHERE "spree_products"."id" = 1060501592 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501592], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.126036' WHERE "spree_products"."id" = 1060501592  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592898, 979461155) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501592]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501592 AND "spree_option_types"."id" = 935339700 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501592) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["option_type_id", 935339700], ["position", 2], ["product_id", 1060501592], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339700 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339700) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339700], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.141820' WHERE "spree_products"."id" = 1060501592 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501592], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.143289' WHERE "spree_products"."id" = 1060501592  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592899, 979461156) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339700 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339700) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00], ["name", "colour"], ["option_type_id", 935339700], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:06:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.149656' WHERE "spree_products"."id" = 1060501592 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501592], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.174510' WHERE "spree_products"."id" = 1060501592  (0.6ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592900, 979461157) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501592]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501592) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592896 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592897 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592898 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592899 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592900 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501592) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.213261' WHERE "spree_products"."id" = 1060501592  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592896 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.214317' WHERE "spree_products"."id" = 1060501592 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.215924' WHERE "spree_products"."id" = 1060501592  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592897 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.218520' WHERE "spree_products"."id" = 1060501592 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.220635' WHERE "spree_products"."id" = 1060501592  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592898 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.221959' WHERE "spree_products"."id" = 1060501592 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.223697' WHERE "spree_products"."id" = 1060501592  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592899 SQL (1.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.224798' WHERE "spree_products"."id" = 1060501592 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501592 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.227627' WHERE "spree_products"."id" = 1060501592  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592900 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:06:37.228547' WHERE "spree_products"."id" = 1060501592 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501592) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501592 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:06:37.235043' WHERE "spree_products"."id" = 1060501592 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501592 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (84.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (8.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (3.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.6ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (10.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501593 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.548978' WHERE "spree_products"."id" = 1060501593 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501593], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.551577' WHERE "spree_products"."id" = 1060501593  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592901 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.554420' WHERE "spree_products"."id" = 1060501593  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501593  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["product_id", nil], ["property_id", 905835767], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501593, "updated_at" = '2012-10-23 15:07:46.584703' WHERE "spree_product_properties"."id" = 1073274187 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501593) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452659 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452659], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501593 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501593, 558400531) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452660 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452660], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501593, 558400532) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501593) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501593 AND "spree_option_types"."id" = 935339701 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501593) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["option_type_id", 935339701], ["position", 1], ["product_id", 1060501593], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::OptionValue Load (0.9ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339701) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339701], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501593 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.863891' WHERE "spree_products"."id" = 1060501593 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501593], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.865438' WHERE "spree_products"."id" = 1060501593  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592902, 979461158) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339701) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339701], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501593 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.875546' WHERE "spree_products"."id" = 1060501593 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501593], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.877230' WHERE "spree_products"."id" = 1060501593  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592903, 979461159) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339701) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339701], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501593 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.883702' WHERE "spree_products"."id" = 1060501593 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501593], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.885126' WHERE "spree_products"."id" = 1060501593  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592904, 979461160) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501593]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501593) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592902 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592903 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592904 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501593) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501593 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.981227' WHERE "spree_products"."id" = 1060501593  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592902 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.982663' WHERE "spree_products"."id" = 1060501593 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501593 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.983915' WHERE "spree_products"."id" = 1060501593  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592903 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.985632' WHERE "spree_products"."id" = 1060501593 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501593 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.986767' WHERE "spree_products"."id" = 1060501593  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592904 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.987740' WHERE "spree_products"."id" = 1060501593 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501593) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501593 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:07:46.990608' WHERE "spree_products"."id" = 1060501593 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501593 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:07:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501594 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:46.999018' WHERE "spree_products"."id" = 1060501594 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501594], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.000449' WHERE "spree_products"."id" = 1060501594  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592905 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.002098' WHERE "spree_products"."id" = 1060501594  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501594  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["product_id", nil], ["property_id", 905835768], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501594, "updated_at" = '2012-10-23 15:07:47.009087' WHERE "spree_product_properties"."id" = 1073274188 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501594) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452659 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501594 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501594, 558400531) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452661 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452661], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501594, 558400533) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452659 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400531 AND "spree_taxons"."taxonomy_id" = 854452659 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400531]] SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400531], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452659], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400531]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400534]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400534 THEN 558400531 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400531]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400534]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400534 AND "spree_taxons"."taxonomy_id" = 854452659 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400534]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400534], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452659], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400534]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400535]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400535 THEN 558400534 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400534]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400535]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501594, 558400534)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501594, 558400535) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501594) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501594 AND "spree_option_types"."id" = 935339701 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501594) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["option_type_id", 935339701], ["position", 1], ["product_id", 1060501594], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501594 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.051810' WHERE "spree_products"."id" = 1060501594 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501594], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.053225' WHERE "spree_products"."id" = 1060501594  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592906, 979461158) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501594 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.059145' WHERE "spree_products"."id" = 1060501594 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501594], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.060469' WHERE "spree_products"."id" = 1060501594  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592907, 979461159) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501594 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.066225' WHERE "spree_products"."id" = 1060501594 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501594], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.083037' WHERE "spree_products"."id" = 1060501594  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592908, 979461160) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501594]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501594) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592906 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592907 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592908 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501594) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501594 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.104180' WHERE "spree_products"."id" = 1060501594  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592906 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.105648' WHERE "spree_products"."id" = 1060501594 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501594 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.106886' WHERE "spree_products"."id" = 1060501594  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592907 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.108224' WHERE "spree_products"."id" = 1060501594 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501594 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.110224' WHERE "spree_products"."id" = 1060501594  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592908 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.111206' WHERE "spree_products"."id" = 1060501594 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501594) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501594 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:07:47.114409' WHERE "spree_products"."id" = 1060501594 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501594 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.126788' WHERE "spree_products"."id" = 1060501595 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501595], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.128158' WHERE "spree_products"."id" = 1060501595  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592909 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.129564' WHERE "spree_products"."id" = 1060501595  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501595  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["product_id", nil], ["property_id", 905835769], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501595, "updated_at" = '2012-10-23 15:07:47.138165' WHERE "spree_product_properties"."id" = 1073274189 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["product_id", nil], ["property_id", 905835768], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501595, "updated_at" = '2012-10-23 15:07:47.143223' WHERE "spree_product_properties"."id" = 1073274190 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["product_id", nil], ["property_id", 905835770], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060501595, "updated_at" = '2012-10-23 15:07:47.147064' WHERE "spree_product_properties"."id" = 1073274191 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501595) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452662 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452662], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501595 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501595, 558400536) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452659 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400531 AND "spree_taxons"."taxonomy_id" = 854452659 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400531]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400531], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452659], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400531]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400537]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400537 THEN 558400531 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400531]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400537]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501595, 558400537)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501595, 558400531) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501595) LIMIT 1 Spree::OptionType Load (10.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501595 AND "spree_option_types"."id" = 935339701 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501595) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["option_type_id", 935339701], ["position", 1], ["product_id", 1060501595], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.202751' WHERE "spree_products"."id" = 1060501595 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501595], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.204531' WHERE "spree_products"."id" = 1060501595  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592910, 979461158) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.208700' WHERE "spree_products"."id" = 1060501595 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501595], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.210221' WHERE "spree_products"."id" = 1060501595  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592911, 979461159) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339701 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.214730' WHERE "spree_products"."id" = 1060501595 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501595], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.216419' WHERE "spree_products"."id" = 1060501595  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592912, 979461160) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501595]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501595 AND "spree_option_types"."id" = 935339702 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501595) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["option_type_id", 935339702], ["position", 2], ["product_id", 1060501595], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339702 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339702) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339702], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]]  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.234774' WHERE "spree_products"."id" = 1060501595 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501595], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.238881' WHERE "spree_products"."id" = 1060501595  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592913, 979461161) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339702 LIMIT 1 Spree::OptionValue Load (21.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339702) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00], ["name", "colour"], ["option_type_id", 935339702], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:07:47 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.266958' WHERE "spree_products"."id" = 1060501595 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501595], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.268169' WHERE "spree_products"."id" = 1060501595  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592914, 979461162) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501595]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501595) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592910 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592911 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592912 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592913 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592914 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501595) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.287329' WHERE "spree_products"."id" = 1060501595  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592910 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.288523' WHERE "spree_products"."id" = 1060501595 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.289957' WHERE "spree_products"."id" = 1060501595  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592911 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.291219' WHERE "spree_products"."id" = 1060501595 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.292541' WHERE "spree_products"."id" = 1060501595  (0.8ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592912 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.307947' WHERE "spree_products"."id" = 1060501595 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.309423' WHERE "spree_products"."id" = 1060501595  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592913 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.310696' WHERE "spree_products"."id" = 1060501595 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501595 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.312146' WHERE "spree_products"."id" = 1060501595  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592914 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:07:47.313218' WHERE "spree_products"."id" = 1060501595 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501595) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501595 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:07:47.318207' WHERE "spree_products"."id" = 1060501595 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501595 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (8.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.6ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (10.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501596 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.554050' WHERE "spree_products"."id" = 1060501596 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501596], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.559050' WHERE "spree_products"."id" = 1060501596  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592915 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.561841' WHERE "spree_products"."id" = 1060501596  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501596  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["product_id", nil], ["property_id", 905835771], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501596, "updated_at" = '2012-10-23 15:09:10.603834' WHERE "spree_product_properties"."id" = 1073274192 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501596) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452663 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452663], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501596 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501596, 558400538) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452664 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452664], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501596, 558400539) Current value to assign : Spree::Product Exists (1.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501596) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501596 AND "spree_option_types"."id" = 935339703 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501596) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["option_type_id", 935339703], ["position", 1], ["product_id", 1060501596], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339703) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339703], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501596 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.893750' WHERE "spree_products"."id" = 1060501596 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501596], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.895230' WHERE "spree_products"."id" = 1060501596  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592916, 979461163) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339703) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339703], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501596 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.905467' WHERE "spree_products"."id" = 1060501596 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501596], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.907041' WHERE "spree_products"."id" = 1060501596  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592917, 979461164) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339703) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339703], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:09:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501596 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.923870' WHERE "spree_products"."id" = 1060501596 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501596], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:10.925747' WHERE "spree_products"."id" = 1060501596  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592918, 979461165) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501596]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501596) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592916 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592917 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592918 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501596) LIMIT 1  (0.7ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501596 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.036784' WHERE "spree_products"."id" = 1060501596  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592916 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.038461' WHERE "spree_products"."id" = 1060501596 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501596 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.040221' WHERE "spree_products"."id" = 1060501596  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592917 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.041309' WHERE "spree_products"."id" = 1060501596 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501596 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.042577' WHERE "spree_products"."id" = 1060501596  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592918 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.043964' WHERE "spree_products"."id" = 1060501596 Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501596) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501596 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:09:11.053661' WHERE "spree_products"."id" = 1060501596 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501596 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501597 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.064250' WHERE "spree_products"."id" = 1060501597 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501597], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.065671' WHERE "spree_products"."id" = 1060501597  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592919 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.067849' WHERE "spree_products"."id" = 1060501597  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501597  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["product_id", nil], ["property_id", 905835772], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501597, "updated_at" = '2012-10-23 15:09:11.075961' WHERE "spree_product_properties"."id" = 1073274193 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501597) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452663 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501597 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501597, 558400538) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452665 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452665], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501597, 558400540) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452663 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400538 AND "spree_taxons"."taxonomy_id" = 854452663 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400538]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400538], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452663], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400538]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400541]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400541 THEN 558400538 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400538]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400541]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400541 AND "spree_taxons"."taxonomy_id" = 854452663 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400541]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400541], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452663], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400541]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400542]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400542 THEN 558400541 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400541]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400542]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501597, 558400541)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501597, 558400542) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501597) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501597 AND "spree_option_types"."id" = 935339703 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501597) ORDER BY position DESC LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["option_type_id", 935339703], ["position", 1], ["product_id", 1060501597], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501597 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.126600' WHERE "spree_products"."id" = 1060501597 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501597], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.128258' WHERE "spree_products"."id" = 1060501597  (1.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592920, 979461163) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501597 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.132247' WHERE "spree_products"."id" = 1060501597 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501597], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.133743' WHERE "spree_products"."id" = 1060501597  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592921, 979461164) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501597 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.136507' WHERE "spree_products"."id" = 1060501597 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501597], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.139482' WHERE "spree_products"."id" = 1060501597  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592922, 979461165) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501597]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501597) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592920 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592921 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592922 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501597) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501597 LIMIT 1 SQL (3.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.159888' WHERE "spree_products"."id" = 1060501597  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592920 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.164002' WHERE "spree_products"."id" = 1060501597 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501597 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.165358' WHERE "spree_products"."id" = 1060501597  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592921 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.166651' WHERE "spree_products"."id" = 1060501597 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501597 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.167832' WHERE "spree_products"."id" = 1060501597  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592922 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.169230' WHERE "spree_products"."id" = 1060501597 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501597) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501597 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:09:11.173310' WHERE "spree_products"."id" = 1060501597 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501597 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (2.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.189423' WHERE "spree_products"."id" = 1060501598 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501598], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.190738' WHERE "spree_products"."id" = 1060501598  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592923 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.192706' WHERE "spree_products"."id" = 1060501598  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501598  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["product_id", nil], ["property_id", 905835773], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501598, "updated_at" = '2012-10-23 15:09:11.201985' WHERE "spree_product_properties"."id" = 1073274194 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["product_id", nil], ["property_id", 905835772], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501598, "updated_at" = '2012-10-23 15:09:11.207910' WHERE "spree_product_properties"."id" = 1073274195 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["product_id", nil], ["property_id", 905835774], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501598, "updated_at" = '2012-10-23 15:09:11.213894' WHERE "spree_product_properties"."id" = 1073274196 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501598) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (2.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452666 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452666], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501598 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501598, 558400543) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452663 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400538 AND "spree_taxons"."taxonomy_id" = 854452663 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400538]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400538], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452663], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400538]] Spree::Taxon Load (0.7ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400544]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400544 THEN 558400538 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400538]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400544]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501598, 558400544)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501598, 558400538) Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501598) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501598 AND "spree_option_types"."id" = 935339703 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501598) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["option_type_id", 935339703], ["position", 1], ["product_id", 1060501598], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.257361' WHERE "spree_products"."id" = 1060501598 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501598], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.259730' WHERE "spree_products"."id" = 1060501598  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592924, 979461163) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.263933' WHERE "spree_products"."id" = 1060501598 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501598], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.265405' WHERE "spree_products"."id" = 1060501598  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592925, 979461164) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339703 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.268730' WHERE "spree_products"."id" = 1060501598 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501598], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.270510' WHERE "spree_products"."id" = 1060501598  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592926, 979461165) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501598]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501598 AND "spree_option_types"."id" = 935339704 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501598) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["option_type_id", 935339704], ["position", 2], ["product_id", 1060501598], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339704 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339704) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339704], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.287900' WHERE "spree_products"."id" = 1060501598 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501598], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.290693' WHERE "spree_products"."id" = 1060501598  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592927, 979461166) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339704 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339704) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00], ["name", "colour"], ["option_type_id", 935339704], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:09:11 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.326529' WHERE "spree_products"."id" = 1060501598 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501598], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.328030' WHERE "spree_products"."id" = 1060501598  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592928, 979461167) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501598]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501598) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592924 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592925 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592926 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592927 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592928 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501598) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (2.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.352782' WHERE "spree_products"."id" = 1060501598  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592924 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.354213' WHERE "spree_products"."id" = 1060501598 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.355705' WHERE "spree_products"."id" = 1060501598  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592925 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.356682' WHERE "spree_products"."id" = 1060501598 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.357817' WHERE "spree_products"."id" = 1060501598  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592926 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.358682' WHERE "spree_products"."id" = 1060501598 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.359970' WHERE "spree_products"."id" = 1060501598  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592927 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.362458' WHERE "spree_products"."id" = 1060501598 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501598 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.363495' WHERE "spree_products"."id" = 1060501598  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592928 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:09:11.365101' WHERE "spree_products"."id" = 1060501598 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501598) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501598 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:09:11.368688' WHERE "spree_products"."id" = 1060501598 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501598 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (39.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (5.8ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (9.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501599 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.637566' WHERE "spree_products"."id" = 1060501599 SQL (1.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501599], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.641291' WHERE "spree_products"."id" = 1060501599  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592929 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.643444' WHERE "spree_products"."id" = 1060501599  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501599  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["product_id", nil], ["property_id", 905835775], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 1060501599, "updated_at" = '2012-10-23 15:10:32.673911' WHERE "spree_product_properties"."id" = 1073274197 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501599) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452667 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452667], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501599 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501599, 558400545) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452668 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452668], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501599, 558400546) Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501599) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::OptionType Exists (25.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501599 AND "spree_option_types"."id" = 935339705 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501599) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["option_type_id", 935339705], ["position", 1], ["product_id", 1060501599], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339705) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339705], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501599 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.876136' WHERE "spree_products"."id" = 1060501599 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501599], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.877644' WHERE "spree_products"."id" = 1060501599  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592930, 979461168) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339705) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339705], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501599 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.886504' WHERE "spree_products"."id" = 1060501599 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501599], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.888176' WHERE "spree_products"."id" = 1060501599  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592931, 979461169) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339705) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339705], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:10:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501599 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.893627' WHERE "spree_products"."id" = 1060501599 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501599], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.895127' WHERE "spree_products"."id" = 1060501599  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592932, 979461170) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501599]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501599) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592930 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592931 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592932 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501599) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501599 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.983977' WHERE "spree_products"."id" = 1060501599  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592930 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.985130' WHERE "spree_products"."id" = 1060501599 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501599 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.986668' WHERE "spree_products"."id" = 1060501599  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592931 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.987872' WHERE "spree_products"."id" = 1060501599 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501599 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.988967' WHERE "spree_products"."id" = 1060501599  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592932 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:32.990422' WHERE "spree_products"."id" = 1060501599 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501599) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501599 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:10:32.993903' WHERE "spree_products"."id" = 1060501599 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501599 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501600 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.004133' WHERE "spree_products"."id" = 1060501600 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501600], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.005612' WHERE "spree_products"."id" = 1060501600  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592933 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.007217' WHERE "spree_products"."id" = 1060501600  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501600  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["product_id", nil], ["property_id", 905835776], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501600, "updated_at" = '2012-10-23 15:10:33.014711' WHERE "spree_product_properties"."id" = 1073274198 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501600) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452667 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501600 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501600, 558400545) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452669 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452669], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501600, 558400547) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452667 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400545 AND "spree_taxons"."taxonomy_id" = 854452667 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400545]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400545], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452667], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400545]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400548]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400548 THEN 558400545 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400545]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400548]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400548 AND "spree_taxons"."taxonomy_id" = 854452667 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400548]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400548], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452667], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400548]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400549]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400549 THEN 558400548 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (4.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400548]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400549]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501600, 558400548)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501600, 558400549) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501600) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501600 AND "spree_option_types"."id" = 935339705 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501600) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["option_type_id", 935339705], ["position", 1], ["product_id", 1060501600], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501600 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.064875' WHERE "spree_products"."id" = 1060501600 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501600], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.066314' WHERE "spree_products"."id" = 1060501600  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592934, 979461168) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501600 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.069811' WHERE "spree_products"."id" = 1060501600 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501600], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.071203' WHERE "spree_products"."id" = 1060501600  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592935, 979461169) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501600 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.074153' WHERE "spree_products"."id" = 1060501600 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501600], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.075702' WHERE "spree_products"."id" = 1060501600  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592936, 979461170) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501600]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501600) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592934 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592935 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592936 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501600) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501600 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.094566' WHERE "spree_products"."id" = 1060501600  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592934 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.095901' WHERE "spree_products"."id" = 1060501600 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501600 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.097613' WHERE "spree_products"."id" = 1060501600  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592935 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.098645' WHERE "spree_products"."id" = 1060501600 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501600 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.099900' WHERE "spree_products"."id" = 1060501600  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592936 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.101299' WHERE "spree_products"."id" = 1060501600 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501600) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501600 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:10:33.103900' WHERE "spree_products"."id" = 1060501600 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501600 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.114569' WHERE "spree_products"."id" = 1060501601 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501601], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.116241' WHERE "spree_products"."id" = 1060501601  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592937 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.117779' WHERE "spree_products"."id" = 1060501601  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501601  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["product_id", nil], ["property_id", 905835777], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501601, "updated_at" = '2012-10-23 15:10:33.124900' WHERE "spree_product_properties"."id" = 1073274199 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["product_id", nil], ["property_id", 905835776], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501601, "updated_at" = '2012-10-23 15:10:33.128422' WHERE "spree_product_properties"."id" = 1073274200 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["product_id", nil], ["property_id", 905835778], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501601, "updated_at" = '2012-10-23 15:10:33.132856' WHERE "spree_product_properties"."id" = 1073274201 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501601) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452670 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452670], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501601 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501601, 558400550) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452667 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400545 AND "spree_taxons"."taxonomy_id" = 854452667 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400545]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400545], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452667], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400545]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400551]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400551 THEN 558400545 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400545]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400551]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501601, 558400551)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501601, 558400545) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501601) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501601 AND "spree_option_types"."id" = 935339705 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501601) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["option_type_id", 935339705], ["position", 1], ["product_id", 1060501601], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.167844' WHERE "spree_products"."id" = 1060501601 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501601], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.169689' WHERE "spree_products"."id" = 1060501601  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592938, 979461168) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.172839' WHERE "spree_products"."id" = 1060501601 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501601], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.174286' WHERE "spree_products"."id" = 1060501601  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592939, 979461169) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339705 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.177574' WHERE "spree_products"."id" = 1060501601 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501601], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.178898' WHERE "spree_products"."id" = 1060501601  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592940, 979461170) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501601]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501601 AND "spree_option_types"."id" = 935339706 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501601) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["option_type_id", 935339706], ["position", 2], ["product_id", 1060501601], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339706 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339706) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339706], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]]  (1.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.195780' WHERE "spree_products"."id" = 1060501601 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501601], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.197160' WHERE "spree_products"."id" = 1060501601  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592941, 979461171) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339706 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339706) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00], ["name", "colour"], ["option_type_id", 935339706], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:10:33 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.226034' WHERE "spree_products"."id" = 1060501601 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501601], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.228655' WHERE "spree_products"."id" = 1060501601  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592942, 979461172) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501601]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501601) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592938 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592939 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592940 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592941 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592942 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501601) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.250809' WHERE "spree_products"."id" = 1060501601  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592938 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.251896' WHERE "spree_products"."id" = 1060501601 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.253506' WHERE "spree_products"."id" = 1060501601  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592939 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.254676' WHERE "spree_products"."id" = 1060501601 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.255985' WHERE "spree_products"."id" = 1060501601  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592940 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.257026' WHERE "spree_products"."id" = 1060501601 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.259007' WHERE "spree_products"."id" = 1060501601  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592941 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.260344' WHERE "spree_products"."id" = 1060501601 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501601 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.261727' WHERE "spree_products"."id" = 1060501601  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592942 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:10:33.262937' WHERE "spree_products"."id" = 1060501601 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501601) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501601 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:10:33.266158' WHERE "spree_products"."id" = 1060501601 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501601 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (11.9ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (8.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501602 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.241696' WHERE "spree_products"."id" = 1060501602 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501602], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.245026' WHERE "spree_products"."id" = 1060501602  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592943 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.247838' WHERE "spree_products"."id" = 1060501602  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501602  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["product_id", nil], ["property_id", 905835779], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501602, "updated_at" = '2012-10-23 15:13:40.282824' WHERE "spree_product_properties"."id" = 1073274202 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501602) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452671 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452671], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501602 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501602, 558400552) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452672 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452672], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501602, 558400553) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501602) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501602 AND "spree_option_types"."id" = 935339707 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501602) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["option_type_id", 935339707], ["position", 1], ["product_id", 1060501602], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339707) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339707], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501602 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.484332' WHERE "spree_products"."id" = 1060501602 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501602], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.485953' WHERE "spree_products"."id" = 1060501602  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592944, 979461173) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339707) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339707], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501602 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.497376' WHERE "spree_products"."id" = 1060501602 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501602], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.498851' WHERE "spree_products"."id" = 1060501602  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592945, 979461174) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339707) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339707], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501602 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.505019' WHERE "spree_products"."id" = 1060501602 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501602], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.506675' WHERE "spree_products"."id" = 1060501602  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592946, 979461175) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501602]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501602) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592944 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592945 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592946 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501602) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501602 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.589964' WHERE "spree_products"."id" = 1060501602  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592944 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.591529' WHERE "spree_products"."id" = 1060501602 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501602 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.592649' WHERE "spree_products"."id" = 1060501602  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592945 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.593561' WHERE "spree_products"."id" = 1060501602 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501602 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.594902' WHERE "spree_products"."id" = 1060501602  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592946 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.596007' WHERE "spree_products"."id" = 1060501602 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501602) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501602 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:13:40.598593' WHERE "spree_products"."id" = 1060501602 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501602 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501603 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.607361' WHERE "spree_products"."id" = 1060501603 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501603], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.609944' WHERE "spree_products"."id" = 1060501603  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592947 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.610929' WHERE "spree_products"."id" = 1060501603  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501603  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["product_id", nil], ["property_id", 905835780], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501603, "updated_at" = '2012-10-23 15:13:40.618723' WHERE "spree_product_properties"."id" = 1073274203 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501603) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452671 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501603 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501603, 558400552) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452673 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452673], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501603, 558400554) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452671 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400552 AND "spree_taxons"."taxonomy_id" = 854452671 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400552]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400552], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452671], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400552]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400555]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400555 THEN 558400552 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.6ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400552]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400555]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400555 AND "spree_taxons"."taxonomy_id" = 854452671 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400555]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400555], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452671], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400555]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400556]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400556 THEN 558400555 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400555]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400556]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501603, 558400555)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501603, 558400556) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501603) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501603 AND "spree_option_types"."id" = 935339707 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501603) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["option_type_id", 935339707], ["position", 1], ["product_id", 1060501603], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501603 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.662457' WHERE "spree_products"."id" = 1060501603 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501603], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.663783' WHERE "spree_products"."id" = 1060501603  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592948, 979461173) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501603 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.666846' WHERE "spree_products"."id" = 1060501603 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501603], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.668252' WHERE "spree_products"."id" = 1060501603  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592949, 979461174) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501603 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.671148' WHERE "spree_products"."id" = 1060501603 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501603], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.672662' WHERE "spree_products"."id" = 1060501603  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592950, 979461175) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501603]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501603) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (3.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592948 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592949 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592950 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501603) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501603 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.695138' WHERE "spree_products"."id" = 1060501603  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592948 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.696875' WHERE "spree_products"."id" = 1060501603 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501603 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.698429' WHERE "spree_products"."id" = 1060501603  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592949 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.699205' WHERE "spree_products"."id" = 1060501603 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501603 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.700336' WHERE "spree_products"."id" = 1060501603  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592950 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.701573' WHERE "spree_products"."id" = 1060501603 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501603) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501603 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:13:40.704246' WHERE "spree_products"."id" = 1060501603 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501603 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.718387' WHERE "spree_products"."id" = 1060501604 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501604], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.719860' WHERE "spree_products"."id" = 1060501604  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592951 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.721193' WHERE "spree_products"."id" = 1060501604  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501604  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["product_id", nil], ["property_id", 905835781], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501604, "updated_at" = '2012-10-23 15:13:40.728475' WHERE "spree_product_properties"."id" = 1073274204 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["product_id", nil], ["property_id", 905835780], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["value", "Example free value"]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501604, "updated_at" = '2012-10-23 15:13:40.731522' WHERE "spree_product_properties"."id" = 1073274205 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["product_id", nil], ["property_id", 905835782], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501604, "updated_at" = '2012-10-23 15:13:40.736013' WHERE "spree_product_properties"."id" = 1073274206 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501604) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452674 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452674], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501604 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501604, 558400557) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452671 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400552 AND "spree_taxons"."taxonomy_id" = 854452671 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400552]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400552], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452671], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400552]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400558]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400558 THEN 558400552 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400552]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400558]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501604, 558400558)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501604, 558400552) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501604) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501604 AND "spree_option_types"."id" = 935339707 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501604) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["option_type_id", 935339707], ["position", 1], ["product_id", 1060501604], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.769321' WHERE "spree_products"."id" = 1060501604 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501604], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.770564' WHERE "spree_products"."id" = 1060501604  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592952, 979461173) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.773531' WHERE "spree_products"."id" = 1060501604 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501604], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.774569' WHERE "spree_products"."id" = 1060501604  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592953, 979461174) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339707 LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.777831' WHERE "spree_products"."id" = 1060501604 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501604], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.779104' WHERE "spree_products"."id" = 1060501604  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592954, 979461175) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501604]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501604 AND "spree_option_types"."id" = 935339708 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501604) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["option_type_id", 935339708], ["position", 2], ["product_id", 1060501604], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]] Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339708 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339708) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339708], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.799822' WHERE "spree_products"."id" = 1060501604 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501604], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.801621' WHERE "spree_products"."id" = 1060501604  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592955, 979461176) Spree::OptionValue Load (23.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339708 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339708) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339708], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:13:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.832083' WHERE "spree_products"."id" = 1060501604 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501604], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.833357' WHERE "spree_products"."id" = 1060501604  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592956, 979461177) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501604]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501604) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592952 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592953 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592954 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592955 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592956 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501604) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.852655' WHERE "spree_products"."id" = 1060501604  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592952 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.853908' WHERE "spree_products"."id" = 1060501604 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.855173' WHERE "spree_products"."id" = 1060501604  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592953 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.856139' WHERE "spree_products"."id" = 1060501604 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.857287' WHERE "spree_products"."id" = 1060501604  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592954 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.858418' WHERE "spree_products"."id" = 1060501604 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.859458' WHERE "spree_products"."id" = 1060501604  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592955 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.860559' WHERE "spree_products"."id" = 1060501604 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501604 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.861609' WHERE "spree_products"."id" = 1060501604  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592956 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:13:40.862636' WHERE "spree_products"."id" = 1060501604 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501604) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501604 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:13:40.865586' WHERE "spree_products"."id" = 1060501604 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501604 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (7.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (8.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501605 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.719779' WHERE "spree_products"."id" = 1060501605 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501605], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.722853' WHERE "spree_products"."id" = 1060501605  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592957 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.725326' WHERE "spree_products"."id" = 1060501605  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501605  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["product_id", nil], ["property_id", 905835783], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501605, "updated_at" = '2012-10-23 15:16:40.757170' WHERE "spree_product_properties"."id" = 1073274207 Created New ProductProperty # Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501605) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452675 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452675], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501605 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501605, 558400559) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452676 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452676], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501605, 558400560) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501605) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::OptionType Exists (23.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501605 AND "spree_option_types"."id" = 935339709 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501605) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["option_type_id", 935339709], ["position", 1], ["product_id", 1060501605], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339709) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339709], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.952172' WHERE "spree_products"."id" = 1060501605 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501605], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.953723' WHERE "spree_products"."id" = 1060501605  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592958, 979461178) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339709) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339709], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.963705' WHERE "spree_products"."id" = 1060501605 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501605], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.965770' WHERE "spree_products"."id" = 1060501605  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592959, 979461179) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339709) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339709], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:16:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.970921' WHERE "spree_products"."id" = 1060501605 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501605], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:40.972319' WHERE "spree_products"."id" = 1060501605  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592960, 979461180) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501605]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501605) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592958 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592959 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592960 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501605) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.056756' WHERE "spree_products"."id" = 1060501605  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592958 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.057915' WHERE "spree_products"."id" = 1060501605 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.059099' WHERE "spree_products"."id" = 1060501605  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592959 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.060004' WHERE "spree_products"."id" = 1060501605 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501605 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.061582' WHERE "spree_products"."id" = 1060501605  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592960 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.062512' WHERE "spree_products"."id" = 1060501605 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501605) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501605 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:16:41.065269' WHERE "spree_products"."id" = 1060501605 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501605 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501606 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.074314' WHERE "spree_products"."id" = 1060501606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501606], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.075790' WHERE "spree_products"."id" = 1060501606  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592961 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.077317' WHERE "spree_products"."id" = 1060501606  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501606  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 905835784], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501606, "updated_at" = '2012-10-23 15:16:41.083659' WHERE "spree_product_properties"."id" = 1073274208 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501606) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452675 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501606 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501606, 558400559) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452677 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452677], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501606, 558400561) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452675 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400559 AND "spree_taxons"."taxonomy_id" = 854452675 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400559]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400559], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452675], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400559]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400562]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400562 THEN 558400559 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400559]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400562]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400562 AND "spree_taxons"."taxonomy_id" = 854452675 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400562]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400562], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452675], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400562]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400563]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400563 THEN 558400562 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400562]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400563]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501606, 558400562)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501606, 558400563) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501606) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501606 AND "spree_option_types"."id" = 935339709 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501606) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["option_type_id", 935339709], ["position", 1], ["product_id", 1060501606], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.126897' WHERE "spree_products"."id" = 1060501606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501606], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.128315' WHERE "spree_products"."id" = 1060501606  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592962, 979461178) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501606 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.131167' WHERE "spree_products"."id" = 1060501606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501606], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.132660' WHERE "spree_products"."id" = 1060501606  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592963, 979461179) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.135030' WHERE "spree_products"."id" = 1060501606 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501606], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.136300' WHERE "spree_products"."id" = 1060501606  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592964, 979461180) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501606]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501606) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592962 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592963 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592964 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501606) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501606 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.153079' WHERE "spree_products"."id" = 1060501606  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592962 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.154509' WHERE "spree_products"."id" = 1060501606 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.155742' WHERE "spree_products"."id" = 1060501606  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592963 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.156722' WHERE "spree_products"."id" = 1060501606 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501606 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.158074' WHERE "spree_products"."id" = 1060501606  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592964 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.159154' WHERE "spree_products"."id" = 1060501606 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501606) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501606 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:16:41.161968' WHERE "spree_products"."id" = 1060501606 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501606 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.171615' WHERE "spree_products"."id" = 1060501607 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501607], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.173585' WHERE "spree_products"."id" = 1060501607  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592965 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.175295' WHERE "spree_products"."id" = 1060501607  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501607  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Created New Property # SQL (0.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 905835785], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501607, "updated_at" = '2012-10-23 15:16:41.182739' WHERE "spree_product_properties"."id" = 1073274209 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 905835784], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501607, "updated_at" = '2012-10-23 15:16:41.186112' WHERE "spree_product_properties"."id" = 1073274210 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["product_id", nil], ["property_id", 905835786], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501607, "updated_at" = '2012-10-23 15:16:41.190346' WHERE "spree_product_properties"."id" = 1073274211 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501607) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452678 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452678], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501607 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501607, 558400564) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452675 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400559 AND "spree_taxons"."taxonomy_id" = 854452675 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400559]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400559], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452675], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400559]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400565]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400565 THEN 558400559 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400559]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400565]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501607, 558400565)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501607, 558400559) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501607) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501607 AND "spree_option_types"."id" = 935339709 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["option_type_id", 935339709], ["position", 1], ["product_id", 1060501607], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.221759' WHERE "spree_products"."id" = 1060501607 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501607], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.223097' WHERE "spree_products"."id" = 1060501607  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592966, 979461178) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.225783' WHERE "spree_products"."id" = 1060501607 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501607], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.227112' WHERE "spree_products"."id" = 1060501607  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592967, 979461179) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339709 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.229993' WHERE "spree_products"."id" = 1060501607 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501607], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.231238' WHERE "spree_products"."id" = 1060501607  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592968, 979461180) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501607]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501607 AND "spree_option_types"."id" = 935339710 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501607) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["option_type_id", 935339710], ["position", 2], ["product_id", 1060501607], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339710 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339710) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339710], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.245682' WHERE "spree_products"."id" = 1060501607 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501607], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.247120' WHERE "spree_products"."id" = 1060501607  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592969, 979461181) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339710 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339710) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00], ["name", "colour"], ["option_type_id", 935339710], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:16:41 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.252027' WHERE "spree_products"."id" = 1060501607 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501607], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.253306' WHERE "spree_products"."id" = 1060501607  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592970, 979461182) Spree::Product Load (19.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501607]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501607) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592966 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592967 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592968 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592969 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592970 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501607) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.291918' WHERE "spree_products"."id" = 1060501607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592966 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.293306' WHERE "spree_products"."id" = 1060501607 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.294311' WHERE "spree_products"."id" = 1060501607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592967 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.295646' WHERE "spree_products"."id" = 1060501607 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.296932' WHERE "spree_products"."id" = 1060501607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592968 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.297990' WHERE "spree_products"."id" = 1060501607 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.299211' WHERE "spree_products"."id" = 1060501607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592969 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.300386' WHERE "spree_products"."id" = 1060501607 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501607 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.302080' WHERE "spree_products"."id" = 1060501607  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592970 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:16:41.305497' WHERE "spree_products"."id" = 1060501607 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501607) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501607 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:16:41.309758' WHERE "spree_products"."id" = 1060501607 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501607 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (6.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (8.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501608 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:53.833859' WHERE "spree_products"."id" = 1060501608 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501608], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:53.836859' WHERE "spree_products"."id" = 1060501608  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592971 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:53.839597' WHERE "spree_products"."id" = 1060501608  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501608  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["product_id", nil], ["property_id", 905835787], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["value", nil]]  (0.8ms) UPDATE "spree_product_properties" SET "product_id" = 1060501608, "updated_at" = '2012-10-23 15:18:53.870152' WHERE "spree_product_properties"."id" = 1073274212 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501608) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452679], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501608 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501608, 558400566) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452680 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452680], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501608, 558400567) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501608) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:18:53 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501608 AND "spree_option_types"."id" = 935339711 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501608) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["option_type_id", 935339711], ["position", 1], ["product_id", 1060501608], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339711) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339711], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.077285' WHERE "spree_products"."id" = 1060501608 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501608], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.078822' WHERE "spree_products"."id" = 1060501608  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592972, 979461183) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339711) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339711], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.089977' WHERE "spree_products"."id" = 1060501608 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501608], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.091529' WHERE "spree_products"."id" = 1060501608  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592973, 979461184) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339711) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339711], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.098368' WHERE "spree_products"."id" = 1060501608 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501608], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.099818' WHERE "spree_products"."id" = 1060501608  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592974, 979461185) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501608]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501608) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592972 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592973 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592974 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501608) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501608 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.182683' WHERE "spree_products"."id" = 1060501608  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592972 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.183850' WHERE "spree_products"."id" = 1060501608 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.185287' WHERE "spree_products"."id" = 1060501608  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592973 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.186564' WHERE "spree_products"."id" = 1060501608 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501608 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.187942' WHERE "spree_products"."id" = 1060501608  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592974 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.189239' WHERE "spree_products"."id" = 1060501608 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501608) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501608 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:18:54.192448' WHERE "spree_products"."id" = 1060501608 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501608 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.200849' WHERE "spree_products"."id" = 1060501609 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501609], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.202237' WHERE "spree_products"."id" = 1060501609  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592975 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.203674' WHERE "spree_products"."id" = 1060501609  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501609  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["product_id", nil], ["property_id", 905835788], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501609, "updated_at" = '2012-10-23 15:18:54.211380' WHERE "spree_product_properties"."id" = 1073274213 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501609) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501609 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501609, 558400566) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452681 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452681], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501609, 558400568) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400566 AND "spree_taxons"."taxonomy_id" = 854452679 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400566]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400566], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452679], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400566]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400569]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400569 THEN 558400566 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400566]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400569]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400569 AND "spree_taxons"."taxonomy_id" = 854452679 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400569]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400569], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452679], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400569]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400570]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400570 THEN 558400569 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400569]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400570]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501609, 558400569)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501609, 558400570) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501609) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501609 AND "spree_option_types"."id" = 935339711 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501609) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["option_type_id", 935339711], ["position", 1], ["product_id", 1060501609], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501609 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.253287' WHERE "spree_products"."id" = 1060501609 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501609], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.255553' WHERE "spree_products"."id" = 1060501609  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592976, 979461183) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.259206' WHERE "spree_products"."id" = 1060501609 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501609], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.260509' WHERE "spree_products"."id" = 1060501609  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592977, 979461184) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501609 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.263478' WHERE "spree_products"."id" = 1060501609 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501609], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.264763' WHERE "spree_products"."id" = 1060501609  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592978, 979461185) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501609]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501609) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592976 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592977 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592978 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501609) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501609 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.283742' WHERE "spree_products"."id" = 1060501609  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592976 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.284986' WHERE "spree_products"."id" = 1060501609 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.286262' WHERE "spree_products"."id" = 1060501609  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592977 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.287436' WHERE "spree_products"."id" = 1060501609 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501609 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.288662' WHERE "spree_products"."id" = 1060501609  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592978 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.290099' WHERE "spree_products"."id" = 1060501609 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501609) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501609 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:18:54.292853' WHERE "spree_products"."id" = 1060501609 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501609 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Product Load (1.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.303598' WHERE "spree_products"."id" = 1060501610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501610], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.305559' WHERE "spree_products"."id" = 1060501610  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592979 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.307253' WHERE "spree_products"."id" = 1060501610  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501610  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["product_id", nil], ["property_id", 905835789], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501610, "updated_at" = '2012-10-23 15:18:54.313846' WHERE "spree_product_properties"."id" = 1073274214 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["product_id", nil], ["property_id", 905835788], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501610, "updated_at" = '2012-10-23 15:18:54.316976' WHERE "spree_product_properties"."id" = 1073274215 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["product_id", nil], ["property_id", 905835790], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501610, "updated_at" = '2012-10-23 15:18:54.320701' WHERE "spree_product_properties"."id" = 1073274216 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501610) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452682 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452682], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501610 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501610, 558400571) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452679 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400566 AND "spree_taxons"."taxonomy_id" = 854452679 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400566]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400566], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452679], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400566]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400572]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400572 THEN 558400566 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400566]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400572]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501610, 558400572)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501610, 558400566) Current value to assign : Spree::Product Exists (1.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501610) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501610 AND "spree_option_types"."id" = 935339711 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501610) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["option_type_id", 935339711], ["position", 1], ["product_id", 1060501610], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.354635' WHERE "spree_products"."id" = 1060501610 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501610], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.356830' WHERE "spree_products"."id" = 1060501610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592980, 979461183) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.359737' WHERE "spree_products"."id" = 1060501610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501610], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.361237' WHERE "spree_products"."id" = 1060501610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592981, 979461184) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339711 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.364274' WHERE "spree_products"."id" = 1060501610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501610], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.365608' WHERE "spree_products"."id" = 1060501610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592982, 979461185) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501610]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501610 AND "spree_option_types"."id" = 935339712 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501610) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["option_type_id", 935339712], ["position", 2], ["product_id", 1060501610], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339712 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339712) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339712], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]]  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.381309' WHERE "spree_products"."id" = 1060501610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501610], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.382595' WHERE "spree_products"."id" = 1060501610  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592983, 979461186) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339712 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339712) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00], ["name", "colour"], ["option_type_id", 935339712], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:18:54 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (23.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.387606' WHERE "spree_products"."id" = 1060501610 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501610], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.412765' WHERE "spree_products"."id" = 1060501610  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592984, 979461187) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501610]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501610) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592980 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592981 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592982 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592983 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592984 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501610) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (1.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.436348' WHERE "spree_products"."id" = 1060501610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592980 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.439181' WHERE "spree_products"."id" = 1060501610 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.440837' WHERE "spree_products"."id" = 1060501610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592981 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.442137' WHERE "spree_products"."id" = 1060501610 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.443272' WHERE "spree_products"."id" = 1060501610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592982 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.444201' WHERE "spree_products"."id" = 1060501610 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.446200' WHERE "spree_products"."id" = 1060501610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592983 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.447201' WHERE "spree_products"."id" = 1060501610 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501610 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.448302' WHERE "spree_products"."id" = 1060501610  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592984 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:18:54.449872' WHERE "spree_products"."id" = 1060501610 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501610) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501610 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:18:54.452654' WHERE "spree_products"."id" = 1060501610 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501610 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.7ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (9.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501611 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:23.816164' WHERE "spree_products"."id" = 1060501611 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501611], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:23.819515' WHERE "spree_products"."id" = 1060501611  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592985 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:23.822513' WHERE "spree_products"."id" = 1060501611  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501611  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["product_id", nil], ["property_id", 905835791], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501611, "updated_at" = '2012-10-23 15:20:23.856637' WHERE "spree_product_properties"."id" = 1073274217 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501611) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452683], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501611 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501611, 558400573) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452684 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452684], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501611, 558400574) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501611) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:20:23 UTC +00:00]] Spree::OptionType Exists (2.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501611 AND "spree_option_types"."id" = 935339713 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501611) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["option_type_id", 935339713], ["position", 1], ["product_id", 1060501611], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339713) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339713], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501611 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.061683' WHERE "spree_products"."id" = 1060501611 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501611], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.063126' WHERE "spree_products"."id" = 1060501611  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592986, 979461188) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339713) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339713], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501611 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.073258' WHERE "spree_products"."id" = 1060501611 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501611], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.074935' WHERE "spree_products"."id" = 1060501611  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592987, 979461189) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339713) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339713], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501611 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.080101' WHERE "spree_products"."id" = 1060501611 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501611], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.081508' WHERE "spree_products"."id" = 1060501611  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592988, 979461190) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501611]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501611) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592986 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592987 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592988 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501611) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501611 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.167048' WHERE "spree_products"."id" = 1060501611  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592986 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.168320' WHERE "spree_products"."id" = 1060501611 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501611 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.169544' WHERE "spree_products"."id" = 1060501611  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013592987 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.170506' WHERE "spree_products"."id" = 1060501611 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501611 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.171813' WHERE "spree_products"."id" = 1060501611  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592988 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.172813' WHERE "spree_products"."id" = 1060501611 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501611) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501611 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:20:24.175838' WHERE "spree_products"."id" = 1060501611 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501611 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501612 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.185176' WHERE "spree_products"."id" = 1060501612 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501612], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.187151' WHERE "spree_products"."id" = 1060501612  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592989 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.188777' WHERE "spree_products"."id" = 1060501612  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501612  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["product_id", nil], ["property_id", 905835792], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501612, "updated_at" = '2012-10-23 15:20:24.196505' WHERE "spree_product_properties"."id" = 1073274218 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501612) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501612 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501612, 558400573) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452685 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452685], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501612, 558400575) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400573 AND "spree_taxons"."taxonomy_id" = 854452683 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400573]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400573], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452683], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400573]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400576]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400576 THEN 558400573 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400573]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400576]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400576 AND "spree_taxons"."taxonomy_id" = 854452683 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400576]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400576], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452683], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400576]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400577]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400577 THEN 558400576 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400576]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400577]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501612, 558400576)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501612, 558400577) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501612) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501612 AND "spree_option_types"."id" = 935339713 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501612) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["option_type_id", 935339713], ["position", 1], ["product_id", 1060501612], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501612 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.241183' WHERE "spree_products"."id" = 1060501612 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501612], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.243363' WHERE "spree_products"."id" = 1060501612  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592990, 979461188) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501612 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.246819' WHERE "spree_products"."id" = 1060501612 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501612], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.248057' WHERE "spree_products"."id" = 1060501612  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592991, 979461189) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501612 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.250504' WHERE "spree_products"."id" = 1060501612 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501612], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.252089' WHERE "spree_products"."id" = 1060501612  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592992, 979461190) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501612]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501612) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592990 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592991 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592992 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501612) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501612 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.268953' WHERE "spree_products"."id" = 1060501612  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013592990 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.270325' WHERE "spree_products"."id" = 1060501612 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501612 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.271451' WHERE "spree_products"."id" = 1060501612  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592991 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.272459' WHERE "spree_products"."id" = 1060501612 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501612 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.273829' WHERE "spree_products"."id" = 1060501612  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013592992 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.274844' WHERE "spree_products"."id" = 1060501612 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501612) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501612 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:20:24.277682' WHERE "spree_products"."id" = 1060501612 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501612 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.286334' WHERE "spree_products"."id" = 1060501613 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501613], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.287503' WHERE "spree_products"."id" = 1060501613  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592993 SQL (2.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.289327' WHERE "spree_products"."id" = 1060501613  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501613  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["product_id", nil], ["property_id", 905835793], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501613, "updated_at" = '2012-10-23 15:20:24.299503' WHERE "spree_product_properties"."id" = 1073274219 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["product_id", nil], ["property_id", 905835792], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501613, "updated_at" = '2012-10-23 15:20:24.303750' WHERE "spree_product_properties"."id" = 1073274220 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["product_id", nil], ["property_id", 905835794], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501613, "updated_at" = '2012-10-23 15:20:24.308197' WHERE "spree_product_properties"."id" = 1073274221 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501613) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452686 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452686], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501613 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501613, 558400578) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452683 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400573 AND "spree_taxons"."taxonomy_id" = 854452683 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400573]] SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400573], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452683], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400573]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400579]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400579 THEN 558400573 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400573]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400579]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501613, 558400579)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501613, 558400573) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501613) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501613 AND "spree_option_types"."id" = 935339713 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501613) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["option_type_id", 935339713], ["position", 1], ["product_id", 1060501613], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.346699' WHERE "spree_products"."id" = 1060501613 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501613], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.348223' WHERE "spree_products"."id" = 1060501613  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592994, 979461188) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.350837' WHERE "spree_products"."id" = 1060501613 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501613], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.352061' WHERE "spree_products"."id" = 1060501613  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592995, 979461189) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339713 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.355228' WHERE "spree_products"."id" = 1060501613 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501613], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.356576' WHERE "spree_products"."id" = 1060501613  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592996, 979461190) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501613]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501613 AND "spree_option_types"."id" = 935339714 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501613) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["option_type_id", 935339714], ["position", 2], ["product_id", 1060501613], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339714 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339714) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339714], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.373421' WHERE "spree_products"."id" = 1060501613 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501613], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.374952' WHERE "spree_products"."id" = 1060501613  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592997, 979461191) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339714 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339714) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00], ["name", "colour"], ["option_type_id", 935339714], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:20:24 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.404354' WHERE "spree_products"."id" = 1060501613 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501613], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.405738' WHERE "spree_products"."id" = 1060501613  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013592998, 979461192) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501613]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501613) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592994 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592995 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592996 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592997 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013592998 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501613) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.427185' WHERE "spree_products"."id" = 1060501613  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592994 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.429328' WHERE "spree_products"."id" = 1060501613 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.430817' WHERE "spree_products"."id" = 1060501613  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013592995 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.432145' WHERE "spree_products"."id" = 1060501613 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.433476' WHERE "spree_products"."id" = 1060501613  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013592996 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.434650' WHERE "spree_products"."id" = 1060501613 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.435797' WHERE "spree_products"."id" = 1060501613  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013592997 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.437151' WHERE "spree_products"."id" = 1060501613 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501613 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.438499' WHERE "spree_products"."id" = 1060501613  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013592998 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:20:24.439558' WHERE "spree_products"."id" = 1060501613 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501613) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501613 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:20:24.443008' WHERE "spree_products"."id" = 1060501613 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501613 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (5.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (9.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501614 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.174074' WHERE "spree_products"."id" = 1060501614 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501614], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.178047' WHERE "spree_products"."id" = 1060501614  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013592999 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.180521' WHERE "spree_products"."id" = 1060501614  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501614  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Created New Property # SQL (1.8ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["product_id", nil], ["property_id", 905835795], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 1060501614, "updated_at" = '2012-10-23 15:21:19.211271' WHERE "spree_product_properties"."id" = 1073274222 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501614) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452687], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501614 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501614, 558400580) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452688 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452688], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501614, 558400581) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501614) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501614 AND "spree_option_types"."id" = 935339715 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501614) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["option_type_id", 935339715], ["position", 1], ["product_id", 1060501614], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339715) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339715], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501614 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.415222' WHERE "spree_products"."id" = 1060501614 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501614], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.416873' WHERE "spree_products"."id" = 1060501614  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593000, 979461193) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339715) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339715], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501614 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.425927' WHERE "spree_products"."id" = 1060501614 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501614], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.427429' WHERE "spree_products"."id" = 1060501614  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593001, 979461194) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339715) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339715], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501614 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.432167' WHERE "spree_products"."id" = 1060501614 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501614], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.433473' WHERE "spree_products"."id" = 1060501614  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593002, 979461195) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501614]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501614) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593000 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593001 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593002 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501614) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501614 LIMIT 1 SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.515758' WHERE "spree_products"."id" = 1060501614  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593000 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.518065' WHERE "spree_products"."id" = 1060501614 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501614 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.519213' WHERE "spree_products"."id" = 1060501614  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593001 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.520065' WHERE "spree_products"."id" = 1060501614 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501614 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.521514' WHERE "spree_products"."id" = 1060501614  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593002 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.522580' WHERE "spree_products"."id" = 1060501614 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501614) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501614 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:21:19.526210' WHERE "spree_products"."id" = 1060501614 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501614 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.533871' WHERE "spree_products"."id" = 1060501615 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501615], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.535297' WHERE "spree_products"."id" = 1060501615  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593003 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.537064' WHERE "spree_products"."id" = 1060501615  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501615  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["product_id", nil], ["property_id", 905835796], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501615, "updated_at" = '2012-10-23 15:21:19.543857' WHERE "spree_product_properties"."id" = 1073274223 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501615) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501615 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501615, 558400580) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452689 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452689], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501615, 558400582) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400580 AND "spree_taxons"."taxonomy_id" = 854452687 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400580]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400580], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452687], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400580]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400583]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400583 THEN 558400580 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400580]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400583]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400583 AND "spree_taxons"."taxonomy_id" = 854452687 LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400583]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400583], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452687], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400583]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400584]] SQL (0.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400584 THEN 558400583 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400583]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400584]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501615, 558400583)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501615, 558400584) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501615) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501615 AND "spree_option_types"."id" = 935339715 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501615) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["option_type_id", 935339715], ["position", 1], ["product_id", 1060501615], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.589326' WHERE "spree_products"."id" = 1060501615 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501615], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.590756' WHERE "spree_products"."id" = 1060501615  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593004, 979461193) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.594778' WHERE "spree_products"."id" = 1060501615 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501615], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.596157' WHERE "spree_products"."id" = 1060501615  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593005, 979461194) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.599670' WHERE "spree_products"."id" = 1060501615 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501615], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.601091' WHERE "spree_products"."id" = 1060501615  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593006, 979461195) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501615]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501615) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593004 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593005 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593006 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501615) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.618205' WHERE "spree_products"."id" = 1060501615  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593004 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.619951' WHERE "spree_products"."id" = 1060501615 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.621272' WHERE "spree_products"."id" = 1060501615  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593005 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.622245' WHERE "spree_products"."id" = 1060501615 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501615 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.623356' WHERE "spree_products"."id" = 1060501615  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593006 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.625016' WHERE "spree_products"."id" = 1060501615 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501615) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501615 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:21:19.627702' WHERE "spree_products"."id" = 1060501615 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501615 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.636553' WHERE "spree_products"."id" = 1060501616 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501616], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.638028' WHERE "spree_products"."id" = 1060501616  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593007 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.639459' WHERE "spree_products"."id" = 1060501616  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501616  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["product_id", nil], ["property_id", 905835797], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501616, "updated_at" = '2012-10-23 15:21:19.646146' WHERE "spree_product_properties"."id" = 1073274224 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["product_id", nil], ["property_id", 905835796], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501616, "updated_at" = '2012-10-23 15:21:19.649941' WHERE "spree_product_properties"."id" = 1073274225 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["product_id", nil], ["property_id", 905835798], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501616, "updated_at" = '2012-10-23 15:21:19.653714' WHERE "spree_product_properties"."id" = 1073274226 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501616) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452690 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452690], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501616 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501616, 558400585) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452687 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400580 AND "spree_taxons"."taxonomy_id" = 854452687 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400580]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400580], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452687], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400580]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400586]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400586 THEN 558400580 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400580]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400586]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501616, 558400586)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501616, 558400580) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501616) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501616 AND "spree_option_types"."id" = 935339715 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501616) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["option_type_id", 935339715], ["position", 1], ["product_id", 1060501616], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.685578' WHERE "spree_products"."id" = 1060501616 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501616], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.687941' WHERE "spree_products"."id" = 1060501616  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593008, 979461193) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.692060' WHERE "spree_products"."id" = 1060501616 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501616], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.693812' WHERE "spree_products"."id" = 1060501616  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593009, 979461194) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339715 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.696855' WHERE "spree_products"."id" = 1060501616 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501616], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.698310' WHERE "spree_products"."id" = 1060501616  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593010, 979461195) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501616]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501616 AND "spree_option_types"."id" = 935339716 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501616) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["option_type_id", 935339716], ["position", 2], ["product_id", 1060501616], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339716 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339716) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339716], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.714871' WHERE "spree_products"."id" = 1060501616 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501616], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.716059' WHERE "spree_products"."id" = 1060501616  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593011, 979461196) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339716 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339716) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00], ["name", "colour"], ["option_type_id", 935339716], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:21:19 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.746630' WHERE "spree_products"."id" = 1060501616 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501616], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.748059' WHERE "spree_products"."id" = 1060501616  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593012, 979461197) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501616]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501616) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593008 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593009 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593010 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593011 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593012 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501616) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.767211' WHERE "spree_products"."id" = 1060501616  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593008 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.768929' WHERE "spree_products"."id" = 1060501616 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.770273' WHERE "spree_products"."id" = 1060501616  (0.7ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593009 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.771931' WHERE "spree_products"."id" = 1060501616 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.773041' WHERE "spree_products"."id" = 1060501616  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593010 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.774305' WHERE "spree_products"."id" = 1060501616 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.775691' WHERE "spree_products"."id" = 1060501616  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593011 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.776896' WHERE "spree_products"."id" = 1060501616 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501616 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.778036' WHERE "spree_products"."id" = 1060501616  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593012 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:21:19.779253' WHERE "spree_products"."id" = 1060501616 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501616) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501616 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:21:19.783529' WHERE "spree_products"."id" = 1060501616 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501616 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501615, count_on_hand: 0, cost_price: #, position: nil>  (0.6ms) begin transaction Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:21:20 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (82.5ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013593003, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1426  (3.4ms) commit transaction Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501616, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:21:24 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.2ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593007, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1427  (1.9ms) commit transaction Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501614, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:21:24 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.3ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013592999, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1428  (1.8ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (10.9ms) DELETE FROM "spree_products" SQL (3.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (9.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501617 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:48.689287' WHERE "spree_products"."id" = 1060501617 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501617], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:48.692355' WHERE "spree_products"."id" = 1060501617  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593013 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:48.694960' WHERE "spree_products"."id" = 1060501617  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501617  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["product_id", nil], ["property_id", 905835799], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501617, "updated_at" = '2012-10-23 15:27:48.733972' WHERE "spree_product_properties"."id" = 1073274227 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501617) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452691], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501617 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501617, 558400587) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452692 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452692], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501617, 558400588) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501617) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Spree::OptionType Exists (2.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501617 AND "spree_option_types"."id" = 935339717 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501617) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["option_type_id", 935339717], ["position", 1], ["product_id", 1060501617], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339717) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339717], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:27:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501617 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.001250' WHERE "spree_products"."id" = 1060501617 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501617], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.002750' WHERE "spree_products"."id" = 1060501617  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593014, 979461198) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339717) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339717], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501617 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.011920' WHERE "spree_products"."id" = 1060501617 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501617], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.013570' WHERE "spree_products"."id" = 1060501617  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593015, 979461199) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339717) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339717], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501617 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.018870' WHERE "spree_products"."id" = 1060501617 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501617], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.020407' WHERE "spree_products"."id" = 1060501617  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593016, 979461200) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501617]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501617) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593014 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593015 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593016 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501617) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501617 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.111483' WHERE "spree_products"."id" = 1060501617  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593014 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.113220' WHERE "spree_products"."id" = 1060501617 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501617 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.114918' WHERE "spree_products"."id" = 1060501617  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593015 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.116166' WHERE "spree_products"."id" = 1060501617 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501617 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.117394' WHERE "spree_products"."id" = 1060501617  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593016 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.118768' WHERE "spree_products"."id" = 1060501617 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501617) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501617 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:27:49.122197' WHERE "spree_products"."id" = 1060501617 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501617 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501618 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.131516' WHERE "spree_products"."id" = 1060501618 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501618], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.145917' WHERE "spree_products"."id" = 1060501618  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593017 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.147845' WHERE "spree_products"."id" = 1060501618  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501618  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Created New Property # SQL (1.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["product_id", nil], ["property_id", 905835800], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501618, "updated_at" = '2012-10-23 15:27:49.155771' WHERE "spree_product_properties"."id" = 1073274228 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501618) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501618 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501618, 558400587) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452693 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452693], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501618, 558400589) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400587 AND "spree_taxons"."taxonomy_id" = 854452691 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400587]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400587], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452691], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400587]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400590]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400590 THEN 558400587 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400587]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400590]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400590 AND "spree_taxons"."taxonomy_id" = 854452691 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400590]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400590], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452691], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400590]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400591]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400591 THEN 558400590 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400590]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400591]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501618, 558400590)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501618, 558400591) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501618) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501618 AND "spree_option_types"."id" = 935339717 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501618) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["option_type_id", 935339717], ["position", 1], ["product_id", 1060501618], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501618 LIMIT 1 SQL (12.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.201704' WHERE "spree_products"."id" = 1060501618 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501618], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.215612' WHERE "spree_products"."id" = 1060501618  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593018, 979461198) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501618 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.218764' WHERE "spree_products"."id" = 1060501618 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501618], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.220164' WHERE "spree_products"."id" = 1060501618  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593019, 979461199) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501618 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.223243' WHERE "spree_products"."id" = 1060501618 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501618], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.224625' WHERE "spree_products"."id" = 1060501618  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593020, 979461200) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501618]] Current value to assign : Spree::Variant Load (1.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501618) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593018 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593019 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593020 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501618) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501618 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.242402' WHERE "spree_products"."id" = 1060501618  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593018 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.243872' WHERE "spree_products"."id" = 1060501618 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501618 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.244847' WHERE "spree_products"."id" = 1060501618  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593019 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.245914' WHERE "spree_products"."id" = 1060501618 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501618 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.247346' WHERE "spree_products"."id" = 1060501618  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593020 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.248174' WHERE "spree_products"."id" = 1060501618 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501618) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501618 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:27:49.250841' WHERE "spree_products"."id" = 1060501618 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501618 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.259675' WHERE "spree_products"."id" = 1060501619 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501619], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.261199' WHERE "spree_products"."id" = 1060501619  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593021 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.262646' WHERE "spree_products"."id" = 1060501619  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501619  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["product_id", nil], ["property_id", 905835801], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501619, "updated_at" = '2012-10-23 15:27:49.269837' WHERE "spree_product_properties"."id" = 1073274229 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["product_id", nil], ["property_id", 905835800], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501619, "updated_at" = '2012-10-23 15:27:49.273615' WHERE "spree_product_properties"."id" = 1073274230 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["product_id", nil], ["property_id", 905835802], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501619, "updated_at" = '2012-10-23 15:27:49.281564' WHERE "spree_product_properties"."id" = 1073274231 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501619) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452694 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452694], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501619 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501619, 558400592) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452691 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400587 AND "spree_taxons"."taxonomy_id" = 854452691 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400587]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400587], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452691], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400587]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400593]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400593 THEN 558400587 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400587]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400593]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501619, 558400593)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501619, 558400587) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501619) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501619 AND "spree_option_types"."id" = 935339717 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501619) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["option_type_id", 935339717], ["position", 1], ["product_id", 1060501619], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.326019' WHERE "spree_products"."id" = 1060501619 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501619], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.327336' WHERE "spree_products"."id" = 1060501619  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593022, 979461198) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.330360' WHERE "spree_products"."id" = 1060501619 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501619], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.331273' WHERE "spree_products"."id" = 1060501619  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593023, 979461199) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339717 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.334236' WHERE "spree_products"."id" = 1060501619 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501619], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.335506' WHERE "spree_products"."id" = 1060501619  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593024, 979461200) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501619]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501619 AND "spree_option_types"."id" = 935339718 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501619) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["option_type_id", 935339718], ["position", 2], ["product_id", 1060501619], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339718 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339718) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339718], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.352817' WHERE "spree_products"."id" = 1060501619 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501619], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.354407' WHERE "spree_products"."id" = 1060501619  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593025, 979461201) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339718 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339718) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["name", "colour"], ["option_type_id", 935339718], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.382845' WHERE "spree_products"."id" = 1060501619 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501619], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.384803' WHERE "spree_products"."id" = 1060501619  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593026, 979461202) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501619]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501619) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593022 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.8ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593023 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593024 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593025 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593026 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501619) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.408304' WHERE "spree_products"."id" = 1060501619  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593022 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.409910' WHERE "spree_products"."id" = 1060501619 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.411069' WHERE "spree_products"."id" = 1060501619  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593023 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.412368' WHERE "spree_products"."id" = 1060501619 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.413757' WHERE "spree_products"."id" = 1060501619  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593024 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.415398' WHERE "spree_products"."id" = 1060501619 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.416775' WHERE "spree_products"."id" = 1060501619  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593025 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.418098' WHERE "spree_products"."id" = 1060501619 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501619 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.419216' WHERE "spree_products"."id" = 1060501619  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593026 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:27:49.420881' WHERE "spree_products"."id" = 1060501619 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501619) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501619 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:27:49.423821' WHERE "spree_products"."id" = 1060501619 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501619 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (8.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501618, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:27:49 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (52.4ms) commit transaction  (0.1ms) begin transaction  (0.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013593017, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1429  (3.6ms) commit transaction Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501619, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:27:54 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (4.3ms) commit transaction  (0.1ms) begin transaction  (1.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593021, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1430  (2.3ms) commit transaction Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501617, count_on_hand: 0, cost_price: #, position: nil>  (0.6ms) begin transaction Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:27:55 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.2ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593013, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1431  (2.6ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (7.1ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (10.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501620 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.551632' WHERE "spree_products"."id" = 1060501620 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501620], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.555172' WHERE "spree_products"."id" = 1060501620  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593027 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.557905' WHERE "spree_products"."id" = 1060501620  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501620  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["product_id", nil], ["property_id", 905835803], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501620, "updated_at" = '2012-10-23 15:29:34.588575' WHERE "spree_product_properties"."id" = 1073274232 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501620) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452695 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452695], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501620 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501620, 558400594) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452696 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452696], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501620, 558400595) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501620) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::OptionType Exists (24.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501620 AND "spree_option_types"."id" = 935339719 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501620) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["option_type_id", 935339719], ["position", 1], ["product_id", 1060501620], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339719) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339719], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501620 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.780415' WHERE "spree_products"."id" = 1060501620 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501620], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.782663' WHERE "spree_products"."id" = 1060501620  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593028, 979461203) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339719) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339719], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501620 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.792165' WHERE "spree_products"."id" = 1060501620 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501620], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.793774' WHERE "spree_products"."id" = 1060501620  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593029, 979461204) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339719) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339719], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501620 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.798720' WHERE "spree_products"."id" = 1060501620 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501620], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.800165' WHERE "spree_products"."id" = 1060501620  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593030, 979461205) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501620]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501620) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593028 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593029 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593030 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501620) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501620 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.878446' WHERE "spree_products"."id" = 1060501620  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593028 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.880133' WHERE "spree_products"."id" = 1060501620 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501620 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.881437' WHERE "spree_products"."id" = 1060501620  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593029 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.882668' WHERE "spree_products"."id" = 1060501620 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501620 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.883880' WHERE "spree_products"."id" = 1060501620  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593030 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.884887' WHERE "spree_products"."id" = 1060501620 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501620) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501620 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:29:34.888163' WHERE "spree_products"."id" = 1060501620 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501620 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501621 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.899754' WHERE "spree_products"."id" = 1060501621 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501621], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.901008' WHERE "spree_products"."id" = 1060501621  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593031 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.902859' WHERE "spree_products"."id" = 1060501621  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501621  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["product_id", nil], ["property_id", 905835804], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501621, "updated_at" = '2012-10-23 15:29:34.910293' WHERE "spree_product_properties"."id" = 1073274233 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501621) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452695 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501621 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501621, 558400594) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452697 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452697], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501621, 558400596) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452695 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400594 AND "spree_taxons"."taxonomy_id" = 854452695 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400594]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400594], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452695], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400594]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400597]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400597 THEN 558400594 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400594]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400597]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400597 AND "spree_taxons"."taxonomy_id" = 854452695 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400597]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400597], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452695], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400597]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400598]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400598 THEN 558400597 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400597]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400598]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501621, 558400597)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501621, 558400598) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501621) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501621 AND "spree_option_types"."id" = 935339719 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501621) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["option_type_id", 935339719], ["position", 1], ["product_id", 1060501621], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501621 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.954485' WHERE "spree_products"."id" = 1060501621 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501621], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.956006' WHERE "spree_products"."id" = 1060501621  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593032, 979461203) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501621 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.958992' WHERE "spree_products"."id" = 1060501621 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501621], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.960334' WHERE "spree_products"."id" = 1060501621  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593033, 979461204) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501621 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.963070' WHERE "spree_products"."id" = 1060501621 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501621], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.964428' WHERE "spree_products"."id" = 1060501621  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593034, 979461205) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501621]] Current value to assign : Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501621) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593032 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593033 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593034 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501621) LIMIT 1  (1.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501621 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.981156' WHERE "spree_products"."id" = 1060501621  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593032 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.982759' WHERE "spree_products"."id" = 1060501621 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501621 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.984021' WHERE "spree_products"."id" = 1060501621  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593033 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.985160' WHERE "spree_products"."id" = 1060501621 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501621 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.986610' WHERE "spree_products"."id" = 1060501621  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593034 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.987470' WHERE "spree_products"."id" = 1060501621 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501621) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501621 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:29:34.990160' WHERE "spree_products"."id" = 1060501621 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501621 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:29:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:34.998908' WHERE "spree_products"."id" = 1060501622 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501622], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.001481' WHERE "spree_products"."id" = 1060501622  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593035 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.003334' WHERE "spree_products"."id" = 1060501622  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501622  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["product_id", nil], ["property_id", 905835805], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501622, "updated_at" = '2012-10-23 15:29:35.010351' WHERE "spree_product_properties"."id" = 1073274234 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["product_id", nil], ["property_id", 905835804], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501622, "updated_at" = '2012-10-23 15:29:35.013870' WHERE "spree_product_properties"."id" = 1073274235 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["product_id", nil], ["property_id", 905835806], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501622, "updated_at" = '2012-10-23 15:29:35.018103' WHERE "spree_product_properties"."id" = 1073274236 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501622) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452698 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452698], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501622 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501622, 558400599) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452695 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400594 AND "spree_taxons"."taxonomy_id" = 854452695 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400594]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400594], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452695], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400594]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400600]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400600 THEN 558400594 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400594]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400600]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501622, 558400600)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501622, 558400594) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501622) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501622 AND "spree_option_types"."id" = 935339719 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501622) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["option_type_id", 935339719], ["position", 1], ["product_id", 1060501622], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.055360' WHERE "spree_products"."id" = 1060501622 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501622], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.056922' WHERE "spree_products"."id" = 1060501622  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593036, 979461203) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.059937' WHERE "spree_products"."id" = 1060501622 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501622], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.061544' WHERE "spree_products"."id" = 1060501622  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593037, 979461204) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339719 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.064158' WHERE "spree_products"."id" = 1060501622 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501622], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.065517' WHERE "spree_products"."id" = 1060501622  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593038, 979461205) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501622]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501622 AND "spree_option_types"."id" = 935339720 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501622) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["option_type_id", 935339720], ["position", 2], ["product_id", 1060501622], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339720 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339720) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339720], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.080639' WHERE "spree_products"."id" = 1060501622 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501622], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.081955' WHERE "spree_products"."id" = 1060501622  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593039, 979461206) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339720 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339720) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["name", "colour"], ["option_type_id", 935339720], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.087105' WHERE "spree_products"."id" = 1060501622 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501622], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.088510' WHERE "spree_products"."id" = 1060501622  (25.9ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593040, 979461207) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501622]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501622) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593036 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593037 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593038 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593039 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593040 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501622) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.137678' WHERE "spree_products"."id" = 1060501622  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593036 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.138964' WHERE "spree_products"."id" = 1060501622 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.140342' WHERE "spree_products"."id" = 1060501622  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593037 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.141881' WHERE "spree_products"."id" = 1060501622 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.143777' WHERE "spree_products"."id" = 1060501622  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593038 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.145113' WHERE "spree_products"."id" = 1060501622 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.146325' WHERE "spree_products"."id" = 1060501622  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593039 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.147274' WHERE "spree_products"."id" = 1060501622 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501622 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.148463' WHERE "spree_products"."id" = 1060501622  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593040 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:29:35.149399' WHERE "spree_products"."id" = 1060501622 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501622) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501622 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:29:35.152156' WHERE "spree_products"."id" = 1060501622 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501622 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501621, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:29:35 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (96.3ms) commit transaction  (0.1ms) begin transaction  (1.2ms) UPDATE "spree_assets" SET "viewable_id" = 1013593031, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1432  (31.3ms) commit transaction Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501622, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:29:39 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.7ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593035, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1433  (1.7ms) commit transaction Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501620, count_on_hand: 0, cost_price: #, position: nil>  (0.7ms) begin transaction Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:29:40 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013593027, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1434  (1.7ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (4.4ms) DELETE FROM "spree_products" SQL (2.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (11.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501623 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.169453' WHERE "spree_products"."id" = 1060501623 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501623], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.172880' WHERE "spree_products"."id" = 1060501623  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593041 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.175723' WHERE "spree_products"."id" = 1060501623  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501623  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["product_id", nil], ["property_id", 905835807], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501623, "updated_at" = '2012-10-23 15:30:30.207722' WHERE "spree_product_properties"."id" = 1073274237 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501623) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452699], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501623 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501623, 558400601) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452700 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452700], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501623, 558400602) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501623) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501623 AND "spree_option_types"."id" = 935339721 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501623) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["option_type_id", 935339721], ["position", 1], ["product_id", 1060501623], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339721) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339721], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501623 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.412973' WHERE "spree_products"."id" = 1060501623 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501623], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.414616' WHERE "spree_products"."id" = 1060501623  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593042, 979461208) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339721) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339721], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.424471' WHERE "spree_products"."id" = 1060501623 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501623], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.427172' WHERE "spree_products"."id" = 1060501623  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593043, 979461209) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339721) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339721], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.431695' WHERE "spree_products"."id" = 1060501623 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501623], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.433197' WHERE "spree_products"."id" = 1060501623  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593044, 979461210) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501623]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501623) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593042 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593043 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593044 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501623) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.513312' WHERE "spree_products"."id" = 1060501623  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593042 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.515315' WHERE "spree_products"."id" = 1060501623 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501623 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.516477' WHERE "spree_products"."id" = 1060501623  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593043 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.517405' WHERE "spree_products"."id" = 1060501623 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501623 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.518601' WHERE "spree_products"."id" = 1060501623  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593044 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.519896' WHERE "spree_products"."id" = 1060501623 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501623) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501623 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:30:30.522714' WHERE "spree_products"."id" = 1060501623 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501623 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.532714' WHERE "spree_products"."id" = 1060501624 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501624], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.534608' WHERE "spree_products"."id" = 1060501624  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593045 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.536132' WHERE "spree_products"."id" = 1060501624  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501624  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["product_id", nil], ["property_id", 905835808], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501624, "updated_at" = '2012-10-23 15:30:30.544666' WHERE "spree_product_properties"."id" = 1073274238 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501624) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501624 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501624, 558400601) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452701 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452701], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501624, 558400603) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400601 AND "spree_taxons"."taxonomy_id" = 854452699 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400601]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400601], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452699], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400601]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400604]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400604 THEN 558400601 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400601]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400604]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400604 AND "spree_taxons"."taxonomy_id" = 854452699 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400604]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400604], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452699], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400604]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400605]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400605 THEN 558400604 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400604]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400605]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501624, 558400604)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501624, 558400605) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501624) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501624 AND "spree_option_types"."id" = 935339721 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501624) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["option_type_id", 935339721], ["position", 1], ["product_id", 1060501624], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.589853' WHERE "spree_products"."id" = 1060501624 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501624], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.591390' WHERE "spree_products"."id" = 1060501624  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593046, 979461208) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.594605' WHERE "spree_products"."id" = 1060501624 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501624], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.595711' WHERE "spree_products"."id" = 1060501624  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593047, 979461209) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501624 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.598634' WHERE "spree_products"."id" = 1060501624 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501624], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.600697' WHERE "spree_products"."id" = 1060501624  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593048, 979461210) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501624]] Current value to assign : Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501624) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593046 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593047 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593048 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501624) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.617280' WHERE "spree_products"."id" = 1060501624  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593046 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.618455' WHERE "spree_products"."id" = 1060501624 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501624 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.619576' WHERE "spree_products"."id" = 1060501624  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593047 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.620762' WHERE "spree_products"."id" = 1060501624 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501624 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.621902' WHERE "spree_products"."id" = 1060501624  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593048 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.622804' WHERE "spree_products"."id" = 1060501624 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501624) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501624 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:30:30.625348' WHERE "spree_products"."id" = 1060501624 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501624 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.6ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.635032' WHERE "spree_products"."id" = 1060501625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501625], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.636570' WHERE "spree_products"."id" = 1060501625  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593049 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.638174' WHERE "spree_products"."id" = 1060501625  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501625  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["product_id", nil], ["property_id", 905835809], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501625, "updated_at" = '2012-10-23 15:30:30.644975' WHERE "spree_product_properties"."id" = 1073274239 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["product_id", nil], ["property_id", 905835808], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501625, "updated_at" = '2012-10-23 15:30:30.648100' WHERE "spree_product_properties"."id" = 1073274240 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["product_id", nil], ["property_id", 905835810], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501625, "updated_at" = '2012-10-23 15:30:30.651974' WHERE "spree_product_properties"."id" = 1073274241 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501625) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452702 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452702], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501625 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501625, 558400606) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452699 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400601 AND "spree_taxons"."taxonomy_id" = 854452699 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400601]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400601], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452699], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400601]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400607]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400607 THEN 558400601 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400601]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400607]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501625, 558400607)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501625, 558400601) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501625) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501625 AND "spree_option_types"."id" = 935339721 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501625) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["option_type_id", 935339721], ["position", 1], ["product_id", 1060501625], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.687055' WHERE "spree_products"."id" = 1060501625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501625], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.688513' WHERE "spree_products"."id" = 1060501625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593050, 979461208) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.691436' WHERE "spree_products"."id" = 1060501625 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501625], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.693074' WHERE "spree_products"."id" = 1060501625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593051, 979461209) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339721 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.696419' WHERE "spree_products"."id" = 1060501625 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501625], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.697709' WHERE "spree_products"."id" = 1060501625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593052, 979461210) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501625]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501625 AND "spree_option_types"."id" = 935339722 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501625) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["option_type_id", 935339722], ["position", 2], ["product_id", 1060501625], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339722 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339722) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339722], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.714554' WHERE "spree_products"."id" = 1060501625 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501625], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.716062' WHERE "spree_products"."id" = 1060501625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593053, 979461211) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339722 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339722) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["name", "colour"], ["option_type_id", 935339722], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.744375' WHERE "spree_products"."id" = 1060501625 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501625], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.746191' WHERE "spree_products"."id" = 1060501625  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593054, 979461212) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501625]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501625) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593050 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593051 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593052 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593053 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593054 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501625) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.765851' WHERE "spree_products"."id" = 1060501625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593050 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.767343' WHERE "spree_products"."id" = 1060501625 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.768805' WHERE "spree_products"."id" = 1060501625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593051 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.769979' WHERE "spree_products"."id" = 1060501625 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.771511' WHERE "spree_products"."id" = 1060501625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593052 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.773568' WHERE "spree_products"."id" = 1060501625 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.775281' WHERE "spree_products"."id" = 1060501625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593053 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.776232' WHERE "spree_products"."id" = 1060501625 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501625 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.777646' WHERE "spree_products"."id" = 1060501625  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593054 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:30:30.778683' WHERE "spree_products"."id" = 1060501625 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501625) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501625 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:30:30.781456' WHERE "spree_products"."id" = 1060501625 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501625 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501624, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:30:30 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (46.1ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593045, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1435  (2.0ms) commit transaction Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501625, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:30:35 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (7.4ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593049, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1436  (2.4ms) commit transaction Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501623, count_on_hand: 0, cost_price: #, position: nil>  (0.5ms) begin transaction Spree::Asset Load (1.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:30:35 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (4.3ms) commit transaction  (0.0ms) begin transaction  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593041, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1437  (2.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (4.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.2ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (13.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:42 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452703 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452703], ["updated_at", Tue, 23 Oct 2012 15:31:42 UTC +00:00]]  (4.4ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452703], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (4.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452703], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (2.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (2.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452704 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452704], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452704], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452704], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (2.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452705 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452705], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452705], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452705], ["updated_at", Tue, 23 Oct 2012 15:31:43 UTC +00:00]]  (2.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.3ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 163 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 163 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 164 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 164 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 165 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 165 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 166 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 166 Current value to assign : Current value to assign :  (2.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.4ms) commit transaction SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 167 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 168 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 169 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 Binary data inserted for `string` type on column `description` SQL (0.8ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 170  (4.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction SQL (1.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (1.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501626 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.361385' WHERE "spree_products"."id" = 1060501626 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501626], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.364791' WHERE "spree_products"."id" = 1060501626  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593055 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.370112' WHERE "spree_products"."id" = 1060501626  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501626 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501626  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593055 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501626) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501626 AND "spree_option_types"."id" = 935339723 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501626) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339723], ["position", 1], ["product_id", 1060501626], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501626) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:31:44.504525' WHERE "spree_products"."id" = 1060501626  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593055 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.506787' WHERE "spree_products"."id" = 1060501626 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501626 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1060501626 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501627 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.516456' WHERE "spree_products"."id" = 1060501627 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501627], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.518285' WHERE "spree_products"."id" = 1060501627  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593056 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.519927' WHERE "spree_products"."id" = 1060501627  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501627 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501627  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501627 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593056 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501627) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501627 AND "spree_option_types"."id" = 935339723 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501627) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339723], ["position", 1], ["product_id", 1060501627], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501627) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:31:44.533786' WHERE "spree_products"."id" = 1060501627  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593056 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.535786' WHERE "spree_products"."id" = 1060501627 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501627 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 1060501627 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501628 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.544600' WHERE "spree_products"."id" = 1060501628 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501628], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.546305' WHERE "spree_products"."id" = 1060501628  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593057 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.547786' WHERE "spree_products"."id" = 1060501628  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501628 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501628  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501628 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593057 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501628) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501628 AND "spree_option_types"."id" = 935339723 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501628) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339723], ["position", 1], ["product_id", 1060501628], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501628 AND "spree_option_types"."id" = 935339724 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501628) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339724], ["position", 2], ["product_id", 1060501628], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501628) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:31:44.568785' WHERE "spree_products"."id" = 1060501628  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013593057 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.571123' WHERE "spree_products"."id" = 1060501628 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501628 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 1060501628 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:31:44.583359')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:31:44.584300')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501626 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501626 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501626 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501628 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501629 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.693664' WHERE "spree_products"."id" = 1060501629 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501629], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.695283' WHERE "spree_products"."id" = 1060501629  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593058 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.697413' WHERE "spree_products"."id" = 1060501629  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501629 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501629  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593058 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501629) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501629 AND "spree_option_types"."id" = 935339725 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501629) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339725], ["position", 1], ["product_id", 1060501629], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501629) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:31:44.715134' WHERE "spree_products"."id" = 1060501629  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593058 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.717486' WHERE "spree_products"."id" = 1060501629 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501629 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501630 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.726445' WHERE "spree_products"."id" = 1060501630 Binary data inserted for `string` type on column `sku` SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501630], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.728781' WHERE "spree_products"."id" = 1060501630  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593059 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.730722' WHERE "spree_products"."id" = 1060501630  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501630 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501630  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501630 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593059 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501630) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501630 AND "spree_option_types"."id" = 935339725 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501630) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339725], ["position", 1], ["product_id", 1060501630], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501630) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:31:44.745781' WHERE "spree_products"."id" = 1060501630  (0.8ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593059 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.748838' WHERE "spree_products"."id" = 1060501630 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501630 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501631 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.758629' WHERE "spree_products"."id" = 1060501631 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501631], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.760246' WHERE "spree_products"."id" = 1060501631  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593060 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.761780' WHERE "spree_products"."id" = 1060501631  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501631 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501631  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501631 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593060 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501631) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501631 AND "spree_option_types"."id" = 935339725 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501631) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339725], ["position", 1], ["product_id", 1060501631], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501631 AND "spree_option_types"."id" = 935339726 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501631) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339726], ["position", 2], ["product_id", 1060501631], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501631) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:31:44.785140' WHERE "spree_products"."id" = 1060501631  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013593060 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.786780' WHERE "spree_products"."id" = 1060501631 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501631  (3.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:31:44.793650')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:31:44.794465')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501629 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501629 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501629 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501631 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:31:44 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501632 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.861259' WHERE "spree_products"."id" = 1060501632 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501632], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.862696' WHERE "spree_products"."id" = 1060501632  (0.5ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593061 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.864457' WHERE "spree_products"."id" = 1060501632  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501632 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501632  (0.9ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501632 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501632 AND "spree_option_types"."id" = 935339727 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501632) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339727], ["position", 1], ["product_id", 1060501632], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501632) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501632 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:31:44 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501633 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.888287' WHERE "spree_products"."id" = 1060501633 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501633], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.889777' WHERE "spree_products"."id" = 1060501633  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593062 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.891254' WHERE "spree_products"."id" = 1060501633  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501633 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501633  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501633 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501633 AND "spree_option_types"."id" = 935339727 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501633) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339727], ["position", 1], ["product_id", 1060501633], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501633) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501633 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:31:44 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501634 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.963214' WHERE "spree_products"."id" = 1060501634 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501634], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.964646' WHERE "spree_products"."id" = 1060501634  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593063 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:44.966373' WHERE "spree_products"."id" = 1060501634  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501634 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501634  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501634 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501634 AND "spree_option_types"."id" = 935339727 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501634) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339727], ["position", 1], ["product_id", 1060501634], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501634 AND "spree_option_types"."id" = 935339728 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501634) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00], ["option_type_id", 935339728], ["position", 2], ["product_id", 1060501634], ["updated_at", Tue, 23 Oct 2012 15:31:44 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501634) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501634 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501632 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.6ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501635 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.053375' WHERE "spree_products"."id" = 1060501635 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501635], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.055032' WHERE "spree_products"."id" = 1060501635  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593064 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.056908' WHERE "spree_products"."id" = 1060501635  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501635 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501635  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501635 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501635 AND "spree_option_types"."id" = 935339729 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501635) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["option_type_id", 935339729], ["position", 1], ["product_id", 1060501635], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501635) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 1060501635 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501636 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.079663' WHERE "spree_products"."id" = 1060501636 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501636], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.080772' WHERE "spree_products"."id" = 1060501636  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593065 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.082142' WHERE "spree_products"."id" = 1060501636  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501636 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501636  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501636 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501636 AND "spree_option_types"."id" = 935339729 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501636) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["option_type_id", 935339729], ["position", 1], ["product_id", 1060501636], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501636) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 1060501636 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (91.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501637 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.194990' WHERE "spree_products"."id" = 1060501637 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501637], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.200132' WHERE "spree_products"."id" = 1060501637  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593066 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.201708' WHERE "spree_products"."id" = 1060501637  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501637 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501637  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501637 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (2.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501637 AND "spree_option_types"."id" = 935339729 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501637) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["option_type_id", 935339729], ["position", 1], ["product_id", 1060501637], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501637 AND "spree_option_types"."id" = 935339730 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501637) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["option_type_id", 935339730], ["position", 2], ["product_id", 1060501637], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501637) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 1060501637 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (23.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501635 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (3.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (28.9ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501638 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.456886' WHERE "spree_products"."id" = 1060501638 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501638], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.458990' WHERE "spree_products"."id" = 1060501638  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593067 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.460663' WHERE "spree_products"."id" = 1060501638  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501638  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["product_id", nil], ["property_id", 905835811], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501638, "updated_at" = '2012-10-23 15:31:45.483449' WHERE "spree_product_properties"."id" = 1073274242 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501638) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452706 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452706], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501638 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501638, 558400617) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452707 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452707], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501638, 558400618) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501638) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501638 AND "spree_option_types"."id" = 935339731 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501638) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["option_type_id", 935339731], ["position", 1], ["product_id", 1060501638], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339731) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339731], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.654291' WHERE "spree_products"."id" = 1060501638 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501638], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.655941' WHERE "spree_products"."id" = 1060501638  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593068, 979461213) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339731) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339731], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.668975' WHERE "spree_products"."id" = 1060501638 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501638], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.670757' WHERE "spree_products"."id" = 1060501638  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593069, 979461214) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339731) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339731], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501638 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.676355' WHERE "spree_products"."id" = 1060501638 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501638], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.677974' WHERE "spree_products"."id" = 1060501638  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593070, 979461215) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501638]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501638) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593068 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593069 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593070 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501638) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.696722' WHERE "spree_products"."id" = 1060501638  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593068 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.698032' WHERE "spree_products"."id" = 1060501638 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501638 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.699055' WHERE "spree_products"."id" = 1060501638  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593069 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.700238' WHERE "spree_products"."id" = 1060501638 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501638 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.717205' WHERE "spree_products"."id" = 1060501638  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593070 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.720427' WHERE "spree_products"."id" = 1060501638 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501638) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501638 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:31:45.724755' WHERE "spree_products"."id" = 1060501638 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501638 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501639 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.735807' WHERE "spree_products"."id" = 1060501639 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501639], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.737086' WHERE "spree_products"."id" = 1060501639  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593071 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.738648' WHERE "spree_products"."id" = 1060501639  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501639  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["product_id", nil], ["property_id", 905835812], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501639, "updated_at" = '2012-10-23 15:31:45.746687' WHERE "spree_product_properties"."id" = 1073274243 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501639) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452706 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501639 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501639, 558400617) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452708 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452708], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501639, 558400619) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452706 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400617 AND "spree_taxons"."taxonomy_id" = 854452706 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400617]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400617], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452706], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400617]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400620]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400620 THEN 558400617 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400617]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400620]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400620 AND "spree_taxons"."taxonomy_id" = 854452706 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400620]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400620], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452706], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400620]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400621]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400621 THEN 558400620 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400620]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400621]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501639, 558400620)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501639, 558400621) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501639) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501639 AND "spree_option_types"."id" = 935339731 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501639) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["option_type_id", 935339731], ["position", 1], ["product_id", 1060501639], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501639 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.903282' WHERE "spree_products"."id" = 1060501639 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501639], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.905133' WHERE "spree_products"."id" = 1060501639  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593072, 979461213) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.907750' WHERE "spree_products"."id" = 1060501639 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501639], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.909186' WHERE "spree_products"."id" = 1060501639  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593073, 979461214) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.912651' WHERE "spree_products"."id" = 1060501639 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501639], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.913956' WHERE "spree_products"."id" = 1060501639  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593074, 979461215) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501639]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501639) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593072 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593073 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593074 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501639) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.935709' WHERE "spree_products"."id" = 1060501639  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593072 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.937315' WHERE "spree_products"."id" = 1060501639 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.938539' WHERE "spree_products"."id" = 1060501639  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593073 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.939338' WHERE "spree_products"."id" = 1060501639 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501639 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.940750' WHERE "spree_products"."id" = 1060501639  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593074 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.942009' WHERE "spree_products"."id" = 1060501639 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501639) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501639 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:31:45.944591' WHERE "spree_products"."id" = 1060501639 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501639 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.955066' WHERE "spree_products"."id" = 1060501640 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501640], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.956482' WHERE "spree_products"."id" = 1060501640  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593075 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:45.958012' WHERE "spree_products"."id" = 1060501640  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501640  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["product_id", nil], ["property_id", 905835813], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501640, "updated_at" = '2012-10-23 15:31:45.965553' WHERE "spree_product_properties"."id" = 1073274244 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["product_id", nil], ["property_id", 905835812], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501640, "updated_at" = '2012-10-23 15:31:45.968469' WHERE "spree_product_properties"."id" = 1073274245 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["product_id", nil], ["property_id", 905835814], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501640, "updated_at" = '2012-10-23 15:31:45.991658' WHERE "spree_product_properties"."id" = 1073274246 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501640) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:31:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452709 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452709], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501640 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501640, 558400622) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452706 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400617 AND "spree_taxons"."taxonomy_id" = 854452706 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400617]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400617], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452706], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400617]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400623]] SQL (1.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400623 THEN 558400617 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400617]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400623]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501640, 558400623)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501640, 558400617) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501640) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501640 AND "spree_option_types"."id" = 935339731 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501640) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["option_type_id", 935339731], ["position", 1], ["product_id", 1060501640], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.030978' WHERE "spree_products"."id" = 1060501640 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501640], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.032739' WHERE "spree_products"."id" = 1060501640  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593076, 979461213) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.035657' WHERE "spree_products"."id" = 1060501640 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501640], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.037117' WHERE "spree_products"."id" = 1060501640  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593077, 979461214) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339731 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.040000' WHERE "spree_products"."id" = 1060501640 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501640], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.044047' WHERE "spree_products"."id" = 1060501640  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593078, 979461215) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501640]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501640 AND "spree_option_types"."id" = 935339732 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501640) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["option_type_id", 935339732], ["position", 2], ["product_id", 1060501640], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339732 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339732) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339732], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.059673' WHERE "spree_products"."id" = 1060501640 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501640], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.061083' WHERE "spree_products"."id" = 1060501640  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593079, 979461216) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339732 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339732) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "colour"], ["option_type_id", 935339732], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.066503' WHERE "spree_products"."id" = 1060501640 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501640], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.068490' WHERE "spree_products"."id" = 1060501640  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593080, 979461217) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501640]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501640) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593076 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593077 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593078 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593079 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593080 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501640) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.086980' WHERE "spree_products"."id" = 1060501640  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593076 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.088125' WHERE "spree_products"."id" = 1060501640 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.093269' WHERE "spree_products"."id" = 1060501640  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593077 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.094345' WHERE "spree_products"."id" = 1060501640 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.096746' WHERE "spree_products"."id" = 1060501640  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593078 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.097916' WHERE "spree_products"."id" = 1060501640 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.099127' WHERE "spree_products"."id" = 1060501640  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593079 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.100390' WHERE "spree_products"."id" = 1060501640 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501640 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.101606' WHERE "spree_products"."id" = 1060501640  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593080 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.102885' WHERE "spree_products"."id" = 1060501640 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501640) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501640 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:31:46.106111' WHERE "spree_products"."id" = 1060501640 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501640 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (27.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501638 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501640 Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501640 SQL (43.5ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (13.2ms) DELETE FROM "spree_option_types" SQL (24.5ms) DELETE FROM "spree_option_values" SQL (66.9ms) DELETE FROM "spree_properties" SQL (39.1ms) DELETE FROM "spree_product_properties" SQL (55.0ms) DELETE FROM "spree_variants" SQL (46.3ms) DELETE FROM "spree_taxons" SQL (12.5ms) DELETE FROM "spree_taxonomies" SQL (44.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]]  (47.4ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501641 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.697441' WHERE "spree_products"."id" = 1060501641 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501641], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.699835' WHERE "spree_products"."id" = 1060501641  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593081 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.701353' WHERE "spree_products"."id" = 1060501641  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501641  (1.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["product_id", nil], ["property_id", 905835815], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501641, "updated_at" = '2012-10-23 15:31:46.708438' WHERE "spree_product_properties"."id" = 1073274247 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452710 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452710], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501641 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501641, 558400624) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452711 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452711], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501641, 558400625) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501641 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501641) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["option_type_id", 935339733], ["position", 1], ["product_id", 1060501641], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339733) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339733], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.812376' WHERE "spree_products"."id" = 1060501641 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501641], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.813925' WHERE "spree_products"."id" = 1060501641  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593082, 979461218) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501641]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501641 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339733) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339733], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.825655' WHERE "spree_products"."id" = 1060501641 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501641], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.827129' WHERE "spree_products"."id" = 1060501641  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593083, 979461219) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501641]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501641 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339733) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339733], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.840875' WHERE "spree_products"."id" = 1060501641 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501641], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.842501' WHERE "spree_products"."id" = 1060501641  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593084, 979461220) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501641]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593082 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593083 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593084 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501641 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.865341' WHERE "spree_products"."id" = 1060501641  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593082 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.866905' WHERE "spree_products"."id" = 1060501641 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.868610' WHERE "spree_products"."id" = 1060501641  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593083 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.869725' WHERE "spree_products"."id" = 1060501641 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501641 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.871098' WHERE "spree_products"."id" = 1060501641  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593084 SQL (49.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.872462' WHERE "spree_products"."id" = 1060501641 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501641) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501641 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:31:46.929065' WHERE "spree_products"."id" = 1060501641 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501641 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501642 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.938724' WHERE "spree_products"."id" = 1060501642 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501642], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.940674' WHERE "spree_products"."id" = 1060501642  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593085 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:46.942416' WHERE "spree_products"."id" = 1060501642  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501642  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.6ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["product_id", nil], ["property_id", 905835816], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501642, "updated_at" = '2012-10-23 15:31:46.950684' WHERE "spree_product_properties"."id" = 1073274248 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452710 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501642 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501642, 558400624) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452712 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452712], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501642, 558400626) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452710 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400624 AND "spree_taxons"."taxonomy_id" = 854452710 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400624]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400624], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452710], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400624]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400627]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400627 THEN 558400624 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400624]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400627]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400627 AND "spree_taxons"."taxonomy_id" = 854452710 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400627]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400627], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452710], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400627]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400628]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400628 THEN 558400627 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400627]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400628]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501642, 558400627)  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501642, 558400628) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501642 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501642) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00], ["option_type_id", 935339733], ["position", 1], ["product_id", 1060501642], ["updated_at", Tue, 23 Oct 2012 15:31:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.003088' WHERE "spree_products"."id" = 1060501642 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501642], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.004585' WHERE "spree_products"."id" = 1060501642  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593086, 979461218) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501642]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501642 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.014438' WHERE "spree_products"."id" = 1060501642 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501642], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.015696' WHERE "spree_products"."id" = 1060501642  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593087, 979461219) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501642]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501642 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.033674' WHERE "spree_products"."id" = 1060501642 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501642], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.034975' WHERE "spree_products"."id" = 1060501642  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593088, 979461220) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501642]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593086 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593087 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593088 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.057259' WHERE "spree_products"."id" = 1060501642  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593086 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.058862' WHERE "spree_products"."id" = 1060501642 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.059985' WHERE "spree_products"."id" = 1060501642  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593087 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.060937' WHERE "spree_products"."id" = 1060501642 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501642 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.062139' WHERE "spree_products"."id" = 1060501642  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593088 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.063543' WHERE "spree_products"."id" = 1060501642 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501642) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501642 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:31:47.066208' WHERE "spree_products"."id" = 1060501642 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501642 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.075820' WHERE "spree_products"."id" = 1060501643 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501643], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.077321' WHERE "spree_products"."id" = 1060501643  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593089 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.078935' WHERE "spree_products"."id" = 1060501643  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501643  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["product_id", nil], ["property_id", 905835817], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501643, "updated_at" = '2012-10-23 15:31:47.085602' WHERE "spree_product_properties"."id" = 1073274249 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["product_id", nil], ["property_id", 905835816], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501643, "updated_at" = '2012-10-23 15:31:47.089107' WHERE "spree_product_properties"."id" = 1073274250 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["product_id", nil], ["property_id", 905835818], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501643, "updated_at" = '2012-10-23 15:31:47.093555' WHERE "spree_product_properties"."id" = 1073274251 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452713 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452713], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501643 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501643, 558400629) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452710 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400624 AND "spree_taxons"."taxonomy_id" = 854452710 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400624]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400624], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452710], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400624]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400630]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400630 THEN 558400624 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400624]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400630]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501643, 558400630)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501643, 558400624) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501643 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501643) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["option_type_id", 935339733], ["position", 1], ["product_id", 1060501643], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.127631' WHERE "spree_products"."id" = 1060501643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501643], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.130336' WHERE "spree_products"."id" = 1060501643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593090, 979461218) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501643]] Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501643 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.140454' WHERE "spree_products"."id" = 1060501643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501643], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.142079' WHERE "spree_products"."id" = 1060501643  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593091, 979461219) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501643]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501643 AND "spree_option_types"."id" = 935339733 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339733 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.150801' WHERE "spree_products"."id" = 1060501643 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501643], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.152286' WHERE "spree_products"."id" = 1060501643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593092, 979461220) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501643]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501643 AND "spree_option_types"."id" = 935339734 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501643) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["option_type_id", 935339734], ["position", 2], ["product_id", 1060501643], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339734 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339734) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339734], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.167718' WHERE "spree_products"."id" = 1060501643 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501643], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.170190' WHERE "spree_products"."id" = 1060501643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593093, 979461221) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501643]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501643 AND "spree_option_types"."id" = 935339734 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339734 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339734) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "colour"], ["option_type_id", 935339734], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.180826' WHERE "spree_products"."id" = 1060501643 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501643], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.182173' WHERE "spree_products"."id" = 1060501643  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593094, 979461222) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501643]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593090 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593091 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593092 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593093 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593094 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.199094' WHERE "spree_products"."id" = 1060501643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593090 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.200659' WHERE "spree_products"."id" = 1060501643 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.202582' WHERE "spree_products"."id" = 1060501643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593091 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.203717' WHERE "spree_products"."id" = 1060501643 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.205048' WHERE "spree_products"."id" = 1060501643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593092 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.206034' WHERE "spree_products"."id" = 1060501643 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.207866' WHERE "spree_products"."id" = 1060501643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593093 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.208717' WHERE "spree_products"."id" = 1060501643 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501643 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.209963' WHERE "spree_products"."id" = 1060501643  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593094 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.211293' WHERE "spree_products"."id" = 1060501643 Spree::Product Exists (1.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501643) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501643 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:31:47.214913' WHERE "spree_products"."id" = 1060501643 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501643 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (54.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501641 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (3.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501643 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501643 SQL (8.8ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (53.7ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction SQL (3.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (5.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.1ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452714 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452714], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452714], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501644 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.874618' WHERE "spree_products"."id" = 1060501644 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501644], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.876119' WHERE "spree_products"."id" = 1060501644  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593095 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.878671' WHERE "spree_products"."id" = 1060501644  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501644  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["product_id", nil], ["property_id", 905835819], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501644, "updated_at" = '2012-10-23 15:31:47.887787' WHERE "spree_product_properties"."id" = 1073274252 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501644) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452714 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501644 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501644, 558400631) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452715 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452715], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501644, 558400633) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501644) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501644 AND "spree_option_types"."id" = 935339735 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501644) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["option_type_id", 935339735], ["position", 1], ["product_id", 1060501644], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339735) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339735], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.919026' WHERE "spree_products"."id" = 1060501644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501644], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.920380' WHERE "spree_products"."id" = 1060501644  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593096, 979461223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339735) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339735], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.926537' WHERE "spree_products"."id" = 1060501644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501644], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.928157' WHERE "spree_products"."id" = 1060501644  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593097, 979461224) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339735) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339735], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.932891' WHERE "spree_products"."id" = 1060501644 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501644], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.934205' WHERE "spree_products"."id" = 1060501644  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593098, 979461225) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501644]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501644) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593096 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593097 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593098 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501644) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501644 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.949161' WHERE "spree_products"."id" = 1060501644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593096 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.950612' WHERE "spree_products"."id" = 1060501644 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.952112' WHERE "spree_products"."id" = 1060501644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593097 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.953337' WHERE "spree_products"."id" = 1060501644 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501644 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.954664' WHERE "spree_products"."id" = 1060501644  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593098 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.955811' WHERE "spree_products"."id" = 1060501644 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501644) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:31:47.958810' WHERE "spree_products"."id" = 1060501644 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501644 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.968030' WHERE "spree_products"."id" = 1060501645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501645], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.969258' WHERE "spree_products"."id" = 1060501645  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593099 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:47.970808' WHERE "spree_products"."id" = 1060501645  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501645  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["product_id", nil], ["property_id", 905835820], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501645, "updated_at" = '2012-10-23 15:31:47.977368' WHERE "spree_product_properties"."id" = 1073274253 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501645) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452714 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501645 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501645, 558400631) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452716 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452716], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501645, 558400634) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452714 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400631 AND "spree_taxons"."taxonomy_id" = 854452714 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400631]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400631], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452714], ["updated_at", Tue, 23 Oct 2012 15:31:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400631]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400635]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400635 THEN 558400631 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400631]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400635]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400635 AND "spree_taxons"."taxonomy_id" = 854452714 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400635]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400635], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452714], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400635]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400636]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400636 THEN 558400635 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400635]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400636]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501645, 558400635)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501645, 558400636) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501645) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501645 AND "spree_option_types"."id" = 935339735 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501645) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["option_type_id", 935339735], ["position", 1], ["product_id", 1060501645], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.016409' WHERE "spree_products"."id" = 1060501645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501645], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.017818' WHERE "spree_products"."id" = 1060501645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593100, 979461223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.020992' WHERE "spree_products"."id" = 1060501645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501645], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.022644' WHERE "spree_products"."id" = 1060501645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593101, 979461224) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.025419' WHERE "spree_products"."id" = 1060501645 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501645], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.026804' WHERE "spree_products"."id" = 1060501645  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593102, 979461225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501645]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501645) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593100 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593101 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593102 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501645) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.051414' WHERE "spree_products"."id" = 1060501645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593100 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.052801' WHERE "spree_products"."id" = 1060501645 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.054236' WHERE "spree_products"."id" = 1060501645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593101 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.055284' WHERE "spree_products"."id" = 1060501645 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501645 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.056451' WHERE "spree_products"."id" = 1060501645  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593102 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.057485' WHERE "spree_products"."id" = 1060501645 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501645) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:31:48.060526' WHERE "spree_products"."id" = 1060501645 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501645 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.070044' WHERE "spree_products"."id" = 1060501646 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501646], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.071648' WHERE "spree_products"."id" = 1060501646  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593103 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.073347' WHERE "spree_products"."id" = 1060501646  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501646  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835821], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501646, "updated_at" = '2012-10-23 15:31:48.080999' WHERE "spree_product_properties"."id" = 1073274254 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835820], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501646, "updated_at" = '2012-10-23 15:31:48.084504' WHERE "spree_product_properties"."id" = 1073274255 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835822], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501646, "updated_at" = '2012-10-23 15:31:48.089183' WHERE "spree_product_properties"."id" = 1073274256 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501646) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452717 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452717], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501646 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501646, 558400637) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452714 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400631 AND "spree_taxons"."taxonomy_id" = 854452714 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400631]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400631], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452714], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400631]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400638]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400638 THEN 558400631 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400631]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400638]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501646, 558400638)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501646, 558400631) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501646) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501646 AND "spree_option_types"."id" = 935339735 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501646) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["option_type_id", 935339735], ["position", 1], ["product_id", 1060501646], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.121345' WHERE "spree_products"."id" = 1060501646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501646], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.122790' WHERE "spree_products"."id" = 1060501646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593104, 979461223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.126084' WHERE "spree_products"."id" = 1060501646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501646], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.127301' WHERE "spree_products"."id" = 1060501646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593105, 979461224) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339735 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.130328' WHERE "spree_products"."id" = 1060501646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501646], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.131629' WHERE "spree_products"."id" = 1060501646  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593106, 979461225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501646]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501646 AND "spree_option_types"."id" = 935339736 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501646) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["option_type_id", 935339736], ["position", 2], ["product_id", 1060501646], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339736 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339736) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339736], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.147135' WHERE "spree_products"."id" = 1060501646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501646], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.148609' WHERE "spree_products"."id" = 1060501646  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593107, 979461226) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339736 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339736) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339736], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.153493' WHERE "spree_products"."id" = 1060501646 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501646], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.155080' WHERE "spree_products"."id" = 1060501646  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593108, 979461227) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501646]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501646) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593104 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593105 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593106 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593107 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593108 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501646) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.171780' WHERE "spree_products"."id" = 1060501646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593104 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.172974' WHERE "spree_products"."id" = 1060501646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.174202' WHERE "spree_products"."id" = 1060501646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593105 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.175142' WHERE "spree_products"."id" = 1060501646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.176347' WHERE "spree_products"."id" = 1060501646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593106 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.177340' WHERE "spree_products"."id" = 1060501646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.178781' WHERE "spree_products"."id" = 1060501646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593107 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.180213' WHERE "spree_products"."id" = 1060501646 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501646 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.181308' WHERE "spree_products"."id" = 1060501646  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593108 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.182345' WHERE "spree_products"."id" = 1060501646 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501646) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:31:48.185089' WHERE "spree_products"."id" = 1060501646 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501646 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501645 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501646 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501644 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501644 ORDER BY spree_option_types.position Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593096 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593097 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339735 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593098 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452718 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452718], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452718], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501647 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.391374' WHERE "spree_products"."id" = 1060501647 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501647], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.393075' WHERE "spree_products"."id" = 1060501647  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593109 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.394550' WHERE "spree_products"."id" = 1060501647  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501647  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835823], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501647, "updated_at" = '2012-10-23 15:31:48.401379' WHERE "spree_product_properties"."id" = 1073274257 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452718 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501647 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501647, 558400639) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452719 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452719], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501647, 558400641) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501647 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501647) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["option_type_id", 935339737], ["position", 1], ["product_id", 1060501647], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339737) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339737], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.437860' WHERE "spree_products"."id" = 1060501647 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501647], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.439245' WHERE "spree_products"."id" = 1060501647  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593110, 979461228) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501647]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501647 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339737) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339737], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.453809' WHERE "spree_products"."id" = 1060501647 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501647], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.455129' WHERE "spree_products"."id" = 1060501647  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593111, 979461229) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501647]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501647 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339737) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339737], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.465225' WHERE "spree_products"."id" = 1060501647 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501647], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.466588' WHERE "spree_products"."id" = 1060501647  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593112, 979461230) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501647]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593110 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593111 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593112 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.485796' WHERE "spree_products"."id" = 1060501647  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593110 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.486944' WHERE "spree_products"."id" = 1060501647 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.488151' WHERE "spree_products"."id" = 1060501647  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593111 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.489146' WHERE "spree_products"."id" = 1060501647 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501647 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.490465' WHERE "spree_products"."id" = 1060501647  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593112 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.491514' WHERE "spree_products"."id" = 1060501647 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501647) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:31:48.494228' WHERE "spree_products"."id" = 1060501647 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501647 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.504104' WHERE "spree_products"."id" = 1060501648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501648], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.505416' WHERE "spree_products"."id" = 1060501648  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593113 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.506791' WHERE "spree_products"."id" = 1060501648  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501648  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835824], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501648, "updated_at" = '2012-10-23 15:31:48.513489' WHERE "spree_product_properties"."id" = 1073274258 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452718 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501648 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501648, 558400639) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452720 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452720], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501648, 558400642) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452718 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400639 AND "spree_taxons"."taxonomy_id" = 854452718 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400639]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400639], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452718], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400639]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400643]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400643 THEN 558400639 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400639]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400643]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400643 AND "spree_taxons"."taxonomy_id" = 854452718 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400643]] SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400643], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452718], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400643]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400644]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400644 THEN 558400643 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400643]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400644]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501648, 558400643)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501648, 558400644) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501648 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501648) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["option_type_id", 935339737], ["position", 1], ["product_id", 1060501648], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.559775' WHERE "spree_products"."id" = 1060501648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501648], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.561101' WHERE "spree_products"."id" = 1060501648  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593114, 979461228) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501648]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501648 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.570302' WHERE "spree_products"."id" = 1060501648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501648], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.571605' WHERE "spree_products"."id" = 1060501648  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593115, 979461229) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501648]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501648 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.579752' WHERE "spree_products"."id" = 1060501648 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501648], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.581044' WHERE "spree_products"."id" = 1060501648  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593116, 979461230) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501648]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593114 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593115 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593116 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.600953' WHERE "spree_products"."id" = 1060501648  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593114 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.602115' WHERE "spree_products"."id" = 1060501648 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.603407' WHERE "spree_products"."id" = 1060501648  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593115 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.604392' WHERE "spree_products"."id" = 1060501648 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501648 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.605622' WHERE "spree_products"."id" = 1060501648  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593116 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.606561' WHERE "spree_products"."id" = 1060501648 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501648) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:31:48.609535' WHERE "spree_products"."id" = 1060501648 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501648 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.618410' WHERE "spree_products"."id" = 1060501649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501649], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.619668' WHERE "spree_products"."id" = 1060501649  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593117 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.621971' WHERE "spree_products"."id" = 1060501649  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501649  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835825], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501649, "updated_at" = '2012-10-23 15:31:48.630372' WHERE "spree_product_properties"."id" = 1073274259 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835824], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501649, "updated_at" = '2012-10-23 15:31:48.634043' WHERE "spree_product_properties"."id" = 1073274260 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["product_id", nil], ["property_id", 905835826], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501649, "updated_at" = '2012-10-23 15:31:48.638600' WHERE "spree_product_properties"."id" = 1073274261 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452721 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452721], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501649 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501649, 558400645) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452718 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400639 AND "spree_taxons"."taxonomy_id" = 854452718 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400639]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400639], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452718], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400639]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400646]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400646 THEN 558400639 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400639]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400646]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501649, 558400646)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501649, 558400639) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501649 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501649) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["option_type_id", 935339737], ["position", 1], ["product_id", 1060501649], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.672111' WHERE "spree_products"."id" = 1060501649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501649], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.673478' WHERE "spree_products"."id" = 1060501649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593118, 979461228) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501649]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501649 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.681870' WHERE "spree_products"."id" = 1060501649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501649], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.683215' WHERE "spree_products"."id" = 1060501649  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593119, 979461229) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501649]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501649 AND "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339737 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.691721' WHERE "spree_products"."id" = 1060501649 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501649], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.692990' WHERE "spree_products"."id" = 1060501649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593120, 979461230) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501649]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501649 AND "spree_option_types"."id" = 935339738 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501649) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["option_type_id", 935339738], ["position", 2], ["product_id", 1060501649], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339738 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339738) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339738], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.710067' WHERE "spree_products"."id" = 1060501649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501649], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (1.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.711533' WHERE "spree_products"."id" = 1060501649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593121, 979461231) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501649]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501649 AND "spree_option_types"."id" = 935339738 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339738 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339738) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339738], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.724249' WHERE "spree_products"."id" = 1060501649 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501649], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.725663' WHERE "spree_products"."id" = 1060501649  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593122, 979461232) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501649]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593118 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593119 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593120 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593121 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593122 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.744247' WHERE "spree_products"."id" = 1060501649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593118 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.745590' WHERE "spree_products"."id" = 1060501649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.747132' WHERE "spree_products"."id" = 1060501649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593119 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.748040' WHERE "spree_products"."id" = 1060501649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.749239' WHERE "spree_products"."id" = 1060501649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593120 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.750298' WHERE "spree_products"."id" = 1060501649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.751486' WHERE "spree_products"."id" = 1060501649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593121 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.752402' WHERE "spree_products"."id" = 1060501649 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501649 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.753576' WHERE "spree_products"."id" = 1060501649  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593122 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:48.754570' WHERE "spree_products"."id" = 1060501649 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501649) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:31:48.757559' WHERE "spree_products"."id" = 1060501649 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501649 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (154.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501648 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501649 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501647 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501647 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593110 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593111 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339737 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593112 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (301.6ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (225.1ms) DELETE FROM "spree_option_types" SQL (218.5ms) DELETE FROM "spree_option_values" SQL (175.6ms) DELETE FROM "spree_properties" SQL (444.2ms) DELETE FROM "spree_product_properties" SQL (406.7ms) DELETE FROM "spree_variants" SQL (528.5ms) DELETE FROM "spree_taxons" SQL (531.9ms) DELETE FROM "spree_taxonomies" SQL (432.1ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:52 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452722 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452722], ["updated_at", Tue, 23 Oct 2012 15:31:52 UTC +00:00]]  (415.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:52 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452722], ["updated_at", Tue, 23 Oct 2012 15:31:52 UTC +00:00]]  (531.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501650 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.352686' WHERE "spree_products"."id" = 1060501650 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501650], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.355014' WHERE "spree_products"."id" = 1060501650  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593123 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.356556' WHERE "spree_products"."id" = 1060501650  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501650  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["product_id", nil], ["property_id", 905835827], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501650, "updated_at" = '2012-10-23 15:31:53.365012' WHERE "spree_product_properties"."id" = 1073274262 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452722 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501650 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501650, 558400647) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452723 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452723], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501650, 558400649) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::OptionType Exists (1.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501650 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501650) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["option_type_id", 935339739], ["position", 1], ["product_id", 1060501650], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339739) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339739], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501650 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.406478' WHERE "spree_products"."id" = 1060501650 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501650], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.408141' WHERE "spree_products"."id" = 1060501650  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593124, 979461233) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501650]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501650 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339739) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339739], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.421543' WHERE "spree_products"."id" = 1060501650 SQL (1.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501650], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.424555' WHERE "spree_products"."id" = 1060501650  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593125, 979461234) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501650]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501650 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339739) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339739], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.437070' WHERE "spree_products"."id" = 1060501650 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501650], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (1.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.438395' WHERE "spree_products"."id" = 1060501650  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593126, 979461235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501650]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593124 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593125 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593126 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.460167' WHERE "spree_products"."id" = 1060501650  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593124 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.461654' WHERE "spree_products"."id" = 1060501650 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.463105' WHERE "spree_products"."id" = 1060501650  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593125 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.464234' WHERE "spree_products"."id" = 1060501650 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501650 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.465417' WHERE "spree_products"."id" = 1060501650  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593126 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.466274' WHERE "spree_products"."id" = 1060501650 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501650) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:31:53.470123' WHERE "spree_products"."id" = 1060501650 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501651 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.478891' WHERE "spree_products"."id" = 1060501651 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501651], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.480553' WHERE "spree_products"."id" = 1060501651  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593127 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.481885' WHERE "spree_products"."id" = 1060501651  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501651  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["product_id", nil], ["property_id", 905835828], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501651, "updated_at" = '2012-10-23 15:31:53.490268' WHERE "spree_product_properties"."id" = 1073274263 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452722 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501651 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501651, 558400647) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452724 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452724], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501651, 558400650) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452722 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400647 AND "spree_taxons"."taxonomy_id" = 854452722 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400647]] Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400647], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452722], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400647]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400651]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400651 THEN 558400647 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400647]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400651]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400651 AND "spree_taxons"."taxonomy_id" = 854452722 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400651]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400651], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452722], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400651]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400652]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400652 THEN 558400651 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400651]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400652]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501651, 558400651)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501651, 558400652) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501651 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501651) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["option_type_id", 935339739], ["position", 1], ["product_id", 1060501651], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.551173' WHERE "spree_products"."id" = 1060501651 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501651], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.553169' WHERE "spree_products"."id" = 1060501651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593128, 979461233) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501651]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501651 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.563551' WHERE "spree_products"."id" = 1060501651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501651], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.565318' WHERE "spree_products"."id" = 1060501651  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593129, 979461234) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501651]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501651 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.574983' WHERE "spree_products"."id" = 1060501651 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501651], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.576374' WHERE "spree_products"."id" = 1060501651  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593130, 979461235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501651]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593128 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593129 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593130 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.602278' WHERE "spree_products"."id" = 1060501651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593128 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.603724' WHERE "spree_products"."id" = 1060501651 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.605363' WHERE "spree_products"."id" = 1060501651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593129 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.606550' WHERE "spree_products"."id" = 1060501651 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501651 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.607675' WHERE "spree_products"."id" = 1060501651  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593130 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.608977' WHERE "spree_products"."id" = 1060501651 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501651) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:31:53.612434' WHERE "spree_products"."id" = 1060501651 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.630905' WHERE "spree_products"."id" = 1060501652 Binary data inserted for `string` type on column `sku` SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501652], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.633158' WHERE "spree_products"."id" = 1060501652  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593131 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.634549' WHERE "spree_products"."id" = 1060501652  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501652  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["product_id", nil], ["property_id", 905835829], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501652, "updated_at" = '2012-10-23 15:31:53.644246' WHERE "spree_product_properties"."id" = 1073274264 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `value` SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["product_id", nil], ["property_id", 905835828], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501652, "updated_at" = '2012-10-23 15:31:53.648278' WHERE "spree_product_properties"."id" = 1073274265 Created New ProductProperty # Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["product_id", nil], ["property_id", 905835830], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501652, "updated_at" = '2012-10-23 15:31:53.653541' WHERE "spree_product_properties"."id" = 1073274266 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452725 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452725], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501652 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501652, 558400653) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452722 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400647 AND "spree_taxons"."taxonomy_id" = 854452722 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400647]] Binary data inserted for `string` type on column `name` SQL (3.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400647], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452722], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400647]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400654]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400654 THEN 558400647 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400647]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400654]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501652, 558400654)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501652, 558400647) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501652 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501652) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["option_type_id", 935339739], ["position", 1], ["product_id", 1060501652], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.735844' WHERE "spree_products"."id" = 1060501652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501652], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.737225' WHERE "spree_products"."id" = 1060501652  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593132, 979461233) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501652]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501652 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.746500' WHERE "spree_products"."id" = 1060501652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501652], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.747956' WHERE "spree_products"."id" = 1060501652  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593133, 979461234) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501652]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501652 AND "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339739 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.757983' WHERE "spree_products"."id" = 1060501652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501652], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.759546' WHERE "spree_products"."id" = 1060501652  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593134, 979461235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501652]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501652 AND "spree_option_types"."id" = 935339740 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501652) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["option_type_id", 935339740], ["position", 2], ["product_id", 1060501652], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339740 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339740) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339740], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.778067' WHERE "spree_products"."id" = 1060501652 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501652], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.779704' WHERE "spree_products"."id" = 1060501652  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593135, 979461236) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501652]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501652 AND "spree_option_types"."id" = 935339740 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339740 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339740) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00], ["name", "colour"], ["option_type_id", 935339740], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.791900' WHERE "spree_products"."id" = 1060501652 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501652], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.793220' WHERE "spree_products"."id" = 1060501652  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593136, 979461237) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501652]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593132 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593133 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593134 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593135 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593136 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.814684' WHERE "spree_products"."id" = 1060501652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593132 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.815972' WHERE "spree_products"."id" = 1060501652 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.817287' WHERE "spree_products"."id" = 1060501652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593133 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.818203' WHERE "spree_products"."id" = 1060501652 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (1.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.824410' WHERE "spree_products"."id" = 1060501652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593134 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.832666' WHERE "spree_products"."id" = 1060501652 Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.834544' WHERE "spree_products"."id" = 1060501652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593135 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.835544' WHERE "spree_products"."id" = 1060501652 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501652 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.836990' WHERE "spree_products"."id" = 1060501652  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593136 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:53.838220' WHERE "spree_products"."id" = 1060501652 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501652) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:31:53.840997' WHERE "spree_products"."id" = 1060501652  (98.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501651 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501652 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501650 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (5.6ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501650 ORDER BY spree_option_types.position Spree::Variant Load (3.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593124 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593125 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339739 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593126 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (1.3ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (218.0ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (357.4ms) DELETE FROM "spree_option_types" SQL (160.5ms) DELETE FROM "spree_option_values" SQL (87.0ms) DELETE FROM "spree_properties" SQL (180.6ms) DELETE FROM "spree_product_properties" SQL (296.1ms) DELETE FROM "spree_variants" SQL (123.5ms) DELETE FROM "spree_taxons" SQL (118.9ms) DELETE FROM "spree_taxonomies" SQL (186.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452726 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452726], ["updated_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00]]  (47.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (30.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452726], ["updated_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00]]  (48.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501653 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:55.980488' WHERE "spree_products"."id" = 1060501653 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501653], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:55.983251' WHERE "spree_products"."id" = 1060501653  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593137 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:55.984749' WHERE "spree_products"."id" = 1060501653  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501653  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501653 AND "spree_option_types"."id" = 935339741 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501653) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00], ["option_type_id", 935339741], ["position", 1], ["product_id", 1060501653], ["updated_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:31:55 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501653 AND "spree_option_types"."id" = 935339742 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501653) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["option_type_id", 935339742], ["position", 2], ["product_id", 1060501653], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339741) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339741], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339742 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339742) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "colour"], ["option_type_id", 935339742], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.010757' WHERE "spree_products"."id" = 1060501653 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501653], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.012158' WHERE "spree_products"."id" = 1060501653  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593138, 979461238)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593138, 979461239) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339741) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339741], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339742 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.018487' WHERE "spree_products"."id" = 1060501653 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501653], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.019928' WHERE "spree_products"."id" = 1060501653  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593139, 979461240)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593139, 979461239) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501653]] Current value to assign : Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501653) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501653 AND "spree_option_types"."id" = 935339741 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339741) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339741], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.034889' WHERE "spree_products"."id" = 1060501653 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501653], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (1.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.036281' WHERE "spree_products"."id" = 1060501653  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593140, 979461241) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501653]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501653) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593138 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593139 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593140 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501653) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.055761' WHERE "spree_products"."id" = 1060501653  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593138 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.057154' WHERE "spree_products"."id" = 1060501653 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.058506' WHERE "spree_products"."id" = 1060501653  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593139 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.059420' WHERE "spree_products"."id" = 1060501653 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501653 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.060934' WHERE "spree_products"."id" = 1060501653  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593140 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.062222' WHERE "spree_products"."id" = 1060501653 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501653) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:31:56.064939' WHERE "spree_products"."id" = 1060501653 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.077723' WHERE "spree_products"."id" = 1060501654 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501654], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.079373' WHERE "spree_products"."id" = 1060501654  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593141 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.080983' WHERE "spree_products"."id" = 1060501654  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501654  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501654 AND "spree_option_types"."id" = 935339741 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501654) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["option_type_id", 935339741], ["position", 1], ["product_id", 1060501654], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501654 AND "spree_option_types"."id" = 935339742 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501654) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["option_type_id", 935339742], ["position", 2], ["product_id", 1060501654], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339742 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339742) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339742], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501654 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.100650' WHERE "spree_products"."id" = 1060501654 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501654], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.102587' WHERE "spree_products"."id" = 1060501654  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593142, 979461242)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593142, 979461238) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501654]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501654) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501654 AND "spree_option_types"."id" = 935339741 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501654 AND "spree_option_types"."id" = 935339742 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339742 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1  (3.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.120658' WHERE "spree_products"."id" = 1060501654 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501654], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.122376' WHERE "spree_products"."id" = 1060501654  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593143, 979461242)  (0.7ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593143, 979461241) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501654]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501654) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593142 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593143 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501654) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.136484' WHERE "spree_products"."id" = 1060501654  (0.6ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593142 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.138305' WHERE "spree_products"."id" = 1060501654 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501654 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.139397' WHERE "spree_products"."id" = 1060501654  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593143 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.140572' WHERE "spree_products"."id" = 1060501654 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501654) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501654 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 15:31:56.143052' WHERE "spree_products"."id" = 1060501654 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.152420' WHERE "spree_products"."id" = 1060501655 Binary data inserted for `string` type on column `sku` SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501655], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.154208' WHERE "spree_products"."id" = 1060501655  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593144 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.155876' WHERE "spree_products"."id" = 1060501655  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501655  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501655 AND "spree_option_types"."id" = 935339741 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501655) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["option_type_id", 935339741], ["position", 1], ["product_id", 1060501655], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501655 AND "spree_option_types"."id" = 935339742 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501655) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["option_type_id", 935339742], ["position", 2], ["product_id", 1060501655], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` Binary data inserted for `string` type on column `presentation` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501655 AND "spree_option_types"."id" = 935339743 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501655) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["option_type_id", 935339743], ["position", 3], ["product_id", 1060501655], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (1.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339742 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339743 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339743) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "large"], ["option_type_id", 935339743], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.185578' WHERE "spree_products"."id" = 1060501655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501655], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.187105' WHERE "spree_products"."id" = 1060501655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593145, 979461239)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593145, 979461243)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593145, 979461238) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339742 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339742) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339742], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339743 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.193905' WHERE "spree_products"."id" = 1060501655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501655], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.195304' WHERE "spree_products"."id" = 1060501655  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593146, 979461244)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593146, 979461243)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593146, 979461238) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501655]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501655 AND "spree_option_types"."id" = 935339741 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.203688' WHERE "spree_products"."id" = 1060501655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501655], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.204971' WHERE "spree_products"."id" = 1060501655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593147, 979461241) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501655]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501655) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501655 AND "spree_option_types"."id" = 935339741 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339741 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.213306' WHERE "spree_products"."id" = 1060501655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501655], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.214712' WHERE "spree_products"."id" = 1060501655  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593148, 979461240) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501655]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501655 AND "spree_option_types"."id" = 935339742 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339742 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501655 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.224981' WHERE "spree_products"."id" = 1060501655 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501655], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.226425' WHERE "spree_products"."id" = 1060501655  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593149, 979461242) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501655]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501655) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501655) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501655 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (19.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501653 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501653 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593138 Booted Spree using version 1.1.3 SQL (20.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (33.7ms) DELETE FROM "spree_option_types" SQL (12.9ms) DELETE FROM "spree_option_values" SQL (22.0ms) DELETE FROM "spree_properties" SQL (36.3ms) DELETE FROM "spree_product_properties" SQL (25.8ms) DELETE FROM "spree_variants" SQL (12.5ms) DELETE FROM "spree_taxons" SQL (19.9ms) DELETE FROM "spree_taxonomies" SQL (28.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.531375' WHERE "spree_products"."id" = 1060501656 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501656], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.533326' WHERE "spree_products"."id" = 1060501656  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593150 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.535554' WHERE "spree_products"."id" = 1060501656  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501656  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (1.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["product_id", nil], ["property_id", 905835831], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501656, "updated_at" = '2012-10-23 15:31:56.547081' WHERE "spree_product_properties"."id" = 1073274267 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501656) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452727 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452727], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501656 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501656, 558400657) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452728 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452728], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501656, 558400658) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501656) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501656 AND "spree_option_types"."id" = 935339744 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501656) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["option_type_id", 935339744], ["position", 1], ["product_id", 1060501656], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339744) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339744], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.583449' WHERE "spree_products"."id" = 1060501656 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501656], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.584936' WHERE "spree_products"."id" = 1060501656  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593151, 979461245) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339744) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339744], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.590618' WHERE "spree_products"."id" = 1060501656 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501656], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.592034' WHERE "spree_products"."id" = 1060501656  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593152, 979461246) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339744) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339744], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.596806' WHERE "spree_products"."id" = 1060501656 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501656], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.598135' WHERE "spree_products"."id" = 1060501656  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593153, 979461247) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501656]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501656) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593151 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593152 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593153 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501656) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.616212' WHERE "spree_products"."id" = 1060501656  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593151 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.617553' WHERE "spree_products"."id" = 1060501656 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.618844' WHERE "spree_products"."id" = 1060501656  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593152 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.619923' WHERE "spree_products"."id" = 1060501656 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.621646' WHERE "spree_products"."id" = 1060501656  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593153 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:56.622735' WHERE "spree_products"."id" = 1060501656 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) Binary data inserted for `string` type on column `attachment_file_name` SQL (2.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:31:56 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013593150, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1438 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501656 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.763041' WHERE "spree_products"."id" = 1060501656  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501656 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501656) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:31:58.771334' WHERE "spree_products"."id" = 1060501656 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (107.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.890412' WHERE "spree_products"."id" = 1060501657 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501657], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.892603' WHERE "spree_products"."id" = 1060501657  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593154 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.895235' WHERE "spree_products"."id" = 1060501657  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501657  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["product_id", nil], ["property_id", 905835832], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["value", nil]]  (0.6ms) UPDATE "spree_product_properties" SET "product_id" = 1060501657, "updated_at" = '2012-10-23 15:31:58.903334' WHERE "spree_product_properties"."id" = 1073274268 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501657) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452727 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501657 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501657, 558400657) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452729 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452729], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501657, 558400659) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452730 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452730], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501657, 558400660) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501657) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501657 AND "spree_option_types"."id" = 935339744 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501657) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00], ["option_type_id", 935339744], ["position", 1], ["product_id", 1060501657], ["updated_at", Tue, 23 Oct 2012 15:31:58 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.932829' WHERE "spree_products"."id" = 1060501657 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501657], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.934298' WHERE "spree_products"."id" = 1060501657  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593155, 979461245) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.937168' WHERE "spree_products"."id" = 1060501657 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501657], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.938411' WHERE "spree_products"."id" = 1060501657  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593156, 979461246) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.941471' WHERE "spree_products"."id" = 1060501657 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501657], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.942411' WHERE "spree_products"."id" = 1060501657  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593157, 979461247) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501657]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501657) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593155 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593156 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593157 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501657) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.957229' WHERE "spree_products"."id" = 1060501657  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593155 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.958411' WHERE "spree_products"."id" = 1060501657 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.960114' WHERE "spree_products"."id" = 1060501657  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593156 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.960922' WHERE "spree_products"."id" = 1060501657 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.962391' WHERE "spree_products"."id" = 1060501657  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593157 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:31:58.963114' WHERE "spree_products"."id" = 1060501657 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) Binary data inserted for `string` type on column `attachment_file_name` SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:31:59 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593154, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1439 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501657 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.053360' WHERE "spree_products"."id" = 1060501657  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501657 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501657) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:32:10.064461' WHERE "spree_products"."id" = 1060501657 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.076541' WHERE "spree_products"."id" = 1060501658 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501658], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.078121' WHERE "spree_products"."id" = 1060501658  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593158 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.080121' WHERE "spree_products"."id" = 1060501658  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501658  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["product_id", nil], ["property_id", 905835833], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501658, "updated_at" = '2012-10-23 15:32:10.089617' WHERE "spree_product_properties"."id" = 1073274269 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `value` SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["product_id", nil], ["property_id", 905835832], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501658, "updated_at" = '2012-10-23 15:32:10.092887' WHERE "spree_product_properties"."id" = 1073274270 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["product_id", nil], ["property_id", 905835834], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501658, "updated_at" = '2012-10-23 15:32:10.097093' WHERE "spree_product_properties"."id" = 1073274271 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501658) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452731 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452731], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501658 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501658, 558400661) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501658) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501658 AND "spree_option_types"."id" = 935339744 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501658) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["option_type_id", 935339744], ["position", 1], ["product_id", 1060501658], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.120997' WHERE "spree_products"."id" = 1060501658 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501658], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.122587' WHERE "spree_products"."id" = 1060501658  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593159, 979461245) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.125589' WHERE "spree_products"."id" = 1060501658 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501658], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.128555' WHERE "spree_products"."id" = 1060501658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593160, 979461246) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339744 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.132099' WHERE "spree_products"."id" = 1060501658 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501658], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.133761' WHERE "spree_products"."id" = 1060501658  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593161, 979461247) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501658]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501658 AND "spree_option_types"."id" = 935339745 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501658) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["option_type_id", 935339745], ["position", 2], ["product_id", 1060501658], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339745 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339745) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339745], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.150116' WHERE "spree_products"."id" = 1060501658 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501658], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.151235' WHERE "spree_products"."id" = 1060501658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593162, 979461248) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339745 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339745) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["name", "colour"], ["option_type_id", 935339745], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.156945' WHERE "spree_products"."id" = 1060501658 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501658], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.158953' WHERE "spree_products"."id" = 1060501658  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593163, 979461249) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501658]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501658) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593159 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593160 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593161 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593162 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593163 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501658) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.178068' WHERE "spree_products"."id" = 1060501658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593159 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.179321' WHERE "spree_products"."id" = 1060501658 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.180793' WHERE "spree_products"."id" = 1060501658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593160 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.181826' WHERE "spree_products"."id" = 1060501658 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.183822' WHERE "spree_products"."id" = 1060501658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593161 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.184845' WHERE "spree_products"."id" = 1060501658 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.186513' WHERE "spree_products"."id" = 1060501658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593162 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.188118' WHERE "spree_products"."id" = 1060501658 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.189545' WHERE "spree_products"."id" = 1060501658  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593163 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:10.190463' WHERE "spree_products"."id" = 1060501658 SQL (1.2ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) Binary data inserted for `string` type on column `attachment_file_name` SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:10 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013593158, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1440 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501658 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.055962' WHERE "spree_products"."id" = 1060501658  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501658 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501658) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:32:11.068421' WHERE "spree_products"."id" = 1060501658  (6.0ms) commit transaction  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593150) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501656)) Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013593150 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501656 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593150) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501656)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501657 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593154) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501657)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501658 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593158) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501658)) SQL (3.4ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.8ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.8ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.197883' WHERE "spree_products"."id" = 1060501659 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501659], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.199600' WHERE "spree_products"."id" = 1060501659  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593164 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.201438' WHERE "spree_products"."id" = 1060501659  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501659  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["product_id", nil], ["property_id", 905835835], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501659, "updated_at" = '2012-10-23 15:32:11.214866' WHERE "spree_product_properties"."id" = 1073274272 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501659) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452732 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452732], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501659 Product assigned to Taxons : ["Paintings"]  (0.5ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501659, 558400662) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452733 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452733], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501659, 558400663) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501659) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501659 AND "spree_option_types"."id" = 935339746 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501659) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["option_type_id", 935339746], ["position", 1], ["product_id", 1060501659], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339746) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339746], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.253957' WHERE "spree_products"."id" = 1060501659 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501659], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.256478' WHERE "spree_products"."id" = 1060501659  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593165, 979461250) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339746) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339746], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.262388' WHERE "spree_products"."id" = 1060501659 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501659], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.264090' WHERE "spree_products"."id" = 1060501659  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593166, 979461251) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339746) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339746], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.268668' WHERE "spree_products"."id" = 1060501659 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501659], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.270043' WHERE "spree_products"."id" = 1060501659  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593167, 979461252) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501659]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501659) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593165 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593166 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593167 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501659) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.285712' WHERE "spree_products"."id" = 1060501659  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593165 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.287089' WHERE "spree_products"."id" = 1060501659 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.288295' WHERE "spree_products"."id" = 1060501659  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593166 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.289384' WHERE "spree_products"."id" = 1060501659 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.290593' WHERE "spree_products"."id" = 1060501659  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593167 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:11.291848' WHERE "spree_products"."id" = 1060501659 SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:11 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593164, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1441 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501659 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.110158' WHERE "spree_products"."id" = 1060501659  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501659 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501659) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:32:12.121879' WHERE "spree_products"."id" = 1060501659 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1060501659 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.139053' WHERE "spree_products"."id" = 1060501660 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501660], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.140710' WHERE "spree_products"."id" = 1060501660  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593168 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.142390' WHERE "spree_products"."id" = 1060501660  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501660  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["product_id", nil], ["property_id", 905835836], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501660, "updated_at" = '2012-10-23 15:32:12.151067' WHERE "spree_product_properties"."id" = 1073274273 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501660) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452732 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501660 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501660, 558400662) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452734 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452734], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501660, 558400664) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452735 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452735], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501660, 558400665) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501660) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501660 AND "spree_option_types"."id" = 935339746 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501660) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["option_type_id", 935339746], ["position", 1], ["product_id", 1060501660], ["updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.182462' WHERE "spree_products"."id" = 1060501660 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501660], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.184156' WHERE "spree_products"."id" = 1060501660  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593169, 979461250) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.292468' WHERE "spree_products"."id" = 1060501660 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501660], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.294557' WHERE "spree_products"."id" = 1060501660  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593170, 979461251) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.297354' WHERE "spree_products"."id" = 1060501660 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501660], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.298779' WHERE "spree_products"."id" = 1060501660  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593171, 979461252) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501660]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501660) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593169 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593170 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593171 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501660) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.316462' WHERE "spree_products"."id" = 1060501660  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593169 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.317588' WHERE "spree_products"."id" = 1060501660 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.318932' WHERE "spree_products"."id" = 1060501660  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593170 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.320422' WHERE "spree_products"."id" = 1060501660 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.321626' WHERE "spree_products"."id" = 1060501660  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593171 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:12.322915' WHERE "spree_products"."id" = 1060501660 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.9ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:12 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593168, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1442 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501660 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.185841' WHERE "spree_products"."id" = 1060501660  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501660 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501660) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:32:18.195753' WHERE "spree_products"."id" = 1060501660 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501660 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.209673' WHERE "spree_products"."id" = 1060501661 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501661], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.328853' WHERE "spree_products"."id" = 1060501661  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593172 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.332567' WHERE "spree_products"."id" = 1060501661  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501661  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Created New Property # SQL (0.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["product_id", nil], ["property_id", 905835837], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501661, "updated_at" = '2012-10-23 15:32:18.340906' WHERE "spree_product_properties"."id" = 1073274274 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["product_id", nil], ["property_id", 905835836], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501661, "updated_at" = '2012-10-23 15:32:18.343454' WHERE "spree_product_properties"."id" = 1073274275 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["product_id", nil], ["property_id", 905835838], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501661, "updated_at" = '2012-10-23 15:32:18.347057' WHERE "spree_product_properties"."id" = 1073274276 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501661) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452736 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452736], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501661 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501661, 558400666) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501661) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501661 AND "spree_option_types"."id" = 935339746 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501661) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["option_type_id", 935339746], ["position", 1], ["product_id", 1060501661], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.368265' WHERE "spree_products"."id" = 1060501661 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501661], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.369640' WHERE "spree_products"."id" = 1060501661  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593173, 979461250) Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.373330' WHERE "spree_products"."id" = 1060501661 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501661], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.374542' WHERE "spree_products"."id" = 1060501661  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593174, 979461251) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339746 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.377866' WHERE "spree_products"."id" = 1060501661 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501661], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.379755' WHERE "spree_products"."id" = 1060501661  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593175, 979461252) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501661]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.8ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501661 AND "spree_option_types"."id" = 935339747 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501661) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["option_type_id", 935339747], ["position", 2], ["product_id", 1060501661], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339747 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339747) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339747], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.394472' WHERE "spree_products"."id" = 1060501661 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501661], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.395817' WHERE "spree_products"."id" = 1060501661  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593176, 979461253) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339747 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339747) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["name", "colour"], ["option_type_id", 935339747], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.401093' WHERE "spree_products"."id" = 1060501661 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501661], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.402277' WHERE "spree_products"."id" = 1060501661  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593177, 979461254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501661]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501661) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593173 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593174 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593175 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593176 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593177 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501661) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.422447' WHERE "spree_products"."id" = 1060501661  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593173 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.423713' WHERE "spree_products"."id" = 1060501661 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.424825' WHERE "spree_products"."id" = 1060501661  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593174 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.426203' WHERE "spree_products"."id" = 1060501661 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.427411' WHERE "spree_products"."id" = 1060501661  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593175 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.429478' WHERE "spree_products"."id" = 1060501661 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.430799' WHERE "spree_products"."id" = 1060501661  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593176 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.431988' WHERE "spree_products"."id" = 1060501661 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.433466' WHERE "spree_products"."id" = 1060501661  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593177 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:18.434337' WHERE "spree_products"."id" = 1060501661 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:18 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593172, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1443 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501661 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:19.651677' WHERE "spree_products"."id" = 1060501661  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501661 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501661) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:32:19.659871' WHERE "spree_products"."id" = 1060501661 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501661 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.1ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593164) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501659)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501659 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593164) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501659)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501660 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593168) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501660)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501661 AND ("spree_variants".is_master = 't') LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593172) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501661))  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (59.7ms) DELETE FROM "spree_products" SQL (104.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (44.3ms) DELETE FROM "spree_option_types" SQL (51.8ms) DELETE FROM "spree_option_values" SQL (26.4ms) DELETE FROM "spree_properties" SQL (2.8ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (8.2ms) DELETE FROM "spree_taxons" SQL (58.8ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.4ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.7ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.230155' WHERE "spree_products"."id" = 1060501662 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501662], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.232445' WHERE "spree_products"."id" = 1060501662  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593178 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.234324' WHERE "spree_products"."id" = 1060501662  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501662  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["product_id", nil], ["property_id", 905835839], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501662, "updated_at" = '2012-10-23 15:32:20.242856' WHERE "spree_product_properties"."id" = 1073274277 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501662) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452737 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452737], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501662 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501662, 558400667) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452738 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452738], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501662, 558400668) Current value to assign : Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501662) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501662 AND "spree_option_types"."id" = 935339748 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501662) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["option_type_id", 935339748], ["position", 1], ["product_id", 1060501662], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339748) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339748], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.280976' WHERE "spree_products"."id" = 1060501662 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501662], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.282379' WHERE "spree_products"."id" = 1060501662  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593179, 979461255) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339748) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339748], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.286844' WHERE "spree_products"."id" = 1060501662 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501662], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.288299' WHERE "spree_products"."id" = 1060501662  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593180, 979461256) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339748) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339748], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.292769' WHERE "spree_products"."id" = 1060501662 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501662], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.294096' WHERE "spree_products"."id" = 1060501662  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593181, 979461257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501662]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501662) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593179 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593180 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593181 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501662) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.308805' WHERE "spree_products"."id" = 1060501662  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593179 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.310351' WHERE "spree_products"."id" = 1060501662 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.311536' WHERE "spree_products"."id" = 1060501662  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593180 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.312624' WHERE "spree_products"."id" = 1060501662 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.313581' WHERE "spree_products"."id" = 1060501662  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593181 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.315061' WHERE "spree_products"."id" = 1060501662 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501662) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:32:20.317490' WHERE "spree_products"."id" = 1060501662 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501662 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.325768' WHERE "spree_products"."id" = 1060501663 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501663], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.327307' WHERE "spree_products"."id" = 1060501663  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593182 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.328806' WHERE "spree_products"."id" = 1060501663  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501663  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["product_id", nil], ["property_id", 905835840], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501663, "updated_at" = '2012-10-23 15:32:20.337103' WHERE "spree_product_properties"."id" = 1073274278 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501663) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452737 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501663 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501663, 558400667) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452739 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452739], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501663, 558400669) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452737 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400667 AND "spree_taxons"."taxonomy_id" = 854452737 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400667]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400667], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452737], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400667]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400670]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400670 THEN 558400667 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400667]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400670]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400670 AND "spree_taxons"."taxonomy_id" = 854452737 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400670]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400670], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452737], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400670]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400671]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400671 THEN 558400670 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400670]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400671]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501663, 558400670)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501663, 558400671) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501663) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501663 AND "spree_option_types"."id" = 935339748 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501663) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["option_type_id", 935339748], ["position", 1], ["product_id", 1060501663], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.377458' WHERE "spree_products"."id" = 1060501663 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501663], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.379053' WHERE "spree_products"."id" = 1060501663  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593183, 979461255) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.381853' WHERE "spree_products"."id" = 1060501663 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501663], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.383398' WHERE "spree_products"."id" = 1060501663  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593184, 979461256) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.386284' WHERE "spree_products"."id" = 1060501663 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501663], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.387852' WHERE "spree_products"."id" = 1060501663  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593185, 979461257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501663]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501663) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593183 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593184 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593185 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501663) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.405215' WHERE "spree_products"."id" = 1060501663  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593183 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.407047' WHERE "spree_products"."id" = 1060501663 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.408098' WHERE "spree_products"."id" = 1060501663  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593184 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.409259' WHERE "spree_products"."id" = 1060501663 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.410789' WHERE "spree_products"."id" = 1060501663  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593185 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.411842' WHERE "spree_products"."id" = 1060501663 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501663) LIMIT 1  (1.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:32:20.475552' WHERE "spree_products"."id" = 1060501663 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501663 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.485804' WHERE "spree_products"."id" = 1060501664 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501664], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.487176' WHERE "spree_products"."id" = 1060501664  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593186 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.488753' WHERE "spree_products"."id" = 1060501664  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501664  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["product_id", nil], ["property_id", 905835841], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501664, "updated_at" = '2012-10-23 15:32:20.496850' WHERE "spree_product_properties"."id" = 1073274279 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["product_id", nil], ["property_id", 905835840], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501664, "updated_at" = '2012-10-23 15:32:20.499696' WHERE "spree_product_properties"."id" = 1073274280 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["product_id", nil], ["property_id", 905835842], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501664, "updated_at" = '2012-10-23 15:32:20.503624' WHERE "spree_product_properties"."id" = 1073274281 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501664) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452740 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452740], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501664 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501664, 558400672) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452737 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400667 AND "spree_taxons"."taxonomy_id" = 854452737 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400667]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400667], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452737], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400667]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400673]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400673 THEN 558400667 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400667]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400673]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501664, 558400673)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501664, 558400667) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501664) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501664 AND "spree_option_types"."id" = 935339748 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501664) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["option_type_id", 935339748], ["position", 1], ["product_id", 1060501664], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.534849' WHERE "spree_products"."id" = 1060501664 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501664], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.536453' WHERE "spree_products"."id" = 1060501664  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593187, 979461255) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.539365' WHERE "spree_products"."id" = 1060501664 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501664], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.540848' WHERE "spree_products"."id" = 1060501664  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593188, 979461256) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339748 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.543607' WHERE "spree_products"."id" = 1060501664 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501664], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.545026' WHERE "spree_products"."id" = 1060501664  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593189, 979461257) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501664]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501664 AND "spree_option_types"."id" = 935339749 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501664) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["option_type_id", 935339749], ["position", 2], ["product_id", 1060501664], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339749 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339749) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339749], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.559715' WHERE "spree_products"."id" = 1060501664 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501664], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.561848' WHERE "spree_products"."id" = 1060501664  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593190, 979461258) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339749 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339749) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["name", "colour"], ["option_type_id", 935339749], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.567426' WHERE "spree_products"."id" = 1060501664 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501664], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.569118' WHERE "spree_products"."id" = 1060501664  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593191, 979461259) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501664]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501664) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593187 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593188 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593189 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593190 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593191 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501664) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.589158' WHERE "spree_products"."id" = 1060501664  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593187 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.590769' WHERE "spree_products"."id" = 1060501664 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.592069' WHERE "spree_products"."id" = 1060501664  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593188 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.593393' WHERE "spree_products"."id" = 1060501664 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.595020' WHERE "spree_products"."id" = 1060501664  (0.4ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.596434' WHERE "spree_products"."id" = 1060501664 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.597810' WHERE "spree_products"."id" = 1060501664  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593190 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.598760' WHERE "spree_products"."id" = 1060501664 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.599802' WHERE "spree_products"."id" = 1060501664  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593191 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:20.601020' WHERE "spree_products"."id" = 1060501664 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501664) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:32:20.604104' WHERE "spree_products"."id" = 1060501664 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501664 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593186) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501664)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 SQL (1.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:20 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593178, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1444 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501662 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:21.524391' WHERE "spree_products"."id" = 1060501662  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501662 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:21.533704' WHERE "spree_products"."id" = 1060501662 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501662 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 1013593178 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:21 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013593182, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1445 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501663 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:26.970614' WHERE "spree_products"."id" = 1060501663  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501663 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:26.981650' WHERE "spree_products"."id" = 1060501663 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501663 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1013593182 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:26 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593186, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1446 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501664 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:28.745917' WHERE "spree_products"."id" = 1060501664  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501664 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:28.756635' WHERE "spree_products"."id" = 1060501664 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501664 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1013593186  (6.7ms) commit transaction Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501662 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593178) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501662)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501663 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593182) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501663)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501664 AND ("spree_variants".is_master = 't') LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593186) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501664)) SQL (3.1ms) DELETE FROM "spree_products" SQL (2.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.4ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501665 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.078185' WHERE "spree_products"."id" = 1060501665 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501665], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.080049' WHERE "spree_products"."id" = 1060501665  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593192 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.081547' WHERE "spree_products"."id" = 1060501665  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501665  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["product_id", nil], ["property_id", 905835843], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501665, "updated_at" = '2012-10-23 15:32:29.089626' WHERE "spree_product_properties"."id" = 1073274282 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501665) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452741 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452741], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501665 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501665, 558400674) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452742 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (110.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452742], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501665, 558400675) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501665) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501665 AND "spree_option_types"."id" = 935339750 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501665) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["option_type_id", 935339750], ["position", 1], ["product_id", 1060501665], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339750) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339750], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501665 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.243127' WHERE "spree_products"."id" = 1060501665 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501665], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.244622' WHERE "spree_products"."id" = 1060501665  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593193, 979461260) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339750) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339750], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501665 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.249791' WHERE "spree_products"."id" = 1060501665 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501665], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.251751' WHERE "spree_products"."id" = 1060501665  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593194, 979461261) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339750) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339750], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501665 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.257076' WHERE "spree_products"."id" = 1060501665 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501665], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.258762' WHERE "spree_products"."id" = 1060501665  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593195, 979461262) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501665]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501665) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593193 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593194 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593195 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501665) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501665 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.276032' WHERE "spree_products"."id" = 1060501665  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593193 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.277222' WHERE "spree_products"."id" = 1060501665 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501665 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.278684' WHERE "spree_products"."id" = 1060501665  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593194 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.279431' WHERE "spree_products"."id" = 1060501665 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501665 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.281094' WHERE "spree_products"."id" = 1060501665  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593195 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.282000' WHERE "spree_products"."id" = 1060501665 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501665) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:32:29.284790' WHERE "spree_products"."id" = 1060501665 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501665 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501666 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.293904' WHERE "spree_products"."id" = 1060501666 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501666], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.295620' WHERE "spree_products"."id" = 1060501666  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593196 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.297234' WHERE "spree_products"."id" = 1060501666  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501666  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["product_id", nil], ["property_id", 905835844], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501666, "updated_at" = '2012-10-23 15:32:29.304839' WHERE "spree_product_properties"."id" = 1073274283 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501666) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452741 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501666 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501666, 558400674) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452743 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452743], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501666, 558400676) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452741 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400674 AND "spree_taxons"."taxonomy_id" = 854452741 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400674]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400674], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452741], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400677]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400677 THEN 558400674 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400677]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400677 AND "spree_taxons"."taxonomy_id" = 854452741 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400677]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400677], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452741], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400677]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400678]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400678 THEN 558400677 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400677]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400678]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501666, 558400677)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501666, 558400678) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501666) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501666 AND "spree_option_types"."id" = 935339750 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501666) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["option_type_id", 935339750], ["position", 1], ["product_id", 1060501666], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::OptionValue Load (2.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501666 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.454060' WHERE "spree_products"."id" = 1060501666 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501666], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.455784' WHERE "spree_products"."id" = 1060501666  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593197, 979461260) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501666 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.459107' WHERE "spree_products"."id" = 1060501666 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501666], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.460603' WHERE "spree_products"."id" = 1060501666  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593198, 979461261) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501666 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.464028' WHERE "spree_products"."id" = 1060501666 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501666], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.465735' WHERE "spree_products"."id" = 1060501666  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593199, 979461262) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501666]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501666) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593197 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593198 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593199 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501666) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501666 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.485974' WHERE "spree_products"."id" = 1060501666  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593197 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.487352' WHERE "spree_products"."id" = 1060501666 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501666 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.488794' WHERE "spree_products"."id" = 1060501666  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593198 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.489863' WHERE "spree_products"."id" = 1060501666 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501666 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.491236' WHERE "spree_products"."id" = 1060501666  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593199 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.492592' WHERE "spree_products"."id" = 1060501666 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501666) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:32:29.495953' WHERE "spree_products"."id" = 1060501666 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501666 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.505589' WHERE "spree_products"."id" = 1060501667 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501667], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.507295' WHERE "spree_products"."id" = 1060501667  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593200 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.509041' WHERE "spree_products"."id" = 1060501667  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501667  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["product_id", nil], ["property_id", 905835845], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501667, "updated_at" = '2012-10-23 15:32:29.517286' WHERE "spree_product_properties"."id" = 1073274284 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["product_id", nil], ["property_id", 905835844], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501667, "updated_at" = '2012-10-23 15:32:29.520258' WHERE "spree_product_properties"."id" = 1073274285 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["product_id", nil], ["property_id", 905835846], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501667, "updated_at" = '2012-10-23 15:32:29.524409' WHERE "spree_product_properties"."id" = 1073274286 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501667) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452744 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452744], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501667 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501667, 558400679) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452741 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400674 AND "spree_taxons"."taxonomy_id" = 854452741 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400674]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400674], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452741], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400680]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400680 THEN 558400674 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400680]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501667, 558400680)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501667, 558400674) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501667) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501667 AND "spree_option_types"."id" = 935339750 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501667) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["option_type_id", 935339750], ["position", 1], ["product_id", 1060501667], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.659448' WHERE "spree_products"."id" = 1060501667 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501667], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.660915' WHERE "spree_products"."id" = 1060501667  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593201, 979461260) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.666256' WHERE "spree_products"."id" = 1060501667 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501667], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.667914' WHERE "spree_products"."id" = 1060501667  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593202, 979461261) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339750 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.671141' WHERE "spree_products"."id" = 1060501667 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501667], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.672517' WHERE "spree_products"."id" = 1060501667  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593203, 979461262) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501667]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501667 AND "spree_option_types"."id" = 935339751 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501667) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["option_type_id", 935339751], ["position", 2], ["product_id", 1060501667], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339751 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339751) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339751], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.688240' WHERE "spree_products"."id" = 1060501667 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501667], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.689395' WHERE "spree_products"."id" = 1060501667  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593204, 979461263) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339751 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339751) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00], ["name", "colour"], ["option_type_id", 935339751], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.695559' WHERE "spree_products"."id" = 1060501667 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501667], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.697157' WHERE "spree_products"."id" = 1060501667  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593205, 979461264) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501667]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501667) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593201 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593202 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593203 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593204 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593205 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501667) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.718432' WHERE "spree_products"."id" = 1060501667  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593201 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.720034' WHERE "spree_products"."id" = 1060501667 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.721551' WHERE "spree_products"."id" = 1060501667  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593202 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.722753' WHERE "spree_products"."id" = 1060501667 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.724356' WHERE "spree_products"."id" = 1060501667  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593203 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.725492' WHERE "spree_products"."id" = 1060501667 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.727146' WHERE "spree_products"."id" = 1060501667  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593204 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.728512' WHERE "spree_products"."id" = 1060501667 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501667 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.831049' WHERE "spree_products"."id" = 1060501667  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593205 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:29.832471' WHERE "spree_products"."id" = 1060501667 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501667) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:32:29.836171' WHERE "spree_products"."id" = 1060501667 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501667 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.0ms) commit transaction Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593200) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501667)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (2.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:30 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013593192, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1447 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:31 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.2ms) UPDATE "spree_assets" SET "viewable_id" = 1013593192, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1448 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501665) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501665) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501665 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:36 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593196, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1449 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501666) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501666) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 1060501666 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:40 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593200, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1450 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501667) LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501667) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501667  (11.5ms) commit transaction Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501665 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593192) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501665)) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501666 AND ("spree_variants".is_master = 't') LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593196) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501666)) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501667 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593200) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501667)) SQL (39.0ms) DELETE FROM "spree_products" SQL (9.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.3ms) DELETE FROM "spree_option_types" SQL (6.6ms) DELETE FROM "spree_option_values" SQL (208.2ms) DELETE FROM "spree_properties" SQL (44.7ms) DELETE FROM "spree_product_properties" SQL (15.2ms) DELETE FROM "spree_variants" SQL (22.4ms) DELETE FROM "spree_taxons" SQL (145.4ms) DELETE FROM "spree_taxonomies" SQL (8.2ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.8ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.031785' WHERE "spree_products"."id" = 1060501668 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501668], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.033680' WHERE "spree_products"."id" = 1060501668  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593206 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.035555' WHERE "spree_products"."id" = 1060501668  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501668  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["product_id", nil], ["property_id", 905835847], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501668, "updated_at" = '2012-10-23 15:32:42.043902' WHERE "spree_product_properties"."id" = 1073274287 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501668) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452745 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452745], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501668 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501668, 558400681) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452746 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452746], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501668, 558400682) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501668) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501668 AND "spree_option_types"."id" = 935339752 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501668) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["option_type_id", 935339752], ["position", 1], ["product_id", 1060501668], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339752 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339752) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339752], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.178584' WHERE "spree_products"."id" = 1060501668 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501668], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.180479' WHERE "spree_products"."id" = 1060501668  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593207, 979461265) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339752 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339752) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339752], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.185810' WHERE "spree_products"."id" = 1060501668 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501668], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.188017' WHERE "spree_products"."id" = 1060501668  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593208, 979461266) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339752 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339752) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339752], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.192757' WHERE "spree_products"."id" = 1060501668 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501668], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.193891' WHERE "spree_products"."id" = 1060501668  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593209, 979461267) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501668]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501668) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593207 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593208 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593209 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501668) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.208366' WHERE "spree_products"."id" = 1060501668  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593207 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.209678' WHERE "spree_products"."id" = 1060501668 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.210719' WHERE "spree_products"."id" = 1060501668  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593208 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.212099' WHERE "spree_products"."id" = 1060501668 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.213148' WHERE "spree_products"."id" = 1060501668  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593209 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:42.214254' WHERE "spree_products"."id" = 1060501668 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:42 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013593206, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1451 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501668 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:45.368618' WHERE "spree_products"."id" = 1060501668  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501668 SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:45 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593206, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1452 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:47.270585' WHERE "spree_products"."id" = 1060501668 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501668 SQL (0.9ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.7ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:47 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 1013593206, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1453 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.389755' WHERE "spree_products"."id" = 1060501668 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501668 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501668) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:32:48.400651' WHERE "spree_products"."id" = 1060501668 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 1060501668 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 002"], ["permalink", "demo-product-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.417788' WHERE "spree_products"."id" = 1060501669 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501669], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.419491' WHERE "spree_products"."id" = 1060501669  (1.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593210 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.422427' WHERE "spree_products"."id" = 1060501669  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501669  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["product_id", nil], ["property_id", 905835848], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501669, "updated_at" = '2012-10-23 15:32:48.433122' WHERE "spree_product_properties"."id" = 1073274288 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501669) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452745 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501669 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501669, 558400681) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452747 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452747], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501669, 558400683) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452748 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452748], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501669, 558400684) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501669) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501669 AND "spree_option_types"."id" = 935339752 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501669) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["option_type_id", 935339752], ["position", 1], ["product_id", 1060501669], ["updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00]] Spree::OptionValue Load (1.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339752 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.468633' WHERE "spree_products"."id" = 1060501669 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501669], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.470121' WHERE "spree_products"."id" = 1060501669  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593211, 979461265) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339752 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.473984' WHERE "spree_products"."id" = 1060501669 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501669], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.475121' WHERE "spree_products"."id" = 1060501669  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593212, 979461266) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339752 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.478461' WHERE "spree_products"."id" = 1060501669 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501669], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.479665' WHERE "spree_products"."id" = 1060501669  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593213, 979461267) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501669]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501669) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593211 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593212 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593213 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501669) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.497726' WHERE "spree_products"."id" = 1060501669  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593211 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.499120' WHERE "spree_products"."id" = 1060501669 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.500608' WHERE "spree_products"."id" = 1060501669  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593212 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.501891' WHERE "spree_products"."id" = 1060501669 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.503182' WHERE "spree_products"."id" = 1060501669  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593213 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:48.504120' WHERE "spree_products"."id" = 1060501669 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text for 002"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:48 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593210, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1454 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "323X428 ror bag"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:53 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 1013593210, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1455 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501669 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:54.723438' WHERE "spree_products"."id" = 1060501669  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501669 Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501669) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:32:54.745460' WHERE "spree_products"."id" = 1060501669 Row ["MULTI_002", "Demo Product 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text for 002|fixtures/images/DEMO_001_ror_bag.jpeg:323X428 ror bag"] succesfully SAVED : ID 1060501669 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (79.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501668 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013593206 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501669 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013593210 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (90.8ms) DELETE FROM "spree_products" SQL (34.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (99.2ms) DELETE FROM "spree_option_types" SQL (23.2ms) DELETE FROM "spree_option_values" SQL (34.1ms) DELETE FROM "spree_properties" SQL (68.6ms) DELETE FROM "spree_product_properties" SQL (6.4ms) DELETE FROM "spree_variants" SQL (6.6ms) DELETE FROM "spree_taxons" SQL (51.4ms) DELETE FROM "spree_taxonomies" SQL (27.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Product Load (16.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501670 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.669128' WHERE "spree_products"."id" = 1060501670 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501670], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.672428' WHERE "spree_products"."id" = 1060501670  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593214 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.674614' WHERE "spree_products"."id" = 1060501670  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501670  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["product_id", nil], ["property_id", 905835849], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501670, "updated_at" = '2012-10-23 15:32:55.683590' WHERE "spree_product_properties"."id" = 1073274289 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501670) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452749], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501670 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501670, 558400685) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452750 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452750], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501670, 558400686) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501670) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501670 AND "spree_option_types"."id" = 935339753 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501670) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["option_type_id", 935339753], ["position", 1], ["product_id", 1060501670], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339753) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339753], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501670 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.723193' WHERE "spree_products"."id" = 1060501670 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501670], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.724733' WHERE "spree_products"."id" = 1060501670  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593215, 979461268) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339753) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339753], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501670 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.729555' WHERE "spree_products"."id" = 1060501670 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501670], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.731488' WHERE "spree_products"."id" = 1060501670  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593216, 979461269) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339753) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339753], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501670 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.736065' WHERE "spree_products"."id" = 1060501670 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501670], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.737330' WHERE "spree_products"."id" = 1060501670  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593217, 979461270) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501670]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501670) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593215 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593216 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593217 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501670) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501670 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.752816' WHERE "spree_products"."id" = 1060501670  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593215 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.754239' WHERE "spree_products"."id" = 1060501670 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501670 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.755812' WHERE "spree_products"."id" = 1060501670  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593216 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.756953' WHERE "spree_products"."id" = 1060501670 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501670 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.758273' WHERE "spree_products"."id" = 1060501670  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593217 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.759202' WHERE "spree_products"."id" = 1060501670 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501670) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501670 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:32:55.762082' WHERE "spree_products"."id" = 1060501670 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501670 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501671 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.773269' WHERE "spree_products"."id" = 1060501671 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501671], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.774524' WHERE "spree_products"."id" = 1060501671  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593218 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.776211' WHERE "spree_products"."id" = 1060501671  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501671  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["product_id", nil], ["property_id", 905835850], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501671, "updated_at" = '2012-10-23 15:32:55.783290' WHERE "spree_product_properties"."id" = 1073274290 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501671) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501671 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501671, 558400685) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452751 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452751], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501671, 558400687) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400685 AND "spree_taxons"."taxonomy_id" = 854452749 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400685]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400685], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452749], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400688]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400688 THEN 558400685 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400688]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400688 AND "spree_taxons"."taxonomy_id" = 854452749 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400688]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400688], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452749], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400688]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400689]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400689 THEN 558400688 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400688]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400689]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501671, 558400688)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501671, 558400689) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501671) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501671 AND "spree_option_types"."id" = 935339753 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501671) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["option_type_id", 935339753], ["position", 1], ["product_id", 1060501671], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501671 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.830810' WHERE "spree_products"."id" = 1060501671 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501671], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.832369' WHERE "spree_products"."id" = 1060501671  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593219, 979461268) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501671 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.835418' WHERE "spree_products"."id" = 1060501671 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501671], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.836736' WHERE "spree_products"."id" = 1060501671  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593220, 979461269) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501671 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.839415' WHERE "spree_products"."id" = 1060501671 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501671], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.840953' WHERE "spree_products"."id" = 1060501671  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593221, 979461270) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501671]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501671) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593219 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593220 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593221 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501671) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501671 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.859754' WHERE "spree_products"."id" = 1060501671  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593219 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.861493' WHERE "spree_products"."id" = 1060501671 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501671 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.863108' WHERE "spree_products"."id" = 1060501671  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593220 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.864481' WHERE "spree_products"."id" = 1060501671 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501671 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.866001' WHERE "spree_products"."id" = 1060501671  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593221 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.867139' WHERE "spree_products"."id" = 1060501671 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501671) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501671 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:32:55.869950' WHERE "spree_products"."id" = 1060501671 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501671 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.880541' WHERE "spree_products"."id" = 1060501672 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501672], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.882134' WHERE "spree_products"."id" = 1060501672  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593222 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.883772' WHERE "spree_products"."id" = 1060501672  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501672  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["product_id", nil], ["property_id", 905835851], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501672, "updated_at" = '2012-10-23 15:32:55.891472' WHERE "spree_product_properties"."id" = 1073274291 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["product_id", nil], ["property_id", 905835850], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501672, "updated_at" = '2012-10-23 15:32:55.894459' WHERE "spree_product_properties"."id" = 1073274292 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["product_id", nil], ["property_id", 905835852], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501672, "updated_at" = '2012-10-23 15:32:55.898432' WHERE "spree_product_properties"."id" = 1073274293 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501672) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452752 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452752], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501672 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501672, 558400690) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452749 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400685 AND "spree_taxons"."taxonomy_id" = 854452749 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400685]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400685], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452749], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400691]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400691 THEN 558400685 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400691]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501672, 558400691)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501672, 558400685) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501672) LIMIT 1 Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501672 AND "spree_option_types"."id" = 935339753 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501672) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["option_type_id", 935339753], ["position", 1], ["product_id", 1060501672], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.931719' WHERE "spree_products"."id" = 1060501672 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501672], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.933150' WHERE "spree_products"."id" = 1060501672  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593223, 979461268) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.935781' WHERE "spree_products"."id" = 1060501672 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501672], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.937140' WHERE "spree_products"."id" = 1060501672  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593224, 979461269) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339753 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.940293' WHERE "spree_products"."id" = 1060501672 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501672], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.941591' WHERE "spree_products"."id" = 1060501672  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593225, 979461270) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501672]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501672 AND "spree_option_types"."id" = 935339754 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501672) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["option_type_id", 935339754], ["position", 2], ["product_id", 1060501672], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339754 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339754) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339754], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.957006' WHERE "spree_products"."id" = 1060501672 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501672], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.958369' WHERE "spree_products"."id" = 1060501672  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593226, 979461271) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339754 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339754) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00], ["name", "colour"], ["option_type_id", 935339754], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:32:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.964700' WHERE "spree_products"."id" = 1060501672 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501672], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:55.967283' WHERE "spree_products"."id" = 1060501672  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593227, 979461272) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501672]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501672) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593223 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593224 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593225 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593226 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593227 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501672) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.024329' WHERE "spree_products"."id" = 1060501672  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593223 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.026254' WHERE "spree_products"."id" = 1060501672 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.027877' WHERE "spree_products"."id" = 1060501672  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593224 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.028826' WHERE "spree_products"."id" = 1060501672 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.030721' WHERE "spree_products"."id" = 1060501672  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593225 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.031924' WHERE "spree_products"."id" = 1060501672 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.033881' WHERE "spree_products"."id" = 1060501672  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593226 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.034805' WHERE "spree_products"."id" = 1060501672 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501672 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.036113' WHERE "spree_products"."id" = 1060501672  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593227 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:32:56.037556' WHERE "spree_products"."id" = 1060501672 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501672) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501672 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:32:56.040767' WHERE "spree_products"."id" = 1060501672 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501672 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (9.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501671, count_on_hand: 0, cost_price: #, position: nil>  (0.7ms) begin transaction Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:32:56 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (104.9ms) commit transaction  (0.1ms) begin transaction  (1.8ms) UPDATE "spree_assets" SET "viewable_id" = 1013593218, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1456  (1.9ms) commit transaction Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501672, count_on_hand: 0, cost_price: #, position: nil>  (0.6ms) begin transaction Spree::Asset Load (1.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:33:02 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.3ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593222, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1457  (2.4ms) commit transaction Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501670, count_on_hand: 0, cost_price: #, position: nil>  (0.6ms) begin transaction Spree::Asset Load (1.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:33:02 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 1013593214, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1458  (1.8ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (7.8ms) DELETE FROM "spree_products" SQL (2.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452753 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452753], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452753], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (5.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452753], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (1.9ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.6ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452754 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452754], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452754], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452754], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (1.7ms) commit transaction Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452754 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452754 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452754 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452755 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452755], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452755], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]]  (1.8ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558400698, "updated_at" = '2012-10-23 15:33:03.772482' WHERE "spree_taxons"."id" = 558400699 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400698]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400699]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400699 THEN 558400698 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400698]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400699]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400698 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.869337' WHERE "spree_products"."id" = 1060501673 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501673], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.871081' WHERE "spree_products"."id" = 1060501673  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593228 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.873225' WHERE "spree_products"."id" = 1060501673  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501673  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["product_id", nil], ["property_id", 905835853], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501673, "updated_at" = '2012-10-23 15:33:03.881274' WHERE "spree_product_properties"."id" = 1073274294 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501673) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452755 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501673 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501673, 558400698) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452756 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452756], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501673, 558400700) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501673) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::OptionType Exists (1.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501673 AND "spree_option_types"."id" = 935339755 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501673) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["option_type_id", 935339755], ["position", 1], ["product_id", 1060501673], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339755) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339755], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.912746' WHERE "spree_products"."id" = 1060501673 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501673], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.914505' WHERE "spree_products"."id" = 1060501673  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593229, 979461273) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339755) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339755], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.919224' WHERE "spree_products"."id" = 1060501673 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501673], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.920604' WHERE "spree_products"."id" = 1060501673  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593230, 979461274) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339755) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339755], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.925118' WHERE "spree_products"."id" = 1060501673 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501673], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.926410' WHERE "spree_products"."id" = 1060501673  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593231, 979461275) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501673]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501673) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593229 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593230 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593231 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501673) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.941031' WHERE "spree_products"."id" = 1060501673  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593229 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.942188' WHERE "spree_products"."id" = 1060501673 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.943573' WHERE "spree_products"."id" = 1060501673  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593230 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.944612' WHERE "spree_products"."id" = 1060501673 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.946249' WHERE "spree_products"."id" = 1060501673  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593231 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.947309' WHERE "spree_products"."id" = 1060501673 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501673) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501673 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:33:03.950095' WHERE "spree_products"."id" = 1060501673 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 1060501673 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.958537' WHERE "spree_products"."id" = 1060501674 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501674], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.959846' WHERE "spree_products"."id" = 1060501674  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593232 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:03.961266' WHERE "spree_products"."id" = 1060501674  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501674  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["product_id", nil], ["property_id", 905835854], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501674, "updated_at" = '2012-10-23 15:33:03.968035' WHERE "spree_product_properties"."id" = 1073274295 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501674) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452755 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501674 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501674, 558400698) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452757 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452757], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501674, 558400701) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452755 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400698 AND "spree_taxons"."taxonomy_id" = 854452755 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400698]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400698], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452755], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400698]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400702]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400702 THEN 558400698 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400698]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400702]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400702 AND "spree_taxons"."taxonomy_id" = 854452755 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400702]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400702], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452755], ["updated_at", Tue, 23 Oct 2012 15:33:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400702]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400703]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400703 THEN 558400702 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400702]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400703]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501674, 558400702)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501674, 558400703) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501674) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501674 AND "spree_option_types"."id" = 935339755 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501674) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["option_type_id", 935339755], ["position", 1], ["product_id", 1060501674], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.010333' WHERE "spree_products"."id" = 1060501674 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501674], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.011792' WHERE "spree_products"."id" = 1060501674  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593233, 979461273) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.014463' WHERE "spree_products"."id" = 1060501674 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501674], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.016108' WHERE "spree_products"."id" = 1060501674  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593234, 979461274) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.018796' WHERE "spree_products"."id" = 1060501674 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501674], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.020015' WHERE "spree_products"."id" = 1060501674  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593235, 979461275) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501674]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501674) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593233 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593234 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593235 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501674) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.040326' WHERE "spree_products"."id" = 1060501674  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593233 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.041763' WHERE "spree_products"."id" = 1060501674 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.043208' WHERE "spree_products"."id" = 1060501674  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593234 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.045403' WHERE "spree_products"."id" = 1060501674 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.046944' WHERE "spree_products"."id" = 1060501674  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593235 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.048070' WHERE "spree_products"."id" = 1060501674 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501674) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501674 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:33:04.051304' WHERE "spree_products"."id" = 1060501674 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 1060501674 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.060763' WHERE "spree_products"."id" = 1060501675 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501675], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.062112' WHERE "spree_products"."id" = 1060501675  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593236 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.063236' WHERE "spree_products"."id" = 1060501675  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501675  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835855], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501675, "updated_at" = '2012-10-23 15:33:04.070151' WHERE "spree_product_properties"."id" = 1073274296 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835854], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501675, "updated_at" = '2012-10-23 15:33:04.072835' WHERE "spree_product_properties"."id" = 1073274297 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835856], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501675, "updated_at" = '2012-10-23 15:33:04.076361' WHERE "spree_product_properties"."id" = 1073274298 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501675) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452758 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452758], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501675 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501675, 558400704) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452755 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400698 AND "spree_taxons"."taxonomy_id" = 854452755 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501675, 558400699)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501675, 558400698) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501675) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501675 AND "spree_option_types"."id" = 935339755 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501675) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["option_type_id", 935339755], ["position", 1], ["product_id", 1060501675], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.100504' WHERE "spree_products"."id" = 1060501675 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501675], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.102173' WHERE "spree_products"."id" = 1060501675  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593237, 979461273) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.105328' WHERE "spree_products"."id" = 1060501675 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501675], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.106931' WHERE "spree_products"."id" = 1060501675  (3.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593238, 979461274) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339755 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.113378' WHERE "spree_products"."id" = 1060501675 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501675], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.114866' WHERE "spree_products"."id" = 1060501675  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593239, 979461275) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501675]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501675 AND "spree_option_types"."id" = 935339756 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501675) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["option_type_id", 935339756], ["position", 2], ["product_id", 1060501675], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339756 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339756) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339756], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.129616' WHERE "spree_products"."id" = 1060501675 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501675], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.131309' WHERE "spree_products"."id" = 1060501675  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593240, 979461276) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339756 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339756) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "colour"], ["option_type_id", 935339756], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.136346' WHERE "spree_products"."id" = 1060501675 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501675], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.137737' WHERE "spree_products"."id" = 1060501675  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593241, 979461277) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501675]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501675) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593237 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593238 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593239 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593240 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593241 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501675) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.156089' WHERE "spree_products"."id" = 1060501675  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593237 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.157383' WHERE "spree_products"."id" = 1060501675 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.158777' WHERE "spree_products"."id" = 1060501675  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593238 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.159858' WHERE "spree_products"."id" = 1060501675 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.161129' WHERE "spree_products"."id" = 1060501675  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593239 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.162243' WHERE "spree_products"."id" = 1060501675 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.163777' WHERE "spree_products"."id" = 1060501675  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593240 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.164931' WHERE "spree_products"."id" = 1060501675 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501675 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.167269' WHERE "spree_products"."id" = 1060501675  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593241 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.168359' WHERE "spree_products"."id" = 1060501675 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501675) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501675 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:33:04.171735' WHERE "spree_products"."id" = 1060501675 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501675 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501673 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501673 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501674 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501674 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452755 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400698 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452755 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400702 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400702 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400703 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.2ms) commit transaction  (0.6ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452759 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452759], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (3.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452759], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (3.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "parent_id" = 558400705, "updated_at" = '2012-10-23 15:33:04.262877' WHERE "spree_taxons"."id" = 558400706 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400705]] Spree::Taxon Load (0.6ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400706]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400706 THEN 558400705 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400706]]  (2.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400705 ORDER BY "lft" Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.7ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.402796' WHERE "spree_products"."id" = 1060501676 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501676], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.404414' WHERE "spree_products"."id" = 1060501676  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593242 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.415533' WHERE "spree_products"."id" = 1060501676  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501676  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835857], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501676, "updated_at" = '2012-10-23 15:33:04.426052' WHERE "spree_product_properties"."id" = 1073274299 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452759 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501676 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501676, 558400705) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452760 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452760], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501676, 558400707) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501676 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501676) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["option_type_id", 935339757], ["position", 1], ["product_id", 1060501676], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339757) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339757], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.462831' WHERE "spree_products"."id" = 1060501676 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501676], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.464909' WHERE "spree_products"."id" = 1060501676  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593243, 979461278) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501676]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501676 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339757) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339757], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.477394' WHERE "spree_products"."id" = 1060501676 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501676], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.479056' WHERE "spree_products"."id" = 1060501676  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593244, 979461279) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501676]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501676 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339757) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339757], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.490149' WHERE "spree_products"."id" = 1060501676 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501676], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.491704' WHERE "spree_products"."id" = 1060501676  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593245, 979461280) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501676]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593243 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593244 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593245 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.564168' WHERE "spree_products"."id" = 1060501676  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593243 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.565932' WHERE "spree_products"."id" = 1060501676 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.567935' WHERE "spree_products"."id" = 1060501676  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593244 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.569582' WHERE "spree_products"."id" = 1060501676 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.571348' WHERE "spree_products"."id" = 1060501676  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593245 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.572574' WHERE "spree_products"."id" = 1060501676 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501676) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501676 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:33:04.575702' WHERE "spree_products"."id" = 1060501676 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 1060501676 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.587571' WHERE "spree_products"."id" = 1060501677 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501677], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.588701' WHERE "spree_products"."id" = 1060501677  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593246 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.590472' WHERE "spree_products"."id" = 1060501677  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501677  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835858], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501677, "updated_at" = '2012-10-23 15:33:04.598606' WHERE "spree_product_properties"."id" = 1073274300 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452759 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501677 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501677, 558400705) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452761 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452761], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501677, 558400708) Spree::Product Exists (1.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452759 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400705 AND "spree_taxons"."taxonomy_id" = 854452759 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400705]] SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400705], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452759], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400709]] SQL (1.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400709 THEN 558400705 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400709]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400709 AND "spree_taxons"."taxonomy_id" = 854452759 LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400709]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400709], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452759], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400709]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400710]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400710 THEN 558400709 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400709]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400710]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501677, 558400709)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501677, 558400710) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501677 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501677) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["option_type_id", 935339757], ["position", 1], ["product_id", 1060501677], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.657790' WHERE "spree_products"."id" = 1060501677 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501677], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.659383' WHERE "spree_products"."id" = 1060501677  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593247, 979461278) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501677]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501677 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.670699' WHERE "spree_products"."id" = 1060501677 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501677], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.672202' WHERE "spree_products"."id" = 1060501677  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593248, 979461279) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501677]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501677 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.682156' WHERE "spree_products"."id" = 1060501677 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501677], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.684233' WHERE "spree_products"."id" = 1060501677  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593249, 979461280) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501677]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593247 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593248 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593249 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.707597' WHERE "spree_products"."id" = 1060501677  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593247 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.709976' WHERE "spree_products"."id" = 1060501677 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.712698' WHERE "spree_products"."id" = 1060501677  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593248 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.713698' WHERE "spree_products"."id" = 1060501677 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.714984' WHERE "spree_products"."id" = 1060501677  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593249 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.715956' WHERE "spree_products"."id" = 1060501677 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501677) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501677 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:33:04.718876' WHERE "spree_products"."id" = 1060501677 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 1060501677 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.728429' WHERE "spree_products"."id" = 1060501678 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501678], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.730170' WHERE "spree_products"."id" = 1060501678  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593250 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.731585' WHERE "spree_products"."id" = 1060501678  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501678  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835859], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501678, "updated_at" = '2012-10-23 15:33:04.738930' WHERE "spree_product_properties"."id" = 1073274301 Created New ProductProperty # Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835858], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501678, "updated_at" = '2012-10-23 15:33:04.743110' WHERE "spree_product_properties"."id" = 1073274302 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["product_id", nil], ["property_id", 905835860], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501678, "updated_at" = '2012-10-23 15:33:04.747697' WHERE "spree_product_properties"."id" = 1073274303 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452762 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452762], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501678 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501678, 558400711) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452759 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400705 AND "spree_taxons"."taxonomy_id" = 854452759 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501678, 558400706)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501678, 558400705) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501678 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501678) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["option_type_id", 935339757], ["position", 1], ["product_id", 1060501678], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.774574' WHERE "spree_products"."id" = 1060501678 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501678], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.776103' WHERE "spree_products"."id" = 1060501678  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593251, 979461278) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501678]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::OptionType Load (0.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501678 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.786909' WHERE "spree_products"."id" = 1060501678 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501678], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.787990' WHERE "spree_products"."id" = 1060501678  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593252, 979461279) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501678]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501678 AND "spree_option_types"."id" = 935339757 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339757 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.796178' WHERE "spree_products"."id" = 1060501678 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501678], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.797696' WHERE "spree_products"."id" = 1060501678  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593253, 979461280) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501678]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501678 AND "spree_option_types"."id" = 935339758 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501678) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["option_type_id", 935339758], ["position", 2], ["product_id", 1060501678], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339758 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339758) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339758], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.813903' WHERE "spree_products"."id" = 1060501678 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501678], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.815095' WHERE "spree_products"."id" = 1060501678  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593254, 979461281) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501678]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501678 AND "spree_option_types"."id" = 935339758 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339758 LIMIT 1 Spree::OptionValue Load (0.7ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339758) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00], ["name", "colour"], ["option_type_id", 935339758], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:04 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.825365' WHERE "spree_products"."id" = 1060501678 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501678], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.826695' WHERE "spree_products"."id" = 1060501678  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593255, 979461282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501678]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593251 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593252 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593253 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593254 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593255 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.908289' WHERE "spree_products"."id" = 1060501678  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593251 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.909656' WHERE "spree_products"."id" = 1060501678 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.910878' WHERE "spree_products"."id" = 1060501678  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593252 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.911693' WHERE "spree_products"."id" = 1060501678 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.912976' WHERE "spree_products"."id" = 1060501678  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593253 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.914466' WHERE "spree_products"."id" = 1060501678 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.915658' WHERE "spree_products"."id" = 1060501678  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593254 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.916654' WHERE "spree_products"."id" = 1060501678 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501678 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.917896' WHERE "spree_products"."id" = 1060501678  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593255 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:04.918693' WHERE "spree_products"."id" = 1060501678 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501678) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501678 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:33:04.921914' WHERE "spree_products"."id" = 1060501678 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 1060501678 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.3ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.3ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501676 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501676 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501677 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501677 Spree::Taxonomy Load (0.7ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452759 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400705 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452759 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400709 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400709 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400710 ORDER BY "lft" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.2ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452763], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]]  (3.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452763], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 558400712, "updated_at" = '2012-10-23 15:33:05.027139' WHERE "spree_taxons"."id" = 558400713 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400712]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400713]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400713 THEN 558400712 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400712]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400713]]  (1.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400712 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.058889' WHERE "spree_products"."id" = 1060501679 Binary data inserted for `string` type on column `sku` SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501679], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.060431' WHERE "spree_products"."id" = 1060501679  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593256 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.062044' WHERE "spree_products"."id" = 1060501679  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501679  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["product_id", nil], ["property_id", 905835861], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501679, "updated_at" = '2012-10-23 15:33:05.069689' WHERE "spree_product_properties"."id" = 1073274304 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501679 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501679, 558400712) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452764 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452764], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501679, 558400714) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501679 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501679) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["option_type_id", 935339759], ["position", 1], ["product_id", 1060501679], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339759) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339759], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.103648' WHERE "spree_products"."id" = 1060501679 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501679], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.105521' WHERE "spree_products"."id" = 1060501679  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593257, 979461283) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501679]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501679 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339759) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339759], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.116464' WHERE "spree_products"."id" = 1060501679 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501679], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.117919' WHERE "spree_products"."id" = 1060501679  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593258, 979461284) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501679]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501679 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339759) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339759], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.127976' WHERE "spree_products"."id" = 1060501679 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501679], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.129213' WHERE "spree_products"."id" = 1060501679  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593259, 979461285) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501679]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593258 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593259 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.149461' WHERE "spree_products"."id" = 1060501679  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593257 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.150687' WHERE "spree_products"."id" = 1060501679 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.152113' WHERE "spree_products"."id" = 1060501679  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593258 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.153187' WHERE "spree_products"."id" = 1060501679 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.154893' WHERE "spree_products"."id" = 1060501679  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593259 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.155946' WHERE "spree_products"."id" = 1060501679 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501679) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501679 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:33:05.159092' WHERE "spree_products"."id" = 1060501679 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (1.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.167984' WHERE "spree_products"."id" = 1060501680 Binary data inserted for `string` type on column `sku` SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501680], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.169415' WHERE "spree_products"."id" = 1060501680  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593260 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.171030' WHERE "spree_products"."id" = 1060501680  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501680  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["product_id", nil], ["property_id", 905835862], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501680, "updated_at" = '2012-10-23 15:33:05.177532' WHERE "spree_product_properties"."id" = 1073274305 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501680 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501680, 558400712) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452765 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452765], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501680, 558400715) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400712 AND "spree_taxons"."taxonomy_id" = 854452763 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400712]] Binary data inserted for `string` type on column `name` SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400712], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452763], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400712]] Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400716]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400716 THEN 558400712 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400712]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400716]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400716 AND "spree_taxons"."taxonomy_id" = 854452763 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400716]] Binary data inserted for `string` type on column `name` SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400716], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452763], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400716]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400717]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400717 THEN 558400716 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400716]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400717]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501680, 558400716)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501680, 558400717) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501680 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501680) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["option_type_id", 935339759], ["position", 1], ["product_id", 1060501680], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.233299' WHERE "spree_products"."id" = 1060501680 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501680], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.239115' WHERE "spree_products"."id" = 1060501680  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593261, 979461283) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501680]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501680 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.252684' WHERE "spree_products"."id" = 1060501680 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501680], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.254852' WHERE "spree_products"."id" = 1060501680  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593262, 979461284) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501680]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501680 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.265500' WHERE "spree_products"."id" = 1060501680 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501680], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.267026' WHERE "spree_products"."id" = 1060501680  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593263, 979461285) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501680]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593261 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593262 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593263 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.286630' WHERE "spree_products"."id" = 1060501680  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593261 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.287873' WHERE "spree_products"."id" = 1060501680 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.289349' WHERE "spree_products"."id" = 1060501680  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593262 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.290437' WHERE "spree_products"."id" = 1060501680 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.291913' WHERE "spree_products"."id" = 1060501680  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593263 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.292683' WHERE "spree_products"."id" = 1060501680 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501680) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501680 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:33:05.296297' WHERE "spree_products"."id" = 1060501680 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.306521' WHERE "spree_products"."id" = 1060501681 Binary data inserted for `string` type on column `sku` SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501681], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.307996' WHERE "spree_products"."id" = 1060501681  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593264 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.309500' WHERE "spree_products"."id" = 1060501681  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501681  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["product_id", nil], ["property_id", 905835863], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501681, "updated_at" = '2012-10-23 15:33:05.316510' WHERE "spree_product_properties"."id" = 1073274306 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 Binary data inserted for `string` type on column `value` SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["product_id", nil], ["property_id", 905835862], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501681, "updated_at" = '2012-10-23 15:33:05.320489' WHERE "spree_product_properties"."id" = 1073274307 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["product_id", nil], ["property_id", 905835864], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501681, "updated_at" = '2012-10-23 15:33:05.325307' WHERE "spree_product_properties"."id" = 1073274308 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452766 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452766], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501681 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501681, 558400718) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400712 AND "spree_taxons"."taxonomy_id" = 854452763 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501681, 558400713)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501681, 558400712) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501681 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501681) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["option_type_id", 935339759], ["position", 1], ["product_id", 1060501681], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.350183' WHERE "spree_products"."id" = 1060501681 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501681], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.351704' WHERE "spree_products"."id" = 1060501681  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593265, 979461283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501681]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501681 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.360148' WHERE "spree_products"."id" = 1060501681 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501681], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.361634' WHERE "spree_products"."id" = 1060501681  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593266, 979461284) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501681]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501681 AND "spree_option_types"."id" = 935339759 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339759 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.370185' WHERE "spree_products"."id" = 1060501681 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501681], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.371681' WHERE "spree_products"."id" = 1060501681  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593267, 979461285) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501681]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501681 AND "spree_option_types"."id" = 935339760 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501681) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["option_type_id", 935339760], ["position", 2], ["product_id", 1060501681], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339760 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339760) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339760], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.386119' WHERE "spree_products"."id" = 1060501681 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501681], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.387751' WHERE "spree_products"."id" = 1060501681  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593268, 979461286) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501681]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501681 AND "spree_option_types"."id" = 935339760 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339760 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339760) ORDER BY position DESC LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "colour"], ["option_type_id", 935339760], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.397989' WHERE "spree_products"."id" = 1060501681 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501681], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.399361' WHERE "spree_products"."id" = 1060501681  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593269, 979461287) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501681]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593265 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593266 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593267 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593268 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593269 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.417489' WHERE "spree_products"."id" = 1060501681  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593265 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.418680' WHERE "spree_products"."id" = 1060501681 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.420429' WHERE "spree_products"."id" = 1060501681  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593266 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.421635' WHERE "spree_products"."id" = 1060501681 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.422652' WHERE "spree_products"."id" = 1060501681  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593267 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.423812' WHERE "spree_products"."id" = 1060501681 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.424979' WHERE "spree_products"."id" = 1060501681  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593268 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.426008' WHERE "spree_products"."id" = 1060501681 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501681 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.427112' WHERE "spree_products"."id" = 1060501681  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593269 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.428250' WHERE "spree_products"."id" = 1060501681 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501681) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501681 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:33:05.431357' WHERE "spree_products"."id" = 1060501681  (6.4ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501679 LIMIT 1 Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501679 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501680 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501680 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452763 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400712 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452763 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400716 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400716 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400717 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.7ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (3.0ms) begin transaction  (0.2ms) commit transaction SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_taxons"  (0.4ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501682 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.601852' WHERE "spree_products"."id" = 1060501682 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501682], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.603425' WHERE "spree_products"."id" = 1060501682  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593270 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.605122' WHERE "spree_products"."id" = 1060501682  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501682 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501682  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501682 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452767], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400719 AND "spree_taxons"."taxonomy_id" = 854452767 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400719]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400719], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452767], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400719]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400720]] SQL (1.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400720 THEN 558400719 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400719]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400720]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501682 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501682, 558400720)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501682, 558400719) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501682) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452768 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.5ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  [1mSQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452768], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501682, 558400721) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501682) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593270 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501682) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:33:05.648288' WHERE "spree_products"."id" = 1060501682  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593270 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.650449' WHERE "spree_products"."id" = 1060501682 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501682 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 1060501682 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501683 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.659473' WHERE "spree_products"."id" = 1060501683 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501683], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.661144' WHERE "spree_products"."id" = 1060501683  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593271 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.662414' WHERE "spree_products"."id" = 1060501683  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501683 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501683  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501683 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501683 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501683, 558400719) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501683) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452769], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501683, 558400722) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501683) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400719 AND "spree_taxons"."taxonomy_id" = 854452767 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400719]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400719], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452767], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400719]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400723]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400723 THEN 558400719 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400719]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400723]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400723 AND "spree_taxons"."taxonomy_id" = 854452767 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400723]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400723], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452767], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400723]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400724]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400724 THEN 558400723 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400723]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400724]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501683, 558400723)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501683, 558400724) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501683) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593271 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501683) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:33:05.704517' WHERE "spree_products"."id" = 1060501683  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593271 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.706444' WHERE "spree_products"."id" = 1060501683 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501683 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 1060501683 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501684 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.717435' WHERE "spree_products"."id" = 1060501684 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501684], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.719074' WHERE "spree_products"."id" = 1060501684  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593272 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.721012' WHERE "spree_products"."id" = 1060501684  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501684 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501684  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501684 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452770 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452770], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400725 AND "spree_taxons"."taxonomy_id" = 854452770 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400725]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400725], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452770], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400725]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400726]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400726 THEN 558400725 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400725]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400726]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501684 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501684, 558400726)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501684, 558400725) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501684) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452771 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452771], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501684, 558400727) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501684) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593272 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501684) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:33:05.756032' WHERE "spree_products"."id" = 1060501684  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593272 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.757671' WHERE "spree_products"."id" = 1060501684 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501684 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 1060501684 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501685 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.767289' WHERE "spree_products"."id" = 1060501685 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501685], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.768869' WHERE "spree_products"."id" = 1060501685  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593273 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.770310' WHERE "spree_products"."id" = 1060501685  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501685 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501685  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501685 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452770 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400725 AND "spree_taxons"."taxonomy_id" = 854452770 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501685 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501685, 558400726)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501685, 558400725) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501685) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400719 AND "spree_taxons"."taxonomy_id" = 854452767 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400723 AND "spree_taxons"."taxonomy_id" = 854452767 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400723]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400723], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452767], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400723]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400728]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400728 THEN 558400723 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400723]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400728]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400728 AND "spree_taxons"."taxonomy_id" = 854452767 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400728]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400728], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452767], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400728]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400729]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400729 THEN 558400728 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400728]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400729]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501685, 558400723)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501685, 558400728)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501685, 558400729)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501685, 558400719) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501685) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593273 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501685) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:33:05.808106' WHERE "spree_products"."id" = 1060501685  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593273 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.809669' WHERE "spree_products"."id" = 1060501685 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501685 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 1060501685 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501686 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.818449' WHERE "spree_products"."id" = 1060501686 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501686], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.819658' WHERE "spree_products"."id" = 1060501686  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593274 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.821089' WHERE "spree_products"."id" = 1060501686  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501686 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501686  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501686 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452770 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400725 AND "spree_taxons"."taxonomy_id" = 854452770 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400726 AND "spree_taxons"."taxonomy_id" = 854452770 LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400726]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400726], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452770], ["updated_at", Tue, 23 Oct 2012 15:33:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400726]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400730]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400730 THEN 558400726 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400726]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400730]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501686 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501686, 558400726)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501686, 558400730)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501686, 558400725) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501686) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501686, 558400722) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501686) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593274 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501686) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:33:05.849668' WHERE "spree_products"."id" = 1060501686  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593274 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:05.851732' WHERE "spree_products"."id" = 1060501686 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501686 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 1060501686 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452768 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452770 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452771 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (2.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452767 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452767 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400719 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400719) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400723 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400723) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400723) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400719 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400723 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400728 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400729 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400728) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452770 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452770 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400726 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400726 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400730 ORDER BY "lft" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400730) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452769 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452769 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400722 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452771 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452771 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400727 ORDER BY "lft" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Product Load (1.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501687 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.045189' WHERE "spree_products"."id" = 1060501687 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501687], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.047146' WHERE "spree_products"."id" = 1060501687  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593275 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.048796' WHERE "spree_products"."id" = 1060501687  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501687 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501687  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501687 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452772 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452772], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400731 AND "spree_taxons"."taxonomy_id" = 854452772 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400731]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400731], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452772], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400731]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400732]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400732 THEN 558400731 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400731]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400732]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501687 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501687, 558400732)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501687, 558400731) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501687) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452773 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452773], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501687, 558400733) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501687) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593275 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501687) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:33:06.086662' WHERE "spree_products"."id" = 1060501687  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593275 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.088613' WHERE "spree_products"."id" = 1060501687 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501687 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501688 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.097476' WHERE "spree_products"."id" = 1060501688 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501688], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.099101' WHERE "spree_products"."id" = 1060501688  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593276 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.100350' WHERE "spree_products"."id" = 1060501688  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501688 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501688  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501688 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452772 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501688 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501688, 558400731) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501688) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452774 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452774], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501688, 558400734) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501688) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452772 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400731 AND "spree_taxons"."taxonomy_id" = 854452772 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400731]] Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400731], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452772], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400731]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400735]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400735 THEN 558400731 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400731]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400735]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400735 AND "spree_taxons"."taxonomy_id" = 854452772 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400735]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400735], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452772], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400735]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400736]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400736 THEN 558400735 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400735]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400736]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501688, 558400735)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501688, 558400736) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501688) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593276 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501688) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:33:06.142200' WHERE "spree_products"."id" = 1060501688  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593276 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.144063' WHERE "spree_products"."id" = 1060501688 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501688 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501689 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.153467' WHERE "spree_products"."id" = 1060501689 Binary data inserted for `string` type on column `sku` SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501689], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.154841' WHERE "spree_products"."id" = 1060501689  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593277 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.156581' WHERE "spree_products"."id" = 1060501689  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501689 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501689  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501689 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452775], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400737 AND "spree_taxons"."taxonomy_id" = 854452775 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400737]] Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400737], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452775], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400737]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400738]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400738 THEN 558400737 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400737]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400738]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501689 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501689, 558400738)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501689, 558400737) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501689) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452776 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452776], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501689, 558400739) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501689) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593277 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501689) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:33:06.192461' WHERE "spree_products"."id" = 1060501689  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593277 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.194100' WHERE "spree_products"."id" = 1060501689 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501689 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501690 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.203620' WHERE "spree_products"."id" = 1060501690 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501690], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.205029' WHERE "spree_products"."id" = 1060501690  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593278 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.206334' WHERE "spree_products"."id" = 1060501690  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501690 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501690  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501690 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400737 AND "spree_taxons"."taxonomy_id" = 854452775 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501690 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501690, 558400738)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501690, 558400737) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501690) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452772 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400731 AND "spree_taxons"."taxonomy_id" = 854452772 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400735 AND "spree_taxons"."taxonomy_id" = 854452772 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400735]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400735], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452772], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400735]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400740]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400740 THEN 558400735 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400735]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400740]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400740 AND "spree_taxons"."taxonomy_id" = 854452772 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400740]] Binary data inserted for `string` type on column `name` SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400740], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452772], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400740]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400741]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400741 THEN 558400740 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400740]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400741]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501690, 558400735)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501690, 558400740)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501690, 558400741)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501690, 558400731) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501690) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593278 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501690) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:33:06.246272' WHERE "spree_products"."id" = 1060501690  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593278 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.248658' WHERE "spree_products"."id" = 1060501690 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501690 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 Binary data inserted for `string` type on column `name` SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501691 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.259194' WHERE "spree_products"."id" = 1060501691 Binary data inserted for `string` type on column `sku` SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501691], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.260980' WHERE "spree_products"."id" = 1060501691  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593279 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.262658' WHERE "spree_products"."id" = 1060501691  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501691 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501691  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501691 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400737 AND "spree_taxons"."taxonomy_id" = 854452775 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400738 AND "spree_taxons"."taxonomy_id" = 854452775 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400738]] Binary data inserted for `string` type on column `name` SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400738], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452775], ["updated_at", Tue, 23 Oct 2012 15:33:06 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400738]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400742]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400742 THEN 558400738 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400738]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400742]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501691 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501691, 558400738)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501691, 558400742)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501691, 558400737) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501691) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452774 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501691, 558400734) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501691) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593279 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501691) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:33:06.291657' WHERE "spree_products"."id" = 1060501691  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593279 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:33:06.293657' WHERE "spree_products"."id" = 1060501691 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501691  (6.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452772 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452773 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452774 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452775 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452776 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452772 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452772 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400731 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400731) Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400735 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400735) Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400735) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400731 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400735 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400740 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400741 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400740) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452775 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452775 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400738 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400738 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400742 ORDER BY "lft" Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400742) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452774 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452774 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.7ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400734 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452776 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452776 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400739 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (5.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.5ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.1ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones" SQL (2.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.2ms) commit transaction SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.2ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones" SQL (2.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 Spree::Preference Load (0.1ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE ("spree_preferences"."key" IS NOT NULL) AND ("spree_preferences"."value_type" IS NOT NULL) SQL (13.6ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.3ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.2ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (3.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 171 Row ROWRest of World succesfully SAVED : ID 171 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 172 Row UKUnited Kingdom succesfully SAVED : ID 172 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 173 Row EUREurope succesfully SAVED : ID 173 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.3ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 174 Row NANorth America succesfully SAVED : ID 174 Current value to assign : Current value to assign :  (5.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 175 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 176 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 177 Current value to assign : NA Current value to assign : North America Saving csv row NANorth America to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 178  (1.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones" SQL (1.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.8ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501692 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.359632' WHERE "spree_products"."id" = 1060501692 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501692], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.361405' WHERE "spree_products"."id" = 1060501692  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593280 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.364468' WHERE "spree_products"."id" = 1060501692  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501692 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501692  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593280 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501692) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501692 AND "spree_option_types"."id" = 935339761 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501692) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339761], ["position", 1], ["product_id", 1060501692], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501692) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.485913', "count_on_hand" = 12 WHERE "spree_products"."id" = 1060501692  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593280 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.487243' WHERE "spree_products"."id" = 1060501692 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501692 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 1060501692 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501693 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.493127' WHERE "spree_products"."id" = 1060501693 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501693], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.493931' WHERE "spree_products"."id" = 1060501693  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593281 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.495037' WHERE "spree_products"."id" = 1060501693  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501693 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501693  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501693 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593281 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501693) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501693 AND "spree_option_types"."id" = 935339761 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501693) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339761], ["position", 1], ["product_id", 1060501693], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501693) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.507135', "count_on_hand" = 5 WHERE "spree_products"."id" = 1060501693  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593281 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.508176' WHERE "spree_products"."id" = 1060501693 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501693 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 1060501693 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501694 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.514623' WHERE "spree_products"."id" = 1060501694 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501694], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.515637' WHERE "spree_products"."id" = 1060501694  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593282 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.517135' WHERE "spree_products"."id" = 1060501694  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501694 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501694  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501694 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593282 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501694) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501694 AND "spree_option_types"."id" = 935339761 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501694) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339761], ["position", 1], ["product_id", 1060501694], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501694 AND "spree_option_types"."id" = 935339762 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501694) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339762], ["position", 2], ["product_id", 1060501694], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501694) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.532242', "count_on_hand" = 23 WHERE "spree_products"."id" = 1060501694  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013593282 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.533441' WHERE "spree_products"."id" = 1060501694 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501694 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 1060501694 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:34:01.545535')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:34:01.546193')  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501692 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501692 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501692 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501694 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501695 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.602549' WHERE "spree_products"."id" = 1060501695 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501695], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.604452' WHERE "spree_products"."id" = 1060501695  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593283 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.606022' WHERE "spree_products"."id" = 1060501695  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501695 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501695  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593283 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501695) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501695 AND "spree_option_types"."id" = 935339763 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501695) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339763], ["position", 1], ["product_id", 1060501695], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501695) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.619520', "count_on_hand" = 12 WHERE "spree_products"."id" = 1060501695  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593283 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.621060' WHERE "spree_products"."id" = 1060501695 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501695 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501696 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.627797' WHERE "spree_products"."id" = 1060501696 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501696], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.628833' WHERE "spree_products"."id" = 1060501696  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593284 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.630939' WHERE "spree_products"."id" = 1060501696  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501696 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501696  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501696 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593284 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501696) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501696 AND "spree_option_types"."id" = 935339763 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501696) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339763], ["position", 1], ["product_id", 1060501696], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501696) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.643520', "count_on_hand" = 5 WHERE "spree_products"."id" = 1060501696  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593284 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.645089' WHERE "spree_products"."id" = 1060501696 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501696 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501697 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.651727' WHERE "spree_products"."id" = 1060501697 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501697], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.652705' WHERE "spree_products"."id" = 1060501697  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593285 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.653904' WHERE "spree_products"."id" = 1060501697  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501697 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501697  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501697 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593285 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501697) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501697 AND "spree_option_types"."id" = 935339763 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501697) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339763], ["position", 1], ["product_id", 1060501697], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501697 AND "spree_option_types"."id" = 935339764 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501697) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339764], ["position", 2], ["product_id", 1060501697], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501697) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.672797', "count_on_hand" = 23 WHERE "spree_products"."id" = 1060501697  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013593285 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.674262' WHERE "spree_products"."id" = 1060501697 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501697  (4.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:34:01.681151')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:34:01.681652')  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501695 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501695 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501695 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501697 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.3ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:34:01 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501698 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.734810' WHERE "spree_products"."id" = 1060501698 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501698], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.735991' WHERE "spree_products"."id" = 1060501698  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593286 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.737398' WHERE "spree_products"."id" = 1060501698  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501698 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501698  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501698 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501698 AND "spree_option_types"."id" = 935339765 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501698) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339765], ["position", 1], ["product_id", 1060501698], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501698) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 1060501698 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:34:01 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501699 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.756391' WHERE "spree_products"."id" = 1060501699 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501699], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.757544' WHERE "spree_products"."id" = 1060501699  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593287 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.818356' WHERE "spree_products"."id" = 1060501699  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501699 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501699  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501699 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501699 AND "spree_option_types"."id" = 935339765 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501699) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339765], ["position", 1], ["product_id", 1060501699], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501699) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 1060501699 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:34:01 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501700 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.834403' WHERE "spree_products"."id" = 1060501700 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501700], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.835596' WHERE "spree_products"."id" = 1060501700  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593288 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.836610' WHERE "spree_products"."id" = 1060501700  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501700 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501700  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501700 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501700 AND "spree_option_types"."id" = 935339765 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501700) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339765], ["position", 1], ["product_id", 1060501700], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501700 AND "spree_option_types"."id" = 935339766 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501700) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339766], ["position", 2], ["product_id", 1060501700], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501700) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 1060501700 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501698 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" SQL (3.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"meta_keywords"=>"techno dubstep d&b", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "available_on"=>"Time.now.to_s(:db)"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501701 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.905658' WHERE "spree_products"."id" = 1060501701 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501701], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.907231' WHERE "spree_products"."id" = 1060501701  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593289 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.908366' WHERE "spree_products"."id" = 1060501701  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501701 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501701  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501701 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (1.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501701 AND "spree_option_types"."id" = 935339767 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501701) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339767], ["position", 1], ["product_id", 1060501701], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501701) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 1060501701 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501702 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.925234' WHERE "spree_products"."id" = 1060501702 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501702], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.926568' WHERE "spree_products"."id" = 1060501702  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593290 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.927610' WHERE "spree_products"."id" = 1060501702  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501702 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501702  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501702 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501702 AND "spree_option_types"."id" = 935339767 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501702) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339767], ["position", 1], ["product_id", 1060501702], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501702) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 1060501702 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501703 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.941404' WHERE "spree_products"."id" = 1060501703 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501703], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.942427' WHERE "spree_products"."id" = 1060501703  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593291 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:01.943616' WHERE "spree_products"."id" = 1060501703  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501703 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501703  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501703 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501703 AND "spree_option_types"."id" = 935339767 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501703) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339767], ["position", 1], ["product_id", 1060501703], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::OptionType Exists (1.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501703 AND "spree_option_types"."id" = 935339768 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501703) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["option_type_id", 935339768], ["position", 2], ["product_id", 1060501703], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501703) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 1060501703 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501701 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:34:01 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.018787' WHERE "spree_products"."id" = 1060501704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501704], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.019984' WHERE "spree_products"."id" = 1060501704  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593292 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.021301' WHERE "spree_products"."id" = 1060501704  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501704  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835865], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501704, "updated_at" = '2012-10-23 15:34:02.034257' WHERE "spree_product_properties"."id" = 1073274309 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501704) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452777 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452777], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501704 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400743, 1060501704) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452778 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452778], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400744, 1060501704) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501704) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501704 AND "spree_option_types"."id" = 935339769 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501704) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339769], ["position", 1], ["product_id", 1060501704], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339769) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339769], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.136563' WHERE "spree_products"."id" = 1060501704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501704], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.137512' WHERE "spree_products"."id" = 1060501704  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593293, 979461288) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339769) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339769], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.145929' WHERE "spree_products"."id" = 1060501704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501704], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.146931' WHERE "spree_products"."id" = 1060501704  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461289, 1013593294) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339769) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339769], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.150700' WHERE "spree_products"."id" = 1060501704 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501704], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.151729' WHERE "spree_products"."id" = 1060501704  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593295, 979461290) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501704]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501704) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593293 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593294 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593295 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501704) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.162989' WHERE "spree_products"."id" = 1060501704  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593293 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.163858' WHERE "spree_products"."id" = 1060501704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501704 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.164922' WHERE "spree_products"."id" = 1060501704  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593294 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.165981' WHERE "spree_products"."id" = 1060501704 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501704 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.166987' WHERE "spree_products"."id" = 1060501704  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593295 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.167726' WHERE "spree_products"."id" = 1060501704 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501704) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501704 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.170223', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501704 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1060501704 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.175994' WHERE "spree_products"."id" = 1060501705 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501705], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.176928' WHERE "spree_products"."id" = 1060501705  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593296 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.178063' WHERE "spree_products"."id" = 1060501705  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501705  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835866], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501705, "updated_at" = '2012-10-23 15:34:02.183904' WHERE "spree_product_properties"."id" = 1073274310 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501705) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452777 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501705 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400743, 1060501705) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452779 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452779], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400745, 1060501705) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452777 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400743 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452777 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400743]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400743], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452777], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400743]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400746]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400746 THEN 558400743 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400743]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400746]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400746 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452777 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400746]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400746], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452777], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400746]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400747]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400747 THEN 558400746 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400746]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400747]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400746, 1060501705)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400747, 1060501705) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501705) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501705 AND "spree_option_types"."id" = 935339769 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501705) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339769], ["position", 1], ["product_id", 1060501705], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.220761' WHERE "spree_products"."id" = 1060501705 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501705], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.221931' WHERE "spree_products"."id" = 1060501705  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593297, 979461288) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.224601' WHERE "spree_products"."id" = 1060501705 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501705], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.225898' WHERE "spree_products"."id" = 1060501705  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461289, 1013593298) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.230807' WHERE "spree_products"."id" = 1060501705 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501705], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.231960' WHERE "spree_products"."id" = 1060501705  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593299, 979461290) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501705]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501705) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593297 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593298 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593299 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501705) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.247463' WHERE "spree_products"."id" = 1060501705  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593297 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.248412' WHERE "spree_products"."id" = 1060501705 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.249490' WHERE "spree_products"."id" = 1060501705  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593298 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.250199' WHERE "spree_products"."id" = 1060501705 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501705 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.251256' WHERE "spree_products"."id" = 1060501705  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593299 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.251986' WHERE "spree_products"."id" = 1060501705 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501705) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501705 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.253925', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501705 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1060501705 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.260430' WHERE "spree_products"."id" = 1060501706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501706], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.261532' WHERE "spree_products"."id" = 1060501706  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593300 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.262603' WHERE "spree_products"."id" = 1060501706  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501706  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835867], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501706, "updated_at" = '2012-10-23 15:34:02.268834' WHERE "spree_product_properties"."id" = 1073274311 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835866], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501706, "updated_at" = '2012-10-23 15:34:02.271222' WHERE "spree_product_properties"."id" = 1073274312 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835868], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501706, "updated_at" = '2012-10-23 15:34:02.274384' WHERE "spree_product_properties"."id" = 1073274313 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501706) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452780 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452780], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501706 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400748, 1060501706) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452777 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400743 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452777 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400743]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400743], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452777], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400743]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400749]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400749 THEN 558400743 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400743]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400749]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400749, 1060501706)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400743, 1060501706) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501706) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501706 AND "spree_option_types"."id" = 935339769 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501706) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339769], ["position", 1], ["product_id", 1060501706], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.298863' WHERE "spree_products"."id" = 1060501706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501706], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.300062' WHERE "spree_products"."id" = 1060501706  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593301, 979461288) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.302413' WHERE "spree_products"."id" = 1060501706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501706], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.303339' WHERE "spree_products"."id" = 1060501706  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461289, 1013593302) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339769 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.305430' WHERE "spree_products"."id" = 1060501706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501706], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.306198' WHERE "spree_products"."id" = 1060501706  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593303, 979461290) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501706]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501706 AND "spree_option_types"."id" = 935339770 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501706) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339770], ["position", 2], ["product_id", 1060501706], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339770 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339770) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339770], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.318918' WHERE "spree_products"."id" = 1060501706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501706], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.320549' WHERE "spree_products"."id" = 1060501706  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461291, 1013593304) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339770 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339770) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339770], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.381535' WHERE "spree_products"."id" = 1060501706 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501706], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.385196' WHERE "spree_products"."id" = 1060501706  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593305, 979461292) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501706]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501706) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593301 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593302 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593303 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593304 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593305 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501706) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.397792' WHERE "spree_products"."id" = 1060501706  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593301 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.399196' WHERE "spree_products"."id" = 1060501706 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.400811' WHERE "spree_products"."id" = 1060501706  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593302 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.401710' WHERE "spree_products"."id" = 1060501706 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.402901' WHERE "spree_products"."id" = 1060501706  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593303 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.403590' WHERE "spree_products"."id" = 1060501706 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.404437' WHERE "spree_products"."id" = 1060501706  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593304 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.405095' WHERE "spree_products"."id" = 1060501706 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501706 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.406349' WHERE "spree_products"."id" = 1060501706  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593305 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.407058' WHERE "spree_products"."id" = 1060501706 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501706) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501706 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.409271', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501706 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1060501706 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501704 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501706 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.3ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501706 SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (1.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.485147' WHERE "spree_products"."id" = 1060501707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501707], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.486193' WHERE "spree_products"."id" = 1060501707  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593306 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.487298' WHERE "spree_products"."id" = 1060501707  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501707  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835869], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501707, "updated_at" = '2012-10-23 15:34:02.491774' WHERE "spree_product_properties"."id" = 1073274314 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452781 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452781], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501707 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400750, 1060501707) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452782 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452782], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400751, 1060501707) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501707 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501707) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339771], ["position", 1], ["product_id", 1060501707], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339771) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339771], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.517377' WHERE "spree_products"."id" = 1060501707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501707], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.518629' WHERE "spree_products"."id" = 1060501707  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461293, 1013593307) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501707]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501707 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339771) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339771], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.527821' WHERE "spree_products"."id" = 1060501707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501707], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.528726' WHERE "spree_products"."id" = 1060501707  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461294, 1013593308) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501707]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501707 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339771) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339771], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.537079' WHERE "spree_products"."id" = 1060501707 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501707], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.537890' WHERE "spree_products"."id" = 1060501707  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593309, 979461295) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501707]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593307 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593308 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593309 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.551192' WHERE "spree_products"."id" = 1060501707  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593307 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.552550' WHERE "spree_products"."id" = 1060501707 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.553419' WHERE "spree_products"."id" = 1060501707  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593308 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.554327' WHERE "spree_products"."id" = 1060501707 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501707 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.555565' WHERE "spree_products"."id" = 1060501707  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593309 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.556410' WHERE "spree_products"."id" = 1060501707 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501707) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501707 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.558342', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501707 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 1060501707 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.566191' WHERE "spree_products"."id" = 1060501708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501708], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.567191' WHERE "spree_products"."id" = 1060501708  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593310 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.568257' WHERE "spree_products"."id" = 1060501708  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501708  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835870], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501708, "updated_at" = '2012-10-23 15:34:02.573554' WHERE "spree_product_properties"."id" = 1073274315 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452781 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501708 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400750, 1060501708) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452783 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452783], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400752, 1060501708) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452781 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400750 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452781 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400750]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400750], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452781], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400750]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400753]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400753 THEN 558400750 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400750]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400753]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400753 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452781 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400753]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400753], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452781], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400753]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400754]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400754 THEN 558400753 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400753]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400754]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400753, 1060501708)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400754, 1060501708) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501708 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501708) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339771], ["position", 1], ["product_id", 1060501708], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.668502' WHERE "spree_products"."id" = 1060501708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501708], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.669353' WHERE "spree_products"."id" = 1060501708  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461293, 1013593311) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501708]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501708 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.676763' WHERE "spree_products"."id" = 1060501708 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501708], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.677882' WHERE "spree_products"."id" = 1060501708  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461294, 1013593312) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501708]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501708 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.684598' WHERE "spree_products"."id" = 1060501708 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501708], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.686029' WHERE "spree_products"."id" = 1060501708  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593313, 979461295) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501708]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593311 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593312 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593313 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.698860' WHERE "spree_products"."id" = 1060501708  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593311 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.699954' WHERE "spree_products"."id" = 1060501708 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.701188' WHERE "spree_products"."id" = 1060501708  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593312 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.702145' WHERE "spree_products"."id" = 1060501708 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501708 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.702965' WHERE "spree_products"."id" = 1060501708  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593313 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.703565' WHERE "spree_products"."id" = 1060501708 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501708) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501708 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.706049', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501708 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 succesfully SAVED : ID 1060501708 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.714436' WHERE "spree_products"."id" = 1060501709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501709], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.715764' WHERE "spree_products"."id" = 1060501709  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593314 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.716992' WHERE "spree_products"."id" = 1060501709  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501709  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835871], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501709, "updated_at" = '2012-10-23 15:34:02.723081' WHERE "spree_product_properties"."id" = 1073274316 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835870], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501709, "updated_at" = '2012-10-23 15:34:02.726187' WHERE "spree_product_properties"."id" = 1073274317 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["product_id", nil], ["property_id", 905835872], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501709, "updated_at" = '2012-10-23 15:34:02.729894' WHERE "spree_product_properties"."id" = 1073274318 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452784 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452784], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501709 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400755, 1060501709) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452781 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400750 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452781 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400750]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400750], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452781], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400750]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400756]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400756 THEN 558400750 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400750]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400756]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400756, 1060501709)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400750, 1060501709) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501709 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501709) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339771], ["position", 1], ["product_id", 1060501709], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.757620' WHERE "spree_products"."id" = 1060501709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501709], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.758799' WHERE "spree_products"."id" = 1060501709  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461293, 1013593315) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501709]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501709 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.766406' WHERE "spree_products"."id" = 1060501709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501709], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.767588' WHERE "spree_products"."id" = 1060501709  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461294, 1013593316) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501709]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501709 AND "spree_option_types"."id" = 935339771 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339771 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.775041' WHERE "spree_products"."id" = 1060501709 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501709], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.776041' WHERE "spree_products"."id" = 1060501709  (0.3ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461295, 1013593317) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501709]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501709 AND "spree_option_types"."id" = 935339772 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501709) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["option_type_id", 935339772], ["position", 2], ["product_id", 1060501709], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339772 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339772) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339772], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.789572' WHERE "spree_products"."id" = 1060501709 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501709], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.790900' WHERE "spree_products"."id" = 1060501709  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461296, 1013593318) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501709]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501709 AND "spree_option_types"."id" = 935339772 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339772 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339772) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00], ["name", "colour"], ["option_type_id", 935339772], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:02 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.799066' WHERE "spree_products"."id" = 1060501709 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501709], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.800185' WHERE "spree_products"."id" = 1060501709  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593319, 979461297) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501709]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593315 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593316 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593317 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593318 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593319 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.814265' WHERE "spree_products"."id" = 1060501709  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593315 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.815035' WHERE "spree_products"."id" = 1060501709 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.816035' WHERE "spree_products"."id" = 1060501709  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593316 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.817385' WHERE "spree_products"."id" = 1060501709 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.818355' WHERE "spree_products"."id" = 1060501709  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593317 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.819034' WHERE "spree_products"."id" = 1060501709 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.819972' WHERE "spree_products"."id" = 1060501709  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593318 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.821185' WHERE "spree_products"."id" = 1060501709 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501709 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.822655' WHERE "spree_products"."id" = 1060501709  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593319 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.823453' WHERE "spree_products"."id" = 1060501709 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501709) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501709 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:02.825862', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501709 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 succesfully SAVED : ID 1060501709 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501707 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501709 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501709 SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (3.4ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452785 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452785], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452785], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501710 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.163722' WHERE "spree_products"."id" = 1060501710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501710], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.164903' WHERE "spree_products"."id" = 1060501710  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593320 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.166947' WHERE "spree_products"."id" = 1060501710  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501710  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835873], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501710, "updated_at" = '2012-10-23 15:34:03.172524' WHERE "spree_product_properties"."id" = 1073274319 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501710) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452785 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501710 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400757, 1060501710) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452786 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452786], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400759, 1060501710) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501710) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501710 AND "spree_option_types"."id" = 935339773 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501710) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339773], ["position", 1], ["product_id", 1060501710], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (1.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339773) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339773], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501710 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.194037' WHERE "spree_products"."id" = 1060501710 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501710], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.195175' WHERE "spree_products"."id" = 1060501710  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461298, 1013593321) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339773) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339773], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.199546' WHERE "spree_products"."id" = 1060501710 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501710], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.200463' WHERE "spree_products"."id" = 1060501710  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461299, 1013593322) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339773) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339773], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.204578' WHERE "spree_products"."id" = 1060501710 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501710], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.205645' WHERE "spree_products"."id" = 1060501710  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593323, 979461300) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501710]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501710) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593321 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593322 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593323 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501710) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.216299' WHERE "spree_products"."id" = 1060501710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593321 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.217174' WHERE "spree_products"."id" = 1060501710 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.218620' WHERE "spree_products"."id" = 1060501710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593322 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.219573' WHERE "spree_products"."id" = 1060501710 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501710 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.220707' WHERE "spree_products"."id" = 1060501710  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593323 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.221380' WHERE "spree_products"."id" = 1060501710 Spree::Product Exists (0.7ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501710) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.223547', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501710 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1060501710 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.230041' WHERE "spree_products"."id" = 1060501711 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501711], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.230840' WHERE "spree_products"."id" = 1060501711  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593324 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.232174' WHERE "spree_products"."id" = 1060501711  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501711  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835874], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501711, "updated_at" = '2012-10-23 15:34:03.238145' WHERE "spree_product_properties"."id" = 1073274320 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501711) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452785 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501711 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400757, 1060501711) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452787 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452787], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400760, 1060501711) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452785 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400757 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452785 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400757]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400757], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452785], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400757]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400761]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400761 THEN 558400757 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400757]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400761]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400761 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452785 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400761]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400761], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452785], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400761]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400762]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400762 THEN 558400761 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400761]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400762]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400761, 1060501711)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400762, 1060501711) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501711) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501711 AND "spree_option_types"."id" = 935339773 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501711) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339773], ["position", 1], ["product_id", 1060501711], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.326170' WHERE "spree_products"."id" = 1060501711 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501711], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.327171' WHERE "spree_products"."id" = 1060501711  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461298, 1013593325) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.329638' WHERE "spree_products"."id" = 1060501711 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501711], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.330741' WHERE "spree_products"."id" = 1060501711  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593326, 979461299) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.334553' WHERE "spree_products"."id" = 1060501711 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501711], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.335457' WHERE "spree_products"."id" = 1060501711  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593327, 979461300) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501711]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501711) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593325 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593326 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593327 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501711) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501711 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.351592' WHERE "spree_products"."id" = 1060501711  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593325 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.352529' WHERE "spree_products"."id" = 1060501711 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501711 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.354171' WHERE "spree_products"."id" = 1060501711  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593326 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.354932' WHERE "spree_products"."id" = 1060501711 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501711 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.356074' WHERE "spree_products"."id" = 1060501711  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593327 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.357532' WHERE "spree_products"."id" = 1060501711 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501711) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.361132', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501711 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1060501711 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.367591' WHERE "spree_products"."id" = 1060501712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501712], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.368644' WHERE "spree_products"."id" = 1060501712  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593328 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.369882' WHERE "spree_products"."id" = 1060501712  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501712  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835875], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501712, "updated_at" = '2012-10-23 15:34:03.375547' WHERE "spree_product_properties"."id" = 1073274321 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835874], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501712, "updated_at" = '2012-10-23 15:34:03.379544' WHERE "spree_product_properties"."id" = 1073274322 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835876], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501712, "updated_at" = '2012-10-23 15:34:03.383170' WHERE "spree_product_properties"."id" = 1073274323 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501712) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452788 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452788], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501712 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400763, 1060501712) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452785 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400757 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452785 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400757]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400757], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452785], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400757]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400764]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400764 THEN 558400757 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400757]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400764]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400764, 1060501712)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400757, 1060501712) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501712) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501712 AND "spree_option_types"."id" = 935339773 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501712) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339773], ["position", 1], ["product_id", 1060501712], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.409000' WHERE "spree_products"."id" = 1060501712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501712], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.411948' WHERE "spree_products"."id" = 1060501712  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461298, 1013593329) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.414386' WHERE "spree_products"."id" = 1060501712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501712], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.415427' WHERE "spree_products"."id" = 1060501712  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461299, 1013593330) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339773 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.418039' WHERE "spree_products"."id" = 1060501712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501712], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.419386' WHERE "spree_products"."id" = 1060501712  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593331, 979461300) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501712]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501712 AND "spree_option_types"."id" = 935339774 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501712) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339774], ["position", 2], ["product_id", 1060501712], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339774 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339774) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339774], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.434608' WHERE "spree_products"."id" = 1060501712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501712], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.435657' WHERE "spree_products"."id" = 1060501712  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593332, 979461301) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339774 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339774) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "colour"], ["option_type_id", 935339774], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.441782' WHERE "spree_products"."id" = 1060501712 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501712], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.444866' WHERE "spree_products"."id" = 1060501712  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461302, 1013593333) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501712]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501712) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593329 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593330 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593331 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593332 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593333 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501712) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.460344' WHERE "spree_products"."id" = 1060501712  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593329 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.461285' WHERE "spree_products"."id" = 1060501712 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.462303' WHERE "spree_products"."id" = 1060501712  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593330 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.463068' WHERE "spree_products"."id" = 1060501712 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.463987' WHERE "spree_products"."id" = 1060501712  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593331 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.464940' WHERE "spree_products"."id" = 1060501712 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.466767' WHERE "spree_products"."id" = 1060501712  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593332 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.467853' WHERE "spree_products"."id" = 1060501712 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501712 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.468840' WHERE "spree_products"."id" = 1060501712  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593333 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.469853' WHERE "spree_products"."id" = 1060501712 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501712) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.473465', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501712 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1060501712 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501711 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501712 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501710 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501710 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593321 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593322 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339773 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593323 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.7ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452789 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452789], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (1.9ms) commit transaction  (0.4ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452789], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501713 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.644891' WHERE "spree_products"."id" = 1060501713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501713], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.646163' WHERE "spree_products"."id" = 1060501713  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593334 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.647541' WHERE "spree_products"."id" = 1060501713  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501713  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835877], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501713, "updated_at" = '2012-10-23 15:34:03.654547' WHERE "spree_product_properties"."id" = 1073274324 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452789 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501713 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400765, 1060501713) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452790 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452790], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400767, 1060501713) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionType Exists (2.8ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501713 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501713) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339775], ["position", 1], ["product_id", 1060501713], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339775) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339775], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.684597' WHERE "spree_products"."id" = 1060501713 SQL (1.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501713], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.686696' WHERE "spree_products"."id" = 1060501713  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461303, 1013593335) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501713]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501713 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339775) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339775], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501713 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.695140' WHERE "spree_products"."id" = 1060501713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501713], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.696749' WHERE "spree_products"."id" = 1060501713  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461304, 1013593336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501713]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501713 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339775) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339775], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.707001' WHERE "spree_products"."id" = 1060501713 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501713], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.710066' WHERE "spree_products"."id" = 1060501713  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593337, 979461305) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501713]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593335 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593336 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593337 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.728350' WHERE "spree_products"."id" = 1060501713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593335 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.729110' WHERE "spree_products"."id" = 1060501713 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.730406' WHERE "spree_products"."id" = 1060501713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593336 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.731161' WHERE "spree_products"."id" = 1060501713 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501713 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.732949' WHERE "spree_products"."id" = 1060501713  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593337 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.733709' WHERE "spree_products"."id" = 1060501713 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501713) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.735901', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501713 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 1060501713 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501714 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.744149' WHERE "spree_products"."id" = 1060501714 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501714], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.745161' WHERE "spree_products"."id" = 1060501714  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593338 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.747875' WHERE "spree_products"."id" = 1060501714  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501714  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835878], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501714, "updated_at" = '2012-10-23 15:34:03.755129' WHERE "spree_product_properties"."id" = 1073274325 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452789 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501714 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501714, 558400765) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452791 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452791], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501714, 558400768) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452789 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400765 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452789 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400765]] SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400765], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452789], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400765]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400769]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400769 THEN 558400765 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400765]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400769]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400769 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452789 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400769]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400769], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452789], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400769]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400770]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400770 THEN 558400769 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400769]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400770]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501714, 558400769)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501714, 558400770) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501714 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501714) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339775], ["position", 1], ["product_id", 1060501714], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501714 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.793826' WHERE "spree_products"."id" = 1060501714 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501714], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.795159' WHERE "spree_products"."id" = 1060501714  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461303, 1013593339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501714]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501714 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.804159' WHERE "spree_products"."id" = 1060501714 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501714], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.805622' WHERE "spree_products"."id" = 1060501714  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461304, 1013593340) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501714]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501714 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.814473' WHERE "spree_products"."id" = 1060501714 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501714], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.815523' WHERE "spree_products"."id" = 1060501714  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461305, 1013593341) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501714]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593339 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593340 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593341 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501714 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.830855' WHERE "spree_products"."id" = 1060501714  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593339 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.831686' WHERE "spree_products"."id" = 1060501714 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.833221' WHERE "spree_products"."id" = 1060501714  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593340 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.833886' WHERE "spree_products"."id" = 1060501714 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501714 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.834886' WHERE "spree_products"."id" = 1060501714  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593341 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.835699' WHERE "spree_products"."id" = 1060501714 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501714) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.838158', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501714 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 succesfully SAVED : ID 1060501714 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.844251' WHERE "spree_products"."id" = 1060501715 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501715], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.845333' WHERE "spree_products"."id" = 1060501715  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593342 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.846438' WHERE "spree_products"."id" = 1060501715  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501715  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.9ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835879], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501715, "updated_at" = '2012-10-23 15:34:03.851928' WHERE "spree_product_properties"."id" = 1073274326 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835878], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501715, "updated_at" = '2012-10-23 15:34:03.855158' WHERE "spree_product_properties"."id" = 1073274327 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["product_id", nil], ["property_id", 905835880], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501715, "updated_at" = '2012-10-23 15:34:03.858881' WHERE "spree_product_properties"."id" = 1073274328 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452792 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452792], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501715 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400771, 1060501715) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452789 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400765 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452789 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400765]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400765], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452789], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400765]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400772]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400772 THEN 558400765 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400765]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400772]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400772, 1060501715)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400765, 1060501715) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501715 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501715) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339775], ["position", 1], ["product_id", 1060501715], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.939014' WHERE "spree_products"."id" = 1060501715 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501715], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.940155' WHERE "spree_products"."id" = 1060501715  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593343, 979461303) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501715]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501715 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.947419' WHERE "spree_products"."id" = 1060501715 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501715], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.948346' WHERE "spree_products"."id" = 1060501715  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461304, 1013593344) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501715]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501715 AND "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339775 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (1.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.954908' WHERE "spree_products"."id" = 1060501715 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501715], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.957425' WHERE "spree_products"."id" = 1060501715  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461305, 1013593345) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501715]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501715 AND "spree_option_types"."id" = 935339776 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501715) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["option_type_id", 935339776], ["position", 2], ["product_id", 1060501715], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339776 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339776) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339776], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.969763' WHERE "spree_products"."id" = 1060501715 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501715], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.970985' WHERE "spree_products"."id" = 1060501715  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461306, 1013593346) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501715]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501715 AND "spree_option_types"."id" = 935339776 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339776 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339776) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00], ["name", "colour"], ["option_type_id", 935339776], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.979588' WHERE "spree_products"."id" = 1060501715 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501715], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.980983' WHERE "spree_products"."id" = 1060501715  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461307, 1013593347) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501715]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593343 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593344 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593345 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593346 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593347 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.994472' WHERE "spree_products"."id" = 1060501715  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593343 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.995578' WHERE "spree_products"."id" = 1060501715 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.996534' WHERE "spree_products"."id" = 1060501715  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593344 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.997294' WHERE "spree_products"."id" = 1060501715 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.998559' WHERE "spree_products"."id" = 1060501715  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593345 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:03.999725' WHERE "spree_products"."id" = 1060501715 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.000580' WHERE "spree_products"."id" = 1060501715  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593346 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.001411' WHERE "spree_products"."id" = 1060501715 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501715 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.002406' WHERE "spree_products"."id" = 1060501715  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593347 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.004154' WHERE "spree_products"."id" = 1060501715 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501715) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.006154', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501715 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 succesfully SAVED : ID 1060501715 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501714 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501715 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501713 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.2ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501713 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593335 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593336 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339775 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593337 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.5ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452793 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452793], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (1.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452793], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501716 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.107770' WHERE "spree_products"."id" = 1060501716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501716], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.109063' WHERE "spree_products"."id" = 1060501716  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593348 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.110845' WHERE "spree_products"."id" = 1060501716  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501716  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["product_id", nil], ["property_id", 905835881], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501716, "updated_at" = '2012-10-23 15:34:04.117431' WHERE "spree_product_properties"."id" = 1073274329 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452793 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501716 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501716, 558400773) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452794 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452794], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501716, 558400775) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501716 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.7ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501716) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339777], ["position", 1], ["product_id", 1060501716], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339777) ORDER BY position DESC LIMIT 1 SQL (1.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339777], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.145664' WHERE "spree_products"."id" = 1060501716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501716], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.146871' WHERE "spree_products"."id" = 1060501716  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593349, 979461308) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501716]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501716 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339777) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339777], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.155885' WHERE "spree_products"."id" = 1060501716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501716], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.156842' WHERE "spree_products"."id" = 1060501716  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461309, 1013593350) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501716]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501716 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339777) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339777], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.165150' WHERE "spree_products"."id" = 1060501716 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501716], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.166150' WHERE "spree_products"."id" = 1060501716  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593351, 979461310) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501716]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593349 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593350 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593351 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.243056' WHERE "spree_products"."id" = 1060501716  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593349 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.244019' WHERE "spree_products"."id" = 1060501716 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.245468' WHERE "spree_products"."id" = 1060501716  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593350 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.246863' WHERE "spree_products"."id" = 1060501716 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501716 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.248334' WHERE "spree_products"."id" = 1060501716  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593351 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.249431' WHERE "spree_products"."id" = 1060501716 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501716) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.252238', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501716 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501717 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.259348' WHERE "spree_products"."id" = 1060501717 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501717], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.260368' WHERE "spree_products"."id" = 1060501717  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593352 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.261971' WHERE "spree_products"."id" = 1060501717  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501717  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["product_id", nil], ["property_id", 905835882], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501717, "updated_at" = '2012-10-23 15:34:04.267853' WHERE "spree_product_properties"."id" = 1073274330 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452793 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501717 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400773, 1060501717) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452795 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452795], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.4ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400776, 1060501717) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452793 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400773 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452793 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400773]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400773], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452793], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400773]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400777]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400777 THEN 558400773 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400773]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400777]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400777 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452793 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400777]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400777], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452793], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400777]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400778]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400778 THEN 558400777 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400777]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400778]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400777, 1060501717)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400778, 1060501717) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501717 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501717) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339777], ["position", 1], ["product_id", 1060501717], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501717 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.302429' WHERE "spree_products"."id" = 1060501717 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501717], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.303345' WHERE "spree_products"."id" = 1060501717  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461308, 1013593353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501717]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501717 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501717 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.311251' WHERE "spree_products"."id" = 1060501717 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501717], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.312423' WHERE "spree_products"."id" = 1060501717  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461309, 1013593354) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501717]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501717 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501717 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.320865' WHERE "spree_products"."id" = 1060501717 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501717], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.322079' WHERE "spree_products"."id" = 1060501717  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461310, 1013593355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501717]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593353 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593354 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593355 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501717 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.336333' WHERE "spree_products"."id" = 1060501717  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593353 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.337009' WHERE "spree_products"."id" = 1060501717 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501717 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.338007' WHERE "spree_products"."id" = 1060501717  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593354 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.339102' WHERE "spree_products"."id" = 1060501717 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501717 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.340171' WHERE "spree_products"."id" = 1060501717  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593355 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.340905' WHERE "spree_products"."id" = 1060501717 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501717) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.343500', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501717 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.349840' WHERE "spree_products"."id" = 1060501718 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501718], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (1.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.351017' WHERE "spree_products"."id" = 1060501718  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593356 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.353943' WHERE "spree_products"."id" = 1060501718  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501718  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["product_id", nil], ["property_id", 905835883], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501718, "updated_at" = '2012-10-23 15:34:04.360145' WHERE "spree_product_properties"."id" = 1073274331 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["product_id", nil], ["property_id", 905835882], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501718, "updated_at" = '2012-10-23 15:34:04.363650' WHERE "spree_product_properties"."id" = 1073274332 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["product_id", nil], ["property_id", 905835884], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501718, "updated_at" = '2012-10-23 15:34:04.367144' WHERE "spree_product_properties"."id" = 1073274333 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452796 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452796], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501718 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501718, 558400779) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452793 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400773 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452793 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400773]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400773], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452793], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400773]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400780]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400780 THEN 558400773 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400773]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400780]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501718, 558400780)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501718, 558400773) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501718 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501718) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339777], ["position", 1], ["product_id", 1060501718], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.389748' WHERE "spree_products"."id" = 1060501718 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501718], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.390836' WHERE "spree_products"."id" = 1060501718  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593357, 979461308) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501718]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501718 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.397556' WHERE "spree_products"."id" = 1060501718 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501718], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.398516' WHERE "spree_products"."id" = 1060501718  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461309, 1013593358) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501718]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501718 AND "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339777 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.405838' WHERE "spree_products"."id" = 1060501718 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501718], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.407068' WHERE "spree_products"."id" = 1060501718  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593359, 979461310) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501718]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501718 AND "spree_option_types"."id" = 935339778 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501718) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339778], ["position", 2], ["product_id", 1060501718], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339778 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339778) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339778], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.419253' WHERE "spree_products"."id" = 1060501718 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501718], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.420666' WHERE "spree_products"."id" = 1060501718  (0.7ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461311, 1013593360) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501718]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501718 AND "spree_option_types"."id" = 935339778 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339778 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339778) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "colour"], ["option_type_id", 935339778], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.431077' WHERE "spree_products"."id" = 1060501718 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501718], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.432143' WHERE "spree_products"."id" = 1060501718  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461312, 1013593361) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501718]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593357 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593359 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593360 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593361 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.528817' WHERE "spree_products"."id" = 1060501718  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593357 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.529966' WHERE "spree_products"."id" = 1060501718 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.531095' WHERE "spree_products"."id" = 1060501718  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593358 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.532124' WHERE "spree_products"."id" = 1060501718 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.533352' WHERE "spree_products"."id" = 1060501718  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593359 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.534342' WHERE "spree_products"."id" = 1060501718 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.535331' WHERE "spree_products"."id" = 1060501718  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593360 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.536140' WHERE "spree_products"."id" = 1060501718 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501718 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.537140' WHERE "spree_products"."id" = 1060501718  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593361 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.537879' WHERE "spree_products"."id" = 1060501718 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501718) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.540140', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501718  (6.4ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501717 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501718 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501716 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501716 ORDER BY spree_option_types.position Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593349 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593350 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339777 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593351 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452797 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452797], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (97.1ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452797], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501719 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.718054' WHERE "spree_products"."id" = 1060501719 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501719], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.719756' WHERE "spree_products"."id" = 1060501719  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593362 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.720939' WHERE "spree_products"."id" = 1060501719  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501719  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Exists (1.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501719 AND "spree_option_types"."id" = 935339779 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501719) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339779], ["position", 1], ["product_id", 1060501719], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501719 AND "spree_option_types"."id" = 935339780 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501719) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339780], ["position", 2], ["product_id", 1060501719], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339779) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339779], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339780 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339780) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "colour"], ["option_type_id", 935339780], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501719 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.746134' WHERE "spree_products"."id" = 1060501719 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501719], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.747559' WHERE "spree_products"."id" = 1060501719  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593363, 979461313)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593363, 979461314) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339779) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339779], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339780 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501719 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.752683' WHERE "spree_products"."id" = 1060501719 SQL (3.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501719], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.756879' WHERE "spree_products"."id" = 1060501719  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461315, 1013593364)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461314, 1013593364) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501719]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501719) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501719 AND "spree_option_types"."id" = 935339779 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339779) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339779], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501719 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.768043' WHERE "spree_products"."id" = 1060501719 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501719], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.769230' WHERE "spree_products"."id" = 1060501719  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461316, 1013593365) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501719]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501719) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593363 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593364 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593365 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501719) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501719 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.788364' WHERE "spree_products"."id" = 1060501719  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593363 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.789508' WHERE "spree_products"."id" = 1060501719 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501719 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.790559' WHERE "spree_products"."id" = 1060501719  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593364 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.791317' WHERE "spree_products"."id" = 1060501719 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501719 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.792745' WHERE "spree_products"."id" = 1060501719  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593365 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.793708' WHERE "spree_products"."id" = 1060501719 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501719) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.796133', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501719 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501720 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.802638' WHERE "spree_products"."id" = 1060501720 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501720], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.803771' WHERE "spree_products"."id" = 1060501720  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593366 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.805393' WHERE "spree_products"."id" = 1060501720  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501720  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501720 AND "spree_option_types"."id" = 935339779 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501720) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339779], ["position", 1], ["product_id", 1060501720], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501720 AND "spree_option_types"."id" = 935339780 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501720) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339780], ["position", 2], ["product_id", 1060501720], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339780 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339780) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339780], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501720 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.820979' WHERE "spree_products"."id" = 1060501720 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501720], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.821924' WHERE "spree_products"."id" = 1060501720  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461317, 1013593367)  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461313, 1013593367) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501720]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501720) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501720 AND "spree_option_types"."id" = 935339779 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501720 AND "spree_option_types"."id" = 935339780 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339780 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501720 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.833557' WHERE "spree_products"."id" = 1060501720 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501720], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.834555' WHERE "spree_products"."id" = 1060501720  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461317, 1013593368)  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461316, 1013593368) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501720]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501720) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593367 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501720) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501720 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.844227' WHERE "spree_products"."id" = 1060501720  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593367 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.845127' WHERE "spree_products"."id" = 1060501720 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501720 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.846417' WHERE "spree_products"."id" = 1060501720  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593368 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.847132' WHERE "spree_products"."id" = 1060501720 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501720) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501720 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.849291', "count_on_hand" = 9 WHERE "spree_products"."id" = 1060501720 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501721 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.855412' WHERE "spree_products"."id" = 1060501721 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501721], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.856354' WHERE "spree_products"."id" = 1060501721  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593369 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.857498' WHERE "spree_products"."id" = 1060501721  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501721  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501721 AND "spree_option_types"."id" = 935339779 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501721) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339779], ["position", 1], ["product_id", 1060501721], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501721 AND "spree_option_types"."id" = 935339780 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501721) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339780], ["position", 2], ["product_id", 1060501721], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501721 AND "spree_option_types"."id" = 935339781 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501721) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["option_type_id", 935339781], ["position", 3], ["product_id", 1060501721], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339780 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339781 AND "spree_option_values"."name" = 'large' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339781) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "large"], ["option_type_id", 935339781], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501721 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.877370' WHERE "spree_products"."id" = 1060501721 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501721], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.878324' WHERE "spree_products"."id" = 1060501721  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461314, 1013593370)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461318, 1013593370)  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461313, 1013593370) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339780 AND "spree_option_values"."name" = 'sepia' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339780) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00], ["name", "sepia"], ["option_type_id", 935339780], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339781 AND "spree_option_values"."name" = 'large' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501721 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.883763' WHERE "spree_products"."id" = 1060501721 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501721], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (9.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:04.884861' WHERE "spree_products"."id" = 1060501721  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593371, 979461319)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593371, 979461318)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593371, 979461313) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501721]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501721 AND "spree_option_types"."id" = 935339779 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501721 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.005751' WHERE "spree_products"."id" = 1060501721 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501721], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.007181' WHERE "spree_products"."id" = 1060501721  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461316, 1013593372) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501721]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501721) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501721 AND "spree_option_types"."id" = 935339779 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339779 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501721 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.014945' WHERE "spree_products"."id" = 1060501721 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501721], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.016268' WHERE "spree_products"."id" = 1060501721  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461315, 1013593373) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501721]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501721 AND "spree_option_types"."id" = 935339780 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339780 AND "spree_option_values"."name" = 'black_white' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501721 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.023285' WHERE "spree_products"."id" = 1060501721 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501721], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.024254' WHERE "spree_products"."id" = 1060501721  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593374, 979461317) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501721]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501721) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501721) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501721 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (4.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.5ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501719 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501719 ORDER BY spree_option_types.position Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593363 Booted Spree using version 1.1.3 SQL (3.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.134201' WHERE "spree_products"."id" = 1060501722 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501722], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.135329' WHERE "spree_products"."id" = 1060501722  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593375 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.136882' WHERE "spree_products"."id" = 1060501722  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501722  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835885], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501722, "updated_at" = '2012-10-23 15:34:05.142734' WHERE "spree_product_properties"."id" = 1073274334 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501722) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452798 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452798], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501722 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501722, 558400783) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452799 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452799], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501722, 558400784) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501722) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501722 AND "spree_option_types"."id" = 935339782 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501722) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["option_type_id", 935339782], ["position", 1], ["product_id", 1060501722], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339782) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339782], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.167576' WHERE "spree_products"."id" = 1060501722 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501722], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.168550' WHERE "spree_products"."id" = 1060501722  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593376, 979461320) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339782) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339782], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.173444' WHERE "spree_products"."id" = 1060501722 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501722], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.174479' WHERE "spree_products"."id" = 1060501722  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461321, 1013593377) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339782) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339782], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.177916' WHERE "spree_products"."id" = 1060501722 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501722], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.178963' WHERE "spree_products"."id" = 1060501722  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461322, 1013593378) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501722]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501722) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593376 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593377 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593378 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501722) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.189123' WHERE "spree_products"."id" = 1060501722  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593376 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.190240' WHERE "spree_products"."id" = 1060501722 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.191311' WHERE "spree_products"."id" = 1060501722  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593377 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.192030' WHERE "spree_products"."id" = 1060501722 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.192899' WHERE "spree_products"."id" = 1060501722  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593378 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.194029' WHERE "spree_products"."id" = 1060501722 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.9ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593375 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1459 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501722 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.729702' WHERE "spree_products"."id" = 1060501722  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501722 Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501722) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.737453', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501722 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.747308' WHERE "spree_products"."id" = 1060501723 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501723], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.749193' WHERE "spree_products"."id" = 1060501723  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593379 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.750716' WHERE "spree_products"."id" = 1060501723  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501723  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["product_id", nil], ["property_id", 905835886], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501723, "updated_at" = '2012-10-23 15:34:05.760036' WHERE "spree_product_properties"."id" = 1073274335 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501723) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452798 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501723 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501723, 558400783) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452800 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452800], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501723, 558400785) Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452801 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452801], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501723, 558400786) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501723) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501723 AND "spree_option_types"."id" = 935339782 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501723) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["option_type_id", 935339782], ["position", 1], ["product_id", 1060501723], ["updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.787933' WHERE "spree_products"."id" = 1060501723 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501723], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.788975' WHERE "spree_products"."id" = 1060501723  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593380, 979461320) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.792352' WHERE "spree_products"."id" = 1060501723 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501723], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.793408' WHERE "spree_products"."id" = 1060501723  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461321, 1013593381) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.796320' WHERE "spree_products"."id" = 1060501723 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501723], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.797398' WHERE "spree_products"."id" = 1060501723  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461322, 1013593382) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501723]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501723) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593380 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593381 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593382 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501723) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.811364' WHERE "spree_products"."id" = 1060501723  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593380 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.812467' WHERE "spree_products"."id" = 1060501723 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.814107' WHERE "spree_products"."id" = 1060501723  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593381 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.814853' WHERE "spree_products"."id" = 1060501723 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.816107' WHERE "spree_products"."id" = 1060501723  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593382 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:05.816978' WHERE "spree_products"."id" = 1060501723 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:05 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593379 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1460 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501723 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.774246' WHERE "spree_products"."id" = 1060501723  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501723 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501723) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.779031', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501723 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.786260' WHERE "spree_products"."id" = 1060501724 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501724], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.787749' WHERE "spree_products"."id" = 1060501724  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593383 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.788866' WHERE "spree_products"."id" = 1060501724  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501724  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["product_id", nil], ["property_id", 905835887], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501724, "updated_at" = '2012-10-23 15:34:09.794378' WHERE "spree_product_properties"."id" = 1073274336 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["product_id", nil], ["property_id", 905835886], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501724, "updated_at" = '2012-10-23 15:34:09.796817' WHERE "spree_product_properties"."id" = 1073274337 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["product_id", nil], ["property_id", 905835888], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501724, "updated_at" = '2012-10-23 15:34:09.799592' WHERE "spree_product_properties"."id" = 1073274338 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501724) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452802 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452802], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501724 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400787, 1060501724) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501724) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501724 AND "spree_option_types"."id" = 935339782 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501724) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["option_type_id", 935339782], ["position", 1], ["product_id", 1060501724], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.814940' WHERE "spree_products"."id" = 1060501724 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501724], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.816338' WHERE "spree_products"."id" = 1060501724  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461320, 1013593384) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.818805' WHERE "spree_products"."id" = 1060501724 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501724], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.820124' WHERE "spree_products"."id" = 1060501724  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593385, 979461321) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339782 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.822522' WHERE "spree_products"."id" = 1060501724 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501724], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.823546' WHERE "spree_products"."id" = 1060501724  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461322, 1013593386) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501724]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501724 AND "spree_option_types"."id" = 935339783 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501724) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["option_type_id", 935339783], ["position", 2], ["product_id", 1060501724], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339783 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339783) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339783], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.836777' WHERE "spree_products"."id" = 1060501724 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501724], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.837742' WHERE "spree_products"."id" = 1060501724  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461323, 1013593387) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339783 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339783) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["name", "colour"], ["option_type_id", 935339783], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.841934' WHERE "spree_products"."id" = 1060501724 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501724], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.842724' WHERE "spree_products"."id" = 1060501724  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593388, 979461324) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501724]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501724) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593384 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593385 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593386 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593387 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593388 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501724) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.857628' WHERE "spree_products"."id" = 1060501724  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593384 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.858493' WHERE "spree_products"."id" = 1060501724 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.859388' WHERE "spree_products"."id" = 1060501724  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593385 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.860347' WHERE "spree_products"."id" = 1060501724 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.861395' WHERE "spree_products"."id" = 1060501724  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593386 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.862222' WHERE "spree_products"."id" = 1060501724 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.863251' WHERE "spree_products"."id" = 1060501724  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593387 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.864027' WHERE "spree_products"."id" = 1060501724 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.865244' WHERE "spree_products"."id" = 1060501724  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593388 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:09.866639' WHERE "spree_products"."id" = 1060501724 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:09 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593383 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1461 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501724 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.245711' WHERE "spree_products"."id" = 1060501724  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501724 Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501724) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.256413', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501724  (8.3ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593375) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501722)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013593375 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501722 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593375) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501722)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501723 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593379) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501723)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501724 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593383) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501724)) SQL (2.3ms) DELETE FROM "spree_products" SQL (5.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.349257' WHERE "spree_products"."id" = 1060501725 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501725], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.350589' WHERE "spree_products"."id" = 1060501725  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593389 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.352341' WHERE "spree_products"."id" = 1060501725  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501725  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["product_id", nil], ["property_id", 905835889], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501725, "updated_at" = '2012-10-23 15:34:10.517716' WHERE "spree_product_properties"."id" = 1073274339 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501725) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452803 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452803], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501725 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400788, 1060501725) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452804 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452804], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400789, 1060501725) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501725) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501725 AND "spree_option_types"."id" = 935339784 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.8ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501725) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["option_type_id", 935339784], ["position", 1], ["product_id", 1060501725], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339784) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339784], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.542561' WHERE "spree_products"."id" = 1060501725 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501725], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.544005' WHERE "spree_products"."id" = 1060501725  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461325, 1013593390) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339784) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339784], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.547755' WHERE "spree_products"."id" = 1060501725 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501725], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.548718' WHERE "spree_products"."id" = 1060501725  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593391, 979461326) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339784) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339784], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.552547' WHERE "spree_products"."id" = 1060501725 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501725], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.553692' WHERE "spree_products"."id" = 1060501725  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593392, 979461327) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501725]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501725) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593390 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593391 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593392 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501725) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.564251' WHERE "spree_products"."id" = 1060501725  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593390 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.565092' WHERE "spree_products"."id" = 1060501725 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.566172' WHERE "spree_products"."id" = 1060501725  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593391 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.567004' WHERE "spree_products"."id" = 1060501725 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.568054' WHERE "spree_products"."id" = 1060501725  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593392 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.568785' WHERE "spree_products"."id" = 1060501725 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593389 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1462 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501725 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.926472' WHERE "spree_products"."id" = 1060501725  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501725 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501725) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.933183', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501725 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg succesfully SAVED : ID 1060501725 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.942400' WHERE "spree_products"."id" = 1060501726 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501726], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.944447' WHERE "spree_products"."id" = 1060501726  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593393 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.946406' WHERE "spree_products"."id" = 1060501726  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501726  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (3.3ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["product_id", nil], ["property_id", 905835890], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501726, "updated_at" = '2012-10-23 15:34:10.956474' WHERE "spree_product_properties"."id" = 1073274340 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501726) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452803 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501726 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400788, 1060501726) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452805 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452805], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400790, 1060501726) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452806 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452806], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400791, 1060501726) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501726) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501726 AND "spree_option_types"."id" = 935339784 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501726) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00], ["option_type_id", 935339784], ["position", 1], ["product_id", 1060501726], ["updated_at", Tue, 23 Oct 2012 15:34:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.986149' WHERE "spree_products"."id" = 1060501726 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501726], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.987458' WHERE "spree_products"."id" = 1060501726  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461325, 1013593394) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.990411' WHERE "spree_products"."id" = 1060501726 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501726], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.991695' WHERE "spree_products"."id" = 1060501726  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593395, 979461326) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.994694' WHERE "spree_products"."id" = 1060501726 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501726], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:10.996308' WHERE "spree_products"."id" = 1060501726  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461327, 1013593396) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501726]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501726) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593394 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593395 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593396 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501726) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:11.009870' WHERE "spree_products"."id" = 1060501726  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593394 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:11.011085' WHERE "spree_products"."id" = 1060501726 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:11.012596' WHERE "spree_products"."id" = 1060501726  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593395 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:11.013631' WHERE "spree_products"."id" = 1060501726 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:11.015529' WHERE "spree_products"."id" = 1060501726  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593396 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:11.016859' WHERE "spree_products"."id" = 1060501726 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:11 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.1ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593393 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1463 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501726 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.791845' WHERE "spree_products"."id" = 1060501726  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501726 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501726) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.796165', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501726 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 1060501726 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.803457' WHERE "spree_products"."id" = 1060501727 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501727], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.804550' WHERE "spree_products"."id" = 1060501727  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593397 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.805506' WHERE "spree_products"."id" = 1060501727  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501727  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["product_id", nil], ["property_id", 905835891], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501727, "updated_at" = '2012-10-23 15:34:15.811082' WHERE "spree_product_properties"."id" = 1073274341 Created New ProductProperty # Spree::Property Load (2.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["product_id", nil], ["property_id", 905835890], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501727, "updated_at" = '2012-10-23 15:34:15.815129' WHERE "spree_product_properties"."id" = 1073274342 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["product_id", nil], ["property_id", 905835892], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501727, "updated_at" = '2012-10-23 15:34:15.818385' WHERE "spree_product_properties"."id" = 1073274343 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501727) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452807 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452807], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501727 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501727, 558400792) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501727) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.9ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501727 AND "spree_option_types"."id" = 935339784 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501727) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["option_type_id", 935339784], ["position", 1], ["product_id", 1060501727], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.834334' WHERE "spree_products"."id" = 1060501727 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501727], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.835329' WHERE "spree_products"."id" = 1060501727  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593398, 979461325) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.837724' WHERE "spree_products"."id" = 1060501727 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501727], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.838827' WHERE "spree_products"."id" = 1060501727  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461326, 1013593399) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339784 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.840828' WHERE "spree_products"."id" = 1060501727 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501727], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.842160' WHERE "spree_products"."id" = 1060501727  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461327, 1013593400) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501727]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501727 AND "spree_option_types"."id" = 935339785 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501727) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["option_type_id", 935339785], ["position", 2], ["product_id", 1060501727], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339785 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339785) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339785], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.853255' WHERE "spree_products"."id" = 1060501727 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501727], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.854124' WHERE "spree_products"."id" = 1060501727  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593401, 979461328) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339785 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339785) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["name", "colour"], ["option_type_id", 935339785], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.858713' WHERE "spree_products"."id" = 1060501727 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501727], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.859805' WHERE "spree_products"."id" = 1060501727  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593402, 979461329) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501727]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501727) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593398 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593399 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593400 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593401 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593402 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501727) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.873025' WHERE "spree_products"."id" = 1060501727  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593398 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.873989' WHERE "spree_products"."id" = 1060501727 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.875199' WHERE "spree_products"."id" = 1060501727  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593399 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.876127' WHERE "spree_products"."id" = 1060501727 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.877167' WHERE "spree_products"."id" = 1060501727  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593400 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.877845' WHERE "spree_products"."id" = 1060501727 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.878800' WHERE "spree_products"."id" = 1060501727  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593401 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.879683' WHERE "spree_products"."id" = 1060501727 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.880678' WHERE "spree_products"."id" = 1060501727  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593402 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:15.881703' WHERE "spree_products"."id" = 1060501727 SQL (0.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:15 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593397 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1464 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501727 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.450830' WHERE "spree_products"."id" = 1060501727  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501727 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501727) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.458401', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501727 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 1060501727 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.3ms) commit transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593389) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501725)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501725 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593389) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501725)) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501726 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593393) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501726)) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501727 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593397) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501727))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.554437' WHERE "spree_products"."id" = 1060501728 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501728], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.555747' WHERE "spree_products"."id" = 1060501728  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593403 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.557377' WHERE "spree_products"."id" = 1060501728  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501728  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["product_id", nil], ["property_id", 905835893], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501728, "updated_at" = '2012-10-23 15:34:16.565261' WHERE "spree_product_properties"."id" = 1073274344 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501728) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452808 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452808], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501728 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400793, 1060501728) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452809 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452809], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400794, 1060501728) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501728) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::OptionType Exists (1.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501728 AND "spree_option_types"."id" = 935339786 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501728) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["option_type_id", 935339786], ["position", 1], ["product_id", 1060501728], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339786) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339786], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.596643' WHERE "spree_products"."id" = 1060501728 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501728], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.598330' WHERE "spree_products"."id" = 1060501728  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593404, 979461330) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339786) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339786], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.603159' WHERE "spree_products"."id" = 1060501728 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501728], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.604242' WHERE "spree_products"."id" = 1060501728  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593405, 979461331) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339786) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339786], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.609039' WHERE "spree_products"."id" = 1060501728 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501728], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.610251' WHERE "spree_products"."id" = 1060501728  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593406, 979461332) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501728]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501728) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593404 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593405 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593406 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501728) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.623349' WHERE "spree_products"."id" = 1060501728  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593404 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.624235' WHERE "spree_products"."id" = 1060501728 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.625802' WHERE "spree_products"."id" = 1060501728  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593405 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.626682' WHERE "spree_products"."id" = 1060501728 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.627825' WHERE "spree_products"."id" = 1060501728  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593406 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.629206' WHERE "spree_products"."id" = 1060501728 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501728) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.632129', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501728 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1060501728 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.639650' WHERE "spree_products"."id" = 1060501729 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501729], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.640966' WHERE "spree_products"."id" = 1060501729  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593407 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.642060' WHERE "spree_products"."id" = 1060501729  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501729  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["product_id", nil], ["property_id", 905835894], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501729, "updated_at" = '2012-10-23 15:34:16.649287' WHERE "spree_product_properties"."id" = 1073274345 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501729) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452808 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501729 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501729, 558400793) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452810 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452810], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501729, 558400795) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452808 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400793 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452808 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400793]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400793], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452808], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400793]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400796]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400796 THEN 558400793 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400793]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400796]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400796 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452808 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400796]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400796], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452808], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400796]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400797]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400797 THEN 558400796 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400796]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400797]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501729, 558400796)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501729, 558400797) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501729) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501729 AND "spree_option_types"."id" = 935339786 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501729) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["option_type_id", 935339786], ["position", 1], ["product_id", 1060501729], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.689385' WHERE "spree_products"."id" = 1060501729 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501729], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.690378' WHERE "spree_products"."id" = 1060501729  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593408, 979461330) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.693693' WHERE "spree_products"."id" = 1060501729 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501729], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.694722' WHERE "spree_products"."id" = 1060501729  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461331, 1013593409) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.698069' WHERE "spree_products"."id" = 1060501729 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501729], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.699144' WHERE "spree_products"."id" = 1060501729  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461332, 1013593410) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501729]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501729) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593408 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593409 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593410 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501729) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.714752' WHERE "spree_products"."id" = 1060501729  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593408 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.715943' WHERE "spree_products"."id" = 1060501729 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.717074' WHERE "spree_products"."id" = 1060501729  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593409 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.717997' WHERE "spree_products"."id" = 1060501729 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.719282' WHERE "spree_products"."id" = 1060501729  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593410 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.720072' WHERE "spree_products"."id" = 1060501729 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501729) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.857633', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501729 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1060501729 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.865228' WHERE "spree_products"."id" = 1060501730 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501730], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.866431' WHERE "spree_products"."id" = 1060501730  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593411 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.867561' WHERE "spree_products"."id" = 1060501730  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501730  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["product_id", nil], ["property_id", 905835895], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501730, "updated_at" = '2012-10-23 15:34:16.872819' WHERE "spree_product_properties"."id" = 1073274346 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["product_id", nil], ["property_id", 905835894], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501730, "updated_at" = '2012-10-23 15:34:16.874819' WHERE "spree_product_properties"."id" = 1073274347 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["product_id", nil], ["property_id", 905835896], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501730, "updated_at" = '2012-10-23 15:34:16.877819' WHERE "spree_product_properties"."id" = 1073274348 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501730) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452811 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452811], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501730 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400798, 1060501730) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452808 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400793 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452808 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400793]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400793], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452808], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400793]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400799]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400799 THEN 558400793 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400793]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400799]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400799, 1060501730)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400793, 1060501730) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501730) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501730 AND "spree_option_types"."id" = 935339786 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501730) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["option_type_id", 935339786], ["position", 1], ["product_id", 1060501730], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.901574' WHERE "spree_products"."id" = 1060501730 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501730], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.902758' WHERE "spree_products"."id" = 1060501730  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461330, 1013593412) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.904689' WHERE "spree_products"."id" = 1060501730 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501730], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.906164' WHERE "spree_products"."id" = 1060501730  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593413, 979461331) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339786 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.908528' WHERE "spree_products"."id" = 1060501730 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501730], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.909481' WHERE "spree_products"."id" = 1060501730  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593414, 979461332) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501730]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501730 AND "spree_option_types"."id" = 935339787 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501730) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["option_type_id", 935339787], ["position", 2], ["product_id", 1060501730], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339787 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339787) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339787], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.920754' WHERE "spree_products"."id" = 1060501730 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501730], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.922002' WHERE "spree_products"."id" = 1060501730  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461333, 1013593415) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339787 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339787) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["name", "colour"], ["option_type_id", 935339787], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.926437' WHERE "spree_products"."id" = 1060501730 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501730], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.927401' WHERE "spree_products"."id" = 1060501730  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461334, 1013593416) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501730]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501730) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593412 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593413 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593414 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593415 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593416 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501730) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.940197' WHERE "spree_products"."id" = 1060501730  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593412 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.941100' WHERE "spree_products"."id" = 1060501730 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.942109' WHERE "spree_products"."id" = 1060501730  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.942817' WHERE "spree_products"."id" = 1060501730 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.943735' WHERE "spree_products"."id" = 1060501730  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593414 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.944709' WHERE "spree_products"."id" = 1060501730 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.945711' WHERE "spree_products"."id" = 1060501730  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593415 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.946484' WHERE "spree_products"."id" = 1060501730 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.947529' WHERE "spree_products"."id" = 1060501730  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593416 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.948336' WHERE "spree_products"."id" = 1060501730 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501730) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:16.950549', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501730 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1060501730 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593411) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501730)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:16 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593403 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1465 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501728 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:17.315657' WHERE "spree_products"."id" = 1060501728  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501728 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:17.320664' WHERE "spree_products"."id" = 1060501728 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501728 Row DEMO_001fixtures/images/DEMO_001_ror_bag.jpeg succesfully SAVED : ID 1013593403 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 SQL (0.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:17 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593407 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1466 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501729 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.138644' WHERE "spree_products"."id" = 1060501729  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501729 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.142484' WHERE "spree_products"."id" = 1060501729 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501729 Row DEMO_002fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 1013593407 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 SQL (0.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593411 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1467 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501730 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.546796' WHERE "spree_products"."id" = 1060501730  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501730 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.552363' WHERE "spree_products"."id" = 1060501730 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501730 Row DEMO_003fixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 1013593411  (3.4ms) commit transaction Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501729 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593407) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501729)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501730 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593411) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501730)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501728 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593403) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501728)) SQL (2.5ms) DELETE FROM "spree_products" SQL (2.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.627669' WHERE "spree_products"."id" = 1060501731 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501731], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.629541' WHERE "spree_products"."id" = 1060501731  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.631131' WHERE "spree_products"."id" = 1060501731  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501731  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["product_id", nil], ["property_id", 905835897], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501731, "updated_at" = '2012-10-23 15:34:22.639518' WHERE "spree_product_properties"."id" = 1073274349 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501731) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452812 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452812], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501731 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400800, 1060501731) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452813 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452813], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400801, 1060501731) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501731) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501731 AND "spree_option_types"."id" = 935339788 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501731) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["option_type_id", 935339788], ["position", 1], ["product_id", 1060501731], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339788) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339788], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.811552' WHERE "spree_products"."id" = 1060501731 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501731], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.812395' WHERE "spree_products"."id" = 1060501731  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461335, 1013593418) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339788) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339788], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.816724' WHERE "spree_products"."id" = 1060501731 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501731], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.817620' WHERE "spree_products"."id" = 1060501731  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593419, 979461336) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339788) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339788], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.821626' WHERE "spree_products"."id" = 1060501731 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501731], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.822370' WHERE "spree_products"."id" = 1060501731  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461337, 1013593420) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501731]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501731) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593418 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593419 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593420 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501731) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.833100' WHERE "spree_products"."id" = 1060501731  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593418 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.833869' WHERE "spree_products"."id" = 1060501731 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.835240' WHERE "spree_products"."id" = 1060501731  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593419 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.836081' WHERE "spree_products"."id" = 1060501731 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501731 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.837450' WHERE "spree_products"."id" = 1060501731  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.838201' WHERE "spree_products"."id" = 1060501731 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501731) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.840901', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501731 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1060501731 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501732 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.847556' WHERE "spree_products"."id" = 1060501732 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501732], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.848869' WHERE "spree_products"."id" = 1060501732  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.850127' WHERE "spree_products"."id" = 1060501732  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501732  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["product_id", nil], ["property_id", 905835898], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501732, "updated_at" = '2012-10-23 15:34:22.858127' WHERE "spree_product_properties"."id" = 1073274350 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501732) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452812 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501732 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400800, 1060501732) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452814 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452814], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400802, 1060501732) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452812 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400800 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452812 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400800]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400800], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452812], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400800]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400803]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400803 THEN 558400800 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400800]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400803]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400803 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452812 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400803]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400803], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452812], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400803]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400804]] SQL (0.2ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400804 THEN 558400803 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400803]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400804]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400803, 1060501732)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400804, 1060501732) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501732) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501732 AND "spree_option_types"."id" = 935339788 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501732) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["option_type_id", 935339788], ["position", 1], ["product_id", 1060501732], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501732 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.891620' WHERE "spree_products"."id" = 1060501732 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501732], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.892578' WHERE "spree_products"."id" = 1060501732  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461335, 1013593422) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501732 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.895240' WHERE "spree_products"."id" = 1060501732 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501732], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.896446' WHERE "spree_products"."id" = 1060501732  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593423, 979461336) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501732 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.898930' WHERE "spree_products"."id" = 1060501732 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501732], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.900016' WHERE "spree_products"."id" = 1060501732  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593424, 979461337) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501732]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501732) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593422 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593423 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593424 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501732) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501732 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.915818' WHERE "spree_products"."id" = 1060501732  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.916963' WHERE "spree_products"."id" = 1060501732 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501732 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.918243' WHERE "spree_products"."id" = 1060501732  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.919230' WHERE "spree_products"."id" = 1060501732 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501732 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.920318' WHERE "spree_products"."id" = 1060501732  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593424 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.921232' WHERE "spree_products"."id" = 1060501732 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501732) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.923846', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501732 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1060501732 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.930497' WHERE "spree_products"."id" = 1060501733 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501733], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.931470' WHERE "spree_products"."id" = 1060501733  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593425 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.932512' WHERE "spree_products"."id" = 1060501733  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501733  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["product_id", nil], ["property_id", 905835899], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501733, "updated_at" = '2012-10-23 15:34:22.938181' WHERE "spree_product_properties"."id" = 1073274351 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["product_id", nil], ["property_id", 905835898], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501733, "updated_at" = '2012-10-23 15:34:22.940886' WHERE "spree_product_properties"."id" = 1073274352 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["product_id", nil], ["property_id", 905835900], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501733, "updated_at" = '2012-10-23 15:34:22.943661' WHERE "spree_product_properties"."id" = 1073274353 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501733) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452815 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452815], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501733 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400805, 1060501733) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452812 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400800 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452812 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400800]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400800], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452812], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400800]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400806]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400806 THEN 558400800 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400800]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400806]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400806, 1060501733)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400800, 1060501733) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501733) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501733 AND "spree_option_types"."id" = 935339788 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501733) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["option_type_id", 935339788], ["position", 1], ["product_id", 1060501733], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::OptionValue Load (1.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.969660' WHERE "spree_products"."id" = 1060501733 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501733], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.970872' WHERE "spree_products"."id" = 1060501733  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461335, 1013593426) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.973999' WHERE "spree_products"."id" = 1060501733 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501733], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.974901' WHERE "spree_products"."id" = 1060501733  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593427, 979461336) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339788 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.977045' WHERE "spree_products"."id" = 1060501733 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501733], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.978113' WHERE "spree_products"."id" = 1060501733  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461337, 1013593428) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501733]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501733 AND "spree_option_types"."id" = 935339789 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501733) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["option_type_id", 935339789], ["position", 2], ["product_id", 1060501733], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339789 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339789) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339789], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.991843' WHERE "spree_products"."id" = 1060501733 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501733], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.992883' WHERE "spree_products"."id" = 1060501733  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461338, 1013593429) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339789 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339789) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00], ["name", "colour"], ["option_type_id", 935339789], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.997985' WHERE "spree_products"."id" = 1060501733 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501733], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:22.999463' WHERE "spree_products"."id" = 1060501733  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461339, 1013593430) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501733]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501733) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593426 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593427 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593428 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593429 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593430 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501733) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.069657' WHERE "spree_products"."id" = 1060501733  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593426 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.070631' WHERE "spree_products"."id" = 1060501733 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.071841' WHERE "spree_products"."id" = 1060501733  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593427 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.072601' WHERE "spree_products"."id" = 1060501733 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.073412' WHERE "spree_products"."id" = 1060501733  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593428 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.074549' WHERE "spree_products"."id" = 1060501733 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.075618' WHERE "spree_products"."id" = 1060501733  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593429 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.076375' WHERE "spree_products"."id" = 1060501733 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501733 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.077419' WHERE "spree_products"."id" = 1060501733  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593430 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.078187' WHERE "spree_products"."id" = 1060501733 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501733) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:23.080337', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501733 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1060501733 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.2ms) commit transaction Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593425) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501733)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.8ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:23 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593417 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1468 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:23 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593417 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1469 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501731) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501731) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Product for AR Loaderfixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 1060501731 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:28 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593421 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1470 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501732) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501732) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo Excel Load via Jrubyfixtures/images/DEMO_002_Powerstation.jpg succesfully SAVED : ID 1060501732 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:32 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593425 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1471 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501733) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501733) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row Demo third row in futurefixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 1060501733  (9.5ms) commit transaction Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501732 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593421) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501732)) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501733 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593425) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501733)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501731 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593417) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501731)) SQL (2.4ms) DELETE FROM "spree_products" SQL (3.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.2ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.2ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.189078' WHERE "spree_products"."id" = 1060501734 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501734], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.190394' WHERE "spree_products"."id" = 1060501734  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593431 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.192099' WHERE "spree_products"."id" = 1060501734  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501734  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["product_id", nil], ["property_id", 905835901], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501734, "updated_at" = '2012-10-23 15:34:33.198190' WHERE "spree_product_properties"."id" = 1073274354 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501734) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452816], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501734 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501734, 558400807) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452817 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452817], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501734, 558400808) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501734) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501734 AND "spree_option_types"."id" = 935339790 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501734) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["option_type_id", 935339790], ["position", 1], ["product_id", 1060501734], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339790 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339790) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339790], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.222039' WHERE "spree_products"."id" = 1060501734 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501734], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.224626' WHERE "spree_products"."id" = 1060501734  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461340, 1013593432) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339790 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339790) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339790], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.229013' WHERE "spree_products"."id" = 1060501734 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501734], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.230304' WHERE "spree_products"."id" = 1060501734  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593433, 979461341) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339790 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339790) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339790], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (3.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.235027' WHERE "spree_products"."id" = 1060501734 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501734], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.239312' WHERE "spree_products"."id" = 1060501734  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461342, 1013593434) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501734]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501734) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593432 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593433 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593434 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501734) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.251501' WHERE "spree_products"."id" = 1060501734  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593432 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.252378' WHERE "spree_products"."id" = 1060501734 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.253544' WHERE "spree_products"."id" = 1060501734  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593433 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.254146' WHERE "spree_products"."id" = 1060501734 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.288567' WHERE "spree_products"."id" = 1060501734  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593434 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.289568' WHERE "spree_products"."id" = 1060501734 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593431 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1472 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501734 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:33.658646' WHERE "spree_products"."id" = 1060501734  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501734 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:33 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593431 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1473 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.021593' WHERE "spree_products"."id" = 1060501734 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501734 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593431 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1474 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.555630' WHERE "spree_products"."id" = 1060501734 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501734 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501734) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.561891', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501734 Row MULTI_001Demo Product 001blah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpegfixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001fixtures/images/DEMO_003_ror_mug.jpeg succesfully SAVED : ID 1060501734 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 002"], ["permalink", "demo-product-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.571313' WHERE "spree_products"."id" = 1060501735 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501735], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.573103' WHERE "spree_products"."id" = 1060501735  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593435 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.574569' WHERE "spree_products"."id" = 1060501735  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501735  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["product_id", nil], ["property_id", 905835902], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501735, "updated_at" = '2012-10-23 15:34:34.581746' WHERE "spree_product_properties"."id" = 1073274355 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501735) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452816 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501735 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400807, 1060501735) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452818 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452818], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400809, 1060501735) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452819 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452819], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400810, 1060501735) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501735) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501735 AND "spree_option_types"."id" = 935339790 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501735) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["option_type_id", 935339790], ["position", 1], ["product_id", 1060501735], ["updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339790 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.608738' WHERE "spree_products"."id" = 1060501735 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501735], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.609699' WHERE "spree_products"."id" = 1060501735  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593436, 979461340) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339790 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.612776' WHERE "spree_products"."id" = 1060501735 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501735], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.614487' WHERE "spree_products"."id" = 1060501735  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593437, 979461341) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339790 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.617350' WHERE "spree_products"."id" = 1060501735 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501735], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.618416' WHERE "spree_products"."id" = 1060501735  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461342, 1013593438) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501735]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501735) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593436 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593437 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593438 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501735) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.632009' WHERE "spree_products"."id" = 1060501735  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593436 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.633194' WHERE "spree_products"."id" = 1060501735 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.634606' WHERE "spree_products"."id" = 1060501735  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593437 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.635522' WHERE "spree_products"."id" = 1060501735 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.637129' WHERE "spree_products"."id" = 1060501735  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593438 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:34.638105' WHERE "spree_products"."id" = 1060501735 SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text for 002"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:34 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593435 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1475 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "323X428 ror bag"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:39 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.4ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593435 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1476 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501735 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.106376' WHERE "spree_products"."id" = 1060501735  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501735 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501735) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.118822', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501735 Row MULTI_002Demo Product 002less blah2011-05-1410030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg:some random alt text for 002|fixtures/images/DEMO_001_ror_bag.jpeg:323X428 ror bag succesfully SAVED : ID 1060501735 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (6.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501734 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013593431 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501735 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013593435 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (2.4ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (4.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501736 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.214896' WHERE "spree_products"."id" = 1060501736 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501736], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.216975' WHERE "spree_products"."id" = 1060501736  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593439 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.218722' WHERE "spree_products"."id" = 1060501736  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501736  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["product_id", nil], ["property_id", 905835903], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501736, "updated_at" = '2012-10-23 15:34:40.226880' WHERE "spree_product_properties"."id" = 1073274356 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501736) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452820], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501736 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400811, 1060501736) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452821 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452821], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400812, 1060501736) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501736) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::OptionType Exists (1.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501736 AND "spree_option_types"."id" = 935339791 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501736) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["option_type_id", 935339791], ["position", 1], ["product_id", 1060501736], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339791) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339791], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501736 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.261386' WHERE "spree_products"."id" = 1060501736 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501736], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.262716' WHERE "spree_products"."id" = 1060501736  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461343, 1013593440) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339791) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339791], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501736 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.267508' WHERE "spree_products"."id" = 1060501736 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501736], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.268756' WHERE "spree_products"."id" = 1060501736  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461344, 1013593441) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339791) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339791], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501736 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.273722' WHERE "spree_products"."id" = 1060501736 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501736], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.274893' WHERE "spree_products"."id" = 1060501736  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593442, 979461345) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501736]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501736) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593440 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593441 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593442 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501736) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501736 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.288180' WHERE "spree_products"."id" = 1060501736  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593440 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.289209' WHERE "spree_products"."id" = 1060501736 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501736 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.290488' WHERE "spree_products"."id" = 1060501736  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593441 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.291363' WHERE "spree_products"."id" = 1060501736 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501736 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.292833' WHERE "spree_products"."id" = 1060501736  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593442 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.293978' WHERE "spree_products"."id" = 1060501736 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501736) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501736 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.296540', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501736 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1060501736 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.304986' WHERE "spree_products"."id" = 1060501737 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501737], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.306048' WHERE "spree_products"."id" = 1060501737  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593443 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.307795' WHERE "spree_products"."id" = 1060501737  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501737  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["product_id", nil], ["property_id", 905835904], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501737, "updated_at" = '2012-10-23 15:34:40.316049' WHERE "spree_product_properties"."id" = 1073274357 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501737) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501737 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400811, 1060501737) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452822 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452822], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400813, 1060501737) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400811 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452820 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400811]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 558400811], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452820], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400811]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400814]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400814 THEN 558400811 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400811]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400814]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400814 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452820 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400814]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 558400814], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452820], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400814]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400815]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400815 THEN 558400814 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400814]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400815]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400814, 1060501737)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400815, 1060501737) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501737) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501737 AND "spree_option_types"."id" = 935339791 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501737) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["option_type_id", 935339791], ["position", 1], ["product_id", 1060501737], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.476514' WHERE "spree_products"."id" = 1060501737 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501737], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.477514' WHERE "spree_products"."id" = 1060501737  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461343, 1013593444) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.479560' WHERE "spree_products"."id" = 1060501737 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501737], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.480464' WHERE "spree_products"."id" = 1060501737  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461344, 1013593445) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.483204' WHERE "spree_products"."id" = 1060501737 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501737], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.484337' WHERE "spree_products"."id" = 1060501737  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461345, 1013593446) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501737]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501737) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593444 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593445 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593446 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501737) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.495740' WHERE "spree_products"."id" = 1060501737  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593444 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.496616' WHERE "spree_products"."id" = 1060501737 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.497664' WHERE "spree_products"."id" = 1060501737  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593445 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.498418' WHERE "spree_products"."id" = 1060501737 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501737 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.499287' WHERE "spree_products"."id" = 1060501737  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593446 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.500547' WHERE "spree_products"."id" = 1060501737 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501737) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501737 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.502563', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501737 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1060501737 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.508932' WHERE "spree_products"."id" = 1060501738 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501738], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.509829' WHERE "spree_products"."id" = 1060501738  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593447 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.510882' WHERE "spree_products"."id" = 1060501738  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501738  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["product_id", nil], ["property_id", 905835905], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501738, "updated_at" = '2012-10-23 15:34:40.517964' WHERE "spree_product_properties"."id" = 1073274358 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["product_id", nil], ["property_id", 905835904], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["value", "Example free value"]]  (0.4ms) UPDATE "spree_product_properties" SET "product_id" = 1060501738, "updated_at" = '2012-10-23 15:34:40.519935' WHERE "spree_product_properties"."id" = 1073274359 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["product_id", nil], ["property_id", 905835906], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501738, "updated_at" = '2012-10-23 15:34:40.523260' WHERE "spree_product_properties"."id" = 1073274360 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501738) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452823 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452823], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501738 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400816, 1060501738) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452820 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400811 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452820 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400811]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 558400811], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452820], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400811]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400817]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400817 THEN 558400811 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400811]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400817]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400817, 1060501738)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400811, 1060501738) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501738) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501738 AND "spree_option_types"."id" = 935339791 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501738) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["option_type_id", 935339791], ["position", 1], ["product_id", 1060501738], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.547504' WHERE "spree_products"."id" = 1060501738 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501738], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.548467' WHERE "spree_products"."id" = 1060501738  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593448, 979461343) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.550816' WHERE "spree_products"."id" = 1060501738 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501738], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.551949' WHERE "spree_products"."id" = 1060501738  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461344, 1013593449) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339791 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.554279' WHERE "spree_products"."id" = 1060501738 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501738], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.556731' WHERE "spree_products"."id" = 1060501738  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593450, 979461345) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501738]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501738 AND "spree_option_types"."id" = 935339792 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501738) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["option_type_id", 935339792], ["position", 2], ["product_id", 1060501738], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339792 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339792) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339792], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.568083' WHERE "spree_products"."id" = 1060501738 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501738], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.569694' WHERE "spree_products"."id" = 1060501738  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593451, 979461346) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339792 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339792) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["name", "colour"], ["option_type_id", 935339792], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00]]  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.574049' WHERE "spree_products"."id" = 1060501738 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501738], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.574786' WHERE "spree_products"."id" = 1060501738  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461347, 1013593452) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501738]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501738) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593448 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593449 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593450 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593451 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593452 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501738) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.588136' WHERE "spree_products"."id" = 1060501738  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593448 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.589167' WHERE "spree_products"."id" = 1060501738 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.590130' WHERE "spree_products"."id" = 1060501738  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593449 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.591201' WHERE "spree_products"."id" = 1060501738 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.592271' WHERE "spree_products"."id" = 1060501738  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593450 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.593035' WHERE "spree_products"."id" = 1060501738 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.594201' WHERE "spree_products"."id" = 1060501738  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593451 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.594975' WHERE "spree_products"."id" = 1060501738 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501738 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.595874' WHERE "spree_products"."id" = 1060501738  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593452 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.596814' WHERE "spree_products"."id" = 1060501738 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501738) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501738 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:40.598860', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501738 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1060501738 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501737, count_on_hand: 0, cost_price: #, position: nil>  (0.3ms) begin transaction Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:40 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (56.8ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593443 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1477  (1.7ms) commit transaction Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501738, count_on_hand: 0, cost_price: #, position: nil>  (0.3ms) begin transaction Spree::Asset Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:44 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (531.9ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593447 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1478  (284.0ms) commit transaction Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501736, count_on_hand: 0, cost_price: #, position: nil>  (0.2ms) begin transaction Spree::Asset Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) UPDATE "spree_assets" SET "viewable_type" = 'Spree::Variant', "viewable_id" = 1013593439 WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1479  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (3.6ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452824 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452824], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (1.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452824], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452824], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (1.7ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (4.7ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452825 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452825], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (5.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452825], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452825], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (1.6ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452825 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452825 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452825 LIMIT 1 Booted Spree using version 1.1.3 SQL (6.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (2.2ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452826 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452826], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452826], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 558400824, "updated_at" = '2012-10-23 15:34:46.866789' WHERE "spree_taxons"."id" = 558400825 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400824]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400825]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400825 THEN 558400824 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400824]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400825]]  (1.9ms) commit transaction  (0.7ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400824 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:46.902136' WHERE "spree_products"."id" = 1060501739 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501739], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:46.903532' WHERE "spree_products"."id" = 1060501739  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593453 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:46.905257' WHERE "spree_products"."id" = 1060501739  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501739  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["product_id", nil], ["property_id", 905835907], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501739, "updated_at" = '2012-10-23 15:34:46.911848' WHERE "spree_product_properties"."id" = 1073274361 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501739) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452826 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501739 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400824, 1060501739) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452827 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452827], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400826, 1060501739) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501739) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501739 AND "spree_option_types"."id" = 935339793 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501739) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["option_type_id", 935339793], ["position", 1], ["product_id", 1060501739], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339793) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339793], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:46.993380' WHERE "spree_products"."id" = 1060501739 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501739], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:46.995009' WHERE "spree_products"."id" = 1060501739  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461348, 1013593454) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339793) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339793], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:46.999358' WHERE "spree_products"."id" = 1060501739 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501739], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.000450' WHERE "spree_products"."id" = 1060501739  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593455, 979461349) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339793) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339793], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.003920' WHERE "spree_products"."id" = 1060501739 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501739], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.004993' WHERE "spree_products"."id" = 1060501739  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461350, 1013593456) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501739]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501739) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593454 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593455 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593456 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501739) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.016850' WHERE "spree_products"."id" = 1060501739  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.017691' WHERE "spree_products"."id" = 1060501739 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.018494' WHERE "spree_products"."id" = 1060501739  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593455 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.019555' WHERE "spree_products"."id" = 1060501739 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.020388' WHERE "spree_products"."id" = 1060501739  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.021280' WHERE "spree_products"."id" = 1060501739 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501739) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501739 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.023485', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501739 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 1060501739 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.029553' WHERE "spree_products"."id" = 1060501740 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501740], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.030438' WHERE "spree_products"."id" = 1060501740  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.031430' WHERE "spree_products"."id" = 1060501740  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501740  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835908], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501740, "updated_at" = '2012-10-23 15:34:47.037033' WHERE "spree_product_properties"."id" = 1073274362 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501740) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452826 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501740 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501740, 558400824) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452828 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452828], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501740, 558400827) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452826 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400824 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452826 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400824]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400824], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452826], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400824]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400828]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400828 THEN 558400824 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400824]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400828]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400828 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452826 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400828]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400828], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452826], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400828]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400829]] SQL (1.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400829 THEN 558400828 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400828]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400829]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501740, 558400828)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501740, 558400829) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501740) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501740 AND "spree_option_types"."id" = 935339793 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501740) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339793], ["position", 1], ["product_id", 1060501740], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.067606' WHERE "spree_products"."id" = 1060501740 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501740], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.068350' WHERE "spree_products"."id" = 1060501740  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593458, 979461348) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.071032' WHERE "spree_products"."id" = 1060501740 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501740], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.072362' WHERE "spree_products"."id" = 1060501740  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593459, 979461349) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.074931' WHERE "spree_products"."id" = 1060501740 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501740], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.075989' WHERE "spree_products"."id" = 1060501740  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593460, 979461350) Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501740]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501740) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593458 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593459 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593460 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501740) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.088797' WHERE "spree_products"."id" = 1060501740  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.089680' WHERE "spree_products"."id" = 1060501740 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.090440' WHERE "spree_products"."id" = 1060501740  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.091422' WHERE "spree_products"."id" = 1060501740 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.092647' WHERE "spree_products"."id" = 1060501740  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593460 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.093641' WHERE "spree_products"."id" = 1060501740 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501740) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501740 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.095583', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501740 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003Paintings|Oils|Paintings>Nature>Seascapemime_type:jpeg, PDF,PNG5|4|2 succesfully SAVED : ID 1060501740 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.102670' WHERE "spree_products"."id" = 1060501741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501741], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.103676' WHERE "spree_products"."id" = 1060501741  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593461 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.104690' WHERE "spree_products"."id" = 1060501741  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501741  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835909], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501741, "updated_at" = '2012-10-23 15:34:47.110572' WHERE "spree_product_properties"."id" = 1073274363 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835908], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501741, "updated_at" = '2012-10-23 15:34:47.112722' WHERE "spree_product_properties"."id" = 1073274364 Created New ProductProperty # Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835910], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501741, "updated_at" = '2012-10-23 15:34:47.116030' WHERE "spree_product_properties"."id" = 1073274365 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501741) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452829 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452829], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501741 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400830, 1060501741) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452826 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400824 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452826 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400825, 1060501741)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400824, 1060501741) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501741) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501741 AND "spree_option_types"."id" = 935339793 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501741) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339793], ["position", 1], ["product_id", 1060501741], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.134930' WHERE "spree_products"."id" = 1060501741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501741], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.135941' WHERE "spree_products"."id" = 1060501741  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461348, 1013593462) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.138564' WHERE "spree_products"."id" = 1060501741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501741], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.139537' WHERE "spree_products"."id" = 1060501741  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593463, 979461349) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339793 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.141658' WHERE "spree_products"."id" = 1060501741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501741], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.142782' WHERE "spree_products"."id" = 1060501741  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593464, 979461350) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501741]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501741 AND "spree_option_types"."id" = 935339794 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501741) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339794], ["position", 2], ["product_id", 1060501741], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339794 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339794) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339794], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.153649' WHERE "spree_products"."id" = 1060501741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501741], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.154723' WHERE "spree_products"."id" = 1060501741  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461351, 1013593465) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339794 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339794) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "colour"], ["option_type_id", 935339794], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.159000' WHERE "spree_products"."id" = 1060501741 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501741], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.160030' WHERE "spree_products"."id" = 1060501741  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593466, 979461352) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501741]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501741) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593462 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593463 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593464 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593465 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593466 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501741) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.172826' WHERE "spree_products"."id" = 1060501741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593462 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.173858' WHERE "spree_products"."id" = 1060501741 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.176486' WHERE "spree_products"."id" = 1060501741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593463 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.177242' WHERE "spree_products"."id" = 1060501741 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.178202' WHERE "spree_products"."id" = 1060501741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593464 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.179218' WHERE "spree_products"."id" = 1060501741 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.234673' WHERE "spree_products"."id" = 1060501741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593465 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.235772' WHERE "spree_products"."id" = 1060501741 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501741 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.237028' WHERE "spree_products"."id" = 1060501741  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593466 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.237718' WHERE "spree_products"."id" = 1060501741 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501741) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501741 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.240028', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501741 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawings|Paintings>Landscapemime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18 succesfully SAVED : ID 1060501741 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501739 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501739 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501740 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501740 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452826 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400824 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452826 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400828 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400828 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400829 ORDER BY "lft" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (2.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452830], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452830], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "parent_id" = 558400831, "updated_at" = '2012-10-23 15:34:47.303188' WHERE "spree_taxons"."id" = 558400832 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400831]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400832]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400832 THEN 558400831 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400831]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400832]]  (2.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400831 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.334685' WHERE "spree_products"."id" = 1060501742 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501742], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.335953' WHERE "spree_products"."id" = 1060501742  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593467 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.337025' WHERE "spree_products"."id" = 1060501742  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501742  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.5ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835911], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501742, "updated_at" = '2012-10-23 15:34:47.342507' WHERE "spree_product_properties"."id" = 1073274366 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501742 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400831, 1060501742) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452831 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452831], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400833, 1060501742) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501742 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501742) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339795], ["position", 1], ["product_id", 1060501742], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339795) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339795], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.366354' WHERE "spree_products"."id" = 1060501742 SQL (0.7ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501742], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.367894' WHERE "spree_products"."id" = 1060501742  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461353, 1013593468) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501742]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501742 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339795) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339795], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.376427' WHERE "spree_products"."id" = 1060501742 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501742], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.377621' WHERE "spree_products"."id" = 1060501742  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461354, 1013593469) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501742]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501742 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339795) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339795], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.386137' WHERE "spree_products"."id" = 1060501742 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501742], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.387301' WHERE "spree_products"."id" = 1060501742  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593470, 979461355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501742]] Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593468 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593469 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593470 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.399436' WHERE "spree_products"."id" = 1060501742  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593468 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.400389' WHERE "spree_products"."id" = 1060501742 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.401948' WHERE "spree_products"."id" = 1060501742  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593469 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.402745' WHERE "spree_products"."id" = 1060501742 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.403723' WHERE "spree_products"."id" = 1060501742  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593470 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.404602' WHERE "spree_products"."id" = 1060501742 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501742) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501742 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.407205', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501742 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 1060501742 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.412952' WHERE "spree_products"."id" = 1060501743 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501743], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.413914' WHERE "spree_products"."id" = 1060501743  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593471 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.415023' WHERE "spree_products"."id" = 1060501743  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501743  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835912], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501743, "updated_at" = '2012-10-23 15:34:47.420645' WHERE "spree_product_properties"."id" = 1073274367 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501743 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400831, 1060501743) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452832 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452832], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400834, 1060501743) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400831 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452830 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400831]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400831], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452830], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400831]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400835]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400835 THEN 558400831 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400831]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400835]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400835 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452830 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400835]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400835], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452830], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400835]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400836]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400836 THEN 558400835 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400835]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400836]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400835, 1060501743)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400836, 1060501743) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501743 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501743) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339795], ["position", 1], ["product_id", 1060501743], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.453616' WHERE "spree_products"."id" = 1060501743 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501743], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.454775' WHERE "spree_products"."id" = 1060501743  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593472, 979461353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501743]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501743 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.516532' WHERE "spree_products"."id" = 1060501743 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501743], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.518104' WHERE "spree_products"."id" = 1060501743  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593473, 979461354) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501743]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501743 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.525514' WHERE "spree_products"."id" = 1060501743 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501743], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.526659' WHERE "spree_products"."id" = 1060501743  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461355, 1013593474) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501743]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593472 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593473 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593474 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.539130' WHERE "spree_products"."id" = 1060501743  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593472 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.540478' WHERE "spree_products"."id" = 1060501743 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.541379' WHERE "spree_products"."id" = 1060501743  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593473 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.541989' WHERE "spree_products"."id" = 1060501743 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.543478' WHERE "spree_products"."id" = 1060501743  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593474 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.544233' WHERE "spree_products"."id" = 1060501743 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501743) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501743 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.546429', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501743 Row DEMO_002Demo Excel Load via Jrubyless blah2011-05-1410030test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 succesfully SAVED : ID 1060501743 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.552529' WHERE "spree_products"."id" = 1060501744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501744], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.553314' WHERE "spree_products"."id" = 1060501744  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593475 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.554506' WHERE "spree_products"."id" = 1060501744  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501744  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835913], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501744, "updated_at" = '2012-10-23 15:34:47.559510' WHERE "spree_product_properties"."id" = 1073274368 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835912], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 1060501744, "updated_at" = '2012-10-23 15:34:47.562681' WHERE "spree_product_properties"."id" = 1073274369 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835914], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501744, "updated_at" = '2012-10-23 15:34:47.566507' WHERE "spree_product_properties"."id" = 1073274370 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452833 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452833], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501744 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501744, 558400837) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400831 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452830 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501744, 558400832)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501744, 558400831) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501744 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501744) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339795], ["position", 1], ["product_id", 1060501744], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.585434' WHERE "spree_products"."id" = 1060501744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501744], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.586759' WHERE "spree_products"."id" = 1060501744  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593476, 979461353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501744]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501744 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.593915' WHERE "spree_products"."id" = 1060501744 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501744], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.595221' WHERE "spree_products"."id" = 1060501744  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593477, 979461354) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501744]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501744 AND "spree_option_types"."id" = 935339795 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339795 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.602270' WHERE "spree_products"."id" = 1060501744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501744], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.603468' WHERE "spree_products"."id" = 1060501744  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461355, 1013593478) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501744]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501744 AND "spree_option_types"."id" = 935339796 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501744) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339796], ["position", 2], ["product_id", 1060501744], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339796 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339796) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339796], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.614813' WHERE "spree_products"."id" = 1060501744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501744], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.615882' WHERE "spree_products"."id" = 1060501744  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593479, 979461356) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501744]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501744 AND "spree_option_types"."id" = 935339796 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339796 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339796) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "colour"], ["option_type_id", 935339796], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.624813' WHERE "spree_products"."id" = 1060501744 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501744], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.625862' WHERE "spree_products"."id" = 1060501744  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593480, 979461357) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501744]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593476 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593477 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593478 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593479 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593480 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.647017' WHERE "spree_products"."id" = 1060501744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593476 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.648013' WHERE "spree_products"."id" = 1060501744 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.648811' WHERE "spree_products"."id" = 1060501744  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593477 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.649780' WHERE "spree_products"."id" = 1060501744 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.651676' WHERE "spree_products"."id" = 1060501744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593478 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.652412' WHERE "spree_products"."id" = 1060501744 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.653565' WHERE "spree_products"."id" = 1060501744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593479 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.654460' WHERE "spree_products"."id" = 1060501744 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501744 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.655506' WHERE "spree_products"."id" = 1060501744  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593480 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.656331' WHERE "spree_products"."id" = 1060501744 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501744) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501744 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.658495', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501744 Row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 succesfully SAVED : ID 1060501744 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.4ms) commit transaction Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.8ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501742 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501742 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501743 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501743 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452830 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400831 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452830 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400835 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400835 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400836 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452834], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (3.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452834], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (39.4ms) commit transaction  (0.0ms) begin transaction  (0.7ms) UPDATE "spree_taxons" SET "parent_id" = 558400838, "updated_at" = '2012-10-23 15:34:47.769003' WHERE "spree_taxons"."id" = 558400839 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400838]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400839]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400839 THEN 558400838 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400838]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400839]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400838 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.791114' WHERE "spree_products"."id" = 1060501745 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501745], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.792474' WHERE "spree_products"."id" = 1060501745  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593481 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.793674' WHERE "spree_products"."id" = 1060501745  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501745  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835915], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501745, "updated_at" = '2012-10-23 15:34:47.863463' WHERE "spree_product_properties"."id" = 1073274371 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501745 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400838, 1060501745) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452835 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452835], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400840, 1060501745) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501745 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501745) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339797], ["position", 1], ["product_id", 1060501745], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339797) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 935339797], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.891463' WHERE "spree_products"."id" = 1060501745 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501745], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.893011' WHERE "spree_products"."id" = 1060501745  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461358, 1013593482) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501745]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501745 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339797) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 935339797], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.902536' WHERE "spree_products"."id" = 1060501745 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501745], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.903550' WHERE "spree_products"."id" = 1060501745  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461359, 1013593483) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501745]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501745 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339797) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 935339797], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.911859' WHERE "spree_products"."id" = 1060501745 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501745], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.912839' WHERE "spree_products"."id" = 1060501745  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461360, 1013593484) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501745]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (12.4ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593482 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593483 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593484 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.941278' WHERE "spree_products"."id" = 1060501745  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593482 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.942350' WHERE "spree_products"."id" = 1060501745 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.943522' WHERE "spree_products"."id" = 1060501745  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593483 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.944209' WHERE "spree_products"."id" = 1060501745 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.945180' WHERE "spree_products"."id" = 1060501745  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593484 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.945954' WHERE "spree_products"."id" = 1060501745 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501745) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501745 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.948358', "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501745 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.955083' WHERE "spree_products"."id" = 1060501746 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501746], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.956417' WHERE "spree_products"."id" = 1060501746  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593485 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.957506' WHERE "spree_products"."id" = 1060501746  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501746  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["product_id", nil], ["property_id", 905835916], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501746, "updated_at" = '2012-10-23 15:34:47.964009' WHERE "spree_product_properties"."id" = 1073274372 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501746 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501746, 558400838) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452836 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452836], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501746, 558400841) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400838 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452834 LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400838]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400838], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452834], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400838]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400842]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400842 THEN 558400838 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400838]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400842]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400842 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452834 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400842]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 558400842], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452834], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400842]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400843]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400843 THEN 558400842 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400842]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400843]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501746, 558400842)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501746, 558400843) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501746 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501746) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00], ["option_type_id", 935339797], ["position", 1], ["product_id", 1060501746], ["updated_at", Tue, 23 Oct 2012 15:34:47 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.998512' WHERE "spree_products"."id" = 1060501746 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501746], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:47.999626' WHERE "spree_products"."id" = 1060501746  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593486, 979461358) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501746]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501746 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.007008' WHERE "spree_products"."id" = 1060501746 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501746], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.008908' WHERE "spree_products"."id" = 1060501746  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593487, 979461359) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501746]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501746 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.015377' WHERE "spree_products"."id" = 1060501746 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501746], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.016443' WHERE "spree_products"."id" = 1060501746  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461360, 1013593488) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501746]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593486 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593487 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593488 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.030810' WHERE "spree_products"."id" = 1060501746  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593486 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.031819' WHERE "spree_products"."id" = 1060501746 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.033104' WHERE "spree_products"."id" = 1060501746  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593487 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.033953' WHERE "spree_products"."id" = 1060501746 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.035789' WHERE "spree_products"."id" = 1060501746  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593488 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.036919' WHERE "spree_products"."id" = 1060501746 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501746) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501746 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.039237', "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501746 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.045945' WHERE "spree_products"."id" = 1060501747 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501747], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.047353' WHERE "spree_products"."id" = 1060501747  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593489 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.048514' WHERE "spree_products"."id" = 1060501747  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501747  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["product_id", nil], ["property_id", 905835917], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501747, "updated_at" = '2012-10-23 15:34:48.054372' WHERE "spree_product_properties"."id" = 1073274373 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["product_id", nil], ["property_id", 905835916], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501747, "updated_at" = '2012-10-23 15:34:48.057324' WHERE "spree_product_properties"."id" = 1073274374 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["product_id", nil], ["property_id", 905835918], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 1060501747, "updated_at" = '2012-10-23 15:34:48.061453' WHERE "spree_product_properties"."id" = 1073274375 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452837 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452837], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501747 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400844, 1060501747) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400838 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452834 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400839, 1060501747)  (0.3ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400838, 1060501747) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501747 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501747) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["option_type_id", 935339797], ["position", 1], ["product_id", 1060501747], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.081884' WHERE "spree_products"."id" = 1060501747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501747], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.083006' WHERE "spree_products"."id" = 1060501747  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593490, 979461358) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501747]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501747 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.156780' WHERE "spree_products"."id" = 1060501747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501747], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.158004' WHERE "spree_products"."id" = 1060501747  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593491, 979461359) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501747]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501747 AND "spree_option_types"."id" = 935339797 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339797 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.165421' WHERE "spree_products"."id" = 1060501747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501747], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.166736' WHERE "spree_products"."id" = 1060501747  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (979461360, 1013593492) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501747]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501747 AND "spree_option_types"."id" = 935339798 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501747) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["option_type_id", 935339798], ["position", 2], ["product_id", 1060501747], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339798 AND "spree_option_values"."name" = 'black_white' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339798) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 935339798], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.180206' WHERE "spree_products"."id" = 1060501747 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501747], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.182461' WHERE "spree_products"."id" = 1060501747  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593493, 979461361) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501747]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501747 AND "spree_option_types"."id" = 935339798 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 935339798 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339798) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "colour"], ["option_type_id", 935339798], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.191003' WHERE "spree_products"."id" = 1060501747 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501747], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.192278' WHERE "spree_products"."id" = 1060501747  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593494, 979461362) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 1060501747]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593490 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593491 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593492 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593493 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593494 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.206727' WHERE "spree_products"."id" = 1060501747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593490 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.207953' WHERE "spree_products"."id" = 1060501747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.208945' WHERE "spree_products"."id" = 1060501747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593491 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.209699' WHERE "spree_products"."id" = 1060501747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.210793' WHERE "spree_products"."id" = 1060501747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593492 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.211554' WHERE "spree_products"."id" = 1060501747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.212667' WHERE "spree_products"."id" = 1060501747  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593493 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.214380' WHERE "spree_products"."id" = 1060501747 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501747 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.215379' WHERE "spree_products"."id" = 1060501747  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593494 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.216340' WHERE "spree_products"."id" = 1060501747 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501747) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501747 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.218630', "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501747  (10.3ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501745 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501745 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501746 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501746 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452834 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400838 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452834 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400842 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400842 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400843 ORDER BY "lft" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501748 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.302075' WHERE "spree_products"."id" = 1060501748 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501748], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.303208' WHERE "spree_products"."id" = 1060501748  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593495 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.304592' WHERE "spree_products"."id" = 1060501748  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501748 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501748  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501748 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452838], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400845 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452838 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400845]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400845], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452838], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400845]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400846]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400846 THEN 558400845 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400845]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400846]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501748 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501748, 558400846)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501748, 558400845) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501748) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452839 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452839], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501748, 558400847) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501748) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593495 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501748) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.331363', "count_on_hand" = 2 WHERE "spree_products"."id" = 1060501748  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593495 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.332966' WHERE "spree_products"."id" = 1060501748 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501748 Row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320Paintings>LandscapeWaterColour2 succesfully SAVED : ID 1060501748 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501749 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.339605' WHERE "spree_products"."id" = 1060501749 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501749], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.340739' WHERE "spree_products"."id" = 1060501749  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593496 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.341968' WHERE "spree_products"."id" = 1060501749  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501749 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501749  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501749 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501749 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501749, 558400845) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501749) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452840 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452840], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501749, 558400848) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501749) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400845 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452838 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400845]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400845], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452838], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400845]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400849]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400849 THEN 558400845 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400845]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400849]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400849 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452838 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400849]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400849], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452838], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400849]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400850]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400850 THEN 558400849 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400849]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400850]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501749, 558400849)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501749, 558400850) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501749) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593496 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501749) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.370806', "count_on_hand" = 5 WHERE "spree_products"."id" = 1060501749  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593496 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.372314' WHERE "spree_products"."id" = 1060501749 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501749 Row test_ct_002Demo Excel Loadless blah2011-05-1410030PaintingsOilsPaintings>Nature>Landscape5 succesfully SAVED : ID 1060501749 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501750 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.377998' WHERE "spree_products"."id" = 1060501750 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501750], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.379487' WHERE "spree_products"."id" = 1060501750  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593497 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.380548' WHERE "spree_products"."id" = 1060501750  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501750 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501750  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501750 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452841 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452841], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400851 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452841 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400851]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400851], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452841], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400851]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400852]] SQL (0.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400852 THEN 558400851 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400851]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400852]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501750 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501750, 558400852)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501750, 558400851) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501750) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452842 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452842], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501750, 558400853) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501750) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593497 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501750) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.465963', "count_on_hand" = 7 WHERE "spree_products"."id" = 1060501750  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593497 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.467946' WHERE "spree_products"."id" = 1060501750 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501750 Row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 succesfully SAVED : ID 1060501750 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501751 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.474970' WHERE "spree_products"."id" = 1060501751 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501751], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.476636' WHERE "spree_products"."id" = 1060501751  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593498 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.477764' WHERE "spree_products"."id" = 1060501751  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501751 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501751  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501751 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452841 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400851 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452841 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501751 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400852, 1060501751)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400851, 1060501751) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501751) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400845 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452838 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400849 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452838 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400849]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400849], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452838], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400849]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400854]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400854 THEN 558400849 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400849]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400854]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400854 AND "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."taxonomy_id" = 854452838 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400854]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400854], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452838], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400854]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400855]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400855 THEN 558400854 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400854]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400855]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400849, 1060501751)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400854, 1060501751)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400855, 1060501751)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400845, 1060501751) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501751) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593498 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501751) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.505948', "count_on_hand" = 3 WHERE "spree_products"."id" = 1060501751  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593498 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.507678' WHERE "spree_products"."id" = 1060501751 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501751 Row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 succesfully SAVED : ID 1060501751 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501752 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.514293' WHERE "spree_products"."id" = 1060501752 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501752], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.515546' WHERE "spree_products"."id" = 1060501752  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593499 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.516728' WHERE "spree_products"."id" = 1060501752  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501752 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501752  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501752 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452841 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400851 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452841 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400852 AND "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."taxonomy_id" = 854452841 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400852]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400852], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452841], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400852]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400856]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400856 THEN 558400852 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400852]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400856]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501752 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400852, 1060501752)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400856, 1060501752)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400851, 1060501752) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501752) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452840 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400848, 1060501752) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501752) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593499 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501752) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.535956', "count_on_hand" = 3 WHERE "spree_products"."id" = 1060501752  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593499 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.537579' WHERE "spree_products"."id" = 1060501752 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501752 Row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 succesfully SAVED : ID 1060501752 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452839 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452840 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452841 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452842 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.4ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452838 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452838 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400845 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400845) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400849 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400849) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400849) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400845 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400849 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400854 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400855 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400854) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452841 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452841 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400852 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400852 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400856 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400856) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452840 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452840 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400848 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452842 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452842 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400853 ORDER BY "lft" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501753 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.617833' WHERE "spree_products"."id" = 1060501753 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501753], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.619526' WHERE "spree_products"."id" = 1060501753  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593500 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.620704' WHERE "spree_products"."id" = 1060501753  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501753 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501753  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501753 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 854452843], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400857 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452843 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400857]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 558400857], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 854452843], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400857]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400858]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400858 THEN 558400857 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400857]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400858]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501753 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501753, 558400858)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501753, 558400857) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501753) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452844 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 854452844], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501753, 558400859) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501753) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593500 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501753) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.644991', "count_on_hand" = 2 WHERE "spree_products"."id" = 1060501753  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593500 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.646538' WHERE "spree_products"."id" = 1060501753 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501753 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501754 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.652544' WHERE "spree_products"."id" = 1060501754 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501754], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.653595' WHERE "spree_products"."id" = 1060501754  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593501 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.654991' WHERE "spree_products"."id" = 1060501754  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501754 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501754  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501754 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501754 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501754, 558400857) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501754) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452845 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 854452845], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501754, 558400860) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501754) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400857 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452843 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400857]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 558400857], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 854452843], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400857]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400861]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400861 THEN 558400857 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400857]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400861]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400861 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452843 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400861]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 558400861], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 854452843], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400861]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400862]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400862 THEN 558400861 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400861]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400862]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501754, 558400861)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501754, 558400862) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501754) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593501 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501754) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.681627', "count_on_hand" = 5 WHERE "spree_products"."id" = 1060501754  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593501 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.682990' WHERE "spree_products"."id" = 1060501754 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501754 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501755 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.762247' WHERE "spree_products"."id" = 1060501755 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501755], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.769711' WHERE "spree_products"."id" = 1060501755  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593502 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.770988' WHERE "spree_products"."id" = 1060501755  (1.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501755 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501755  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501755 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452846 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 854452846], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400863 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452846 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400863]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 558400863], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 854452846], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400863]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400864]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400864 THEN 558400863 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400863]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400864]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501755 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400864, 1060501755)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400863, 1060501755) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501755) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452847 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 854452847], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400865, 1060501755) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501755) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593502 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501755) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.807704', "count_on_hand" = 7 WHERE "spree_products"."id" = 1060501755  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593502 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.809533' WHERE "spree_products"."id" = 1060501755 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501755 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501756 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.842959' WHERE "spree_products"."id" = 1060501756 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501756], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.846627' WHERE "spree_products"."id" = 1060501756  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593503 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.848235' WHERE "spree_products"."id" = 1060501756  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501756 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501756  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501756 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452846 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400863 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452846 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501756 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400864, 1060501756)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400863, 1060501756) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501756) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400857 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."taxonomy_id" = 854452843 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400861 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."taxonomy_id" = 854452843 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400861]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 558400861], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 854452843], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400861]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400866]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400866 THEN 558400861 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400861]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400866]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400866 AND "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."taxonomy_id" = 854452843 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400866]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 558400866], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 854452843], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400866]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400867]] SQL (1.1ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400867 THEN 558400866 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400866]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400867]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400861, 1060501756)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400866, 1060501756)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400867, 1060501756)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400857, 1060501756) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501756) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593503 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501756) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.889430', "count_on_hand" = 3 WHERE "spree_products"."id" = 1060501756  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593503 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.890947' WHERE "spree_products"."id" = 1060501756 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501756 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501757 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.897985' WHERE "spree_products"."id" = 1060501757 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1060501757], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.899796' WHERE "spree_products"."id" = 1060501757  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593504 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.901279' WHERE "spree_products"."id" = 1060501757  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501757 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501757  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501757 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452846 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400863 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."taxonomy_id" = 854452846 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400864 AND "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."taxonomy_id" = 854452846 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400864]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 558400864], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 854452846], ["updated_at", Tue, 23 Oct 2012 15:34:48 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 558400864]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400868]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400868 THEN 558400864 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400864]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558400868]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501757 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400864, 1060501757)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400868, 1060501757)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400863, 1060501757) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501757) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452845 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (558400860, 1060501757) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501757) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593504 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501757) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.921964', "count_on_hand" = 3 WHERE "spree_products"."id" = 1060501757  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593504 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:34:48.923504' WHERE "spree_products"."id" = 1060501757 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501757  (405.5ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452844 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452845 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452846 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452847 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.3ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452843 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452843 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400857 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400857) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400861 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400861) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400861) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400857 LIMIT 1 Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400861 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400866 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400867 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400866) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452846 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452846 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400864 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400864 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400868 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400868) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452845 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452845 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400860 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452847 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452847 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400865 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (5.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (2.2ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (1.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.2ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.2ms) DELETE FROM "spree_taxonomies" SQL (1.1ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (2.1ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.2ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.2ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.3ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.3ms) DELETE FROM "spree_option_types" SQL (1.3ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (1.5ms) DELETE FROM "spree_taxons" SQL (1.9ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (2.1ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 Spree::Preference Load (1.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE ("spree_preferences"."key" IS NOT NULL) AND ("spree_preferences"."value_type" IS NOT NULL) SQL (11.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:26.661000', 'f', 'Rest of World', 'ROW', '2012-10-23 15:35:26.661000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 179 Row org.apache.poi.hssf.usermodel.HSSFRow@1cf7414 succesfully SAVED : ID 179 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:26.715000', 'f', 'United Kingdom', 'UK', '2012-10-23 15:35:26.715000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 180 Row org.apache.poi.hssf.usermodel.HSSFRow@10baff7 succesfully SAVED : ID 180 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:26.731000', 'f', 'Europe', 'EUR', '2012-10-23 15:35:26.731000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 181 Row org.apache.poi.hssf.usermodel.HSSFRow@6c9274 succesfully SAVED : ID 181 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:26.756000', 'f', 'North America', 'NA', '2012-10-23 15:35:26.756000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 182 Row org.apache.poi.hssf.usermodel.HSSFRow@1bccf7e succesfully SAVED : ID 182 Current value to assign : Current value to assign :  (4.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:27.230000', 'f', 'Rest of World', 'ROW', '2012-10-23 15:35:27.230000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 183 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:27.251000', 'f', 'United Kingdom', 'UK', '2012-10-23 15:35:27.251000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 184 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:27.265000', 'f', 'Europe', 'EUR', '2012-10-23 15:35:27.265000', 0) Spree::ZoneMember Load (3.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 185 Current value to assign : NA Current value to assign : North America Saving csv row NANorth America to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-10-23 15:35:27.333000', 'f', 'North America', 'NA', '2012-10-23 15:35:27.333000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 186  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:27.623000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:27.623000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501758 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:27.656000' WHERE "spree_products"."id" = 1060501758 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501758, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:27.669000' WHERE "spree_products"."id" = 1060501758  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593505 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:27.681000' WHERE "spree_products"."id" = 1060501758  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501758 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501758  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593505 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501758) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:27.821000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:27.821000') Spree::OptionType Exists (5.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501758 AND "spree_option_types"."id" = 935339799 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501758) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:27.938000', 935339799, 1, 1060501758, '2012-10-23 15:35:27.938000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501758) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:35:27.953000' WHERE "spree_products"."id" = 1060501758  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593505 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:27.968000' WHERE "spree_products"."id" = 1060501758 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501758 Row org.apache.poi.hssf.usermodel.HSSFRow@1559265 succesfully SAVED : ID 1060501758 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (2.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:27.991000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:27.991000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501759 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.003000' WHERE "spree_products"."id" = 1060501759 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501759, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.011000' WHERE "spree_products"."id" = 1060501759  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593506 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.018000' WHERE "spree_products"."id" = 1060501759  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501759 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501759  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501759 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593506 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501759) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501759 AND "spree_option_types"."id" = 935339799 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501759) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:28.096000', 935339799, 1, 1060501759, '2012-10-23 15:35:28.096000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501759) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:35:28.101000' WHERE "spree_products"."id" = 1060501759  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593506 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.123000' WHERE "spree_products"."id" = 1060501759 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501759 Row org.apache.poi.hssf.usermodel.HSSFRow@12044a1 succesfully SAVED : ID 1060501759 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-23 15:35:28.147000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-23 15:35:28.147000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501760 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.155000' WHERE "spree_products"."id" = 1060501760 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501760, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.160000' WHERE "spree_products"."id" = 1060501760  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593507 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.192000' WHERE "spree_products"."id" = 1060501760  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501760 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501760  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501760 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593507 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501760) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501760 AND "spree_option_types"."id" = 935339799 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501760) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:28.259000', 935339799, 1, 1060501760, '2012-10-23 15:35:28.259000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:28.352000', 'print_type', 0, 'Print type', '2012-10-23 15:35:28.352000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501760 AND "spree_option_types"."id" = 935339800 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501760) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:28.394000', 935339800, 2, 1060501760, '2012-10-23 15:35:28.394000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501760) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:35:28.410000' WHERE "spree_products"."id" = 1060501760  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013593507 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:28.420000' WHERE "spree_products"."id" = 1060501760 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501760 Row org.apache.poi.hssf.usermodel.HSSFRow@1c46609 succesfully SAVED : ID 1060501760 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:35:28.911000')  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:35:28.913000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501758 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501758 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501758 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501760 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:29.026000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:29.026000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501761 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.035000' WHERE "spree_products"."id" = 1060501761 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501761, 'SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.039000' WHERE "spree_products"."id" = 1060501761  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593508 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.046000' WHERE "spree_products"."id" = 1060501761  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501761 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501761  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593508 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501761) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:29.110000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:29.110000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501761 AND "spree_option_types"."id" = 935339801 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501761) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.125000', 935339801, 1, 1060501761, '2012-10-23 15:35:29.125000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501761) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:35:29.137000' WHERE "spree_products"."id" = 1060501761  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593508 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.146000' WHERE "spree_products"."id" = 1060501761 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501761 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:29.170000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:29.170000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501762 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.208000' WHERE "spree_products"."id" = 1060501762 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501762, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.214000' WHERE "spree_products"."id" = 1060501762  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593509 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.232000' WHERE "spree_products"."id" = 1060501762  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501762 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501762  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501762 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593509 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501762) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501762 AND "spree_option_types"."id" = 935339801 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501762) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.305000', 935339801, 1, 1060501762, '2012-10-23 15:35:29.305000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501762) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:35:29.311000' WHERE "spree_products"."id" = 1060501762  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593509 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.321000' WHERE "spree_products"."id" = 1060501762 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501762 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-10-23 15:35:29.355000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-23 15:35:29.355000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501763 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.370000' WHERE "spree_products"."id" = 1060501763 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501763, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.377000' WHERE "spree_products"."id" = 1060501763  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593510 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.398000' WHERE "spree_products"."id" = 1060501763  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501763 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501763  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501763 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593510 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501763) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501763 AND "spree_option_types"."id" = 935339801 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501763) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.490000', 935339801, 1, 1060501763, '2012-10-23 15:35:29.490000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:29.498000', 'print_type', 0, 'Print type', '2012-10-23 15:35:29.498000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501763 AND "spree_option_types"."id" = 935339802 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501763) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.519000', 935339802, 2, 1060501763, '2012-10-23 15:35:29.519000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501763) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:35:29.525000' WHERE "spree_products"."id" = 1060501763  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1013593510 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.552000' WHERE "spree_products"."id" = 1060501763 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501763  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:35:29.571000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:35:29.577000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501761 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501761 ORDER BY spree_option_types.position  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501761 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501763 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-23 16:35:29.000000', 0, '2012-10-23 15:35:29.705000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:29.705000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501764 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.715000' WHERE "spree_products"."id" = 1060501764 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501764, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.719000' WHERE "spree_products"."id" = 1060501764  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593511 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.727000' WHERE "spree_products"."id" = 1060501764  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501764 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501764  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501764 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:29.741000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:29.741000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501764 AND "spree_option_types"."id" = 935339803 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501764) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.763000', 935339803, 1, 1060501764, '2012-10-23 15:35:29.763000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501764) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@80d6b4 succesfully SAVED : ID 1060501764 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-23 16:35:29.000000', 0, '2012-10-23 15:35:29.794000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:29.794000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501765 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.800000' WHERE "spree_products"."id" = 1060501765 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501765, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.810000' WHERE "spree_products"."id" = 1060501765  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593512 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.832000' WHERE "spree_products"."id" = 1060501765  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501765 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501765  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501765 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501765 AND "spree_option_types"."id" = 935339803 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (3.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501765) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.883000', 935339803, 1, 1060501765, '2012-10-23 15:35:29.883000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501765) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@e87db3 succesfully SAVED : ID 1060501765 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-10-23 16:35:29.000000', 0, '2012-10-23 15:35:29.936000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-23 15:35:29.936000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501766 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.943000' WHERE "spree_products"."id" = 1060501766 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501766, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.948000' WHERE "spree_products"."id" = 1060501766  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593513 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:29.954000' WHERE "spree_products"."id" = 1060501766  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501766 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501766  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501766 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501766 AND "spree_option_types"."id" = 935339803 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501766) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.968000', 935339803, 1, 1060501766, '2012-10-23 15:35:29.968000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:29.985000', 'print_type', 0, 'Print type', '2012-10-23 15:35:29.985000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501766 AND "spree_option_types"."id" = 935339804 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501766) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:29.999000', 935339804, 2, 1060501766, '2012-10-23 15:35:29.999000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501766) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@55163c succesfully SAVED : ID 1060501766 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501764 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-23 15:35:30.141000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:30.141000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501767 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.147000' WHERE "spree_products"."id" = 1060501767 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1060501767, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.151000' WHERE "spree_products"."id" = 1060501767  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593514 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.174000' WHERE "spree_products"."id" = 1060501767  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501767 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501767  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501767 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:30.184000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:30.184000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501767 AND "spree_option_types"."id" = 935339805 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501767) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:30.203000', 935339805, 1, 1060501767, '2012-10-23 15:35:30.203000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1060501767) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@215d51 succesfully SAVED : ID 1060501767 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-23 15:35:30.222000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:30.222000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501768 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.229000' WHERE "spree_products"."id" = 1060501768 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501768, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.284000' WHERE "spree_products"."id" = 1060501768  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593515 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.288000' WHERE "spree_products"."id" = 1060501768  (2.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501768 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501768  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501768 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501768 AND "spree_option_types"."id" = 935339805 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501768) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:30.308000', 935339805, 1, 1060501768, '2012-10-23 15:35:30.308000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 1060501768) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@d05663 succesfully SAVED : ID 1060501768 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-23 15:35:30.373000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-10-23 15:35:30.373000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501769 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.378000' WHERE "spree_products"."id" = 1060501769 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501769, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.384000' WHERE "spree_products"."id" = 1060501769  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593516 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.387000' WHERE "spree_products"."id" = 1060501769  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501769 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501769  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501769 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501769 AND "spree_option_types"."id" = 935339805 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501769) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:30.406000', 935339805, 1, 1060501769, '2012-10-23 15:35:30.406000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:30.412000', 'print_type', 0, 'Print type', '2012-10-23 15:35:30.412000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501769 AND "spree_option_types"."id" = 935339806 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501769) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:30.429000', 935339806, 2, 1060501769, '2012-10-23 15:35:30.429000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 1060501769) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@973f1b succesfully SAVED : ID 1060501769 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501767 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products"  SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:30.571000', 'test_pp_001', 'Test PP 001', '2012-10-23 15:35:30.571000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:30.606000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:30.606000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.613000' WHERE "spree_products"."id" = 1060501770 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501770, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.617000' WHERE "spree_products"."id" = 1060501770  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593517 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.628000' WHERE "spree_products"."id" = 1060501770  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501770  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:30.674000', NULL, 905835919, '2012-10-23 15:35:30.674000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501770, "updated_at" = '2012-10-23 15:35:30.689000' WHERE "spree_product_properties"."id" = 1073274376 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501770) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:30.710000', 'Paintings', '2012-10-23 15:35:30.710000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:30.756000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452848, '2012-10-23 15:35:30.756000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501770 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501770, 558400869) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:30.776000', 'WaterColour', '2012-10-23 15:35:30.776000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452849 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:30.783000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452849, '2012-10-23 15:35:30.783000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501770, 558400870) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501770) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501770) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:30.804000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:30.804000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501770 AND "spree_option_types"."id" = 935339807 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501770) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:30.839000', 935339807, 1, 1060501770, '2012-10-23 15:35:30.839000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339807) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:30.876000', 'jpeg', 935339807, 1, NULL, '2012-10-23 15:35:30.876000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.882000' WHERE "spree_products"."id" = 1060501770 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501770, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.889000' WHERE "spree_products"."id" = 1060501770  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593518, 979461363) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339807) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:30.903000', 'PDF', 935339807, 2, NULL, '2012-10-23 15:35:30.903000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.911000' WHERE "spree_products"."id" = 1060501770 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501770, 'DEMO_001_2', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.913000' WHERE "spree_products"."id" = 1060501770  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593519, 979461364) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339807) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:30.920000', 'PNG', 935339807, 3, NULL, '2012-10-23 15:35:30.920000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.937000' WHERE "spree_products"."id" = 1060501770 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501770, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.943000' WHERE "spree_products"."id" = 1060501770  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593520, 979461365) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501770) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593518 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593519 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593520 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501770) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.989000' WHERE "spree_products"."id" = 1060501770  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593518 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:30.996000' WHERE "spree_products"."id" = 1060501770 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.000000' WHERE "spree_products"."id" = 1060501770  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593519 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.002000' WHERE "spree_products"."id" = 1060501770 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501770 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.005000' WHERE "spree_products"."id" = 1060501770  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593520 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.011000' WHERE "spree_products"."id" = 1060501770 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501770) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501770 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:31.045000' WHERE "spree_products"."id" = 1060501770 Row org.apache.poi.hssf.usermodel.HSSFRow@1c030bc succesfully SAVED : ID 1060501770 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:31.085000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:31.085000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.093000' WHERE "spree_products"."id" = 1060501771 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501771, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.095000' WHERE "spree_products"."id" = 1060501771  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593521 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.099000' WHERE "spree_products"."id" = 1060501771  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501771  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:31.111000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:35:31.111000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:31.121000', NULL, 905835920, '2012-10-23 15:35:31.121000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501771, "updated_at" = '2012-10-23 15:35:31.123000' WHERE "spree_product_properties"."id" = 1073274377 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501771) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501771 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501771, 558400869) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:31.143000', 'Oils', '2012-10-23 15:35:31.143000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452850 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:31.150000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452850, '2012-10-23 15:35:31.150000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501771, 558400871) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400869 AND "spree_taxons"."taxonomy_id" = 854452848 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400869 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:31.172000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558400869, 'paintings/nature', 0, 8, 854452848, '2012-10-23 15:35:31.172000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400869 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400872 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400872 THEN 558400869 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400869 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400872 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400872 AND "spree_taxons"."taxonomy_id" = 854452848 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400872 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:31.193000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558400872, 'paintings/nature/seascape', 0, 10, 854452848, '2012-10-23 15:35:31.193000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400872 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400873 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400873 THEN 558400872 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400872 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400873 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501771, 558400872)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501771, 558400873) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501771) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501771 AND "spree_option_types"."id" = 935339807 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501771) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:31.229000', 935339807, 1, 1060501771, '2012-10-23 15:35:31.229000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.272000' WHERE "spree_products"."id" = 1060501771 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501771, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.277000' WHERE "spree_products"."id" = 1060501771  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593522, 979461363) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.287000' WHERE "spree_products"."id" = 1060501771 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501771, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.290000' WHERE "spree_products"."id" = 1060501771  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593523, 979461364) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.297000' WHERE "spree_products"."id" = 1060501771 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501771, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.303000' WHERE "spree_products"."id" = 1060501771  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593524, 979461365) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501771) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501771) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593522 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593523 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593524 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501771) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.342000' WHERE "spree_products"."id" = 1060501771  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593522 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.346000' WHERE "spree_products"."id" = 1060501771 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.356000' WHERE "spree_products"."id" = 1060501771  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593523 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.363000' WHERE "spree_products"."id" = 1060501771 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501771 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.366000' WHERE "spree_products"."id" = 1060501771  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593524 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.368000' WHERE "spree_products"."id" = 1060501771 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501771) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501771 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:35:31.376000' WHERE "spree_products"."id" = 1060501771 Row org.apache.poi.hssf.usermodel.HSSFRow@47a succesfully SAVED : ID 1060501771 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:35:31.392000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:35:31.392000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.422000' WHERE "spree_products"."id" = 1060501772 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501772, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.424000' WHERE "spree_products"."id" = 1060501772  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593525 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.429000' WHERE "spree_products"."id" = 1060501772  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501772  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (2.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:31.447000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:35:31.447000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:31.453000', NULL, 905835921, '2012-10-23 15:35:31.453000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501772, "updated_at" = '2012-10-23 15:35:31.456000' WHERE "spree_product_properties"."id" = 1073274378 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:31.460000', NULL, 905835920, '2012-10-23 15:35:31.460000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501772, "updated_at" = '2012-10-23 15:35:31.481000' WHERE "spree_product_properties"."id" = 1073274379 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:31.497000', 'yet_another_property', 'Yet another property', '2012-10-23 15:35:31.497000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:31.503000', NULL, 905835922, '2012-10-23 15:35:31.503000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501772, "updated_at" = '2012-10-23 15:35:31.505000' WHERE "spree_product_properties"."id" = 1073274380 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501772) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:31.513000', 'Drawings', '2012-10-23 15:35:31.513000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452851 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:31.522000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452851, '2012-10-23 15:35:31.522000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501772 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501772, 558400874) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452848 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400869 AND "spree_taxons"."taxonomy_id" = 854452848 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400869 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:31.890000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558400869, 'paintings/landscape', 0, 14, 854452848, '2012-10-23 15:35:31.890000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400869 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400875 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400875 THEN 558400869 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400869 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400875 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501772, 558400875)  (3.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501772, 558400869) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501772) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501772) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501772 AND "spree_option_types"."id" = 935339807 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501772) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:31.922000', 935339807, 1, 1060501772, '2012-10-23 15:35:31.922000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.928000' WHERE "spree_products"."id" = 1060501772 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501772, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.931000' WHERE "spree_products"."id" = 1060501772  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593526, 979461363) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.956000' WHERE "spree_products"."id" = 1060501772 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501772, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.960000' WHERE "spree_products"."id" = 1060501772  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593527, 979461364) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339807 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.969000' WHERE "spree_products"."id" = 1060501772 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501772, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:31.972000' WHERE "spree_products"."id" = 1060501772  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593528, 979461365) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:31.982000', 'print_type', 0, 'Print type', '2012-10-23 15:35:31.982000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501772 AND "spree_option_types"."id" = 935339808 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501772) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:31.996000', 935339808, 2, 1060501772, '2012-10-23 15:35:31.996000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339808 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339808) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.003000', 'black_white', 935339808, 1, NULL, '2012-10-23 15:35:32.003000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.012000' WHERE "spree_products"."id" = 1060501772 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501772, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.015000' WHERE "spree_products"."id" = 1060501772  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593529, 979461366) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339808 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339808) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.019000', 'colour', 935339808, 2, NULL, '2012-10-23 15:35:32.019000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.027000' WHERE "spree_products"."id" = 1060501772 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501772, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.030000' WHERE "spree_products"."id" = 1060501772  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593530, 979461367) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501772) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593526 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593527 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593528 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593529 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593530 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501772) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.067000' WHERE "spree_products"."id" = 1060501772  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593526 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.070000' WHERE "spree_products"."id" = 1060501772 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.072000' WHERE "spree_products"."id" = 1060501772  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593527 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.074000' WHERE "spree_products"."id" = 1060501772 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.076000' WHERE "spree_products"."id" = 1060501772  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593528 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.078000' WHERE "spree_products"."id" = 1060501772 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.080000' WHERE "spree_products"."id" = 1060501772  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593529 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.084000' WHERE "spree_products"."id" = 1060501772 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501772 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.086000' WHERE "spree_products"."id" = 1060501772  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593530 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.090000' WHERE "spree_products"."id" = 1060501772 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501772) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501772 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:35:32.098000' WHERE "spree_products"."id" = 1060501772 Row org.apache.poi.hssf.usermodel.HSSFRow@9cf29c succesfully SAVED : ID 1060501772 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501770 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501772 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501772 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.256000', 'test_pp_001', 'Test PP 001', '2012-10-23 15:35:32.256000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:32.334000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:32.334000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.339000' WHERE "spree_products"."id" = 1060501773 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501773, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.342000' WHERE "spree_products"."id" = 1060501773  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593531 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.345000' WHERE "spree_products"."id" = 1060501773  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501773  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:32.353000', NULL, 905835923, '2012-10-23 15:35:32.353000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501773, "updated_at" = '2012-10-23 15:35:32.357000' WHERE "spree_product_properties"."id" = 1073274381 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:32.364000', 'Paintings', '2012-10-23 15:35:32.364000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:32.369000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452852, '2012-10-23 15:35:32.369000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501773 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501773, 558400876) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:32.390000', 'WaterColour', '2012-10-23 15:35:32.390000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452853 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:32.397000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452853, '2012-10-23 15:35:32.397000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501773, 558400877) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.407000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:32.407000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501773 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501773) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:32.416000', 935339809, 1, 1060501773, '2012-10-23 15:35:32.416000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339809) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.423000', 'jpeg', 935339809, 1, NULL, '2012-10-23 15:35:32.423000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.450000' WHERE "spree_products"."id" = 1060501773 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501773, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.453000' WHERE "spree_products"."id" = 1060501773  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593532, 979461368) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501773 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339809) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.468000', 'PDF', 935339809, 2, NULL, '2012-10-23 15:35:32.468000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.480000' WHERE "spree_products"."id" = 1060501773 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501773, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.483000' WHERE "spree_products"."id" = 1060501773  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593533, 979461369) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501773 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339809) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.494000', 'PNG', 935339809, 3, NULL, '2012-10-23 15:35:32.494000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.500000' WHERE "spree_products"."id" = 1060501773 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501773, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.502000' WHERE "spree_products"."id" = 1060501773  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593534, 979461370) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593532 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593533 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593534 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.561000' WHERE "spree_products"."id" = 1060501773  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593532 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.564000' WHERE "spree_products"."id" = 1060501773 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.568000' WHERE "spree_products"."id" = 1060501773  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593533 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.572000' WHERE "spree_products"."id" = 1060501773 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501773 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.575000' WHERE "spree_products"."id" = 1060501773  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593534 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.577000' WHERE "spree_products"."id" = 1060501773 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501773) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501773 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:32.581000' WHERE "spree_products"."id" = 1060501773 Row org.apache.poi.hssf.usermodel.HSSFRow@17ffccd succesfully SAVED : ID 1060501773 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:32.603000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:32.603000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.609000' WHERE "spree_products"."id" = 1060501774 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501774, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.612000' WHERE "spree_products"."id" = 1060501774  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593535 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.615000' WHERE "spree_products"."id" = 1060501774  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501774  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:32.622000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:35:32.622000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:32.627000', NULL, 905835924, '2012-10-23 15:35:32.627000', NULL)  (3.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501774, "updated_at" = '2012-10-23 15:35:32.633000' WHERE "spree_product_properties"."id" = 1073274382 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501774 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501774, 558400876) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:32.671000', 'Oils', '2012-10-23 15:35:32.671000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452854 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:32.677000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452854, '2012-10-23 15:35:32.677000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501774, 558400878) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400876 AND "spree_taxons"."taxonomy_id" = 854452852 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400876 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:32.696000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558400876, 'paintings/nature', 0, 8, 854452852, '2012-10-23 15:35:32.696000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400876 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400879 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400879 THEN 558400876 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400876 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400879 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400879 AND "spree_taxons"."taxonomy_id" = 854452852 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400879 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:32.719000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558400879, 'paintings/nature/seascape', 0, 10, 854452852, '2012-10-23 15:35:32.719000') Spree::Taxon Load (3.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400879 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400880 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400880 THEN 558400879 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400879 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400880 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501774, 558400879)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501774, 558400880) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501774 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501774) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:32.767000', 935339809, 1, 1060501774, '2012-10-23 15:35:32.767000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.779000' WHERE "spree_products"."id" = 1060501774 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501774, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.784000' WHERE "spree_products"."id" = 1060501774  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593536, 979461368) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501774 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.801000' WHERE "spree_products"."id" = 1060501774 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501774, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.806000' WHERE "spree_products"."id" = 1060501774  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593537, 979461369) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501774 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.856000' WHERE "spree_products"."id" = 1060501774 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501774, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.859000' WHERE "spree_products"."id" = 1060501774  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593538, 979461370) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593536 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593537 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593538 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.941000' WHERE "spree_products"."id" = 1060501774  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593536 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.943000' WHERE "spree_products"."id" = 1060501774 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.947000' WHERE "spree_products"."id" = 1060501774  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593537 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.955000' WHERE "spree_products"."id" = 1060501774 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501774 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.957000' WHERE "spree_products"."id" = 1060501774  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593538 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.962000' WHERE "spree_products"."id" = 1060501774 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501774) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501774 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (3.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:35:32.970000' WHERE "spree_products"."id" = 1060501774 Row org.apache.poi.hssf.usermodel.HSSFRow@19760e9 succesfully SAVED : ID 1060501774 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:35:32.986000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:35:32.986000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.990000' WHERE "spree_products"."id" = 1060501775 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501775, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.994000' WHERE "spree_products"."id" = 1060501775  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593539 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:32.998000' WHERE "spree_products"."id" = 1060501775  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501775  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:33.012000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:35:33.012000') Created New Property # SQL (3.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:33.030000', NULL, 905835925, '2012-10-23 15:35:33.030000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501775, "updated_at" = '2012-10-23 15:35:33.035000' WHERE "spree_product_properties"."id" = 1073274383 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:33.041000', NULL, 905835924, '2012-10-23 15:35:33.041000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501775, "updated_at" = '2012-10-23 15:35:33.044000' WHERE "spree_product_properties"."id" = 1073274384 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:33.048000', 'yet_another_property', 'Yet another property', '2012-10-23 15:35:33.048000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:33.051000', NULL, 905835926, '2012-10-23 15:35:33.051000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501775, "updated_at" = '2012-10-23 15:35:33.053000' WHERE "spree_product_properties"."id" = 1073274385 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:33.058000', 'Drawings', '2012-10-23 15:35:33.058000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452855 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:33.067000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452855, '2012-10-23 15:35:33.067000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501775 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501775, 558400881) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (3.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452852 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400876 AND "spree_taxons"."taxonomy_id" = 854452852 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400876 LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:33.095000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558400876, 'paintings/landscape', 0, 14, 854452852, '2012-10-23 15:35:33.095000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400876 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400882 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400882 THEN 558400876 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400876 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400882 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501775, 558400882)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501775, 558400876) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501775 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501775) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:33.166000', 935339809, 1, 1060501775, '2012-10-23 15:35:33.166000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:33.175000' WHERE "spree_products"."id" = 1060501775 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501775, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:33.181000' WHERE "spree_products"."id" = 1060501775  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593540, 979461368) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501775 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:33.629000' WHERE "spree_products"."id" = 1060501775 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501775, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:33.632000' WHERE "spree_products"."id" = 1060501775  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593541, 979461369) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (3.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501775 AND "spree_option_types"."id" = 935339809 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339809 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.168000' WHERE "spree_products"."id" = 1060501775 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501775, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.171000' WHERE "spree_products"."id" = 1060501775  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593542, 979461370) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::OptionType Load (2.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (30.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:34.198000', 'print_type', 0, 'Print type', '2012-10-23 15:35:34.198000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501775 AND "spree_option_types"."id" = 935339810 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501775) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:34.240000', 935339810, 2, 1060501775, '2012-10-23 15:35:34.240000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339810 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339810) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:34.746000', 'black_white', 935339810, 1, NULL, '2012-10-23 15:35:34.746000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.781000' WHERE "spree_products"."id" = 1060501775 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501775, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.784000' WHERE "spree_products"."id" = 1060501775  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593543, 979461371) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501775 AND "spree_option_types"."id" = 935339810 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339810 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339810) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:34.796000', 'colour', 935339810, 2, NULL, '2012-10-23 15:35:34.796000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.801000' WHERE "spree_products"."id" = 1060501775 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501775, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.804000' WHERE "spree_products"."id" = 1060501775  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593544, 979461372) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593540 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593541 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593542 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593543 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593544 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.836000' WHERE "spree_products"."id" = 1060501775  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593540 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.839000' WHERE "spree_products"."id" = 1060501775 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.841000' WHERE "spree_products"."id" = 1060501775  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593541 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.843000' WHERE "spree_products"."id" = 1060501775 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.845000' WHERE "spree_products"."id" = 1060501775  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593542 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.847000' WHERE "spree_products"."id" = 1060501775 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.849000' WHERE "spree_products"."id" = 1060501775  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593543 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.851000' WHERE "spree_products"."id" = 1060501775 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501775 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.853000' WHERE "spree_products"."id" = 1060501775  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593544 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:34.854000' WHERE "spree_products"."id" = 1060501775 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501775) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501775 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:35:34.861000' WHERE "spree_products"."id" = 1060501775 Row org.apache.poi.hssf.usermodel.HSSFRow@16040a9 succesfully SAVED : ID 1060501775 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501773 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 1060501775 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 1060501775 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (164.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (11.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (5.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3042.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Booted Spree using version 1.1.3 SQL (233.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (340.0ms) DELETE FROM "spree_option_types" SQL (236.0ms) DELETE FROM "spree_option_values" SQL (137.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (138.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:40.078000', 'Paintings', '2012-10-23 15:35:40.078000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452856 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:40.226000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452856, '2012-10-23 15:35:40.226000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:40.464000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452856, '2012-10-23 15:35:40.464000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:40.887000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:40.887000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:40.892000' WHERE "spree_products"."id" = 1060501776 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501776, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:40.896000' WHERE "spree_products"."id" = 1060501776  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593545 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:40.901000' WHERE "spree_products"."id" = 1060501776  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501776  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:40.914000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:35:40.914000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:40.918000', NULL, 905835927, '2012-10-23 15:35:40.918000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501776, "updated_at" = '2012-10-23 15:35:40.923000' WHERE "spree_product_properties"."id" = 1073274386 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501776) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452856 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501776 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501776, 558400883) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:41.140000', 'WaterColour', '2012-10-23 15:35:41.140000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452857 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:41.145000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452857, '2012-10-23 15:35:41.145000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501776, 558400885) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501776) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501776) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:41.168000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:41.168000') Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501776 AND "spree_option_types"."id" = 935339811 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501776) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:41.191000', 935339811, 1, 1060501776, '2012-10-23 15:35:41.191000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339811) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:41.203000', 'jpeg', 935339811, 1, NULL, '2012-10-23 15:35:41.203000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.208000' WHERE "spree_products"."id" = 1060501776 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501776, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.210000' WHERE "spree_products"."id" = 1060501776  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593546, 979461373) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339811) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:41.216000', 'PDF', 935339811, 2, NULL, '2012-10-23 15:35:41.216000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.222000' WHERE "spree_products"."id" = 1060501776 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501776, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.226000' WHERE "spree_products"."id" = 1060501776  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593547, 979461374) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339811) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:41.232000', 'PNG', 935339811, 3, NULL, '2012-10-23 15:35:41.232000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.247000' WHERE "spree_products"."id" = 1060501776 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501776, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.249000' WHERE "spree_products"."id" = 1060501776  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593548, 979461375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 Spree::Variant Load (101.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501776) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593546 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593547 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593548 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501776) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.378000' WHERE "spree_products"."id" = 1060501776  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593546 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.380000' WHERE "spree_products"."id" = 1060501776 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.388000' WHERE "spree_products"."id" = 1060501776  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593547 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.390000' WHERE "spree_products"."id" = 1060501776 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501776 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.427000' WHERE "spree_products"."id" = 1060501776  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593548 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.471000' WHERE "spree_products"."id" = 1060501776 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501776) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:41.505000' WHERE "spree_products"."id" = 1060501776 Row org.apache.poi.hssf.usermodel.HSSFRow@f85db2 succesfully SAVED : ID 1060501776 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:41.520000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:41.520000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.524000' WHERE "spree_products"."id" = 1060501777 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501777, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.527000' WHERE "spree_products"."id" = 1060501777  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593549 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.530000' WHERE "spree_products"."id" = 1060501777  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501777  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:41.537000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:35:41.537000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:41.541000', NULL, 905835928, '2012-10-23 15:35:41.541000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501777, "updated_at" = '2012-10-23 15:35:41.544000' WHERE "spree_product_properties"."id" = 1073274387 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501777) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452856 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501777 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501777, 558400883) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:41.554000', 'Oils', '2012-10-23 15:35:41.554000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452858 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:41.560000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452858, '2012-10-23 15:35:41.560000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501777, 558400886) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452856 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400883 AND "spree_taxons"."taxonomy_id" = 854452856 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400883 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:41.683000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400883, 'paintings/nature', 0, 10, 854452856, '2012-10-23 15:35:41.683000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400883 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400887 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400887 THEN 558400883 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400883 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400887 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400887 AND "spree_taxons"."taxonomy_id" = 854452856 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400887 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:41.723000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558400887, 'paintings/nature/seascape', 0, 12, 854452856, '2012-10-23 15:35:41.723000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400887 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400888 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400888 THEN 558400887 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400887 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400888 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501777, 558400887)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501777, 558400888) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501777) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501777 AND "spree_option_types"."id" = 935339811 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501777) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:41.744000', 935339811, 1, 1060501777, '2012-10-23 15:35:41.744000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.754000' WHERE "spree_products"."id" = 1060501777 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501777, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.757000' WHERE "spree_products"."id" = 1060501777  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593550, 979461373) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.765000' WHERE "spree_products"."id" = 1060501777 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501777, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.772000' WHERE "spree_products"."id" = 1060501777  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593551, 979461374) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.780000' WHERE "spree_products"."id" = 1060501777 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501777, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.782000' WHERE "spree_products"."id" = 1060501777  (3.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593552, 979461375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501777) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501777) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593550 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593551 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593552 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501777) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.956000' WHERE "spree_products"."id" = 1060501777  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593550 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.958000' WHERE "spree_products"."id" = 1060501777 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.960000' WHERE "spree_products"."id" = 1060501777  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593551 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.962000' WHERE "spree_products"."id" = 1060501777 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501777 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.968000' WHERE "spree_products"."id" = 1060501777  (2.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593552 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.972000' WHERE "spree_products"."id" = 1060501777 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501777) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:35:41.977000' WHERE "spree_products"."id" = 1060501777 Row org.apache.poi.hssf.usermodel.HSSFRow@1c1e9a0 succesfully SAVED : ID 1060501777 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:35:41.988000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:35:41.988000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.994000' WHERE "spree_products"."id" = 1060501778 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501778, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.997000' WHERE "spree_products"."id" = 1060501778  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593553 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:41.999000' WHERE "spree_products"."id" = 1060501778  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501778  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:42.008000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:35:42.008000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:42.010000', NULL, 905835929, '2012-10-23 15:35:42.010000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501778, "updated_at" = '2012-10-23 15:35:42.012000' WHERE "spree_product_properties"."id" = 1073274388 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:42.015000', NULL, 905835928, '2012-10-23 15:35:42.015000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501778, "updated_at" = '2012-10-23 15:35:42.017000' WHERE "spree_product_properties"."id" = 1073274389 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:42.025000', 'yet_another_property', 'Yet another property', '2012-10-23 15:35:42.025000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:42.027000', NULL, 905835930, '2012-10-23 15:35:42.027000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501778, "updated_at" = '2012-10-23 15:35:42.029000' WHERE "spree_product_properties"."id" = 1073274390 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501778) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:42.033000', 'Drawings', '2012-10-23 15:35:42.033000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452859 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:42.040000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452859, '2012-10-23 15:35:42.040000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501778 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501778, 558400889) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452856 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400883 AND "spree_taxons"."taxonomy_id" = 854452856 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400883 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:42.176000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558400883, 'paintings/landscape', 0, 16, 854452856, '2012-10-23 15:35:42.176000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400883 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400890 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400890 THEN 558400883 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400883 LIMIT 1 Spree::Taxon Load (4.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400890 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501778, 558400890)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501778, 558400883) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501778) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501778) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501778 AND "spree_option_types"."id" = 935339811 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501778) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:42.213000', 935339811, 1, 1060501778, '2012-10-23 15:35:42.213000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.220000' WHERE "spree_products"."id" = 1060501778 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501778, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.225000' WHERE "spree_products"."id" = 1060501778  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593554, 979461373) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.231000' WHERE "spree_products"."id" = 1060501778 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501778, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.233000' WHERE "spree_products"."id" = 1060501778  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593555, 979461374) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339811 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.238000' WHERE "spree_products"."id" = 1060501778 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501778, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.240000' WHERE "spree_products"."id" = 1060501778  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593556, 979461375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:42.246000', 'print_type', 0, 'Print type', '2012-10-23 15:35:42.246000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501778 AND "spree_option_types"."id" = 935339812 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501778) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:42.276000', 935339812, 2, 1060501778, '2012-10-23 15:35:42.276000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339812 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339812) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:42.279000', 'black_white', 935339812, 1, NULL, '2012-10-23 15:35:42.279000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.404000' WHERE "spree_products"."id" = 1060501778 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501778, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.406000' WHERE "spree_products"."id" = 1060501778  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593557, 979461376) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339812 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339812) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:42.410000', 'colour', 935339812, 2, NULL, '2012-10-23 15:35:42.410000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.414000' WHERE "spree_products"."id" = 1060501778 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501778, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.418000' WHERE "spree_products"."id" = 1060501778  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593558, 979461377) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501778) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593554 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593555 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593556 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593557 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593558 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501778) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.460000' WHERE "spree_products"."id" = 1060501778  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593554 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.462000' WHERE "spree_products"."id" = 1060501778 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.479000' WHERE "spree_products"."id" = 1060501778  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593555 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.482000' WHERE "spree_products"."id" = 1060501778 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.484000' WHERE "spree_products"."id" = 1060501778  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593556 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.486000' WHERE "spree_products"."id" = 1060501778 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.492000' WHERE "spree_products"."id" = 1060501778  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593557 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.494000' WHERE "spree_products"."id" = 1060501778 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501778 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.496000' WHERE "spree_products"."id" = 1060501778  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593558 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:42.497000' WHERE "spree_products"."id" = 1060501778 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501778) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:35:42.508000' WHERE "spree_products"."id" = 1060501778 Row org.apache.poi.hssf.usermodel.HSSFRow@231d3 succesfully SAVED : ID 1060501778 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501777 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501778 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501776 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501776 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593546 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593547 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339811 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593548 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (113.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (282.0ms) DELETE FROM "spree_product_properties" SQL (221.0ms) DELETE FROM "spree_variants" SQL (318.0ms) DELETE FROM "spree_taxons" SQL (320.0ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:44.310000', 'Paintings', '2012-10-23 15:35:44.310000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452860 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:44.640000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452860, '2012-10-23 15:35:44.640000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:44.758000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452860, '2012-10-23 15:35:44.758000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:45.109000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:45.109000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.114000' WHERE "spree_products"."id" = 1060501779 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501779, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.117000' WHERE "spree_products"."id" = 1060501779  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593559 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.122000' WHERE "spree_products"."id" = 1060501779  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501779  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.129000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:35:45.129000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:45.131000', NULL, 905835931, '2012-10-23 15:35:45.131000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501779, "updated_at" = '2012-10-23 15:35:45.134000' WHERE "spree_product_properties"."id" = 1073274391 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452860 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501779 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501779, 558400891) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:45.148000', 'WaterColour', '2012-10-23 15:35:45.148000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452861 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.154000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452861, '2012-10-23 15:35:45.154000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501779, 558400893) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.165000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:45.165000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501779 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501779) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:45.173000', 935339813, 1, 1060501779, '2012-10-23 15:35:45.173000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339813) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.181000', 'jpeg', 935339813, 1, NULL, '2012-10-23 15:35:45.181000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.189000' WHERE "spree_products"."id" = 1060501779 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501779, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.191000' WHERE "spree_products"."id" = 1060501779  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593560, 979461378) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501779 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339813) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.202000', 'PDF', 935339813, 2, NULL, '2012-10-23 15:35:45.202000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.210000' WHERE "spree_products"."id" = 1060501779 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501779, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.212000' WHERE "spree_products"."id" = 1060501779  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593561, 979461379) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501779 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339813) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.224000', 'PNG', 935339813, 3, NULL, '2012-10-23 15:35:45.224000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.229000' WHERE "spree_products"."id" = 1060501779 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501779, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.231000' WHERE "spree_products"."id" = 1060501779  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593562, 979461380) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593560 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593561 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593562 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.257000' WHERE "spree_products"."id" = 1060501779  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593560 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.259000' WHERE "spree_products"."id" = 1060501779 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.262000' WHERE "spree_products"."id" = 1060501779  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593561 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.265000' WHERE "spree_products"."id" = 1060501779 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501779 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.267000' WHERE "spree_products"."id" = 1060501779  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593562 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.269000' WHERE "spree_products"."id" = 1060501779 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501779) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:45.274000' WHERE "spree_products"."id" = 1060501779 Row org.apache.poi.hssf.usermodel.HSSFRow@47f703 succesfully SAVED : ID 1060501779 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:45.282000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:45.282000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.286000' WHERE "spree_products"."id" = 1060501780 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501780, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.289000' WHERE "spree_products"."id" = 1060501780  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593563 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.292000' WHERE "spree_products"."id" = 1060501780  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501780  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.298000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:35:45.298000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:45.304000', NULL, 905835932, '2012-10-23 15:35:45.304000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501780, "updated_at" = '2012-10-23 15:35:45.307000' WHERE "spree_product_properties"."id" = 1073274392 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452860 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501780 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501780, 558400891) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:45.322000', 'Oils', '2012-10-23 15:35:45.322000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452862 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.326000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452862, '2012-10-23 15:35:45.326000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501780, 558400894) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452860 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400891 AND "spree_taxons"."taxonomy_id" = 854452860 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400891 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.342000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400891, 'paintings/nature', 0, 10, 854452860, '2012-10-23 15:35:45.342000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400891 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400895 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400895 THEN 558400891 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400891 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400895 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400895 AND "spree_taxons"."taxonomy_id" = 854452860 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400895 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.368000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558400895, 'paintings/nature/seascape', 0, 12, 854452860, '2012-10-23 15:35:45.368000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400895 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400896 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400896 THEN 558400895 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400895 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400896 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501780, 558400895)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501780, 558400896) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501780 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501780) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:45.387000', 935339813, 1, 1060501780, '2012-10-23 15:35:45.387000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.397000' WHERE "spree_products"."id" = 1060501780 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501780, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.400000' WHERE "spree_products"."id" = 1060501780  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593564, 979461378) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501780 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.413000' WHERE "spree_products"."id" = 1060501780 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501780, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.416000' WHERE "spree_products"."id" = 1060501780  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593565, 979461379) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501780 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.433000' WHERE "spree_products"."id" = 1060501780 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501780, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.436000' WHERE "spree_products"."id" = 1060501780  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593566, 979461380) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593564 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593565 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593566 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.463000' WHERE "spree_products"."id" = 1060501780  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593564 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.465000' WHERE "spree_products"."id" = 1060501780 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.467000' WHERE "spree_products"."id" = 1060501780  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593565 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.469000' WHERE "spree_products"."id" = 1060501780 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501780 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.471000' WHERE "spree_products"."id" = 1060501780  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593566 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.473000' WHERE "spree_products"."id" = 1060501780 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501780) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:35:45.481000' WHERE "spree_products"."id" = 1060501780 Row org.apache.poi.hssf.usermodel.HSSFRow@16fe24b succesfully SAVED : ID 1060501780 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:35:45.492000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:35:45.492000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.496000' WHERE "spree_products"."id" = 1060501781 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501781, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.498000' WHERE "spree_products"."id" = 1060501781  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593567 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.500000' WHERE "spree_products"."id" = 1060501781  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501781  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.506000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:35:45.506000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:45.514000', NULL, 905835933, '2012-10-23 15:35:45.514000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501781, "updated_at" = '2012-10-23 15:35:45.516000' WHERE "spree_product_properties"."id" = 1073274393 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:45.521000', NULL, 905835932, '2012-10-23 15:35:45.521000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501781, "updated_at" = '2012-10-23 15:35:45.524000' WHERE "spree_product_properties"."id" = 1073274394 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.528000', 'yet_another_property', 'Yet another property', '2012-10-23 15:35:45.528000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:45.530000', NULL, 905835934, '2012-10-23 15:35:45.530000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501781, "updated_at" = '2012-10-23 15:35:45.535000' WHERE "spree_product_properties"."id" = 1073274395 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:45.539000', 'Drawings', '2012-10-23 15:35:45.539000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452863 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.544000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452863, '2012-10-23 15:35:45.544000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501781 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501781, 558400897) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452860 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400891 AND "spree_taxons"."taxonomy_id" = 854452860 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400891 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.561000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558400891, 'paintings/landscape', 0, 16, 854452860, '2012-10-23 15:35:45.561000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400891 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400898 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400898 THEN 558400891 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400891 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400898 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501781, 558400898)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501781, 558400891) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501781 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501781) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:45.606000', 935339813, 1, 1060501781, '2012-10-23 15:35:45.606000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.611000' WHERE "spree_products"."id" = 1060501781 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501781, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.613000' WHERE "spree_products"."id" = 1060501781  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593568, 979461378) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501781 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.630000' WHERE "spree_products"."id" = 1060501781 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501781, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.632000' WHERE "spree_products"."id" = 1060501781  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593569, 979461379) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501781 AND "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339813 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.644000' WHERE "spree_products"."id" = 1060501781 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501781, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.652000' WHERE "spree_products"."id" = 1060501781  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593570, 979461380) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.658000', 'print_type', 0, 'Print type', '2012-10-23 15:35:45.658000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501781 AND "spree_option_types"."id" = 935339814 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501781) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:45.678000', 935339814, 2, 1060501781, '2012-10-23 15:35:45.678000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339814 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339814) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.682000', 'black_white', 935339814, 1, NULL, '2012-10-23 15:35:45.682000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.686000' WHERE "spree_products"."id" = 1060501781 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501781, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.689000' WHERE "spree_products"."id" = 1060501781  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593571, 979461381) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501781 AND "spree_option_types"."id" = 935339814 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339814 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339814) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:45.708000', 'colour', 935339814, 2, NULL, '2012-10-23 15:35:45.708000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.715000' WHERE "spree_products"."id" = 1060501781 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501781, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.716000' WHERE "spree_products"."id" = 1060501781  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593572, 979461382) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593569 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593570 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593571 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.760000' WHERE "spree_products"."id" = 1060501781  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593568 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.764000' WHERE "spree_products"."id" = 1060501781 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.769000' WHERE "spree_products"."id" = 1060501781  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593569 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.771000' WHERE "spree_products"."id" = 1060501781 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.773000' WHERE "spree_products"."id" = 1060501781  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593570 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.775000' WHERE "spree_products"."id" = 1060501781 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.777000' WHERE "spree_products"."id" = 1060501781  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593571 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.779000' WHERE "spree_products"."id" = 1060501781 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501781 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.781000' WHERE "spree_products"."id" = 1060501781  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593572 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:45.784000' WHERE "spree_products"."id" = 1060501781 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501781) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:35:45.788000' WHERE "spree_products"."id" = 1060501781 Row org.apache.poi.hssf.usermodel.HSSFRow@9dac55 succesfully SAVED : ID 1060501781 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501780 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501781 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501779 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501779 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593560 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593561 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339813 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593562 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:45.950000', 'Paintings', '2012-10-23 15:35:45.950000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452864 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.956000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452864, '2012-10-23 15:35:45.956000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:45.976000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452864, '2012-10-23 15:35:45.976000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:46.034000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:46.034000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.039000' WHERE "spree_products"."id" = 1060501782 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501782, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.043000' WHERE "spree_products"."id" = 1060501782  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593573 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.046000' WHERE "spree_products"."id" = 1060501782  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501782  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.059000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:35:46.059000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:46.061000', NULL, 905835935, '2012-10-23 15:35:46.061000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501782, "updated_at" = '2012-10-23 15:35:46.065000' WHERE "spree_product_properties"."id" = 1073274396 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452864 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501782 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501782, 558400899) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:46.090000', 'WaterColour', '2012-10-23 15:35:46.090000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452865 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:46.118000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452865, '2012-10-23 15:35:46.118000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501782, 558400901) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.191000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:46.191000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501782 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501782) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:46.200000', 935339815, 1, 1060501782, '2012-10-23 15:35:46.200000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339815) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.204000', 'jpeg', 935339815, 1, NULL, '2012-10-23 15:35:46.204000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.218000' WHERE "spree_products"."id" = 1060501782 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501782, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.219000' WHERE "spree_products"."id" = 1060501782  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593574, 979461383) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501782 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339815) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.233000', 'PDF', 935339815, 2, NULL, '2012-10-23 15:35:46.233000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.239000' WHERE "spree_products"."id" = 1060501782 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501782, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.241000' WHERE "spree_products"."id" = 1060501782  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593575, 979461384) Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501782 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339815) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.254000', 'PNG', 935339815, 3, NULL, '2012-10-23 15:35:46.254000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.261000' WHERE "spree_products"."id" = 1060501782 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501782, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.263000' WHERE "spree_products"."id" = 1060501782  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593576, 979461385) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593574 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593575 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593576 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.302000' WHERE "spree_products"."id" = 1060501782  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593574 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.303000' WHERE "spree_products"."id" = 1060501782 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.305000' WHERE "spree_products"."id" = 1060501782  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593575 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.307000' WHERE "spree_products"."id" = 1060501782 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501782 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.309000' WHERE "spree_products"."id" = 1060501782  (3.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593576 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.313000' WHERE "spree_products"."id" = 1060501782 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501782) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:46.317000' WHERE "spree_products"."id" = 1060501782 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:46.325000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:46.325000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.329000' WHERE "spree_products"."id" = 1060501783 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501783, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.334000' WHERE "spree_products"."id" = 1060501783  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593577 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.336000' WHERE "spree_products"."id" = 1060501783  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501783  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.345000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:35:46.345000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:46.349000', NULL, 905835936, '2012-10-23 15:35:46.349000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501783, "updated_at" = '2012-10-23 15:35:46.352000' WHERE "spree_product_properties"."id" = 1073274397 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452864 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501783 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501783, 558400899) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:46.371000', 'Oils', '2012-10-23 15:35:46.371000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452866 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:46.375000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452866, '2012-10-23 15:35:46.375000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501783, 558400902) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452864 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400899 AND "spree_taxons"."taxonomy_id" = 854452864 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400899 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:46.388000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400899, 'paintings/nature', 0, 10, 854452864, '2012-10-23 15:35:46.388000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400899 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400903 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400903 THEN 558400899 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400899 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400903 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400903 AND "spree_taxons"."taxonomy_id" = 854452864 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400903 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:46.399000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558400903, 'paintings/nature/seascape', 0, 12, 854452864, '2012-10-23 15:35:46.399000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400903 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400904 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400904 THEN 558400903 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400903 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400904 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501783, 558400903)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501783, 558400904) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501783 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501783) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:46.422000', 935339815, 1, 1060501783, '2012-10-23 15:35:46.422000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.426000' WHERE "spree_products"."id" = 1060501783 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501783, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.430000' WHERE "spree_products"."id" = 1060501783  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593578, 979461383) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501783 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.445000' WHERE "spree_products"."id" = 1060501783 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501783, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.447000' WHERE "spree_products"."id" = 1060501783  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593579, 979461384) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501783 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.468000' WHERE "spree_products"."id" = 1060501783 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501783, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.470000' WHERE "spree_products"."id" = 1060501783  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593580, 979461385) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593578 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593579 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593580 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.503000' WHERE "spree_products"."id" = 1060501783  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593578 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.505000' WHERE "spree_products"."id" = 1060501783 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.507000' WHERE "spree_products"."id" = 1060501783  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593579 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.512000' WHERE "spree_products"."id" = 1060501783 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501783 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.517000' WHERE "spree_products"."id" = 1060501783  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593580 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.521000' WHERE "spree_products"."id" = 1060501783 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501783) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:35:46.526000' WHERE "spree_products"."id" = 1060501783 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:35:46.534000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:35:46.534000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.537000' WHERE "spree_products"."id" = 1060501784 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501784, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.539000' WHERE "spree_products"."id" = 1060501784  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593581 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.541000' WHERE "spree_products"."id" = 1060501784  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501784  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.547000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:35:46.547000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:46.551000', NULL, 905835937, '2012-10-23 15:35:46.551000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501784, "updated_at" = '2012-10-23 15:35:46.552000' WHERE "spree_product_properties"."id" = 1073274398 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:46.556000', NULL, 905835936, '2012-10-23 15:35:46.556000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501784, "updated_at" = '2012-10-23 15:35:46.557000' WHERE "spree_product_properties"."id" = 1073274399 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.562000', 'yet_another_property', 'Yet another property', '2012-10-23 15:35:46.562000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:46.564000', NULL, 905835938, '2012-10-23 15:35:46.564000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501784, "updated_at" = '2012-10-23 15:35:46.581000' WHERE "spree_product_properties"."id" = 1073274400 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:46.586000', 'Drawings', '2012-10-23 15:35:46.586000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452867 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:46.590000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452867, '2012-10-23 15:35:46.590000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501784 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501784, 558400905) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452864 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400899 AND "spree_taxons"."taxonomy_id" = 854452864 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400899 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:46.601000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558400899, 'paintings/landscape', 0, 16, 854452864, '2012-10-23 15:35:46.601000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400899 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400906 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400906 THEN 558400899 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400899 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400906 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501784, 558400906)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501784, 558400899) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501784 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501784) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:46.647000', 935339815, 1, 1060501784, '2012-10-23 15:35:46.647000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.652000' WHERE "spree_products"."id" = 1060501784 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501784, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.654000' WHERE "spree_products"."id" = 1060501784  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593582, 979461383) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501784 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.680000' WHERE "spree_products"."id" = 1060501784 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501784, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.755000' WHERE "spree_products"."id" = 1060501784  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593583, 979461384) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501784 AND "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339815 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.803000' WHERE "spree_products"."id" = 1060501784 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501784, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.805000' WHERE "spree_products"."id" = 1060501784  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593584, 979461385) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.813000', 'print_type', 0, 'Print type', '2012-10-23 15:35:46.813000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501784 AND "spree_option_types"."id" = 935339816 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501784) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:46.822000', 935339816, 2, 1060501784, '2012-10-23 15:35:46.822000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339816 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339816) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.828000', 'black_white', 935339816, 1, NULL, '2012-10-23 15:35:46.828000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.833000' WHERE "spree_products"."id" = 1060501784 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501784, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.836000' WHERE "spree_products"."id" = 1060501784  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593585, 979461386) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501784 AND "spree_option_types"."id" = 935339816 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339816 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339816) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:46.845000', 'colour', 935339816, 2, NULL, '2012-10-23 15:35:46.845000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.864000' WHERE "spree_products"."id" = 1060501784 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501784, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.866000' WHERE "spree_products"."id" = 1060501784  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593586, 979461387) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593582 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593583 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593584 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593585 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593586 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.897000' WHERE "spree_products"."id" = 1060501784  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593582 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.899000' WHERE "spree_products"."id" = 1060501784 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.902000' WHERE "spree_products"."id" = 1060501784  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593583 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.904000' WHERE "spree_products"."id" = 1060501784 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.906000' WHERE "spree_products"."id" = 1060501784  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593584 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.908000' WHERE "spree_products"."id" = 1060501784 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.912000' WHERE "spree_products"."id" = 1060501784  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593585 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.913000' WHERE "spree_products"."id" = 1060501784 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501784 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.915000' WHERE "spree_products"."id" = 1060501784  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593586 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:46.917000' WHERE "spree_products"."id" = 1060501784 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501784) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:35:46.922000' WHERE "spree_products"."id" = 1060501784  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501783 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501784 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501782 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501782 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593574 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593575 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 935339815 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593576 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (5.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:47.041000', 'Paintings', '2012-10-23 15:35:47.041000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452868 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:47.048000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452868, '2012-10-23 15:35:47.048000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:47.058000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452868, '2012-10-23 15:35:47.058000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:47.083000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:47.083000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.088000' WHERE "spree_products"."id" = 1060501785 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501785, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.091000' WHERE "spree_products"."id" = 1060501785  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593587 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.094000' WHERE "spree_products"."id" = 1060501785  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501785  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.101000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:47.101000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501785 AND "spree_option_types"."id" = 935339817 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501785) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.108000', 935339817, 1, 1060501785, '2012-10-23 15:35:47.108000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.114000', 'print_type', 0, 'Print type', '2012-10-23 15:35:47.114000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501785 AND "spree_option_types"."id" = 935339818 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501785) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.120000', 935339818, 2, 1060501785, '2012-10-23 15:35:47.120000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339817) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.124000', 'jpeg', 935339817, 1, NULL, '2012-10-23 15:35:47.124000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339818 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339818) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.129000', 'colour', 935339818, 1, NULL, '2012-10-23 15:35:47.129000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.133000' WHERE "spree_products"."id" = 1060501785 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501785, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.135000' WHERE "spree_products"."id" = 1060501785  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593588, 979461388)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593588, 979461389) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339817) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.140000', 'PDF', 935339817, 2, NULL, '2012-10-23 15:35:47.140000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339818 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.144000' WHERE "spree_products"."id" = 1060501785 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501785, 'MV_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.145000' WHERE "spree_products"."id" = 1060501785  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593589, 979461390)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593589, 979461389) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501785) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501785 AND "spree_option_types"."id" = 935339817 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339817) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.163000', 'PNG', 935339817, 3, NULL, '2012-10-23 15:35:47.163000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.170000' WHERE "spree_products"."id" = 1060501785 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501785, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.172000' WHERE "spree_products"."id" = 1060501785  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593590, 979461391) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501785) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593588 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593589 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593590 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501785) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.199000' WHERE "spree_products"."id" = 1060501785  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593588 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.201000' WHERE "spree_products"."id" = 1060501785 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.203000' WHERE "spree_products"."id" = 1060501785  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593589 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.204000' WHERE "spree_products"."id" = 1060501785 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501785 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.207000' WHERE "spree_products"."id" = 1060501785  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593590 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.208000' WHERE "spree_products"."id" = 1060501785 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501785) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:47.214000' WHERE "spree_products"."id" = 1060501785 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:47.222000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:47.222000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501786 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.225000' WHERE "spree_products"."id" = 1060501786 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501786, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.228000' WHERE "spree_products"."id" = 1060501786  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593591 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.230000' WHERE "spree_products"."id" = 1060501786  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501786  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501786 AND "spree_option_types"."id" = 935339817 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501786) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.240000', 935339817, 1, 1060501786, '2012-10-23 15:35:47.240000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501786 AND "spree_option_types"."id" = 935339818 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501786) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.252000', 935339818, 2, 1060501786, '2012-10-23 15:35:47.252000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339818 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339818) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.255000', 'black_white', 935339818, 2, NULL, '2012-10-23 15:35:47.255000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501786 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.261000' WHERE "spree_products"."id" = 1060501786 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501786, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.263000' WHERE "spree_products"."id" = 1060501786  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593592, 979461392)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593592, 979461388) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501786 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501786) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501786 AND "spree_option_types"."id" = 935339817 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501786 AND "spree_option_types"."id" = 935339818 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339818 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501786 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.283000' WHERE "spree_products"."id" = 1060501786 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501786, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.285000' WHERE "spree_products"."id" = 1060501786  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593593, 979461392)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593593, 979461391) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501786 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501786) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593592 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593593 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501786) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501786 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.312000' WHERE "spree_products"."id" = 1060501786  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593592 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.314000' WHERE "spree_products"."id" = 1060501786 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501786 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.316000' WHERE "spree_products"."id" = 1060501786  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593593 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.318000' WHERE "spree_products"."id" = 1060501786 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501786) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501786 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 15:35:47.323000' WHERE "spree_products"."id" = 1060501786 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:35:47.337000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:35:47.337000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.341000' WHERE "spree_products"."id" = 1060501787 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501787, 'MV_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.343000' WHERE "spree_products"."id" = 1060501787  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593594 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.345000' WHERE "spree_products"."id" = 1060501787  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501787  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501787 AND "spree_option_types"."id" = 935339817 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501787) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.354000', 935339817, 1, 1060501787, '2012-10-23 15:35:47.354000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501787 AND "spree_option_types"."id" = 935339818 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501787) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.361000', 935339818, 2, 1060501787, '2012-10-23 15:35:47.361000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.373000', 'size', 0, 'Size', '2012-10-23 15:35:47.373000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501787 AND "spree_option_types"."id" = 935339819 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501787) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.379000', 935339819, 3, 1060501787, '2012-10-23 15:35:47.379000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339818 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339819 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339819) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.383000', 'large', 935339819, 1, NULL, '2012-10-23 15:35:47.383000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.388000' WHERE "spree_products"."id" = 1060501787 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501787, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.390000' WHERE "spree_products"."id" = 1060501787  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593595, 979461389)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593595, 979461393)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593595, 979461388) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 935339818 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339818) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.395000', 'sepia', 935339818, 3, NULL, '2012-10-23 15:35:47.395000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 935339819 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.403000' WHERE "spree_products"."id" = 1060501787 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501787, 'MV_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.405000' WHERE "spree_products"."id" = 1060501787  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593596, 979461394)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593596, 979461393)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593596, 979461388) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501787 AND "spree_option_types"."id" = 935339817 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.419000' WHERE "spree_products"."id" = 1060501787 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501787, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.421000' WHERE "spree_products"."id" = 1060501787  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593597, 979461391) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501787) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501787 AND "spree_option_types"."id" = 935339817 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339817 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.434000' WHERE "spree_products"."id" = 1060501787 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501787, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.436000' WHERE "spree_products"."id" = 1060501787  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593598, 979461390) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501787 AND "spree_option_types"."id" = 935339818 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339818 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.449000' WHERE "spree_products"."id" = 1060501787 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501787, 'MV_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.451000' WHERE "spree_products"."id" = 1060501787  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593599, 979461392) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501787 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501787) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501787) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501787 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501785 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501785 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1013593588 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-23 15:35:47.620000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:47.620000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.625000' WHERE "spree_products"."id" = 1060501788 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501788, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.629000' WHERE "spree_products"."id" = 1060501788  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593600 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.636000' WHERE "spree_products"."id" = 1060501788  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501788  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.646000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:35:47.646000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:47.648000', NULL, 905835939, '2012-10-23 15:35:47.648000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501788, "updated_at" = '2012-10-23 15:35:47.649000' WHERE "spree_product_properties"."id" = 1073274401 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501788) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:47.657000', 'Paintings', '2012-10-23 15:35:47.657000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452869 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:47.662000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452869, '2012-10-23 15:35:47.662000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501788 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501788, 558400909) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:47.683000', 'WaterColour', '2012-10-23 15:35:47.683000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452870 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:47.688000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452870, '2012-10-23 15:35:47.688000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501788, 558400910) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501788) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.696000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:47.696000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501788 AND "spree_option_types"."id" = 935339820 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501788) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:47.704000', 935339820, 1, 1060501788, '2012-10-23 15:35:47.704000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339820) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.708000', 'jpeg', 935339820, 1, NULL, '2012-10-23 15:35:47.708000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.714000' WHERE "spree_products"."id" = 1060501788 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501788, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.717000' WHERE "spree_products"."id" = 1060501788  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593601, 979461395) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339820) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.722000', 'PDF', 935339820, 2, NULL, '2012-10-23 15:35:47.722000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.726000' WHERE "spree_products"."id" = 1060501788 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501788, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.729000' WHERE "spree_products"."id" = 1060501788  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593602, 979461396) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339820) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:47.732000', 'PNG', 935339820, 3, NULL, '2012-10-23 15:35:47.732000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.739000' WHERE "spree_products"."id" = 1060501788 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501788, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.741000' WHERE "spree_products"."id" = 1060501788  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593603, 979461397) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501788) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593601 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593602 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593603 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501788) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.763000' WHERE "spree_products"."id" = 1060501788  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593601 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.764000' WHERE "spree_products"."id" = 1060501788 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.767000' WHERE "spree_products"."id" = 1060501788  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593602 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.768000' WHERE "spree_products"."id" = 1060501788 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.770000' WHERE "spree_products"."id" = 1060501788  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593603 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:47.772000' WHERE "spree_products"."id" = 1060501788 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:35:47.832000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593600, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1480 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501788 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.809000' WHERE "spree_products"."id" = 1060501788  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501788 Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501788) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:48.818000' WHERE "spree_products"."id" = 1060501788 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-10-23 15:35:48.837000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:48.837000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.841000' WHERE "spree_products"."id" = 1060501789 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501789, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.843000' WHERE "spree_products"."id" = 1060501789  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593604 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.849000' WHERE "spree_products"."id" = 1060501789  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501789  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:48.857000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:35:48.857000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:48.860000', NULL, 905835940, '2012-10-23 15:35:48.860000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501789, "updated_at" = '2012-10-23 15:35:48.861000' WHERE "spree_product_properties"."id" = 1073274402 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501789) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452869 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501789 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501789, 558400909) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:48.871000', 'Landscape', '2012-10-23 15:35:48.871000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452871 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:48.875000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854452871, '2012-10-23 15:35:48.875000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501789, 558400911) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:48.882000', 'Oils', '2012-10-23 15:35:48.882000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452872 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:48.888000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452872, '2012-10-23 15:35:48.888000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501789, 558400912) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501789) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501789 AND "spree_option_types"."id" = 935339820 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501789) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:48.900000', 935339820, 1, 1060501789, '2012-10-23 15:35:48.900000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.904000' WHERE "spree_products"."id" = 1060501789 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501789, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.906000' WHERE "spree_products"."id" = 1060501789  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593605, 979461395) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.912000' WHERE "spree_products"."id" = 1060501789 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501789, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.914000' WHERE "spree_products"."id" = 1060501789  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593606, 979461396) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.919000' WHERE "spree_products"."id" = 1060501789 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501789, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.921000' WHERE "spree_products"."id" = 1060501789  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593607, 979461397) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501789) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593605 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593606 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593607 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501789) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.944000' WHERE "spree_products"."id" = 1060501789  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593605 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.945000' WHERE "spree_products"."id" = 1060501789 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.947000' WHERE "spree_products"."id" = 1060501789  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593606 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.949000' WHERE "spree_products"."id" = 1060501789 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.951000' WHERE "spree_products"."id" = 1060501789  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593607 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:48.952000' WHERE "spree_products"."id" = 1060501789 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-23 15:35:49.006000', 2424, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593604, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1481 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501789 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.237000' WHERE "spree_products"."id" = 1060501789  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501789 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501789) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:35:56.245000' WHERE "spree_products"."id" = 1060501789 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-10-23 15:35:56.254000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:35:56.254000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.257000' WHERE "spree_products"."id" = 1060501790 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501790, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.259000' WHERE "spree_products"."id" = 1060501790  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593608 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.261000' WHERE "spree_products"."id" = 1060501790  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501790  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:56.267000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:35:56.267000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:56.270000', NULL, 905835941, '2012-10-23 15:35:56.270000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501790, "updated_at" = '2012-10-23 15:35:56.272000' WHERE "spree_product_properties"."id" = 1073274403 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:56.275000', NULL, 905835940, '2012-10-23 15:35:56.275000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501790, "updated_at" = '2012-10-23 15:35:56.276000' WHERE "spree_product_properties"."id" = 1073274404 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:56.281000', 'yet_another_property', 'Yet another property', '2012-10-23 15:35:56.281000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:56.283000', NULL, 905835942, '2012-10-23 15:35:56.283000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501790, "updated_at" = '2012-10-23 15:35:56.285000' WHERE "spree_product_properties"."id" = 1073274405 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501790) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:56.290000', 'Drawings', '2012-10-23 15:35:56.290000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452873 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:56.294000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 854452873, '2012-10-23 15:35:56.294000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501790 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501790, 558400913) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501790) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501790 AND "spree_option_types"."id" = 935339820 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501790) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:56.307000', 935339820, 1, 1060501790, '2012-10-23 15:35:56.307000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.314000' WHERE "spree_products"."id" = 1060501790 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501790, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.318000' WHERE "spree_products"."id" = 1060501790  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593609, 979461395) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.323000' WHERE "spree_products"."id" = 1060501790 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501790, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.325000' WHERE "spree_products"."id" = 1060501790  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593610, 979461396) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339820 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.329000' WHERE "spree_products"."id" = 1060501790 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501790, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.331000' WHERE "spree_products"."id" = 1060501790  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593611, 979461397) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:56.337000', 'print_type', 0, 'Print type', '2012-10-23 15:35:56.337000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501790 AND "spree_option_types"."id" = 935339821 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501790) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:56.343000', 935339821, 2, 1060501790, '2012-10-23 15:35:56.343000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339821 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339821) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:56.346000', 'black_white', 935339821, 1, NULL, '2012-10-23 15:35:56.346000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.352000' WHERE "spree_products"."id" = 1060501790 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501790, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.354000' WHERE "spree_products"."id" = 1060501790  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593612, 979461398) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339821 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339821) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:56.357000', 'colour', 935339821, 2, NULL, '2012-10-23 15:35:56.357000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.361000' WHERE "spree_products"."id" = 1060501790 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501790, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.364000' WHERE "spree_products"."id" = 1060501790  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593613, 979461399) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501790) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593609 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593610 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593611 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593612 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593613 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501790) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.388000' WHERE "spree_products"."id" = 1060501790  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593609 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.390000' WHERE "spree_products"."id" = 1060501790 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.392000' WHERE "spree_products"."id" = 1060501790  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593610 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.409000' WHERE "spree_products"."id" = 1060501790 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.411000' WHERE "spree_products"."id" = 1060501790  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593611 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.413000' WHERE "spree_products"."id" = 1060501790 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.415000' WHERE "spree_products"."id" = 1060501790  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593612 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.416000' WHERE "spree_products"."id" = 1060501790 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.418000' WHERE "spree_products"."id" = 1060501790  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593613 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:56.420000' WHERE "spree_products"."id" = 1060501790 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-23 15:35:56.426000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593608, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1482 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501790 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.151000' WHERE "spree_products"."id" = 1060501790  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501790 Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501790) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:35:57.161000' WHERE "spree_products"."id" = 1060501790  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593600) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501788)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1013593600 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501788 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593600) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501788)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501789 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593604) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501789)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501790 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593608) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501790)) SQL (2.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:35:57.315000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:35:57.315000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.319000' WHERE "spree_products"."id" = 1060501791 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.322000' WHERE "spree_products"."id" = 1060501791  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593614 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.324000' WHERE "spree_products"."id" = 1060501791  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501791  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:57.334000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:35:57.334000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:57.341000', NULL, 905835943, '2012-10-23 15:35:57.341000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501791, "updated_at" = '2012-10-23 15:35:57.343000' WHERE "spree_product_properties"."id" = 1073274406 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:57.347000', 'Paintings', '2012-10-23 15:35:57.347000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:57.351000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452874, '2012-10-23 15:35:57.351000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501791 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501791, 558400914) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:57.356000', 'WaterColour', '2012-10-23 15:35:57.356000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452875 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:57.370000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452875, '2012-10-23 15:35:57.370000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501791, 558400915) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:57.377000', 'mime_type', 0, 'Mime type', '2012-10-23 15:35:57.377000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501791 AND "spree_option_types"."id" = 935339822 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501791) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:57.384000', 935339822, 1, 1060501791, '2012-10-23 15:35:57.384000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339822) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:57.388000', 'jpeg', 935339822, 1, NULL, '2012-10-23 15:35:57.388000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.392000' WHERE "spree_products"."id" = 1060501791 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.394000' WHERE "spree_products"."id" = 1060501791  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593615, 979461400) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339822) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:57.397000', 'PDF', 935339822, 2, NULL, '2012-10-23 15:35:57.397000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.401000' WHERE "spree_products"."id" = 1060501791 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.404000' WHERE "spree_products"."id" = 1060501791  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593616, 979461401) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339822) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:35:57.409000', 'PNG', 935339822, 3, NULL, '2012-10-23 15:35:57.409000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.412000' WHERE "spree_products"."id" = 1060501791 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.414000' WHERE "spree_products"."id" = 1060501791  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593617, 979461402) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593615 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593616 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593617 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.432000' WHERE "spree_products"."id" = 1060501791  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593615 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.434000' WHERE "spree_products"."id" = 1060501791 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.436000' WHERE "spree_products"."id" = 1060501791  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593616 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.438000' WHERE "spree_products"."id" = 1060501791 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.442000' WHERE "spree_products"."id" = 1060501791  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593617 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:57.443000' WHERE "spree_products"."id" = 1060501791 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:35:57.448000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593614, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1483 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.179000' WHERE "spree_products"."id" = 1060501791  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501791 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:35:58.187000' WHERE "spree_products"."id" = 1060501791 Row org.apache.poi.hssf.usermodel.HSSFRow@bbf022 succesfully SAVED : ID 1060501791 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:35:58.197000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:35:58.197000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.200000' WHERE "spree_products"."id" = 1060501792 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.203000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593618 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.205000' WHERE "spree_products"."id" = 1060501792  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501792  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:35:58.212000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:35:58.212000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:35:58.214000', NULL, 905835944, '2012-10-23 15:35:58.214000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501792, "updated_at" = '2012-10-23 15:35:58.216000' WHERE "spree_product_properties"."id" = 1073274407 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501792 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501792, 558400914) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:58.227000', 'Landscape', '2012-10-23 15:35:58.227000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452876 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:58.231000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854452876, '2012-10-23 15:35:58.231000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501792, 558400916) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:35:58.237000', 'Oils', '2012-10-23 15:35:58.237000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452877 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:35:58.241000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452877, '2012-10-23 15:35:58.241000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501792, 558400917) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501792 AND "spree_option_types"."id" = 935339822 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501792) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:35:58.251000', 935339822, 1, 1060501792, '2012-10-23 15:35:58.251000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.255000' WHERE "spree_products"."id" = 1060501792 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.258000' WHERE "spree_products"."id" = 1060501792  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593619, 979461400) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.262000' WHERE "spree_products"."id" = 1060501792 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.264000' WHERE "spree_products"."id" = 1060501792  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593620, 979461401) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.276000' WHERE "spree_products"."id" = 1060501792 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.280000' WHERE "spree_products"."id" = 1060501792  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593621, 979461402) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593619 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593620 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593621 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.304000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593619 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.306000' WHERE "spree_products"."id" = 1060501792 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.308000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593620 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.310000' WHERE "spree_products"."id" = 1060501792 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.316000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593621 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:35:58.317000' WHERE "spree_products"."id" = 1060501792 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-23 15:35:58.353000', 2424, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593618, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1484 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.656000' WHERE "spree_products"."id" = 1060501792  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501792 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:36:05.664000' WHERE "spree_products"."id" = 1060501792 Row org.apache.poi.hssf.usermodel.HSSFRow@dd8be0 succesfully SAVED : ID 1060501792 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:36:05.673000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:36:05.673000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.676000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.678000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593622 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.680000' WHERE "spree_products"."id" = 1060501793  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501793  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:05.686000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:36:05.686000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:05.688000', NULL, 905835945, '2012-10-23 15:36:05.688000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501793, "updated_at" = '2012-10-23 15:36:05.691000' WHERE "spree_product_properties"."id" = 1073274408 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:05.694000', NULL, 905835944, '2012-10-23 15:36:05.694000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501793, "updated_at" = '2012-10-23 15:36:05.695000' WHERE "spree_product_properties"."id" = 1073274409 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:05.697000', 'yet_another_property', 'Yet another property', '2012-10-23 15:36:05.697000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:05.699000', NULL, 905835946, '2012-10-23 15:36:05.699000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501793, "updated_at" = '2012-10-23 15:36:05.701000' WHERE "spree_product_properties"."id" = 1073274410 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:05.706000', 'Drawings', '2012-10-23 15:36:05.706000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452878 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:05.727000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 854452878, '2012-10-23 15:36:05.727000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501793 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501793, 558400918) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501793 AND "spree_option_types"."id" = 935339822 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501793) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:05.761000', 935339822, 1, 1060501793, '2012-10-23 15:36:05.761000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.770000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.772000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593623, 979461400) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.776000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.778000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593624, 979461401) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.782000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.785000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593625, 979461402) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:05.789000', 'print_type', 0, 'Print type', '2012-10-23 15:36:05.789000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501793 AND "spree_option_types"."id" = 935339823 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501793) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:05.796000', 935339823, 2, 1060501793, '2012-10-23 15:36:05.796000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339823 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339823) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:05.799000', 'black_white', 935339823, 1, NULL, '2012-10-23 15:36:05.799000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.806000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.808000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593626, 979461403) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339823 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339823) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:05.811000', 'colour', 935339823, 2, NULL, '2012-10-23 15:36:05.811000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.815000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.817000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593627, 979461404) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593623 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593624 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593625 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593626 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593627 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.840000' WHERE "spree_products"."id" = 1060501793  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593623 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.842000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.843000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593624 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.845000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.847000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593625 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.880000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.882000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593626 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.883000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.888000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593627 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:05.890000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-23 15:36:05.894000', 240, 0, 'Spree::Image', NULL, NULL)  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593622, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1485 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:06.865000' WHERE "spree_products"."id" = 1060501793  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501793 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:36:06.875000' WHERE "spree_products"."id" = 1060501793 Row org.apache.poi.hssf.usermodel.HSSFRow@3165fe succesfully SAVED : ID 1060501793 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 SQL (56.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:36:07.020000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:36:07.020000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.026000' WHERE "spree_products"."id" = 1060501791 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.029000' WHERE "spree_products"."id" = 1060501791  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593614 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.032000' WHERE "spree_products"."id" = 1060501791  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501791  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.041000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:36:07.041000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:07.044000', NULL, 905835943, '2012-10-23 15:36:07.044000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501791, "updated_at" = '2012-10-23 15:36:07.045000' WHERE "spree_product_properties"."id" = 1073274406 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:07.049000', 'Paintings', '2012-10-23 15:36:07.049000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:07.054000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452874, '2012-10-23 15:36:07.054000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501791 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501791, 558400914) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:07.060000', 'WaterColour', '2012-10-23 15:36:07.060000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452875 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:07.064000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452875, '2012-10-23 15:36:07.064000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501791, 558400915) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.070000', 'mime_type', 0, 'Mime type', '2012-10-23 15:36:07.070000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501791 AND "spree_option_types"."id" = 935339822 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501791) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:07.078000', 935339822, 1, 1060501791, '2012-10-23 15:36:07.078000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339822) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.081000', 'jpeg', 935339822, 1, NULL, '2012-10-23 15:36:07.081000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.085000' WHERE "spree_products"."id" = 1060501791 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.087000' WHERE "spree_products"."id" = 1060501791  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593615, 979461400) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339822) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.091000', 'PDF', 935339822, 2, NULL, '2012-10-23 15:36:07.091000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.094000' WHERE "spree_products"."id" = 1060501791 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.097000' WHERE "spree_products"."id" = 1060501791  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593616, 979461401) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339822) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.102000', 'PNG', 935339822, 3, NULL, '2012-10-23 15:36:07.102000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.107000' WHERE "spree_products"."id" = 1060501791 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501791, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.109000' WHERE "spree_products"."id" = 1060501791  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593617, 979461402) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593615 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593616 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593617 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.130000' WHERE "spree_products"."id" = 1060501791  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593615 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.132000' WHERE "spree_products"."id" = 1060501791 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.134000' WHERE "spree_products"."id" = 1060501791  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593616 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.136000' WHERE "spree_products"."id" = 1060501791 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.138000' WHERE "spree_products"."id" = 1060501791  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593617 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.139000' WHERE "spree_products"."id" = 1060501791 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501791) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:36:07.143000' WHERE "spree_products"."id" = 1060501791 Row org.apache.poi.hssf.usermodel.HSSFRow@130931b succesfully SAVED : ID 1060501791 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:36:07.152000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:36:07.152000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.155000' WHERE "spree_products"."id" = 1060501792 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.157000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593618 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.164000' WHERE "spree_products"."id" = 1060501792  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501792  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (28.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.178000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:36:07.178000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:07.208000', NULL, 905835944, '2012-10-23 15:36:07.208000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501792, "updated_at" = '2012-10-23 15:36:07.210000' WHERE "spree_product_properties"."id" = 1073274407 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501792 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501792, 558400914) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:07.222000', 'Oils', '2012-10-23 15:36:07.222000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452876 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:07.225000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452876, '2012-10-23 15:36:07.225000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501792, 558400916) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400914 AND "spree_taxons"."taxonomy_id" = 854452874 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400914 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:07.238000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558400914, 'paintings/nature', 0, 8, 854452874, '2012-10-23 15:36:07.238000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400914 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400917 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400917 THEN 558400914 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400914 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400917 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400917 AND "spree_taxons"."taxonomy_id" = 854452874 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400917 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:07.251000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558400917, 'paintings/nature/seascape', 0, 10, 854452874, '2012-10-23 15:36:07.251000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400917 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400918 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400918 THEN 558400917 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400917 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400918 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501792, 558400917)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501792, 558400918) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501792 AND "spree_option_types"."id" = 935339822 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501792) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:07.269000', 935339822, 1, 1060501792, '2012-10-23 15:36:07.269000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.275000' WHERE "spree_products"."id" = 1060501792 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.277000' WHERE "spree_products"."id" = 1060501792  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593619, 979461400) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.281000' WHERE "spree_products"."id" = 1060501792 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.283000' WHERE "spree_products"."id" = 1060501792  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593620, 979461401) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.289000' WHERE "spree_products"."id" = 1060501792 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501792, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.291000' WHERE "spree_products"."id" = 1060501792  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593621, 979461402) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593619 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593620 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593621 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.320000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593619 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.322000' WHERE "spree_products"."id" = 1060501792 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.324000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593620 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.325000' WHERE "spree_products"."id" = 1060501792 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.328000' WHERE "spree_products"."id" = 1060501792  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593621 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.330000' WHERE "spree_products"."id" = 1060501792 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501792) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:36:07.333000' WHERE "spree_products"."id" = 1060501792 Row org.apache.poi.hssf.usermodel.HSSFRow@c2b43d succesfully SAVED : ID 1060501792 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:36:07.343000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:36:07.343000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.347000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.351000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593622 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.352000' WHERE "spree_products"."id" = 1060501793  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501793  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.361000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:36:07.361000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:07.363000', NULL, 905835945, '2012-10-23 15:36:07.363000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501793, "updated_at" = '2012-10-23 15:36:07.365000' WHERE "spree_product_properties"."id" = 1073274408 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:07.367000', NULL, 905835944, '2012-10-23 15:36:07.367000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501793, "updated_at" = '2012-10-23 15:36:07.370000' WHERE "spree_product_properties"."id" = 1073274409 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.374000', 'yet_another_property', 'Yet another property', '2012-10-23 15:36:07.374000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:07.375000', NULL, 905835946, '2012-10-23 15:36:07.375000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501793, "updated_at" = '2012-10-23 15:36:07.377000' WHERE "spree_product_properties"."id" = 1073274410 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:07.380000', 'Drawings', '2012-10-23 15:36:07.380000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452877 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:07.384000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452877, '2012-10-23 15:36:07.384000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501793 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501793, 558400919) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452874 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400914 AND "spree_taxons"."taxonomy_id" = 854452874 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400914 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:07.394000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558400914, 'paintings/landscape', 0, 14, 854452874, '2012-10-23 15:36:07.394000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400914 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400920 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400920 THEN 558400914 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400914 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400920 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501793, 558400920)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501793, 558400914) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501793 AND "spree_option_types"."id" = 935339822 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501793) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:07.416000', 935339822, 1, 1060501793, '2012-10-23 15:36:07.416000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.420000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.422000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593623, 979461400) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.426000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.430000' WHERE "spree_products"."id" = 1060501793  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593624, 979461401) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339822 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.434000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.436000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593625, 979461402) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.441000', 'print_type', 0, 'Print type', '2012-10-23 15:36:07.441000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501793 AND "spree_option_types"."id" = 935339823 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501793) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:07.449000', 935339823, 2, 1060501793, '2012-10-23 15:36:07.449000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339823 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339823) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.453000', 'black_white', 935339823, 1, NULL, '2012-10-23 15:36:07.453000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.459000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.461000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593626, 979461403) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339823 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339823) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:07.465000', 'colour', 935339823, 2, NULL, '2012-10-23 15:36:07.465000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.470000' WHERE "spree_products"."id" = 1060501793 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501793, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.472000' WHERE "spree_products"."id" = 1060501793  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593627, 979461404) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593623 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593624 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593625 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593626 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593627 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.494000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593623 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.496000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.497000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593624 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.498000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.522000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593625 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.524000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.526000' WHERE "spree_products"."id" = 1060501793  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593626 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.528000' WHERE "spree_products"."id" = 1060501793 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.532000' WHERE "spree_products"."id" = 1060501793  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593627 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:07.534000' WHERE "spree_products"."id" = 1060501793 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501793) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:36:07.538000' WHERE "spree_products"."id" = 1060501793 Row org.apache.poi.hssf.usermodel.HSSFRow@a6118 succesfully SAVED : ID 1060501793 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593622) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501793)) Excel Loader processing 70 rows Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:36:07.605000', 240, 0, 'Spree::Image', NULL, NULL)  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593614, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1483 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501791 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:08.239000' WHERE "spree_products"."id" = 1060501791  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501791 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:08.248000' WHERE "spree_products"."id" = 1060501791 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501791 Row org.apache.poi.hssf.usermodel.HSSFRow@1035b66 succesfully SAVED : ID 1013593614 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-23 15:36:08.284000', 2424, 0, 'Spree::Image', NULL, NULL)  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593618, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1484 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501792 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:15.042000' WHERE "spree_products"."id" = 1060501792  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501792 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:15.047000' WHERE "spree_products"."id" = 1060501792 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501792 Row org.apache.poi.hssf.usermodel.HSSFRow@b5574d succesfully SAVED : ID 1013593618 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-23 15:36:15.055000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593622, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1485 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501793 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:15.689000' WHERE "spree_products"."id" = 1060501793  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:15.696000' WHERE "spree_products"."id" = 1060501793 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 1060501793 Row org.apache.poi.hssf.usermodel.HSSFRow@1574b4d succesfully SAVED : ID 1013593622 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = '') LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501791 AND ("spree_variants".is_master = 't') LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593614) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501791)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501792 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593618) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501792)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501793 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593622) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501793)) SQL (3.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (26.0ms) DELETE FROM "spree_option_values" SQL (85.0ms) DELETE FROM "spree_properties" SQL (89.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:36:16.045000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:36:16.045000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.049000' WHERE "spree_products"."id" = 1060501794 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501794, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.052000' WHERE "spree_products"."id" = 1060501794  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593628 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.054000' WHERE "spree_products"."id" = 1060501794  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501794  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.062000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:36:16.062000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:16.063000', NULL, 905835947, '2012-10-23 15:36:16.063000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501794, "updated_at" = '2012-10-23 15:36:16.065000' WHERE "spree_product_properties"."id" = 1073274411 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:16.075000', 'Paintings', '2012-10-23 15:36:16.075000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452878 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:16.081000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452878, '2012-10-23 15:36:16.081000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501794 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501794, 558400921) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:16.088000', 'WaterColour', '2012-10-23 15:36:16.088000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452879 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:16.092000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452879, '2012-10-23 15:36:16.092000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501794, 558400922) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.098000', 'mime_type', 0, 'Mime type', '2012-10-23 15:36:16.098000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501794 AND "spree_option_types"."id" = 935339824 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501794) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:16.106000', 935339824, 1, 1060501794, '2012-10-23 15:36:16.106000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339824) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.109000', 'jpeg', 935339824, 1, NULL, '2012-10-23 15:36:16.109000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.113000' WHERE "spree_products"."id" = 1060501794 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501794, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.115000' WHERE "spree_products"."id" = 1060501794  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593629, 979461405) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339824) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.119000', 'PDF', 935339824, 2, NULL, '2012-10-23 15:36:16.119000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.123000' WHERE "spree_products"."id" = 1060501794 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501794, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.125000' WHERE "spree_products"."id" = 1060501794  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593630, 979461406) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339824) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.141000', 'PNG', 935339824, 3, NULL, '2012-10-23 15:36:16.141000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.145000' WHERE "spree_products"."id" = 1060501794 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501794, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.148000' WHERE "spree_products"."id" = 1060501794  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593631, 979461407) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593629 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593630 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593631 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.166000' WHERE "spree_products"."id" = 1060501794  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593629 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.168000' WHERE "spree_products"."id" = 1060501794 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.173000' WHERE "spree_products"."id" = 1060501794  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593630 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.178000' WHERE "spree_products"."id" = 1060501794 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501794 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.180000' WHERE "spree_products"."id" = 1060501794  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593631 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.181000' WHERE "spree_products"."id" = 1060501794 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:36:16.186000' WHERE "spree_products"."id" = 1060501794 Row org.apache.poi.hssf.usermodel.HSSFRow@60eb5f succesfully SAVED : ID 1060501794 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:36:16.207000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:36:16.207000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.213000' WHERE "spree_products"."id" = 1060501795 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501795, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.216000' WHERE "spree_products"."id" = 1060501795  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593632 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.219000' WHERE "spree_products"."id" = 1060501795  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501795  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.229000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:36:16.229000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:16.234000', NULL, 905835948, '2012-10-23 15:36:16.234000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501795, "updated_at" = '2012-10-23 15:36:16.235000' WHERE "spree_product_properties"."id" = 1073274412 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452878 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501795 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501795, 558400921) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:16.244000', 'Oils', '2012-10-23 15:36:16.244000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452880 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:16.250000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452880, '2012-10-23 15:36:16.250000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501795, 558400923) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452878 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (2.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400921 AND "spree_taxons"."taxonomy_id" = 854452878 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400921 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:16.259000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558400921, 'paintings/nature', 0, 8, 854452878, '2012-10-23 15:36:16.259000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400921 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400924 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400924 THEN 558400921 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400921 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400924 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400924 AND "spree_taxons"."taxonomy_id" = 854452878 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400924 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:16.270000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558400924, 'paintings/nature/seascape', 0, 10, 854452878, '2012-10-23 15:36:16.270000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400924 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400925 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400925 THEN 558400924 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400924 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400925 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501795, 558400924)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501795, 558400925) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501795 AND "spree_option_types"."id" = 935339824 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501795) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:16.290000', 935339824, 1, 1060501795, '2012-10-23 15:36:16.290000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.295000' WHERE "spree_products"."id" = 1060501795 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501795, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.317000' WHERE "spree_products"."id" = 1060501795  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593633, 979461405) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.323000' WHERE "spree_products"."id" = 1060501795 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501795, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.325000' WHERE "spree_products"."id" = 1060501795  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593634, 979461406) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.331000' WHERE "spree_products"."id" = 1060501795 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501795, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.333000' WHERE "spree_products"."id" = 1060501795  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593635, 979461407) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593633 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593635 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.357000' WHERE "spree_products"."id" = 1060501795  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593633 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.359000' WHERE "spree_products"."id" = 1060501795 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.363000' WHERE "spree_products"."id" = 1060501795  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593634 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.364000' WHERE "spree_products"."id" = 1060501795 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501795 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.366000' WHERE "spree_products"."id" = 1060501795  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593635 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.368000' WHERE "spree_products"."id" = 1060501795 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:36:16.373000' WHERE "spree_products"."id" = 1060501795 Row org.apache.poi.hssf.usermodel.HSSFRow@7f7d2d succesfully SAVED : ID 1060501795 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:36:16.386000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:36:16.386000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.389000' WHERE "spree_products"."id" = 1060501796 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501796, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.392000' WHERE "spree_products"."id" = 1060501796  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593636 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.396000' WHERE "spree_products"."id" = 1060501796  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501796  (2.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.404000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:36:16.404000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:16.406000', NULL, 905835949, '2012-10-23 15:36:16.406000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501796, "updated_at" = '2012-10-23 15:36:16.410000' WHERE "spree_product_properties"."id" = 1073274413 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:16.414000', NULL, 905835948, '2012-10-23 15:36:16.414000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501796, "updated_at" = '2012-10-23 15:36:16.416000' WHERE "spree_product_properties"."id" = 1073274414 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.422000', 'yet_another_property', 'Yet another property', '2012-10-23 15:36:16.422000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:16.426000', NULL, 905835950, '2012-10-23 15:36:16.426000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501796, "updated_at" = '2012-10-23 15:36:16.428000' WHERE "spree_product_properties"."id" = 1073274415 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:16.434000', 'Drawings', '2012-10-23 15:36:16.434000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452881 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:16.437000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452881, '2012-10-23 15:36:16.437000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501796 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501796, 558400926) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452878 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400921 AND "spree_taxons"."taxonomy_id" = 854452878 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400921 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:16.451000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558400921, 'paintings/landscape', 0, 14, 854452878, '2012-10-23 15:36:16.451000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400921 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400927 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400927 THEN 558400921 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400921 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400927 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501796, 558400927)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501796, 558400921) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501796 AND "spree_option_types"."id" = 935339824 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501796) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:16.467000', 935339824, 1, 1060501796, '2012-10-23 15:36:16.467000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.472000' WHERE "spree_products"."id" = 1060501796 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501796, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.477000' WHERE "spree_products"."id" = 1060501796  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593637, 979461405) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.482000' WHERE "spree_products"."id" = 1060501796 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501796, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.484000' WHERE "spree_products"."id" = 1060501796  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593638, 979461406) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339824 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.491000' WHERE "spree_products"."id" = 1060501796 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501796, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.495000' WHERE "spree_products"."id" = 1060501796  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593639, 979461407) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.500000', 'print_type', 0, 'Print type', '2012-10-23 15:36:16.500000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501796 AND "spree_option_types"."id" = 935339825 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501796) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:16.509000', 935339825, 2, 1060501796, '2012-10-23 15:36:16.509000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339825 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339825) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.514000', 'black_white', 935339825, 1, NULL, '2012-10-23 15:36:16.514000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.523000' WHERE "spree_products"."id" = 1060501796 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501796, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.527000' WHERE "spree_products"."id" = 1060501796  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593640, 979461408) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339825 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339825) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:16.532000', 'colour', 935339825, 2, NULL, '2012-10-23 15:36:16.532000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.538000' WHERE "spree_products"."id" = 1060501796 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501796, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.540000' WHERE "spree_products"."id" = 1060501796  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593641, 979461409) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593637 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593638 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593639 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593640 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593641 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.572000' WHERE "spree_products"."id" = 1060501796  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593637 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.574000' WHERE "spree_products"."id" = 1060501796 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.576000' WHERE "spree_products"."id" = 1060501796  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593638 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.579000' WHERE "spree_products"."id" = 1060501796 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.581000' WHERE "spree_products"."id" = 1060501796  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593639 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.586000' WHERE "spree_products"."id" = 1060501796 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.588000' WHERE "spree_products"."id" = 1060501796  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593640 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.590000' WHERE "spree_products"."id" = 1060501796 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501796 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.591000' WHERE "spree_products"."id" = 1060501796  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593641 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:16.594000' WHERE "spree_products"."id" = 1060501796 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:36:16.598000' WHERE "spree_products"."id" = 1060501796 Row org.apache.poi.hssf.usermodel.HSSFRow@19273aa succesfully SAVED : ID 1060501796 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593636) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501796)) Excel Loader processing 70 rows Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:36:16.667000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593628, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1486 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-23 15:36:17.616000', 2424, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593628, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1487 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501794) LIMIT 1  (3.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@937938 succesfully SAVED : ID 1060501794 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-23 15:36:23.983000', 2424, 0, 'Spree::Image', NULL, NULL)  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593632, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1488 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (4.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501795) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@871ab4 succesfully SAVED : ID 1060501795 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-23 15:36:32.664000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593636, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1489 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501796) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row org.apache.poi.hssf.usermodel.HSSFRow@1a6c130 succesfully SAVED : ID 1060501796 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = '') LIMIT 1 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501794 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593628) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501794)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501795 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593632) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501795)) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501796 AND ("spree_variants".is_master = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 1013593636) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1060501796)) SQL (5.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 69 rows Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:36:35.745000', NULL, 'blah blah', NULL, NULL, 'Demo Product 001', 'demo-product-001', NULL, NULL, '2012-10-23 15:36:35.745000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.808000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'MULTI_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.815000' WHERE "spree_products"."id" = 1060501797  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593642 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.817000' WHERE "spree_products"."id" = 1060501797  (3.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501797  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:35.828000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:36:35.828000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:35.831000', NULL, 905835951, '2012-10-23 15:36:35.831000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501797, "updated_at" = '2012-10-23 15:36:35.833000' WHERE "spree_product_properties"."id" = 1073274416 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501797) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:35.839000', 'Paintings', '2012-10-23 15:36:35.839000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:35.844000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452882, '2012-10-23 15:36:35.844000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501797 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501797, 558400928) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:35.850000', 'WaterColour', '2012-10-23 15:36:35.850000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452883 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:35.857000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452883, '2012-10-23 15:36:35.857000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501797, 558400929) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501797) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:35.869000', 'mime_type', 0, 'Mime type', '2012-10-23 15:36:35.869000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501797 AND "spree_option_types"."id" = 935339826 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501797) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:35.877000', 935339826, 1, 1060501797, '2012-10-23 15:36:35.877000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339826) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:35.880000', 'jpeg', 935339826, 1, NULL, '2012-10-23 15:36:35.880000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.884000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'MULTI_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.886000' WHERE "spree_products"."id" = 1060501797  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593643, 979461410) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339826) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:35.890000', 'PDF', 935339826, 2, NULL, '2012-10-23 15:36:35.890000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.893000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'MULTI_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.895000' WHERE "spree_products"."id" = 1060501797  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593644, 979461411) Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339826) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:35.898000', 'PNG', 935339826, 3, NULL, '2012-10-23 15:36:35.898000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.902000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'MULTI_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:35.904000' WHERE "spree_products"."id" = 1060501797  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593645, 979461412) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501797) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (179.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593643 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593644 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593645 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501797) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:36.226000' WHERE "spree_products"."id" = 1060501797  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593643 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:36.228000' WHERE "spree_products"."id" = 1060501797 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:36.230000' WHERE "spree_products"."id" = 1060501797  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593644 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:36.231000' WHERE "spree_products"."id" = 1060501797 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:36.233000' WHERE "spree_products"."id" = 1060501797  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593645 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:36.235000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:36:36.242000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593642, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1490 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:37.819000' WHERE "spree_products"."id" = 1060501797  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('alt text for multi 001', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:36:38.318000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593642, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1491 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:39.449000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-23 15:36:39.455000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593642, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1492 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.357000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 1060501797 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 1060501797) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:36:40.362000' WHERE "spree_products"."id" = 1060501797 Row org.apache.poi.hssf.usermodel.HSSFRow@ccabac succesfully SAVED : ID 1060501797 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:36:40.370000', NULL, 'less blah', NULL, NULL, 'Demo Product 002', 'demo-product-002', NULL, NULL, '2012-10-23 15:36:40.370000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.374000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'MULTI_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.375000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593646 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.408000' WHERE "spree_products"."id" = 1060501798  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501798  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:40.418000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:36:40.418000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:40.421000', NULL, 905835952, '2012-10-23 15:36:40.421000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501798, "updated_at" = '2012-10-23 15:36:40.423000' WHERE "spree_product_properties"."id" = 1073274417 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501798) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501798 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501798, 558400928) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:40.430000', 'Landscape', '2012-10-23 15:36:40.430000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452884 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:40.439000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 854452884, '2012-10-23 15:36:40.439000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501798, 558400930) Spree::Taxonomy Load (13.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:40.458000', 'Oils', '2012-10-23 15:36:40.458000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452885 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:40.464000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452885, '2012-10-23 15:36:40.464000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501798, 558400931) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501798) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501798 AND "spree_option_types"."id" = 935339826 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501798) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:40.473000', 935339826, 1, 1060501798, '2012-10-23 15:36:40.473000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.477000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'MULTI_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.479000' WHERE "spree_products"."id" = 1060501798  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593647, 979461410) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.485000' WHERE "spree_products"."id" = 1060501798 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'MULTI_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.487000' WHERE "spree_products"."id" = 1060501798  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593648, 979461411) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.491000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'MULTI_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.493000' WHERE "spree_products"."id" = 1060501798  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593649, 979461412) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501798) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593647 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593648 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593649 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501798) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.523000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593647 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.525000' WHERE "spree_products"."id" = 1060501798 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.526000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593648 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.528000' WHERE "spree_products"."id" = 1060501798 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.529000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593649 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:40.531000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('some random alt text for 002', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-23 15:36:40.580000', 2424, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593646, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1493 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('323X428 ror bag', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:36:49.752000', 240, 0, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593646, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1494 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.034000' WHERE "spree_products"."id" = 1060501798  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.044000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.054000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 1060501798 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 1060501798) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:36:51.062000' WHERE "spree_products"."id" = 1060501798 Row org.apache.poi.hssf.usermodel.HSSFRow@1f38115 succesfully SAVED : ID 1060501798 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-3' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-3%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-3' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-3%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-3' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-3%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-3' LIMIT 1 SQL (10.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (3.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:36:51.209000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:36:51.209000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.213000' WHERE "spree_products"."id" = 1060501797 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.216000' WHERE "spree_products"."id" = 1060501797  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593642 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.218000' WHERE "spree_products"."id" = 1060501797  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501797  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.228000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:36:51.228000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:51.232000', NULL, 905835951, '2012-10-23 15:36:51.232000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501797, "updated_at" = '2012-10-23 15:36:51.234000' WHERE "spree_product_properties"."id" = 1073274416 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501797) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:51.239000', 'Paintings', '2012-10-23 15:36:51.239000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:51.243000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452882, '2012-10-23 15:36:51.243000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501797 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501797, 558400928) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:51.249000', 'WaterColour', '2012-10-23 15:36:51.249000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452883 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:51.252000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 854452883, '2012-10-23 15:36:51.252000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501797, 558400929) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501797) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501797) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.262000', 'mime_type', 0, 'Mime type', '2012-10-23 15:36:51.262000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501797 AND "spree_option_types"."id" = 935339826 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501797) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:51.268000', 935339826, 1, 1060501797, '2012-10-23 15:36:51.268000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339826) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.272000', 'jpeg', 935339826, 1, NULL, '2012-10-23 15:36:51.272000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.276000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.278000' WHERE "spree_products"."id" = 1060501797  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593643, 979461410) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339826) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.281000', 'PDF', 935339826, 2, NULL, '2012-10-23 15:36:51.281000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.286000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.288000' WHERE "spree_products"."id" = 1060501797  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593644, 979461411) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339826) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.291000', 'PNG', 935339826, 3, NULL, '2012-10-23 15:36:51.291000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.294000' WHERE "spree_products"."id" = 1060501797 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501797, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.295000' WHERE "spree_products"."id" = 1060501797  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593645, 979461412) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501797) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593643 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593644 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593645 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501797) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.328000' WHERE "spree_products"."id" = 1060501797  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593643 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.330000' WHERE "spree_products"."id" = 1060501797 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.332000' WHERE "spree_products"."id" = 1060501797  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593644 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.334000' WHERE "spree_products"."id" = 1060501797 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501797 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.336000' WHERE "spree_products"."id" = 1060501797  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593645 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.337000' WHERE "spree_products"."id" = 1060501797 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501797) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501797 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:36:51.341000' WHERE "spree_products"."id" = 1060501797 Row org.apache.poi.hssf.usermodel.HSSFRow@dfadcb succesfully SAVED : ID 1060501797 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:36:51.349000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:36:51.349000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.352000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.354000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593646 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.356000' WHERE "spree_products"."id" = 1060501798  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501798  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.361000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:36:51.361000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:51.363000', NULL, 905835952, '2012-10-23 15:36:51.363000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501798, "updated_at" = '2012-10-23 15:36:51.365000' WHERE "spree_product_properties"."id" = 1073274417 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501798) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501798 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501798, 558400928) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:51.371000', 'Oils', '2012-10-23 15:36:51.371000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452884 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:51.375000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 854452884, '2012-10-23 15:36:51.375000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501798, 558400930) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400928 AND "spree_taxons"."taxonomy_id" = 854452882 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400928 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:51.390000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 558400928, 'paintings/nature', 0, 8, 854452882, '2012-10-23 15:36:51.390000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400928 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400931 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400931 THEN 558400928 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400928 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400931 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400931 AND "spree_taxons"."taxonomy_id" = 854452882 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400931 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:51.401000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 558400931, 'paintings/nature/seascape', 0, 10, 854452882, '2012-10-23 15:36:51.401000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400931 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400932 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400932 THEN 558400931 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400931 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400932 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501798, 558400931)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501798, 558400932) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501798) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501798 AND "spree_option_types"."id" = 935339826 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501798) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:51.422000', 935339826, 1, 1060501798, '2012-10-23 15:36:51.422000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.446000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.448000' WHERE "spree_products"."id" = 1060501798  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593647, 979461410) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.452000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.455000' WHERE "spree_products"."id" = 1060501798  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593648, 979461411) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.462000' WHERE "spree_products"."id" = 1060501798 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501798, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.464000' WHERE "spree_products"."id" = 1060501798  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593649, 979461412) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501798) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501798) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593647 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593648 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593649 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501798) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.484000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593647 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.487000' WHERE "spree_products"."id" = 1060501798 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.489000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593648 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.490000' WHERE "spree_products"."id" = 1060501798 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501798 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.492000' WHERE "spree_products"."id" = 1060501798  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593649 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.493000' WHERE "spree_products"."id" = 1060501798 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501798) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501798 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:36:51.499000' WHERE "spree_products"."id" = 1060501798 Row org.apache.poi.hssf.usermodel.HSSFRow@1eab93f succesfully SAVED : ID 1060501798 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:36:51.507000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:36:51.507000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.510000' WHERE "spree_products"."id" = 1060501799 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501799, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.513000' WHERE "spree_products"."id" = 1060501799  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593650 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.515000' WHERE "spree_products"."id" = 1060501799  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501799  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.523000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:36:51.523000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:51.529000', NULL, 905835953, '2012-10-23 15:36:51.529000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501799, "updated_at" = '2012-10-23 15:36:51.535000' WHERE "spree_product_properties"."id" = 1073274418 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:51.538000', NULL, 905835952, '2012-10-23 15:36:51.538000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501799, "updated_at" = '2012-10-23 15:36:51.540000' WHERE "spree_product_properties"."id" = 1073274419 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.542000', 'yet_another_property', 'Yet another property', '2012-10-23 15:36:51.542000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:36:51.545000', NULL, 905835954, '2012-10-23 15:36:51.545000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501799, "updated_at" = '2012-10-23 15:36:51.559000' WHERE "spree_product_properties"."id" = 1073274420 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501799) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:36:51.562000', 'Drawings', '2012-10-23 15:36:51.562000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452885 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:51.566000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 854452885, '2012-10-23 15:36:51.566000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501799 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501799, 558400933) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452882 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400928 AND "spree_taxons"."taxonomy_id" = 854452882 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400928 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:36:51.574000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 558400928, 'paintings/landscape', 0, 14, 854452882, '2012-10-23 15:36:51.574000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400928 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400934 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400934 THEN 558400928 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400928 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400934 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501799, 558400934)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501799, 558400928) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501799) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501799) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501799 AND "spree_option_types"."id" = 935339826 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501799) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:51.590000', 935339826, 1, 1060501799, '2012-10-23 15:36:51.590000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.594000' WHERE "spree_products"."id" = 1060501799 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501799, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.596000' WHERE "spree_products"."id" = 1060501799  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593651, 979461410) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.600000' WHERE "spree_products"."id" = 1060501799 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501799, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.602000' WHERE "spree_products"."id" = 1060501799  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593652, 979461411) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339826 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.606000' WHERE "spree_products"."id" = 1060501799 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501799, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.608000' WHERE "spree_products"."id" = 1060501799  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593653, 979461412) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.614000', 'print_type', 0, 'Print type', '2012-10-23 15:36:51.614000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501799 AND "spree_option_types"."id" = 935339827 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501799) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:36:51.628000', 935339827, 2, 1060501799, '2012-10-23 15:36:51.628000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339827 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339827) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.633000', 'black_white', 935339827, 1, NULL, '2012-10-23 15:36:51.633000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.642000' WHERE "spree_products"."id" = 1060501799 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501799, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.644000' WHERE "spree_products"."id" = 1060501799  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593654, 979461413) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339827 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339827) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:36:51.648000', 'colour', 935339827, 2, NULL, '2012-10-23 15:36:51.648000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.651000' WHERE "spree_products"."id" = 1060501799 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501799, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.653000' WHERE "spree_products"."id" = 1060501799  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593655, 979461414) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501799) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (11.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593651 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593652 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593653 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593654 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593655 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501799) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.696000' WHERE "spree_products"."id" = 1060501799  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593651 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.698000' WHERE "spree_products"."id" = 1060501799 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.700000' WHERE "spree_products"."id" = 1060501799  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593652 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.701000' WHERE "spree_products"."id" = 1060501799 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.703000' WHERE "spree_products"."id" = 1060501799  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593653 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.705000' WHERE "spree_products"."id" = 1060501799 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.707000' WHERE "spree_products"."id" = 1060501799  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593654 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.708000' WHERE "spree_products"."id" = 1060501799 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501799 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.710000' WHERE "spree_products"."id" = 1060501799  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593655 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:36:51.713000' WHERE "spree_products"."id" = 1060501799 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501799) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501799 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:36:51.717000' WHERE "spree_products"."id" = 1060501799 Row org.apache.poi.hssf.usermodel.HSSFRow@1705ef8 succesfully SAVED : ID 1060501799 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501798, count_on_hand: 0, cost_price: #, position: nil> Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-10-23 15:36:51.852000', 2424, 1, 'Spree::Image', NULL, NULL)  (1.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593646, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1490 Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501799, count_on_hand: 0, cost_price: #, position: nil> Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-10-23 15:37:00.430000', 240, 1, 'Spree::Image', NULL, NULL)  (2.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593650, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1491 Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 1060501797, count_on_hand: 0, cost_price: #, position: nil> Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (NULL, 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-10-23 15:37:01.270000', 240, 1, 'Spree::Image', NULL, NULL)  (0.0ms) UPDATE "spree_assets" SET "viewable_id" = 1013593642, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1492  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (18.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:02.258000', 'Paintings', '2012-10-23 15:37:02.258000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452886 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.264000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452886, '2012-10-23 15:37:02.264000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.272000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452886, '2012-10-23 15:37:02.272000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.278000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 854452886, '2012-10-23 15:37:02.278000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:02.378000', 'Paintings', '2012-10-23 15:37:02.378000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452887 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.382000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452887, '2012-10-23 15:37:02.382000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.390000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452887, '2012-10-23 15:37:02.390000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.397000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 854452887, '2012-10-23 15:37:02.397000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452887 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452887 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 854452887 LIMIT 1 Booted Spree using version 1.1.3 SQL (9.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (17.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:02.606000', 'Paintings', '2012-10-23 15:37:02.606000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452888 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.616000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452888, '2012-10-23 15:37:02.616000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.630000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452888, '2012-10-23 15:37:02.630000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 558400941, "updated_at" = '2012-10-23 15:37:02.642000' WHERE "spree_taxons"."id" = 558400942 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400941 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400942 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400942 THEN 558400941 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400941 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400942 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400941 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:37:02.712000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:37:02.712000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.716000' WHERE "spree_products"."id" = 1060501800 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501800, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.719000' WHERE "spree_products"."id" = 1060501800  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593656 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.723000' WHERE "spree_products"."id" = 1060501800  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501800  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:02.737000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:37:02.737000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:02.739000', NULL, 905835955, '2012-10-23 15:37:02.739000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501800, "updated_at" = '2012-10-23 15:37:02.741000' WHERE "spree_product_properties"."id" = 1073274421 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501800) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452888 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501800 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501800, 558400941) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:02.751000', 'WaterColour', '2012-10-23 15:37:02.751000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452889 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.754000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452889, '2012-10-23 15:37:02.754000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501800, 558400943) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501800) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501800) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:02.762000', 'mime_type', 0, 'Mime type', '2012-10-23 15:37:02.762000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501800 AND "spree_option_types"."id" = 935339828 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501800) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:02.772000', 935339828, 1, 1060501800, '2012-10-23 15:37:02.772000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339828) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:02.777000', 'jpeg', 935339828, 1, NULL, '2012-10-23 15:37:02.777000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.780000' WHERE "spree_products"."id" = 1060501800 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501800, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.783000' WHERE "spree_products"."id" = 1060501800  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593657, 979461415) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339828) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:02.788000', 'PDF', 935339828, 2, NULL, '2012-10-23 15:37:02.788000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.791000' WHERE "spree_products"."id" = 1060501800 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501800, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.793000' WHERE "spree_products"."id" = 1060501800  (20.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593658, 979461416) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339828) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:02.818000', 'PNG', 935339828, 3, NULL, '2012-10-23 15:37:02.818000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.822000' WHERE "spree_products"."id" = 1060501800 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501800, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.824000' WHERE "spree_products"."id" = 1060501800  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593659, 979461417) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501800) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593657 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593658 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593659 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501800) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.852000' WHERE "spree_products"."id" = 1060501800  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593657 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.856000' WHERE "spree_products"."id" = 1060501800 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.859000' WHERE "spree_products"."id" = 1060501800  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593658 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.860000' WHERE "spree_products"."id" = 1060501800 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.863000' WHERE "spree_products"."id" = 1060501800  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593659 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.865000' WHERE "spree_products"."id" = 1060501800 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501800) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501800 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:37:02.869000' WHERE "spree_products"."id" = 1060501800 Row org.apache.poi.hssf.usermodel.HSSFRow@59448a succesfully SAVED : ID 1060501800 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:37:02.881000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:37:02.881000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.884000' WHERE "spree_products"."id" = 1060501801 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501801, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.886000' WHERE "spree_products"."id" = 1060501801  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593660 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.891000' WHERE "spree_products"."id" = 1060501801  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501801  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:02.905000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:37:02.905000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:02.908000', NULL, 905835956, '2012-10-23 15:37:02.908000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501801, "updated_at" = '2012-10-23 15:37:02.910000' WHERE "spree_product_properties"."id" = 1073274422 Created New ProductProperty # Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501801) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452888 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501801 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501801, 558400941) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:02.933000', 'Oils', '2012-10-23 15:37:02.933000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452890 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.937000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452890, '2012-10-23 15:37:02.937000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501801, 558400944) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452888 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400941 AND "spree_taxons"."taxonomy_id" = 854452888 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400941 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.946000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400941, 'paintings/nature', 0, 10, 854452888, '2012-10-23 15:37:02.946000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400941 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400945 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400945 THEN 558400941 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400941 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400945 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400945 AND "spree_taxons"."taxonomy_id" = 854452888 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400945 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:02.960000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558400945, 'paintings/nature/seascape', 0, 12, 854452888, '2012-10-23 15:37:02.960000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400945 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400946 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400946 THEN 558400945 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400945 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400946 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501801, 558400945)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501801, 558400946) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501801) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501801 AND "spree_option_types"."id" = 935339828 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501801) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:02.975000', 935339828, 1, 1060501801, '2012-10-23 15:37:02.975000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.980000' WHERE "spree_products"."id" = 1060501801 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501801, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.982000' WHERE "spree_products"."id" = 1060501801  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593661, 979461415) Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.988000' WHERE "spree_products"."id" = 1060501801 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501801, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.992000' WHERE "spree_products"."id" = 1060501801  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593662, 979461416) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 SQL (3.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:02.999000' WHERE "spree_products"."id" = 1060501801 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501801, 'DEMO_002_3', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.004000' WHERE "spree_products"."id" = 1060501801  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593663, 979461417) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501801) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501801) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593661 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593662 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593663 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501801) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.027000' WHERE "spree_products"."id" = 1060501801  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593661 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.029000' WHERE "spree_products"."id" = 1060501801 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.039000' WHERE "spree_products"."id" = 1060501801  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593662 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.041000' WHERE "spree_products"."id" = 1060501801 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.045000' WHERE "spree_products"."id" = 1060501801  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593663 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.046000' WHERE "spree_products"."id" = 1060501801 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501801) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501801 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:37:03.052000' WHERE "spree_products"."id" = 1060501801 Row org.apache.poi.hssf.usermodel.HSSFRow@af1ced succesfully SAVED : ID 1060501801 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:03.064000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:37:03.064000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.068000' WHERE "spree_products"."id" = 1060501802 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501802, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.070000' WHERE "spree_products"."id" = 1060501802  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593664 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.078000' WHERE "spree_products"."id" = 1060501802  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501802  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:03.084000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:37:03.084000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:03.086000', NULL, 905835957, '2012-10-23 15:37:03.086000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501802, "updated_at" = '2012-10-23 15:37:03.088000' WHERE "spree_product_properties"."id" = 1073274423 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:03.094000', NULL, 905835956, '2012-10-23 15:37:03.094000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501802, "updated_at" = '2012-10-23 15:37:03.096000' WHERE "spree_product_properties"."id" = 1073274424 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:03.098000', 'yet_another_property', 'Yet another property', '2012-10-23 15:37:03.098000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:03.099000', NULL, 905835958, '2012-10-23 15:37:03.099000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501802, "updated_at" = '2012-10-23 15:37:03.101000' WHERE "spree_product_properties"."id" = 1073274425 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501802) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:03.106000', 'Drawings', '2012-10-23 15:37:03.106000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452891 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:03.116000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452891, '2012-10-23 15:37:03.116000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501802 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501802, 558400947) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452888 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400941 AND "spree_taxons"."taxonomy_id" = 854452888 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501802, 558400942)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501802, 558400941) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501802) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501802) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501802 AND "spree_option_types"."id" = 935339828 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501802) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:03.157000', 935339828, 1, 1060501802, '2012-10-23 15:37:03.157000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.162000' WHERE "spree_products"."id" = 1060501802 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501802, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.164000' WHERE "spree_products"."id" = 1060501802  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593665, 979461415) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.168000' WHERE "spree_products"."id" = 1060501802 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501802, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.173000' WHERE "spree_products"."id" = 1060501802  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593666, 979461416) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339828 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.177000' WHERE "spree_products"."id" = 1060501802 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501802, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.180000' WHERE "spree_products"."id" = 1060501802  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593667, 979461417) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:03.184000', 'print_type', 0, 'Print type', '2012-10-23 15:37:03.184000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501802 AND "spree_option_types"."id" = 935339829 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501802) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:03.203000', 935339829, 2, 1060501802, '2012-10-23 15:37:03.203000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339829 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339829) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:03.207000', 'black_white', 935339829, 1, NULL, '2012-10-23 15:37:03.207000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.214000' WHERE "spree_products"."id" = 1060501802 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501802, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.216000' WHERE "spree_products"."id" = 1060501802  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593668, 979461418) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339829 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339829) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:03.220000', 'colour', 935339829, 2, NULL, '2012-10-23 15:37:03.220000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.224000' WHERE "spree_products"."id" = 1060501802 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501802, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.226000' WHERE "spree_products"."id" = 1060501802  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593669, 979461419) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501802) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593665 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593666 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593667 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593668 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593669 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501802) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.248000' WHERE "spree_products"."id" = 1060501802  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593665 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.250000' WHERE "spree_products"."id" = 1060501802 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.252000' WHERE "spree_products"."id" = 1060501802  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593666 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.267000' WHERE "spree_products"."id" = 1060501802 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.269000' WHERE "spree_products"."id" = 1060501802  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593667 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.271000' WHERE "spree_products"."id" = 1060501802 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.272000' WHERE "spree_products"."id" = 1060501802  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593668 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.274000' WHERE "spree_products"."id" = 1060501802 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501802 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.276000' WHERE "spree_products"."id" = 1060501802  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593669 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:03.277000' WHERE "spree_products"."id" = 1060501802 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501802) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501802 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:37:03.281000' WHERE "spree_products"."id" = 1060501802 Row org.apache.poi.hssf.usermodel.HSSFRow@18e8358 succesfully SAVED : ID 1060501802 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501800 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501800 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501801 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501801 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452888 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400941 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452888 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400945 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400945 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400946 ORDER BY "lft" SQL (111.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (37.0ms) DELETE FROM "spree_option_types" SQL (92.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (7.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:03.951000', 'Paintings', '2012-10-23 15:37:03.951000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:03.956000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452892, '2012-10-23 15:37:03.956000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:03.983000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452892, '2012-10-23 15:37:03.983000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 558400948, "updated_at" = '2012-10-23 15:37:04.009000' WHERE "spree_taxons"."id" = 558400949 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400948 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400949 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400949 THEN 558400948 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400948 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400949 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400948 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:37:04.052000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:37:04.052000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.056000' WHERE "spree_products"."id" = 1060501803 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501803, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.058000' WHERE "spree_products"."id" = 1060501803  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593670 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.061000' WHERE "spree_products"."id" = 1060501803  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501803  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.066000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:37:04.066000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:04.069000', NULL, 905835959, '2012-10-23 15:37:04.069000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501803, "updated_at" = '2012-10-23 15:37:04.071000' WHERE "spree_product_properties"."id" = 1073274426 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501803 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501803, 558400948) Spree::Product Exists (17.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:04.098000', 'WaterColour', '2012-10-23 15:37:04.098000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452893 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:04.103000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452893, '2012-10-23 15:37:04.103000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501803, 558400950) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.110000', 'mime_type', 0, 'Mime type', '2012-10-23 15:37:04.110000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501803 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501803) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:04.117000', 935339830, 1, 1060501803, '2012-10-23 15:37:04.117000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339830) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.127000', 'jpeg', 935339830, 1, NULL, '2012-10-23 15:37:04.127000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.131000' WHERE "spree_products"."id" = 1060501803 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501803, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.133000' WHERE "spree_products"."id" = 1060501803  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593671, 979461420) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501803 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339830) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.142000', 'PDF', 935339830, 2, NULL, '2012-10-23 15:37:04.142000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.147000' WHERE "spree_products"."id" = 1060501803 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501803, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.149000' WHERE "spree_products"."id" = 1060501803  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593672, 979461421) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501803 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339830) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.158000', 'PNG', 935339830, 3, NULL, '2012-10-23 15:37:04.158000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.163000' WHERE "spree_products"."id" = 1060501803 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501803, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.166000' WHERE "spree_products"."id" = 1060501803  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593673, 979461422) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593671 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593672 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593673 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.262000' WHERE "spree_products"."id" = 1060501803  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593671 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.264000' WHERE "spree_products"."id" = 1060501803 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.265000' WHERE "spree_products"."id" = 1060501803  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593672 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.267000' WHERE "spree_products"."id" = 1060501803 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.269000' WHERE "spree_products"."id" = 1060501803  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593673 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.271000' WHERE "spree_products"."id" = 1060501803 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501803) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501803 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:37:04.275000' WHERE "spree_products"."id" = 1060501803 Row org.apache.poi.hssf.usermodel.HSSFRow@c58a51 succesfully SAVED : ID 1060501803 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:37:04.283000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:37:04.283000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.288000' WHERE "spree_products"."id" = 1060501804 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501804, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.290000' WHERE "spree_products"."id" = 1060501804  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593674 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.293000' WHERE "spree_products"."id" = 1060501804  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501804  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.300000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:37:04.300000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:04.302000', NULL, 905835960, '2012-10-23 15:37:04.302000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501804, "updated_at" = '2012-10-23 15:37:04.303000' WHERE "spree_product_properties"."id" = 1073274427 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501804 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501804, 558400948) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:04.323000', 'Oils', '2012-10-23 15:37:04.323000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452894 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:04.326000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452894, '2012-10-23 15:37:04.326000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501804, 558400951) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400948 AND "spree_taxons"."taxonomy_id" = 854452892 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400948 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:04.340000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400948, 'paintings/nature', 0, 10, 854452892, '2012-10-23 15:37:04.340000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400948 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400952 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400952 THEN 558400948 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400948 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400952 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400952 AND "spree_taxons"."taxonomy_id" = 854452892 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400952 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:04.350000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558400952, 'paintings/nature/seascape', 0, 12, 854452892, '2012-10-23 15:37:04.350000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400952 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400953 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400953 THEN 558400952 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400952 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400953 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501804, 558400952)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501804, 558400953) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501804 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501804) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:04.409000', 935339830, 1, 1060501804, '2012-10-23 15:37:04.409000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.422000' WHERE "spree_products"."id" = 1060501804 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501804, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.424000' WHERE "spree_products"."id" = 1060501804  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593675, 979461420) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501804 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.438000' WHERE "spree_products"."id" = 1060501804 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501804, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.440000' WHERE "spree_products"."id" = 1060501804  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593676, 979461421) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501804 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.452000' WHERE "spree_products"."id" = 1060501804 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501804, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.455000' WHERE "spree_products"."id" = 1060501804  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593677, 979461422) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593675 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593676 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593677 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.476000' WHERE "spree_products"."id" = 1060501804  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593675 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.478000' WHERE "spree_products"."id" = 1060501804 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.480000' WHERE "spree_products"."id" = 1060501804  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593676 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.481000' WHERE "spree_products"."id" = 1060501804 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.483000' WHERE "spree_products"."id" = 1060501804  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593677 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.485000' WHERE "spree_products"."id" = 1060501804 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501804) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501804 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:37:04.489000' WHERE "spree_products"."id" = 1060501804 Row org.apache.poi.hssf.usermodel.HSSFRow@5320a5 succesfully SAVED : ID 1060501804 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:04.499000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:37:04.499000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.503000' WHERE "spree_products"."id" = 1060501805 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501805, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.569000' WHERE "spree_products"."id" = 1060501805  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593678 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.572000' WHERE "spree_products"."id" = 1060501805  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501805  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.579000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:37:04.579000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:04.581000', NULL, 905835961, '2012-10-23 15:37:04.581000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501805, "updated_at" = '2012-10-23 15:37:04.583000' WHERE "spree_product_properties"."id" = 1073274428 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:04.587000', NULL, 905835960, '2012-10-23 15:37:04.587000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501805, "updated_at" = '2012-10-23 15:37:04.592000' WHERE "spree_product_properties"."id" = 1073274429 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.619000', 'yet_another_property', 'Yet another property', '2012-10-23 15:37:04.619000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:04.628000', NULL, 905835962, '2012-10-23 15:37:04.628000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501805, "updated_at" = '2012-10-23 15:37:04.630000' WHERE "spree_product_properties"."id" = 1073274430 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:04.634000', 'Drawings', '2012-10-23 15:37:04.634000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452895 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:04.654000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452895, '2012-10-23 15:37:04.654000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501805 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501805, 558400954) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400948 AND "spree_taxons"."taxonomy_id" = 854452892 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501805, 558400949)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501805, 558400948) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501805 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501805) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:04.721000', 935339830, 1, 1060501805, '2012-10-23 15:37:04.721000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.731000' WHERE "spree_products"."id" = 1060501805 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501805, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.733000' WHERE "spree_products"."id" = 1060501805  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593679, 979461420) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501805 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.786000' WHERE "spree_products"."id" = 1060501805 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501805, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.788000' WHERE "spree_products"."id" = 1060501805  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593680, 979461421) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501805 AND "spree_option_types"."id" = 935339830 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339830 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.802000' WHERE "spree_products"."id" = 1060501805 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501805, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.804000' WHERE "spree_products"."id" = 1060501805  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593681, 979461422) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.819000', 'print_type', 0, 'Print type', '2012-10-23 15:37:04.819000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501805 AND "spree_option_types"."id" = 935339831 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501805) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:04.846000', 935339831, 2, 1060501805, '2012-10-23 15:37:04.846000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339831 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339831) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.850000', 'black_white', 935339831, 1, NULL, '2012-10-23 15:37:04.850000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.856000' WHERE "spree_products"."id" = 1060501805 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501805, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.858000' WHERE "spree_products"."id" = 1060501805  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593682, 979461423) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501805 AND "spree_option_types"."id" = 935339831 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339831 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339831) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:04.930000', 'colour', 935339831, 2, NULL, '2012-10-23 15:37:04.930000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.935000' WHERE "spree_products"."id" = 1060501805 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501805, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.937000' WHERE "spree_products"."id" = 1060501805  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593683, 979461424) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593679 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593680 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593681 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593682 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593683 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.975000' WHERE "spree_products"."id" = 1060501805  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593679 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.992000' WHERE "spree_products"."id" = 1060501805 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.994000' WHERE "spree_products"."id" = 1060501805  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593680 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.996000' WHERE "spree_products"."id" = 1060501805 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.998000' WHERE "spree_products"."id" = 1060501805  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593681 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:04.999000' WHERE "spree_products"."id" = 1060501805 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:05.001000' WHERE "spree_products"."id" = 1060501805  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593682 SQL (37.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:05.003000' WHERE "spree_products"."id" = 1060501805 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501805 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:05.045000' WHERE "spree_products"."id" = 1060501805  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593683 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:05.047000' WHERE "spree_products"."id" = 1060501805 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501805) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501805 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:37:05.052000' WHERE "spree_products"."id" = 1060501805 Row org.apache.poi.hssf.usermodel.HSSFRow@1de5951 succesfully SAVED : ID 1060501805 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501803 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501803 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501804 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501804 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452892 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400948 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452892 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400952 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400952 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400953 ORDER BY "lft" SQL (111.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (201.0ms) DELETE FROM "spree_option_types" SQL (129.0ms) DELETE FROM "spree_option_values" SQL (59.0ms) DELETE FROM "spree_properties" SQL (100.0ms) DELETE FROM "spree_product_properties" SQL (98.0ms) DELETE FROM "spree_variants" SQL (116.0ms) DELETE FROM "spree_taxons" SQL (230.0ms) DELETE FROM "spree_taxonomies" SQL (29.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:06.282000', 'Paintings', '2012-10-23 15:37:06.282000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:06.291000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452896, '2012-10-23 15:37:06.291000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:06.372000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 854452896, '2012-10-23 15:37:06.372000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 558400955, "updated_at" = '2012-10-23 15:37:06.646000' WHERE "spree_taxons"."id" = 558400956 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400955 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400956 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400956 THEN 558400955 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400955 LIMIT 1 Spree::Taxon Load (138.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400956 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400955 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:37:07.071000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:37:07.071000') Spree::Product Load (4.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.155000' WHERE "spree_products"."id" = 1060501806 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501806, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.161000' WHERE "spree_products"."id" = 1060501806  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593684 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.165000' WHERE "spree_products"."id" = 1060501806  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501806  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.171000', 'test_pp_001', 'Test pp 001', '2012-10-23 15:37:07.171000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:07.173000', NULL, 905835963, '2012-10-23 15:37:07.173000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501806, "updated_at" = '2012-10-23 15:37:07.175000' WHERE "spree_product_properties"."id" = 1073274431 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501806 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501806, 558400955) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:07.200000', 'WaterColour', '2012-10-23 15:37:07.200000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452897 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:07.204000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452897, '2012-10-23 15:37:07.204000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501806, 558400957) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.216000', 'mime_type', 0, 'Mime type', '2012-10-23 15:37:07.216000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501806 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501806) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:07.312000', 935339832, 1, 1060501806, '2012-10-23 15:37:07.312000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339832) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.317000', 'jpeg', 935339832, 1, NULL, '2012-10-23 15:37:07.317000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.322000' WHERE "spree_products"."id" = 1060501806 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501806, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.324000' WHERE "spree_products"."id" = 1060501806  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593685, 979461425) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501806 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339832) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.335000', 'PDF', 935339832, 2, NULL, '2012-10-23 15:37:07.335000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (8.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.350000' WHERE "spree_products"."id" = 1060501806 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501806, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.352000' WHERE "spree_products"."id" = 1060501806  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593686, 979461426) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501806 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339832) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.403000', 'PNG', 935339832, 3, NULL, '2012-10-23 15:37:07.403000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.408000' WHERE "spree_products"."id" = 1060501806 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501806, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.410000' WHERE "spree_products"."id" = 1060501806  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593687, 979461427) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593685 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593686 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593687 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.443000' WHERE "spree_products"."id" = 1060501806  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593685 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.445000' WHERE "spree_products"."id" = 1060501806 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.447000' WHERE "spree_products"."id" = 1060501806  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1013593686 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.449000' WHERE "spree_products"."id" = 1060501806 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 SQL (12.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.451000' WHERE "spree_products"."id" = 1060501806  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593687 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.465000' WHERE "spree_products"."id" = 1060501806 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501806) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501806 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:37:07.474000' WHERE "spree_products"."id" = 1060501806 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:37:07.490000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-10-23 15:37:07.490000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.494000' WHERE "spree_products"."id" = 1060501807 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501807, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.496000' WHERE "spree_products"."id" = 1060501807  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593688 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.498000' WHERE "spree_products"."id" = 1060501807  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501807  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.510000', 'test_pp_003', 'Test pp 003', '2012-10-23 15:37:07.510000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:07.513000', NULL, 905835964, '2012-10-23 15:37:07.513000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501807, "updated_at" = '2012-10-23 15:37:07.515000' WHERE "spree_product_properties"."id" = 1073274432 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501807 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501807, 558400955) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:07.542000', 'Oils', '2012-10-23 15:37:07.542000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452898 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:07.548000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452898, '2012-10-23 15:37:07.548000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501807, 558400958) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400955 AND "spree_taxons"."taxonomy_id" = 854452896 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400955 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:07.559000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400955, 'paintings/nature', 0, 10, 854452896, '2012-10-23 15:37:07.559000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400955 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400959 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400959 THEN 558400955 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400955 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400959 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400959 AND "spree_taxons"."taxonomy_id" = 854452896 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400959 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:07.596000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 558400959, 'paintings/nature/seascape', 0, 12, 854452896, '2012-10-23 15:37:07.596000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400959 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400960 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400960 THEN 558400959 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400959 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400960 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501807, 558400959)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501807, 558400960) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501807 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501807) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:07.613000', 935339832, 1, 1060501807, '2012-10-23 15:37:07.613000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.619000' WHERE "spree_products"."id" = 1060501807 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501807, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.621000' WHERE "spree_products"."id" = 1060501807  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593689, 979461425) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501807 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (3.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.639000' WHERE "spree_products"."id" = 1060501807 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501807, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.642000' WHERE "spree_products"."id" = 1060501807  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593690, 979461426) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501807 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.654000' WHERE "spree_products"."id" = 1060501807 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501807, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.658000' WHERE "spree_products"."id" = 1060501807  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593691, 979461427) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (15.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593689 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593690 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593691 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.720000' WHERE "spree_products"."id" = 1060501807  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593689 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.721000' WHERE "spree_products"."id" = 1060501807 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.724000' WHERE "spree_products"."id" = 1060501807  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593690 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.725000' WHERE "spree_products"."id" = 1060501807 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.727000' WHERE "spree_products"."id" = 1060501807  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593691 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.730000' WHERE "spree_products"."id" = 1060501807 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 1060501807) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501807 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:37:07.734000' WHERE "spree_products"."id" = 1060501807 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:07.743000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:37:07.743000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.746000' WHERE "spree_products"."id" = 1060501808 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501808, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.749000' WHERE "spree_products"."id" = 1060501808  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593692 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.752000' WHERE "spree_products"."id" = 1060501808  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501808  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.757000', 'test_pp_002', 'Test pp 002', '2012-10-23 15:37:07.757000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:07.759000', NULL, 905835965, '2012-10-23 15:37:07.759000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501808, "updated_at" = '2012-10-23 15:37:07.760000' WHERE "spree_product_properties"."id" = 1073274433 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:07.764000', NULL, 905835964, '2012-10-23 15:37:07.764000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501808, "updated_at" = '2012-10-23 15:37:07.766000' WHERE "spree_product_properties"."id" = 1073274434 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.773000', 'yet_another_property', 'Yet another property', '2012-10-23 15:37:07.773000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-10-23 15:37:07.775000', NULL, 905835966, '2012-10-23 15:37:07.775000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1060501808, "updated_at" = '2012-10-23 15:37:07.777000' WHERE "spree_product_properties"."id" = 1073274435 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:07.780000', 'Drawings', '2012-10-23 15:37:07.780000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452899 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:07.798000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452899, '2012-10-23 15:37:07.798000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501808 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501808, 558400961) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400955 AND "spree_taxons"."taxonomy_id" = 854452896 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501808, 558400956)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501808, 558400955) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501808 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501808) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:07.841000', 935339832, 1, 1060501808, '2012-10-23 15:37:07.841000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.848000' WHERE "spree_products"."id" = 1060501808 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501808, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.850000' WHERE "spree_products"."id" = 1060501808  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593693, 979461425) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501808 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.862000' WHERE "spree_products"."id" = 1060501808 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501808, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.864000' WHERE "spree_products"."id" = 1060501808  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593694, 979461426) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501808 AND "spree_option_types"."id" = 935339832 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 935339832 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.875000' WHERE "spree_products"."id" = 1060501808 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501808, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.876000' WHERE "spree_products"."id" = 1060501808  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593695, 979461427) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.882000', 'print_type', 0, 'Print type', '2012-10-23 15:37:07.882000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501808 AND "spree_option_types"."id" = 935339833 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1060501808) ORDER BY position DESC LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-10-23 15:37:07.888000', 935339833, 2, 1060501808, '2012-10-23 15:37:07.888000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 935339833 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339833) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.892000', 'black_white', 935339833, 1, NULL, '2012-10-23 15:37:07.892000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.898000' WHERE "spree_products"."id" = 1060501808 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501808, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.900000' WHERE "spree_products"."id" = 1060501808  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593696, 979461428) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1060501808 AND "spree_option_types"."id" = 935339833 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 935339833 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 935339833) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-10-23 15:37:07.910000', 'colour', 935339833, 2, NULL, '2012-10-23 15:37:07.910000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.915000' WHERE "spree_products"."id" = 1060501808 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501808, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.917000' WHERE "spree_products"."id" = 1060501808  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013593697, 979461429) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593693 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593694 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593695 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593696 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593697 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.956000' WHERE "spree_products"."id" = 1060501808  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593693 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.958000' WHERE "spree_products"."id" = 1060501808 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.959000' WHERE "spree_products"."id" = 1060501808  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013593694 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.961000' WHERE "spree_products"."id" = 1060501808 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.963000' WHERE "spree_products"."id" = 1060501808  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593695 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.967000' WHERE "spree_products"."id" = 1060501808 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.974000' WHERE "spree_products"."id" = 1060501808  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1013593696 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.975000' WHERE "spree_products"."id" = 1060501808 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501808 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.977000' WHERE "spree_products"."id" = 1060501808  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1013593697 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:07.979000' WHERE "spree_products"."id" = 1060501808 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501808) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501808 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:37:07.983000' WHERE "spree_products"."id" = 1060501808 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501806 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501806 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501807 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501807 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452896 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400955 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452896 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400959 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400959 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400960 ORDER BY "lft" SQL (151.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:37:08.313000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:37:08.313000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501809 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.317000' WHERE "spree_products"."id" = 1060501809 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501809, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.320000' WHERE "spree_products"."id" = 1060501809  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593698 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.322000' WHERE "spree_products"."id" = 1060501809  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501809 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501809  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501809 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.328000', 'Paintings', '2012-10-23 15:37:08.328000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.332000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452900, '2012-10-23 15:37:08.332000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400962 AND "spree_taxons"."taxonomy_id" = 854452900 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400962 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.339000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 558400962, 'paintings/landscape', 0, 4, 854452900, '2012-10-23 15:37:08.339000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400962 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400963 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400963 THEN 558400962 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400962 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400963 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501809 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501809, 558400963)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501809, 558400962) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501809) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.355000', 'WaterColour', '2012-10-23 15:37:08.355000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452901 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.358000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452901, '2012-10-23 15:37:08.358000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501809, 558400964) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501809) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501809) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593698 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501809) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:37:08.371000' WHERE "spree_products"."id" = 1060501809  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593698 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.374000' WHERE "spree_products"."id" = 1060501809 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501809 Row org.apache.poi.hssf.usermodel.HSSFRow@215548 succesfully SAVED : ID 1060501809 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:37:08.394000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-23 15:37:08.394000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501810 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.396000' WHERE "spree_products"."id" = 1060501810 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501810, 'test_ct_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.401000' WHERE "spree_products"."id" = 1060501810  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593699 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.406000' WHERE "spree_products"."id" = 1060501810  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501810 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501810  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501810 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501810 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501810, 558400962) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501810) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.429000', 'Oils', '2012-10-23 15:37:08.429000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452902 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (3.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.441000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452902, '2012-10-23 15:37:08.441000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501810, 558400965) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501810) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400962 AND "spree_taxons"."taxonomy_id" = 854452900 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400962 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.454000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400962, 'paintings/nature', 0, 10, 854452900, '2012-10-23 15:37:08.454000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400962 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400966 THEN 558400962 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400962 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400966 AND "spree_taxons"."taxonomy_id" = 854452900 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.463000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 558400966, 'paintings/nature/landscape', 0, 12, 854452900, '2012-10-23 15:37:08.463000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400967 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400967 THEN 558400966 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400967 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501810, 558400966)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501810, 558400967) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501810) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593699 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501810) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:37:08.476000' WHERE "spree_products"."id" = 1060501810  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593699 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.479000' WHERE "spree_products"."id" = 1060501810 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501810 Row org.apache.poi.hssf.usermodel.HSSFRow@8f8272 succesfully SAVED : ID 1060501810 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:08.488000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:37:08.488000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501811 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.513000' WHERE "spree_products"."id" = 1060501811 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501811, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.516000' WHERE "spree_products"."id" = 1060501811  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593700 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.518000' WHERE "spree_products"."id" = 1060501811  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501811 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501811  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501811 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.524000', 'Drawings', '2012-10-23 15:37:08.524000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452903 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.529000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452903, '2012-10-23 15:37:08.529000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400968 AND "spree_taxons"."taxonomy_id" = 854452903 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400968 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.536000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558400968, 'drawings/landscape', 0, 16, 854452903, '2012-10-23 15:37:08.536000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400968 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400969 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400969 THEN 558400968 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400968 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400969 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501811 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501811, 558400969)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501811, 558400968) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501811) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.551000', 'Landscape', '2012-10-23 15:37:08.551000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452904 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.557000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 854452904, '2012-10-23 15:37:08.557000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501811, 558400970) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501811) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501811) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593700 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501811) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:37:08.565000' WHERE "spree_products"."id" = 1060501811  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593700 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.567000' WHERE "spree_products"."id" = 1060501811 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501811 Row org.apache.poi.hssf.usermodel.HSSFRow@2559bb succesfully SAVED : ID 1060501811 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:08.575000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-23 15:37:08.575000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501812 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.579000' WHERE "spree_products"."id" = 1060501812 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1060501812, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.581000' WHERE "spree_products"."id" = 1060501812  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593701 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.583000' WHERE "spree_products"."id" = 1060501812  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501812 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501812  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501812 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452903 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400968 AND "spree_taxons"."taxonomy_id" = 854452903 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501812 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501812, 558400969)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501812, 558400968) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501812) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501812) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400962 AND "spree_taxons"."taxonomy_id" = 854452900 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400966 AND "spree_taxons"."taxonomy_id" = 854452900 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.610000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 558400966, 'paintings/nature/seascape', 0, 20, 854452900, '2012-10-23 15:37:08.610000') Spree::Taxon Load (22.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400971 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400971 THEN 558400966 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400971 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400971 AND "spree_taxons"."taxonomy_id" = 854452900 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400971 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.644000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 558400971, 'paintings/nature/seascape/cliffs', 0, 22, 854452900, '2012-10-23 15:37:08.644000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400971 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400972 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400972 THEN 558400971 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400971 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400972 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501812, 558400966)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501812, 558400971)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501812, 558400972)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501812, 558400962) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501812) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593701 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501812) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:37:08.660000' WHERE "spree_products"."id" = 1060501812  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593701 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.663000' WHERE "spree_products"."id" = 1060501812 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501812 Row org.apache.poi.hssf.usermodel.HSSFRow@1be7f57 succesfully SAVED : ID 1060501812 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:08.671000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-23 15:37:08.671000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501813 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.675000' WHERE "spree_products"."id" = 1060501813 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1060501813, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.677000' WHERE "spree_products"."id" = 1060501813  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593702 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.680000' WHERE "spree_products"."id" = 1060501813  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501813 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501813  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501813 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452903 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400968 AND "spree_taxons"."taxonomy_id" = 854452903 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400969 AND "spree_taxons"."taxonomy_id" = 854452903 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400969 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.691000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 558400969, 'drawings/landscape/bristol', 0, 24, 854452903, '2012-10-23 15:37:08.691000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400969 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400973 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400973 THEN 558400969 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400969 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400973 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501813 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501813, 558400969)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501813, 558400973)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501813, 558400968) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501813) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452902 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501813, 558400965) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501813) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501813) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593702 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501813) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:37:08.709000' WHERE "spree_products"."id" = 1060501813  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593702 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.715000' WHERE "spree_products"."id" = 1060501813 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501813 Row org.apache.poi.hssf.usermodel.HSSFRow@81e3e succesfully SAVED : ID 1060501813 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452901 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452902 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452903 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452904 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452900 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452900 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400962 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400962) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400966 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400966) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400966) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400962 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400966 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400971 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400972 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400971) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452903 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452903 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400969 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400969 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400973 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400973) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452902 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452902 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400965 ORDER BY "lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452904 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452904 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400970 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (23.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-10-23 15:37:08.889000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-10-23 15:37:08.889000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501814 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.900000' WHERE "spree_products"."id" = 1060501814 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 1060501814, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.903000' WHERE "spree_products"."id" = 1060501814  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593703 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.906000' WHERE "spree_products"."id" = 1060501814  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501814 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501814  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501814 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.912000', 'Paintings', '2012-10-23 15:37:08.912000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452905 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.917000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 854452905, '2012-10-23 15:37:08.917000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400974 AND "spree_taxons"."taxonomy_id" = 854452905 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400974 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.923000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 558400974, 'paintings/landscape', 0, 4, 854452905, '2012-10-23 15:37:08.923000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400974 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400975 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400975 THEN 558400974 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400974 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400975 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501814 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501814, 558400975)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501814, 558400974) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501814) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.935000', 'WaterColour', '2012-10-23 15:37:08.935000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452906 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:08.938000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 854452906, '2012-10-23 15:37:08.938000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501814, 558400976) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501814) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593703 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1060501814) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:37:08.953000' WHERE "spree_products"."id" = 1060501814  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1013593703 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.956000' WHERE "spree_products"."id" = 1060501814 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501814 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-10-23 15:37:08.963000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-10-23 15:37:08.963000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501815 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.966000' WHERE "spree_products"."id" = 1060501815 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 1060501815, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.968000' WHERE "spree_products"."id" = 1060501815  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593704 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:08.970000' WHERE "spree_products"."id" = 1060501815  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501815 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501815  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501815 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452905 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501815 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501815, 558400974) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501815) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:08.997000', 'Oils', '2012-10-23 15:37:08.997000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452907 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.001000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 854452907, '2012-10-23 15:37:09.001000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501815, 558400977) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501815) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452905 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400974 AND "spree_taxons"."taxonomy_id" = 854452905 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400974 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.013000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 558400974, 'paintings/nature', 0, 10, 854452905, '2012-10-23 15:37:09.013000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400974 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400978 THEN 558400974 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400974 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400978 AND "spree_taxons"."taxonomy_id" = 854452905 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.024000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 558400978, 'paintings/nature/landscape', 0, 12, 854452905, '2012-10-23 15:37:09.024000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400979 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400979 THEN 558400978 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400979 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501815, 558400978)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501815, 558400979) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501815) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593704 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 1060501815) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:37:09.042000' WHERE "spree_products"."id" = 1060501815  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1013593704 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.045000' WHERE "spree_products"."id" = 1060501815 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501815 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:09.053000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-10-23 15:37:09.053000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501816 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.056000' WHERE "spree_products"."id" = 1060501816 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 1060501816, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.058000' WHERE "spree_products"."id" = 1060501816  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593705 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.062000' WHERE "spree_products"."id" = 1060501816  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501816 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501816  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501816 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:09.068000', 'Drawings', '2012-10-23 15:37:09.068000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452908 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.071000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 854452908, '2012-10-23 15:37:09.071000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400980 AND "spree_taxons"."taxonomy_id" = 854452908 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400980 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.079000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 558400980, 'drawings/landscape', 0, 16, 854452908, '2012-10-23 15:37:09.079000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400980 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400981 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400981 THEN 558400980 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400980 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400981 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501816 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501816, 558400981)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501816, 558400980) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501816) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-10-23 15:37:09.106000', 'Landscape', '2012-10-23 15:37:09.106000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452909 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.110000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 854452909, '2012-10-23 15:37:09.110000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501816, 558400982) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501816) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593705 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 1060501816) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:37:09.125000' WHERE "spree_products"."id" = 1060501816  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1013593705 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.128000' WHERE "spree_products"."id" = 1060501816 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501816 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:09.136000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-10-23 15:37:09.136000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501817 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.139000' WHERE "spree_products"."id" = 1060501817 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 1060501817, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.141000' WHERE "spree_products"."id" = 1060501817  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593706 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.143000' WHERE "spree_products"."id" = 1060501817  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501817 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501817  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501817 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452908 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400980 AND "spree_taxons"."taxonomy_id" = 854452908 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501817 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501817, 558400981)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501817, 558400980) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501817) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452905 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 558400974 AND "spree_taxons"."taxonomy_id" = 854452905 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 558400978 AND "spree_taxons"."taxonomy_id" = 854452905 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.163000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 558400978, 'paintings/nature/seascape', 0, 20, 854452905, '2012-10-23 15:37:09.163000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400983 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400983 THEN 558400978 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400983 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 558400983 AND "spree_taxons"."taxonomy_id" = 854452905 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400983 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.174000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 558400983, 'paintings/nature/seascape/cliffs', 0, 22, 854452905, '2012-10-23 15:37:09.174000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400983 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400984 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400984 THEN 558400983 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400983 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400984 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501817, 558400978)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501817, 558400983)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501817, 558400984)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501817, 558400974) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501817) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593706 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 1060501817) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:37:09.189000' WHERE "spree_products"."id" = 1060501817  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593706 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.191000' WHERE "spree_products"."id" = 1060501817 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501817 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-10-23 15:37:09.200000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-10-23 15:37:09.200000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1060501818 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.220000' WHERE "spree_products"."id" = 1060501818 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 1060501818, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.223000' WHERE "spree_products"."id" = 1060501818  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013593707 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.225000' WHERE "spree_products"."id" = 1060501818  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501818 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501818  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060501818 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452908 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 558400980 AND "spree_taxons"."taxonomy_id" = 854452908 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 558400981 AND "spree_taxons"."taxonomy_id" = 854452908 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400981 LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-10-23 15:37:09.236000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 558400981, 'drawings/landscape/bristol', 0, 24, 854452908, '2012-10-23 15:37:09.236000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400981 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400985 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 558400985 THEN 558400981 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400981 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400985 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 1060501818 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501818, 558400981)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501818, 558400985)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501818, 558400980) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501818) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452907 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1060501818, 558400977) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501818) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013593707 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 1060501818) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:37:09.278000' WHERE "spree_products"."id" = 1060501818  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1013593707 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:37:09.281000' WHERE "spree_products"."id" = 1060501818 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1060501818  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452905 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452906 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452907 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452908 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452909 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452905 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452905 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400974 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 558400974) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400978 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400978) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 558400978) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400974 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 558400978 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400983 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400984 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 558400983) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452908 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452908 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400981 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400981 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400985 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 558400985) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452907 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452907 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400977 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452909 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854452909 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558400982 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (28.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (25.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (28.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (6.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (28.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (51.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (24.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (28.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (49.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" ActiveRecord::JDBCError: [SQLITE_ERROR] SQL error or missing database (no such table: spree_products): DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (2.3ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (7.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 1], ["updated_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 1], ["updated_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 1], ["updated_at", Tue, 23 Oct 2012 15:44:35 UTC +00:00]]  (3.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (4.5ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 2 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 2], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.8ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 2], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 2], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]]  (2.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.9ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (25.9ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 3 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 3], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]]  (1.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 3], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 3], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00]]  (1.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (31.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.1ms) DELETE FROM "spree_zones" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.4ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 3 Row ["ROW", "Rest of World", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 3 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 4 Row ["UK", "United Kingdom", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 4 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 5 Row ["EUR", "Europe", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 5 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.8ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 6 Row ["NA", "North America", nil, nil, nil, nil, nil, nil, nil, nil] succesfully SAVED : ID 6 Current value to assign : Current value to assign :  (1.9ms) commit transaction  (0.5ms) SELECT COUNT(*) FROM "spree_zones"  SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (29.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (3.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction Current value to assign : ROW Current value to assign : Rest of World Saving csv row ["ROW", "Rest of World"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 7 Current value to assign : UK Current value to assign : United Kingdom Saving csv row ["UK", "United Kingdom"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 8 Current value to assign : EUR Current value to assign : Europe Saving csv row ["EUR", "Europe"] to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 9 Current value to assign : NA Current value to assign : North America Saving csv row ["NA", "North America"] to table object : # Spree::Zone Exists (0.5ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Tue, 23 Oct 2012 15:44:36 UTC +00:00], ["zone_members_count", 0]] Spree::ZoneMember Load (0.1ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 10  (1.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.9ms) DELETE FROM "spree_products" SQL (0.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (2.1ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (27.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.4ms) begin transaction  (0.1ms) commit transaction SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (28.9ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (1.9ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.155664' WHERE "spree_products"."id" = 1 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 1], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.159737' WHERE "spree_products"."id" = 1  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.163068' WHERE "spree_products"."id" = 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1 AND "spree_option_types"."id" = 1 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 1) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 1], ["position", 1], ["product_id", 1], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:44:37.316659' WHERE "spree_products"."id" = 1  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.319050' WHERE "spree_products"."id" = 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", 345.78, 320, 12, "mime_type"] succesfully SAVED : ID 1 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.328279' WHERE "spree_products"."id" = 2 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 2], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.329578' WHERE "spree_products"."id" = 2  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 2 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.331433' WHERE "spree_products"."id" = 2  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 2  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 2 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 2) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 2 AND "spree_option_types"."id" = 1 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 2) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 1], ["position", 1], ["product_id", 2], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 2) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:44:37.344659' WHERE "spree_products"."id" = 2  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 2 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.346659' WHERE "spree_products"."id" = 2 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 2 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, 5, "mime_type"] succesfully SAVED : ID 2 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.356430' WHERE "spree_products"."id" = 3 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 3], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.358040' WHERE "spree_products"."id" = 3  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.359658' WHERE "spree_products"."id" = 3  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 3  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 3) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 3 AND "spree_option_types"."id" = 1 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 3) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 1], ["position", 1], ["product_id", 3], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 3 AND "spree_option_types"."id" = 2 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 3) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 2], ["position", 2], ["product_id", 3], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 3) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:44:37.378405' WHERE "spree_products"."id" = 3  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 3 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.380059' WHERE "spree_products"."id" = 3 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 3 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", 50.34, 23.34, 23, "mime_type|print_type"] succesfully SAVED : ID 3 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (2.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:44:37.391501')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:44:37.392180')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (2.6ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (31.3ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.5ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.588763' WHERE "spree_products"."id" = 4 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 4], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.590431' WHERE "spree_products"."id" = 4  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 4 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.592669' WHERE "spree_products"."id" = 4  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 4  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 4 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 4) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 4 AND "spree_option_types"."id" = 3 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 4) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 3], ["position", 1], ["product_id", 4], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Saving csv row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", "2011-02-14", "345.78", "320.00", "12", "mime_type"] to table object : # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 4) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-23 15:44:37.610532' WHERE "spree_products"."id" = 4  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 4 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.664059' WHERE "spree_products"."id" = 4 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 4 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.675784' WHERE "spree_products"."id" = 5 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 5], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.677266' WHERE "spree_products"."id" = 5  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 5 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.678802' WHERE "spree_products"."id" = 5  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 5  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 5 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 5) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 5 AND "spree_option_types"."id" = 3 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 5) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 3], ["position", 1], ["product_id", 5], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Saving csv row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "5", "mime_type"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 5) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:44:37.696536' WHERE "spree_products"."id" = 5  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 5 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.698887' WHERE "spree_products"."id" = 5 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 5 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.708960' WHERE "spree_products"."id" = 6 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 6], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.710273' WHERE "spree_products"."id" = 6  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 6 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.713302' WHERE "spree_products"."id" = 6  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 6  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 6 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 6) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 6 AND "spree_option_types"."id" = 3 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 6) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 3], ["position", 1], ["product_id", 6], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 6 AND "spree_option_types"."id" = 4 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 6) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 4], ["position", 2], ["product_id", 6], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Saving csv row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", "2112-07-01", "50.34", "23.34", "23", "mime_type|print_type"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 6) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-23 15:44:37.732425' WHERE "spree_products"."id" = 6  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 6 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.734260' WHERE "spree_products"."id" = 6 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 6  (3.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-10-23 15:44:37.740648')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-23 15:44:37.741222')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 4 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.3ms) DELETE FROM "spree_taxons" SQL (28.1ms) DELETE FROM "spree_taxonomies" SQL (1.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:44:37 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.864810' WHERE "spree_products"."id" = 7 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 7], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.866567' WHERE "spree_products"."id" = 7  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 7 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.895345' WHERE "spree_products"."id" = 7  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 7  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 7 AND "spree_option_types"."id" = 5 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 7) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 5], ["position", 1], ["product_id", 7], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 7) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 7 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.9ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:44:37 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.918747' WHERE "spree_products"."id" = 8 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 8], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.952294' WHERE "spree_products"."id" = 8  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 8 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.954240' WHERE "spree_products"."id" = 8  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 8  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 8 AND "spree_option_types"."id" = 5 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 8) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 5], ["position", 1], ["product_id", 8], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 8) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 8 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Tue, 23 Oct 2012 16:44:37 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.974788' WHERE "spree_products"."id" = 9 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 9], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.976196' WHERE "spree_products"."id" = 9  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 9 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:37.978198' WHERE "spree_products"."id" = 9  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 9  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.9ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 9 AND "spree_option_types"."id" = 5 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 9) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 5], ["position", 1], ["product_id", 9], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 9 AND "spree_option_types"."id" = 6 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 9) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00], ["option_type_id", 6], ["position", 2], ["product_id", 9], ["updated_at", Tue, 23 Oct 2012 15:44:37 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 9) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 9 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (3.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (30.8ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) begin transaction  (0.1ms) commit transaction Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Product for AR Loader"], ["permalink", "simple-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.203631' WHERE "spree_products"."id" = 10 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 10], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.205570' WHERE "spree_products"."id" = 10  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 10 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.207886' WHERE "spree_products"."id" = 10  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 10  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 10 AND "spree_option_types"."id" = 7 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 10) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 7], ["position", 1], ["product_id", 10], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 10) LIMIT 1 Row ["SIMPLE_001", "Simple Product for AR Loader", "blah blah", 345.78, "mime_type"] succesfully SAVED : ID 10 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple Excel Load via Jruby"], ["permalink", "simple-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.258996' WHERE "spree_products"."id" = 11 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 11], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.260510' WHERE "spree_products"."id" = 11  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 11 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.262087' WHERE "spree_products"."id" = 11  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 11  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 11 AND "spree_option_types"."id" = 7 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 11) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 7], ["position", 1], ["product_id", 11], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 11) LIMIT 1 Row ["SIMPLE_002", "Simple Excel Load via Jruby", "less blah", 100, "mime_type"] succesfully SAVED : ID 11 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", nil], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", "super duper meta desc."], ["meta_keywords", "techno dubstep d&b"], ["name", "Simple third row avail in future"], ["permalink", "simple-third-row-avail-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.313873' WHERE "spree_products"."id" = 12 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 12], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.316070' WHERE "spree_products"."id" = 12  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 12 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.317633' WHERE "spree_products"."id" = 12  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 12 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 12 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 12  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 12 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 12 AND "spree_option_types"."id" = 7 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 12) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 7], ["position", 1], ["product_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 12 AND "spree_option_types"."id" = 8 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 12) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 8], ["position", 2], ["product_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 12) LIMIT 1 Row ["SIMPLE_003", "Simple third row avail in future", "more blah blah", 50.34, "mime_type|print_type"] succesfully SAVED : ID 12 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  SQL (2.1ms) DELETE FROM "spree_products" SQL (0.7ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (54.5ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.2ms) commit transaction  (0.4ms) begin transaction SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]]  (2.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (27.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.553627' WHERE "spree_products"."id" = 13 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 13], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.555627' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 13 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.557770' WHERE "spree_products"."id" = 13  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 13  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["product_id", nil], ["property_id", 1], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 13, "updated_at" = '2012-10-23 15:44:38.584345' WHERE "spree_product_properties"."id" = 1 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 4 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 4], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 13 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (13, 10) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 5 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 5], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (13, 11) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 13 AND "spree_option_types"."id" = 9 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 13) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 9], ["position", 1], ["product_id", 13], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::OptionValue Load (1.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 9) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "jpeg"], ["option_type_id", 9], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (24.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.638225' WHERE "spree_products"."id" = 13 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 13], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.665254' WHERE "spree_products"."id" = 13  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (14, 1) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 9) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "PDF"], ["option_type_id", 9], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.675749' WHERE "spree_products"."id" = 13 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 13], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.677081' WHERE "spree_products"."id" = 13  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (15, 2) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 9) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "PNG"], ["option_type_id", 9], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.682585' WHERE "spree_products"."id" = 13 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 13], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.684155' WHERE "spree_products"."id" = 13  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (16, 3) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 13]] Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (4.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 14 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 15 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 16 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.705329' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 14 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.706907' WHERE "spree_products"."id" = 13 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.708306' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 15 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.709623' WHERE "spree_products"."id" = 13 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.711096' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 16 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.713812' WHERE "spree_products"."id" = 13 Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:38.717438' WHERE "spree_products"."id" = 13 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 13 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.726298' WHERE "spree_products"."id" = 14 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 14], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.727810' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 17 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.729091' WHERE "spree_products"."id" = 14  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 14  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["product_id", nil], ["property_id", 2], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 14, "updated_at" = '2012-10-23 15:44:38.736145' WHERE "spree_product_properties"."id" = 2 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 4 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 14 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 10) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 6 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 6], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 12) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 4 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 10 AND "spree_taxons"."taxonomy_id" = 4 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 10]] SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 10], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 4], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 10]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 13]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 13 THEN 10 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 10]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 13]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 13 AND "spree_taxons"."taxonomy_id" = 4 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 13]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 13], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 4], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 13]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 14]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 14 THEN 13 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 13]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 14]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 13)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 14) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 14 AND "spree_option_types"."id" = 9 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 14) ORDER BY position DESC LIMIT 1 SQL (1.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 9], ["position", 1], ["product_id", 14], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.835083' WHERE "spree_products"."id" = 14 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 14], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.836620' WHERE "spree_products"."id" = 14  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (18, 1) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.840888' WHERE "spree_products"."id" = 14 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 14], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.842412' WHERE "spree_products"."id" = 14  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (19, 2) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.845591' WHERE "spree_products"."id" = 14 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 14], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.847220' WHERE "spree_products"."id" = 14  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (20, 3) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 14]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 18 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 19 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 20 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.865619' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 18 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.867022' WHERE "spree_products"."id" = 14 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.868596' WHERE "spree_products"."id" = 14  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 19 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.870015' WHERE "spree_products"."id" = 14 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.871230' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 20 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.872429' WHERE "spree_products"."id" = 14 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:44:38.875169' WHERE "spree_products"."id" = 14 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 14 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.885574' WHERE "spree_products"."id" = 15 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 15], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.887191' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 21 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.889026' WHERE "spree_products"."id" = 15  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 15  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["product_id", nil], ["property_id", 3], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 15, "updated_at" = '2012-10-23 15:44:38.897111' WHERE "spree_product_properties"."id" = 3 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["product_id", nil], ["property_id", 2], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 15, "updated_at" = '2012-10-23 15:44:38.900001' WHERE "spree_product_properties"."id" = 4 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Created New Property # SQL (1.9ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["product_id", nil], ["property_id", 4], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 15, "updated_at" = '2012-10-23 15:44:38.905786' WHERE "spree_product_properties"."id" = 5 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 7 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 7], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 15 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (15, 15) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 4 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 10 AND "spree_taxons"."taxonomy_id" = 4 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 10]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 10], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 4], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 10]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 16]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 16 THEN 10 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 10]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 16]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (15, 16)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (15, 10) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 15 AND "spree_option_types"."id" = 9 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 15) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 9], ["position", 1], ["product_id", 15], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.936617' WHERE "spree_products"."id" = 15 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 15], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.938220' WHERE "spree_products"."id" = 15  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (22, 1) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.941270' WHERE "spree_products"."id" = 15 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 15], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.942779' WHERE "spree_products"."id" = 15  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (23, 2) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.945951' WHERE "spree_products"."id" = 15 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 15], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.947122' WHERE "spree_products"."id" = 15  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (24, 3) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 15]] Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 15 AND "spree_option_types"."id" = 10 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 15) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["option_type_id", 10], ["position", 2], ["product_id", 15], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]] Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 10 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 10) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "black_white"], ["option_type_id", 10], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.961401' WHERE "spree_products"."id" = 15 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 15], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.962942' WHERE "spree_products"."id" = 15  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (25, 4) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 10 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 10) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00], ["name", "colour"], ["option_type_id", 10], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:38 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.968498' WHERE "spree_products"."id" = 15 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 15], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:38.969814' WHERE "spree_products"."id" = 15  (26.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (26, 5) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 15]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 22 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 23 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 24 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 25 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 26 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) LIMIT 1  (0.6ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.014951' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 22 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.016807' WHERE "spree_products"."id" = 15 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.018391' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 23 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.019999' WHERE "spree_products"."id" = 15 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.021706' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 24 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.022993' WHERE "spree_products"."id" = 15 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.024257' WHERE "spree_products"."id" = 15  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 25 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.025796' WHERE "spree_products"."id" = 15 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.027223' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 26 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.028327' WHERE "spree_products"."id" = 15 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:44:39.032355' WHERE "spree_products"."id" = 15 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 15 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.3ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 13 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.4ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 15 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.2ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 15 SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (64.3ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 0 rows  (0.5ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.283984' WHERE "spree_products"."id" = 16 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 16], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.286119' WHERE "spree_products"."id" = 16  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 27 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.287880' WHERE "spree_products"."id" = 16  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 16  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["product_id", nil], ["property_id", 5], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 16, "updated_at" = '2012-10-23 15:44:39.294280' WHERE "spree_product_properties"."id" = 6 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 8 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 8], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 16 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (16, 17) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 9 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 9], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (16, 18) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1 Spree::OptionType Load (0.7ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 16 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 16) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["option_type_id", 11], ["position", 1], ["product_id", 16], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 11 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 11) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "jpeg"], ["option_type_id", 11], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.339235' WHERE "spree_products"."id" = 16 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 16], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.340748' WHERE "spree_products"."id" = 16  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (28, 6) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 16]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 16 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 11 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 11) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "PDF"], ["option_type_id", 11], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.377403' WHERE "spree_products"."id" = 16 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 16], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.378903' WHERE "spree_products"."id" = 16  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (29, 7) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 16]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 16 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 11 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 11) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "PNG"], ["option_type_id", 11], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.389994' WHERE "spree_products"."id" = 16 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 16], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.391364' WHERE "spree_products"."id" = 16  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (30, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 16]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 28 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 29 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 30 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.415252' WHERE "spree_products"."id" = 16  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 28 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.416576' WHERE "spree_products"."id" = 16 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.417950' WHERE "spree_products"."id" = 16  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 29 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.419081' WHERE "spree_products"."id" = 16 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.420252' WHERE "spree_products"."id" = 16  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 30 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.421491' WHERE "spree_products"."id" = 16 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:39.424596' WHERE "spree_products"."id" = 16 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 16 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.434941' WHERE "spree_products"."id" = 17 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 17], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.436556' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 31 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.438166' WHERE "spree_products"."id" = 17  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 17  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["product_id", nil], ["property_id", 6], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 17, "updated_at" = '2012-10-23 15:44:39.445138' WHERE "spree_product_properties"."id" = 7 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 8 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 17 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 17) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 10 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 10], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 19) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 8 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 17 AND "spree_taxons"."taxonomy_id" = 8 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 17]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 17], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 8], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 17]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 20]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 20 THEN 17 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 17]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 20]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 20 AND "spree_taxons"."taxonomy_id" = 8 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 20]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 20], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 8], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 20]] Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 21]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 21 THEN 20 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 20]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 21]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 20)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 21) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 17 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 17) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["option_type_id", 11], ["position", 1], ["product_id", 17], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 11 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.489423' WHERE "spree_products"."id" = 17 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 17], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.490895' WHERE "spree_products"."id" = 17  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (32, 6) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 17]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 17 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.498836' WHERE "spree_products"."id" = 17 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 17], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.500304' WHERE "spree_products"."id" = 17  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (33, 7) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 17]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 17 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.509910' WHERE "spree_products"."id" = 17 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 17], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.511305' WHERE "spree_products"."id" = 17  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (34, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 17]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 32 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 33 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 34 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.532211' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 32 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.533378' WHERE "spree_products"."id" = 17 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.534746' WHERE "spree_products"."id" = 17  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 33 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.536224' WHERE "spree_products"."id" = 17 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.537748' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 34 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.538888' WHERE "spree_products"."id" = 17 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:44:39.541829' WHERE "spree_products"."id" = 17 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 17 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.552000' WHERE "spree_products"."id" = 18 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 18], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.553514' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 35 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.555207' WHERE "spree_products"."id" = 18  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 18  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["product_id", nil], ["property_id", 7], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 18, "updated_at" = '2012-10-23 15:44:39.562456' WHERE "spree_product_properties"."id" = 8 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["product_id", nil], ["property_id", 6], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 18, "updated_at" = '2012-10-23 15:44:39.617931' WHERE "spree_product_properties"."id" = 9 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["product_id", nil], ["property_id", 8], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 18, "updated_at" = '2012-10-23 15:44:39.623790' WHERE "spree_product_properties"."id" = 10 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 11 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 11], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 18 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (18, 22) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 8 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 17 AND "spree_taxons"."taxonomy_id" = 8 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 17]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 17], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 8], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 17]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 23]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 23 THEN 17 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 17]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 23]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (18, 23)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (18, 17) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 18) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["option_type_id", 11], ["position", 1], ["product_id", 18], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 11 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.658065' WHERE "spree_products"."id" = 18 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 18], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.659466' WHERE "spree_products"."id" = 18  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (36, 6) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 18]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.667456' WHERE "spree_products"."id" = 18 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 18], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.668838' WHERE "spree_products"."id" = 18  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (37, 7) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 18]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.677766' WHERE "spree_products"."id" = 18 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 18], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.679099' WHERE "spree_products"."id" = 18  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (38, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 18]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 12 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 18) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["option_type_id", 12], ["position", 2], ["product_id", 18], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 12 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 12) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 12], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.693500' WHERE "spree_products"."id" = 18 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 18], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.695149' WHERE "spree_products"."id" = 18  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (39, 9) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 18]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 12 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 12 LIMIT 1 Spree::OptionValue Load (27.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 12) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00], ["name", "colour"], ["option_type_id", 12], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.735235' WHERE "spree_products"."id" = 18 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 18], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.736870' WHERE "spree_products"."id" = 18  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (40, 10) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 18]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 36 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 37 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 38 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 39 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 40 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.758977' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 36 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.760179' WHERE "spree_products"."id" = 18 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.761415' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 37 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.762468' WHERE "spree_products"."id" = 18 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.763818' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 38 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.764864' WHERE "spree_products"."id" = 18 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.766090' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 39 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.767198' WHERE "spree_products"."id" = 18 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.768389' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 40 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:39.769475' WHERE "spree_products"."id" = 18 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:44:39.772428' WHERE "spree_products"."id" = 18 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 18 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 16 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 18 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.1ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 18 SQL (2.4ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (28.6ms) DELETE FROM "spree_product_properties" SQL (1.9ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (59.8ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.7ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (61.0ms) DELETE FROM "spree_properties" SQL (2.4ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.9ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (27.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (4.7ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.8ms) DELETE FROM "spree_option_types" SQL (1.9ms) DELETE FROM "spree_option_values" SQL (1.9ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (52.9ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 12 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.452727' WHERE "spree_products"."id" = 19 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 19], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.454672' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 41 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.457287' WHERE "spree_products"."id" = 19  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 19  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["product_id", nil], ["property_id", 9], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 19, "updated_at" = '2012-10-23 15:44:40.465726' WHERE "spree_product_properties"."id" = 11 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 19) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 12 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 19 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 24) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 13 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 13], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 26) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 19) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 19 AND "spree_option_types"."id" = 13 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 19) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["option_type_id", 13], ["position", 1], ["product_id", 19], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 13) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 13], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.497429' WHERE "spree_products"."id" = 19 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 19], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.499042' WHERE "spree_products"."id" = 19  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (42, 11) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 13) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 13], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.505227' WHERE "spree_products"."id" = 19 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 19], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.535646' WHERE "spree_products"."id" = 19  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (43, 12) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 13) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 13], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.541483' WHERE "spree_products"."id" = 19 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 19], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.542993' WHERE "spree_products"."id" = 19  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (44, 13) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 19]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 19) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 42 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 43 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 44 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 19) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.560102' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 42 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.561346' WHERE "spree_products"."id" = 19 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.562660' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 43 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.563746' WHERE "spree_products"."id" = 19 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.565163' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 44 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.566362' WHERE "spree_products"."id" = 19 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 19) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:40.569497' WHERE "spree_products"."id" = 19 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 19 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.580816' WHERE "spree_products"."id" = 20 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 20], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.582256' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 45 SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.584163' WHERE "spree_products"."id" = 20  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 20  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["product_id", nil], ["property_id", 10], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 20, "updated_at" = '2012-10-23 15:44:40.592204' WHERE "spree_product_properties"."id" = 12 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 12 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 20 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 24) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 14 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.6ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 14], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 27) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 12 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 24 AND "spree_taxons"."taxonomy_id" = 12 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 24]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 24], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 24]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 28]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 28 THEN 24 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 24]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 28]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 28 AND "spree_taxons"."taxonomy_id" = 12 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 28]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 28], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 28]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 29]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 29 THEN 28 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 28]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 29]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 28)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 29) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 20 AND "spree_option_types"."id" = 13 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 20) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["option_type_id", 13], ["position", 1], ["product_id", 20], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.634848' WHERE "spree_products"."id" = 20 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 20], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.636363' WHERE "spree_products"."id" = 20  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (46, 11) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.639246' WHERE "spree_products"."id" = 20 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 20], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.640497' WHERE "spree_products"."id" = 20  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (47, 12) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.643442' WHERE "spree_products"."id" = 20 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 20], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.644770' WHERE "spree_products"."id" = 20  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (48, 13) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 20]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 46 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 47 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 48 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.662274' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 46 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.663628' WHERE "spree_products"."id" = 20 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.665039' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 47 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.666119' WHERE "spree_products"."id" = 20 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (2.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.718167' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 48 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.722268' WHERE "spree_products"."id" = 20 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:44:40.726227' WHERE "spree_products"."id" = 20 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 20 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.736499' WHERE "spree_products"."id" = 21 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 21], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.737915' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 49 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.739499' WHERE "spree_products"."id" = 21  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 21  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["product_id", nil], ["property_id", 11], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 21, "updated_at" = '2012-10-23 15:44:40.746899' WHERE "spree_product_properties"."id" = 13 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["product_id", nil], ["property_id", 10], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 21, "updated_at" = '2012-10-23 15:44:40.749930' WHERE "spree_product_properties"."id" = 14 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["product_id", nil], ["property_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 21, "updated_at" = '2012-10-23 15:44:40.753993' WHERE "spree_product_properties"."id" = 15 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 21) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 15 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 15], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 21 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (21, 30) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 12 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 24 AND "spree_taxons"."taxonomy_id" = 12 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 24]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 24], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 12], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 24]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 31]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 31 THEN 24 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 24]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 31]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (21, 31)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (21, 24) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 21) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 21 AND "spree_option_types"."id" = 13 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 21) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["option_type_id", 13], ["position", 1], ["product_id", 21], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.785320' WHERE "spree_products"."id" = 21 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 21], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.786981' WHERE "spree_products"."id" = 21  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (50, 11) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.790304' WHERE "spree_products"."id" = 21 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 21], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.791595' WHERE "spree_products"."id" = 21  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (51, 12) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.794308' WHERE "spree_products"."id" = 21 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 21], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.795605' WHERE "spree_products"."id" = 21  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (52, 13) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 21]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 21 AND "spree_option_types"."id" = 14 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 21) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["option_type_id", 14], ["position", 2], ["product_id", 21], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 14 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 14) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "black_white"], ["option_type_id", 14], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.809152' WHERE "spree_products"."id" = 21 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 21], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.810589' WHERE "spree_products"."id" = 21  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (53, 14) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 14 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 14) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00], ["name", "colour"], ["option_type_id", 14], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.815612' WHERE "spree_products"."id" = 21 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 21], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.816921' WHERE "spree_products"."id" = 21  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (54, 15) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 21]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 21) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 50 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 51 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 52 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 53 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 54 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 21) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.864011' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 50 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.865380' WHERE "spree_products"."id" = 21 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.866891' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 51 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.868084' WHERE "spree_products"."id" = 21 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.869429' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 52 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.870588' WHERE "spree_products"."id" = 21 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.871896' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 53 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.873063' WHERE "spree_products"."id" = 21 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.875087' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 54 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:40.876590' WHERE "spree_products"."id" = 21 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 21) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:44:40.879567' WHERE "spree_products"."id" = 21 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 21 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 19 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 42 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 43 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 13 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 44 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (2.2ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (27.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 16 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 16], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (2.7ms) commit transaction  (0.4ms) begin transaction  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 16], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 0 rows  (1.3ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (2.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.144560' WHERE "spree_products"."id" = 22 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 22], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.146490' WHERE "spree_products"."id" = 22  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 55 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.148018' WHERE "spree_products"."id" = 22  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 22  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["product_id", nil], ["property_id", 13], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 22, "updated_at" = '2012-10-23 15:44:41.156455' WHERE "spree_product_properties"."id" = 16 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1 Spree::Taxonomy Load (0.8ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 16 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 22 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (22, 32) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 17 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 17], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (22, 34) Current value to assign : Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 22 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 22) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["option_type_id", 15], ["position", 1], ["product_id", 22], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 15 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 15) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 15], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.191960' WHERE "spree_products"."id" = 22 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 22], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.194092' WHERE "spree_products"."id" = 22  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (56, 16) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 22]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 22 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 15 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 15) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 15], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.206448' WHERE "spree_products"."id" = 22 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 22], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.208294' WHERE "spree_products"."id" = 22  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (57, 17) Spree::Product Load (26.8ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 22]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 22 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 15 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 15) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 15], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.247302' WHERE "spree_products"."id" = 22 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 22], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.248701' WHERE "spree_products"."id" = 22  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (58, 18) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 22]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 56 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 57 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 58 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.270359' WHERE "spree_products"."id" = 22  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 56 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.271661' WHERE "spree_products"."id" = 22 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.273421' WHERE "spree_products"."id" = 22  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 57 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.275304' WHERE "spree_products"."id" = 22 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.277085' WHERE "spree_products"."id" = 22  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 58 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.278520' WHERE "spree_products"."id" = 22 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:41.281999' WHERE "spree_products"."id" = 22 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 22 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.292044' WHERE "spree_products"."id" = 23 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 23], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.293531' WHERE "spree_products"."id" = 23  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 59 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.295435' WHERE "spree_products"."id" = 23  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 23  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["product_id", nil], ["property_id", 14], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 23, "updated_at" = '2012-10-23 15:44:41.303249' WHERE "spree_product_properties"."id" = 17 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 16 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 23 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (23, 32) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 18 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 18], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (23, 35) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 16 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 32 AND "spree_taxons"."taxonomy_id" = 16 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 32]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 32], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 16], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 32]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 36]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 36 THEN 32 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 32]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 36]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 36 AND "spree_taxons"."taxonomy_id" = 16 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 36]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 36], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 16], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 36]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 37]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 37 THEN 36 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 36]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 37]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (23, 36)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (23, 37) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 23 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 23) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["option_type_id", 15], ["position", 1], ["product_id", 23], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 15 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.353188' WHERE "spree_products"."id" = 23 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 23], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.354554' WHERE "spree_products"."id" = 23  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (60, 16) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 23]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 23 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 15 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.363059' WHERE "spree_products"."id" = 23 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 23], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.364261' WHERE "spree_products"."id" = 23  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (61, 17) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 23]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 23 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 15 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.372476' WHERE "spree_products"."id" = 23 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 23], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.373989' WHERE "spree_products"."id" = 23  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (62, 18) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 23]] Current value to assign : Current value to assign : Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 60 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 61 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 62 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.394033' WHERE "spree_products"."id" = 23  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 60 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.395198' WHERE "spree_products"."id" = 23 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.396616' WHERE "spree_products"."id" = 23  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 61 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.397853' WHERE "spree_products"."id" = 23 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.399205' WHERE "spree_products"."id" = 23  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 62 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.400694' WHERE "spree_products"."id" = 23 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:44:41.403553' WHERE "spree_products"."id" = 23 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 23 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.412770' WHERE "spree_products"."id" = 24 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 24], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.413970' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 63 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.415315' WHERE "spree_products"."id" = 24  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 24  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["product_id", nil], ["property_id", 15], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 24, "updated_at" = '2012-10-23 15:44:41.422450' WHERE "spree_product_properties"."id" = 18 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["product_id", nil], ["property_id", 14], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 24, "updated_at" = '2012-10-23 15:44:41.426225' WHERE "spree_product_properties"."id" = 19 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["product_id", nil], ["property_id", 16], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 24, "updated_at" = '2012-10-23 15:44:41.431445' WHERE "spree_product_properties"."id" = 20 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 19 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 19], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 24 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (24, 38) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 16 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 32 AND "spree_taxons"."taxonomy_id" = 16 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 32]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 32], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 16], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 32]] Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 39]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 39 THEN 32 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 32]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 39]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (24, 39)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (24, 32) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 24 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 24) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["option_type_id", 15], ["position", 1], ["product_id", 24], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 15 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.465436' WHERE "spree_products"."id" = 24 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 24], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.466968' WHERE "spree_products"."id" = 24  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (64, 16) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 24]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 24 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 15 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.475089' WHERE "spree_products"."id" = 24 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 24], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.476551' WHERE "spree_products"."id" = 24  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (65, 17) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 24]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 24 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 15 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.484305' WHERE "spree_products"."id" = 24 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 24], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.486006' WHERE "spree_products"."id" = 24  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (66, 18) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 24]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 24 AND "spree_option_types"."id" = 16 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 24) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["option_type_id", 16], ["position", 2], ["product_id", 24], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 16 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 16) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 16], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.499316' WHERE "spree_products"."id" = 24 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 24], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.501446' WHERE "spree_products"."id" = 24  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (67, 19) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 24]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 24 AND "spree_option_types"."id" = 16 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 16 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 16) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "colour"], ["option_type_id", 16], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.539876' WHERE "spree_products"."id" = 24 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 24], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.541225' WHERE "spree_products"."id" = 24  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (68, 20) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 24]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 64 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 65 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 66 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 67 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 68 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.561943' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 64 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.563311' WHERE "spree_products"."id" = 24 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.564535' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 65 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.565858' WHERE "spree_products"."id" = 24 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.567421' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 66 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.568992' WHERE "spree_products"."id" = 24 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.570421' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 67 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.571526' WHERE "spree_products"."id" = 24 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.573230' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 68 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.575317' WHERE "spree_products"."id" = 24 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:44:41.578038' WHERE "spree_products"."id" = 24 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 24 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (7.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.1ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 22 ORDER BY spree_option_types.position Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 56 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 57 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (3.1ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 58 Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.9ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (28.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) begin transaction  (0.3ms) commit transaction  (1.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 20 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 20], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 20], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.824964' WHERE "spree_products"."id" = 25 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 25], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.826871' WHERE "spree_products"."id" = 25  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 69 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.828388' WHERE "spree_products"."id" = 25  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 25  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["product_id", nil], ["property_id", 17], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 25, "updated_at" = '2012-10-23 15:44:41.862541' WHERE "spree_product_properties"."id" = 21 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 20 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 25 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (25, 40) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 21 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 21], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (25, 42) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 25 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.9ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 25) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["option_type_id", 17], ["position", 1], ["product_id", 25], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 17 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 17) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 17], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.901856' WHERE "spree_products"."id" = 25 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 25], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.903540' WHERE "spree_products"."id" = 25  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (70, 21) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 25]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (30.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 25 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 17 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 17) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 17], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.946805' WHERE "spree_products"."id" = 25 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 25], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.948445' WHERE "spree_products"."id" = 25  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (71, 22) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 25]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 25 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 17 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 17) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 17], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.960096' WHERE "spree_products"."id" = 25 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 25], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.961538' WHERE "spree_products"."id" = 25  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (72, 23) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 25]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 70 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 71 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 72 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.987295' WHERE "spree_products"."id" = 25  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 70 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.988538' WHERE "spree_products"."id" = 25 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.990112' WHERE "spree_products"."id" = 25  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 71 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.991306' WHERE "spree_products"."id" = 25 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.992538' WHERE "spree_products"."id" = 25  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 72 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:41.993538' WHERE "spree_products"."id" = 25 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:41.996827' WHERE "spree_products"."id" = 25 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.006197' WHERE "spree_products"."id" = 26 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 26], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.007537' WHERE "spree_products"."id" = 26  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 73 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.009245' WHERE "spree_products"."id" = 26  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 26  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["product_id", nil], ["property_id", 18], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 26, "updated_at" = '2012-10-23 15:44:42.016243' WHERE "spree_product_properties"."id" = 22 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 20 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 26 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (26, 40) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 22 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 22], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (26, 43) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 20 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 40 AND "spree_taxons"."taxonomy_id" = 20 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 40]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 40], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 20], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 40]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 44]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 44 THEN 40 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 40]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 44]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 44 AND "spree_taxons"."taxonomy_id" = 20 LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 44]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 44], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 20], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 44]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 45]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 45 THEN 44 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 44]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 45]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (26, 44)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (26, 45) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 26 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 26) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 17], ["position", 1], ["product_id", 26], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 17 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.064057' WHERE "spree_products"."id" = 26 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 26], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.065536' WHERE "spree_products"."id" = 26  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (74, 21) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 26]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 26 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 17 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.073877' WHERE "spree_products"."id" = 26 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 26], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.075208' WHERE "spree_products"."id" = 26  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (75, 22) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 26]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 26 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 17 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.083198' WHERE "spree_products"."id" = 26 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 26], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.084502' WHERE "spree_products"."id" = 26  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (76, 23) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 26]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 74 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 75 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 76 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (2.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.106118' WHERE "spree_products"."id" = 26  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 74 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.107344' WHERE "spree_products"."id" = 26 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.109086' WHERE "spree_products"."id" = 26  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 75 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.110316' WHERE "spree_products"."id" = 26 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.111600' WHERE "spree_products"."id" = 26  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 76 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.112865' WHERE "spree_products"."id" = 26 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:44:42.116525' WHERE "spree_products"."id" = 26 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.125808' WHERE "spree_products"."id" = 27 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 27], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.127528' WHERE "spree_products"."id" = 27  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 77 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.129109' WHERE "spree_products"."id" = 27  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 27  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["product_id", nil], ["property_id", 19], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 27, "updated_at" = '2012-10-23 15:44:42.137534' WHERE "spree_product_properties"."id" = 23 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["product_id", nil], ["property_id", 18], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 27, "updated_at" = '2012-10-23 15:44:42.142396' WHERE "spree_product_properties"."id" = 24 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["product_id", nil], ["property_id", 20], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 27, "updated_at" = '2012-10-23 15:44:42.147510' WHERE "spree_product_properties"."id" = 25 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 23 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 23], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 27 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (27, 46) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 20 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 40 AND "spree_taxons"."taxonomy_id" = 20 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 40]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 40], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 20], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 40]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 47]] SQL (1.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 47 THEN 40 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 40]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 47]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (27, 47)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (27, 40) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 27 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 27) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 17], ["position", 1], ["product_id", 27], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 17 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.181815' WHERE "spree_products"."id" = 27 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 27], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.183783' WHERE "spree_products"."id" = 27  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (78, 21) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 27]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 27 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 17 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.192429' WHERE "spree_products"."id" = 27 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 27], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.193772' WHERE "spree_products"."id" = 27  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (79, 22) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 27]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.7ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 27 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 17 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.202331' WHERE "spree_products"."id" = 27 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 27], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.203532' WHERE "spree_products"."id" = 27  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (80, 23) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 27]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 27 AND "spree_option_types"."id" = 18 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 27) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 18], ["position", 2], ["product_id", 27], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 18 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 18) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 18], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.217640' WHERE "spree_products"."id" = 27 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 27], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.219867' WHERE "spree_products"."id" = 27  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (81, 24) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 27]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 27 AND "spree_option_types"."id" = 18 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 18 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 18) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "colour"], ["option_type_id", 18], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]]  (27.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.257130' WHERE "spree_products"."id" = 27 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 27], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.258846' WHERE "spree_products"."id" = 27  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (82, 25) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 27]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 78 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 79 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 80 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.5ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 81 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 82 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.277158' WHERE "spree_products"."id" = 27  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 78 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.278816' WHERE "spree_products"."id" = 27 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.280357' WHERE "spree_products"."id" = 27  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 79 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.281720' WHERE "spree_products"."id" = 27 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.283353' WHERE "spree_products"."id" = 27  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 80 SQL (2.7ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.342528' WHERE "spree_products"."id" = 27 Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.348888' WHERE "spree_products"."id" = 27  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 81 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.350246' WHERE "spree_products"."id" = 27 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.351945' WHERE "spree_products"."id" = 27  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 82 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.353311' WHERE "spree_products"."id" = 27 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 27) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:44:42.357389' WHERE "spree_products"."id" = 27  (4.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 25 ORDER BY spree_option_types.position Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 70 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 71 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 72 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (2.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 24 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 24], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 24], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]]  (2.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.473265' WHERE "spree_products"."id" = 28 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 28], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.475525' WHERE "spree_products"."id" = 28  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 83 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.477298' WHERE "spree_products"."id" = 28  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 28  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (26.8ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 28 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 28) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 19], ["position", 1], ["product_id", 28], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 28 AND "spree_option_types"."id" = 20 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 28) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 20], ["position", 2], ["product_id", 28], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 19 LIMIT 1 Spree::OptionValue Load (0.8ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 19) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 19], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 20 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 20) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "colour"], ["option_type_id", 20], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.559400' WHERE "spree_products"."id" = 28 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 28], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.560523' WHERE "spree_products"."id" = 28  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (84, 26)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (84, 27) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 19 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 19) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 19], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 20 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.566520' WHERE "spree_products"."id" = 28 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 28], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.567749' WHERE "spree_products"."id" = 28  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (85, 28)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (85, 27) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 28]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 28) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 28 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 19 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 19) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 19], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.583229' WHERE "spree_products"."id" = 28 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 28], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.584522' WHERE "spree_products"."id" = 28  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (86, 29) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 28]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 28) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 84 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 85 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 86 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 28) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.600648' WHERE "spree_products"."id" = 28  (0.5ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 84 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.602270' WHERE "spree_products"."id" = 28 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.604290' WHERE "spree_products"."id" = 28  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 85 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.605242' WHERE "spree_products"."id" = 28 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.606397' WHERE "spree_products"."id" = 28  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 86 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.607522' WHERE "spree_products"."id" = 28 Saving csv row ["MV_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "mime_type:jpeg, PDF;print_type:colour", nil, "mime_type:PNG", "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 28) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:42.610965' WHERE "spree_products"."id" = 28 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 29 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.620119' WHERE "spree_products"."id" = 29 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 29], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.621281' WHERE "spree_products"."id" = 29  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 87 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.622931' WHERE "spree_products"."id" = 29  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 29  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 29 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 29) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 19], ["position", 1], ["product_id", 29], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 29 AND "spree_option_types"."id" = 20 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 29) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 20], ["position", 2], ["product_id", 29], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 20 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 20) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 20], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 19 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 29 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.639441' WHERE "spree_products"."id" = 29 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 29], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.641114' WHERE "spree_products"."id" = 29  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (88, 30)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (88, 26) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 29]] Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 29) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 29 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 29 AND "spree_option_types"."id" = 20 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 20 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 19 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 29 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.654126' WHERE "spree_products"."id" = 29 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 29], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.656520' WHERE "spree_products"."id" = 29  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (89, 30)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (89, 29) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 29]] Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 29) LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 88 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 89 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 29) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 29 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.670062' WHERE "spree_products"."id" = 29  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 88 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.671491' WHERE "spree_products"."id" = 29 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 29 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.672960' WHERE "spree_products"."id" = 29  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 89 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.674086' WHERE "spree_products"."id" = 29 Saving csv row ["MV_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "mime_type:jpeg;print_type:black_white", nil, "mime_type:PNG;print_type:black_white", "5|4"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 29) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-10-23 15:44:42.677094' WHERE "spree_products"."id" = 29 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.686891' WHERE "spree_products"."id" = 30 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 30], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.688481' WHERE "spree_products"."id" = 30  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 90 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.689945' WHERE "spree_products"."id" = 30  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 30  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 30 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 30) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 19], ["position", 1], ["product_id", 30], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 30 AND "spree_option_types"."id" = 20 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 30) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 20], ["position", 2], ["product_id", 30], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 30 AND "spree_option_types"."id" = 21 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 30) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["option_type_id", 21], ["position", 3], ["product_id", 30], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 20 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 21 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 21) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "large"], ["option_type_id", 21], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 19 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.717171' WHERE "spree_products"."id" = 30 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 30], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.718706' WHERE "spree_products"."id" = 30  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (91, 27)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (91, 31)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (91, 26) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 20 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 20) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00], ["name", "sepia"], ["option_type_id", 20], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 21 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 19 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.751939' WHERE "spree_products"."id" = 30 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 30], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.753294' WHERE "spree_products"."id" = 30  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (92, 32)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (92, 31)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (92, 26) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 30]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 30 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 19 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.763711' WHERE "spree_products"."id" = 30 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 30], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.765189' WHERE "spree_products"."id" = 30  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (93, 29) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 30]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 30) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 30 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 19 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.776283' WHERE "spree_products"."id" = 30 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 30], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.778217' WHERE "spree_products"."id" = 30  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (94, 28) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 30]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 30 AND "spree_option_types"."id" = 20 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 20 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.785472' WHERE "spree_products"."id" = 30 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 30], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:42.786908' WHERE "spree_products"."id" = 30  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (95, 30) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 30]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 30) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row ["MV_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNG", "mime_type:PDF|print_type:black_white", nil, "12|4|7|12"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 30) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (3.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 28 ORDER BY spree_option_types.position Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 84 Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (28.5ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.9ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.015706' WHERE "spree_products"."id" = 31 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 31], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.017511' WHERE "spree_products"."id" = 31  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 96 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.020212' WHERE "spree_products"."id" = 31  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 31  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["product_id", nil], ["property_id", 21], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 31, "updated_at" = '2012-10-23 15:44:43.054208' WHERE "spree_product_properties"."id" = 26 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 31) LIMIT 1 Spree::Taxonomy Load (0.5ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 25 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 25], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 31 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (31, 50) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 26 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.4ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 26], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (31, 51) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 31) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 31 AND "spree_option_types"."id" = 22 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 31) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["option_type_id", 22], ["position", 1], ["product_id", 31], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 22) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 22], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.092026' WHERE "spree_products"."id" = 31 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 31], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.093747' WHERE "spree_products"."id" = 31  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (97, 33) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 22) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 22], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.098994' WHERE "spree_products"."id" = 31 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 31], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.100795' WHERE "spree_products"."id" = 31  (27.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (98, 34) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 22) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 22], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.133370' WHERE "spree_products"."id" = 31 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 31], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.135167' WHERE "spree_products"."id" = 31  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (99, 35) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 31]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 31) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 97 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 98 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 99 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 31) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.151597' WHERE "spree_products"."id" = 31  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 97 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.152872' WHERE "spree_products"."id" = 31 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.154996' WHERE "spree_products"."id" = 31  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 98 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.157306' WHERE "spree_products"."id" = 31 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.158570' WHERE "spree_products"."id" = 31  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 99 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:43.160036' WHERE "spree_products"."id" = 31 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:44:43 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 96, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 1 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.083110' WHERE "spree_products"."id" = 31  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 31 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "14/02/2011", "399.99", "320", "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 31) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:44.124143' WHERE "spree_products"."id" = 31 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.137240' WHERE "spree_products"."id" = 32 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 32], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.138717' WHERE "spree_products"."id" = 32  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 100 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.141345' WHERE "spree_products"."id" = 32  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 32  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["product_id", nil], ["property_id", 22], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 32, "updated_at" = '2012-10-23 15:44:44.164016' WHERE "spree_product_properties"."id" = 27 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 32) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 25 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 32 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (32, 50) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 27 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 27], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (32, 52) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 28 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 28], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (32, 53) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 32) LIMIT 1 Spree::OptionType Load (0.6ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 32 AND "spree_option_types"."id" = 22 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 32) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["option_type_id", 22], ["position", 1], ["product_id", 32], ["updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.203789' WHERE "spree_products"."id" = 32 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 32], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.205556' WHERE "spree_products"."id" = 32  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (101, 33) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.209057' WHERE "spree_products"."id" = 32 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 32], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.211192' WHERE "spree_products"."id" = 32  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (102, 34) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.214278' WHERE "spree_products"."id" = 32 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 32], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.216034' WHERE "spree_products"."id" = 32  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (103, 35) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 32]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 32) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 101 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 102 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 103 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 32) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.231833' WHERE "spree_products"."id" = 32  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 101 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.233331' WHERE "spree_products"."id" = 32 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.234839' WHERE "spree_products"."id" = 32  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 102 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.236199' WHERE "spree_products"."id" = 32 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.237804' WHERE "spree_products"."id" = 32  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 103 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:44.238942' WHERE "spree_products"."id" = 32 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:44:44 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 100, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 2 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.659256' WHERE "spree_products"."id" = 32  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 32 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "14/05/2011", "100", "30", "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] to table object : # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 32) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:44:51.697694' WHERE "spree_products"."id" = 32 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.711222' WHERE "spree_products"."id" = 33 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 33], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.715271' WHERE "spree_products"."id" = 33  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 104 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.717284' WHERE "spree_products"."id" = 33  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 33  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["product_id", nil], ["property_id", 23], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 33, "updated_at" = '2012-10-23 15:44:51.727905' WHERE "spree_product_properties"."id" = 28 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["product_id", nil], ["property_id", 22], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 33, "updated_at" = '2012-10-23 15:44:51.730799' WHERE "spree_product_properties"."id" = 29 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["product_id", nil], ["property_id", 24], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["value", nil]]  (0.8ms) UPDATE "spree_product_properties" SET "product_id" = 33, "updated_at" = '2012-10-23 15:44:51.734975' WHERE "spree_product_properties"."id" = 30 Created New ProductProperty # Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 33) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 29 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 29], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 33 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (33, 54) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 33) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 33 AND "spree_option_types"."id" = 22 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 33) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["option_type_id", 22], ["position", 1], ["product_id", 33], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.865490' WHERE "spree_products"."id" = 33 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 33], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.866695' WHERE "spree_products"."id" = 33  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (105, 33) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.869883' WHERE "spree_products"."id" = 33 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 33], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.871148' WHERE "spree_products"."id" = 33  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (106, 34) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 22 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.874187' WHERE "spree_products"."id" = 33 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 33], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.875263' WHERE "spree_products"."id" = 33  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (107, 35) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 33]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 33 AND "spree_option_types"."id" = 23 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 33) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["option_type_id", 23], ["position", 2], ["product_id", 33], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 23 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 23) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["name", "black_white"], ["option_type_id", 23], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.891077' WHERE "spree_products"."id" = 33 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 33], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.892274' WHERE "spree_products"."id" = 33  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (108, 36) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 23 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 23) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["name", "colour"], ["option_type_id", 23], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.898503' WHERE "spree_products"."id" = 33 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 33], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.929314' WHERE "spree_products"."id" = 33  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (109, 37) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 33]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (1.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 33) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 105 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 106 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 107 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 108 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 109 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 33) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.950278' WHERE "spree_products"."id" = 33  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 105 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.951699' WHERE "spree_products"."id" = 33 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.952992' WHERE "spree_products"."id" = 33  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 106 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.954271' WHERE "spree_products"."id" = 33 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.955501' WHERE "spree_products"."id" = 33  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 107 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.956912' WHERE "spree_products"."id" = 33 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.959573' WHERE "spree_products"."id" = 33  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 108 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.960726' WHERE "spree_products"."id" = 33 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.962006' WHERE "spree_products"."id" = 33  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 109 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:51.963271' WHERE "spree_products"."id" = 33 SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:44:51 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 104, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 3 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:52.872057' WHERE "spree_products"."id" = 33  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 33 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "01/07/2012", "50.34", "23.34", "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] to table object : # Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 33) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:44:52.912229' WHERE "spree_products"."id" = 33  (5.7ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 't') LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 96) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 31)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 96 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 96) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 31)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 100) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 32)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 104) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 33)) SQL (3.1ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (2.3ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (28.4ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.104335' WHERE "spree_products"."id" = 34 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 34], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.106398' WHERE "spree_products"."id" = 34  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 110 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.108032' WHERE "spree_products"."id" = 34  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 34  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["product_id", nil], ["property_id", 25], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 34, "updated_at" = '2012-10-23 15:44:53.119248' WHERE "spree_product_properties"."id" = 31 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 34) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 30 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 30], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 34 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (34, 55) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 31 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 31], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (34, 56) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 34) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 34 AND "spree_option_types"."id" = 24 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 34) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["option_type_id", 24], ["position", 1], ["product_id", 34], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 24) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 24], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.241241' WHERE "spree_products"."id" = 34 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 34], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.243068' WHERE "spree_products"."id" = 34  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (111, 38) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 24) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 24], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.248369' WHERE "spree_products"."id" = 34 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 34], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.249724' WHERE "spree_products"."id" = 34  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (112, 39) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 24) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 24], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.283951' WHERE "spree_products"."id" = 34 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 34], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.285243' WHERE "spree_products"."id" = 34  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (113, 40) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 34]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 34) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 111 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 112 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 113 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 34) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.300243' WHERE "spree_products"."id" = 34  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 111 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.301909' WHERE "spree_products"."id" = 34 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.303520' WHERE "spree_products"."id" = 34  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 112 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.304674' WHERE "spree_products"."id" = 34 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.305824' WHERE "spree_products"."id" = 34  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 113 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:53.306881' WHERE "spree_products"."id" = 34 SQL (1.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:44:53 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 110, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 4 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.180220' WHERE "spree_products"."id" = 34  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 34 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 34) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:44:54.191626' WHERE "spree_products"."id" = 34 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 34 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.232371' WHERE "spree_products"."id" = 35 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 35], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.234067' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 114 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.236537' WHERE "spree_products"."id" = 35  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 35  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["product_id", nil], ["property_id", 26], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 35, "updated_at" = '2012-10-23 15:44:54.246218' WHERE "spree_product_properties"."id" = 32 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 35) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 30 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 35 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (35, 55) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 32 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 32], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (35, 57) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 33 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 33], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (35, 58) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 35) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 35 AND "spree_option_types"."id" = 24 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 35) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["option_type_id", 24], ["position", 1], ["product_id", 35], ["updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.280571' WHERE "spree_products"."id" = 35 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 35], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.282369' WHERE "spree_products"."id" = 35  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (115, 38) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.285479' WHERE "spree_products"."id" = 35 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 35], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.287041' WHERE "spree_products"."id" = 35  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (116, 39) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.290345' WHERE "spree_products"."id" = 35 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 35], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.291967' WHERE "spree_products"."id" = 35  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (117, 40) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 35]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 35) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 115 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 116 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 117 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 35) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.307562' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 115 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.309011' WHERE "spree_products"."id" = 35 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.310507' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 116 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.311525' WHERE "spree_products"."id" = 35 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.312946' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 117 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:44:54.314217' WHERE "spree_products"."id" = 35 SQL (1.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:44:54 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 114, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 5 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.735752' WHERE "spree_products"."id" = 35  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 35 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 35) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:45:01.774416' WHERE "spree_products"."id" = 35 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 35 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.788413' WHERE "spree_products"."id" = 36 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 36], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.789954' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 118 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.792295' WHERE "spree_products"."id" = 36  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.7ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 36  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["product_id", nil], ["property_id", 27], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 36, "updated_at" = '2012-10-23 15:45:01.802756' WHERE "spree_product_properties"."id" = 33 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["product_id", nil], ["property_id", 26], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 36, "updated_at" = '2012-10-23 15:45:01.805475' WHERE "spree_product_properties"."id" = 34 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["product_id", nil], ["property_id", 28], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 36, "updated_at" = '2012-10-23 15:45:01.810055' WHERE "spree_product_properties"."id" = 35 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 36) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 34 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 34], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 36 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (36, 59) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 36) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 36 AND "spree_option_types"."id" = 24 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 36) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["option_type_id", 24], ["position", 1], ["product_id", 36], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.832537' WHERE "spree_products"."id" = 36 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 36], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.833990' WHERE "spree_products"."id" = 36  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (119, 38) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.837596' WHERE "spree_products"."id" = 36 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 36], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.839230' WHERE "spree_products"."id" = 36  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (120, 39) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 24 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.842497' WHERE "spree_products"."id" = 36 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 36], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.843864' WHERE "spree_products"."id" = 36  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (121, 40) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 36]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 36 AND "spree_option_types"."id" = 25 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 36) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["option_type_id", 25], ["position", 2], ["product_id", 36], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]] Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 25 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 25) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["name", "black_white"], ["option_type_id", 25], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.859391' WHERE "spree_products"."id" = 36 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 36], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.860809' WHERE "spree_products"."id" = 36  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (122, 41) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 25 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 25) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["name", "colour"], ["option_type_id", 25], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.866551' WHERE "spree_products"."id" = 36 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 36], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.867947' WHERE "spree_products"."id" = 36  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (123, 42) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 36]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 36) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 119 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 120 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 121 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 122 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 123 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 36) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.914933' WHERE "spree_products"."id" = 36  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 119 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.916508' WHERE "spree_products"."id" = 36 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.918102' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 120 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.919617' WHERE "spree_products"."id" = 36 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.921881' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 121 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.923310' WHERE "spree_products"."id" = 36 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.924459' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 122 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.926235' WHERE "spree_products"."id" = 36 Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.927807' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 123 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:01.929216' WHERE "spree_products"."id" = 36 SQL (1.3ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:01 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 118, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 6 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:02.912344' WHERE "spree_products"."id" = 36  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 36 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 36) LIMIT 1  (30.4ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:45:02.953878' WHERE "spree_products"."id" = 36 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings", "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 36 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (3.9ms) commit transaction Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 't') LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 110) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 34)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 't') LIMIT 1  (1.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 110) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 34)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 114) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 35)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 118) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 36))  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_products" SQL (3.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (27.7ms) DELETE FROM "spree_variants" SQL (2.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.3ms) begin transaction  (0.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.0ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.256749' WHERE "spree_products"."id" = 37 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 37], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.258214' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 124 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.259940' WHERE "spree_products"."id" = 37  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 37  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["product_id", nil], ["property_id", 29], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 37, "updated_at" = '2012-10-23 15:45:03.269057' WHERE "spree_product_properties"."id" = 36 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 37) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 35 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 35], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 37 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (37, 60) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 36 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 36], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (37, 61) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 37) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 37 AND "spree_option_types"."id" = 26 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 37) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["option_type_id", 26], ["position", 1], ["product_id", 37], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 26) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "jpeg"], ["option_type_id", 26], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.307791' WHERE "spree_products"."id" = 37 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 37], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.309716' WHERE "spree_products"."id" = 37  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (125, 43) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 26) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "PDF"], ["option_type_id", 26], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.314816' WHERE "spree_products"."id" = 37 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 37], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.316156' WHERE "spree_products"."id" = 37  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (126, 44) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 26) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "PNG"], ["option_type_id", 26], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.346840' WHERE "spree_products"."id" = 37 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 37], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.348981' WHERE "spree_products"."id" = 37  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (127, 45) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 37]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 37) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 125 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 126 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 127 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 37) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.367198' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 125 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.368198' WHERE "spree_products"."id" = 37 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.369684' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 126 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.370966' WHERE "spree_products"."id" = 37 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.372230' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 127 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.373397' WHERE "spree_products"."id" = 37 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 37) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:45:03.376237' WHERE "spree_products"."id" = 37 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 37 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.387195' WHERE "spree_products"."id" = 38 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 38], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.388589' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 128 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.389980' WHERE "spree_products"."id" = 38  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 38  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["product_id", nil], ["property_id", 30], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 38, "updated_at" = '2012-10-23 15:45:03.397953' WHERE "spree_product_properties"."id" = 37 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 38) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 35 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 38 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 60) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 37 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 37], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 62) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 35 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 60 AND "spree_taxons"."taxonomy_id" = 35 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 60]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 60], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 35], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 60]] Spree::Taxon Load (0.5ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 63]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 63 THEN 60 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 60]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 63]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 63 AND "spree_taxons"."taxonomy_id" = 35 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 63]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 63], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 35], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 63]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 64]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 64 THEN 63 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 63]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 64]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.6ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 63)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 64) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 38) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 38 AND "spree_option_types"."id" = 26 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 38) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["option_type_id", 26], ["position", 1], ["product_id", 38], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.439815' WHERE "spree_products"."id" = 38 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 38], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.441683' WHERE "spree_products"."id" = 38  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (129, 43) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.444308' WHERE "spree_products"."id" = 38 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 38], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.445684' WHERE "spree_products"."id" = 38  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (130, 44) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.448443' WHERE "spree_products"."id" = 38 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 38], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.450337' WHERE "spree_products"."id" = 38  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (131, 45) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 38]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 38) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 129 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 130 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 131 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 38) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.467602' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 129 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.468919' WHERE "spree_products"."id" = 38 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.470410' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 130 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.471470' WHERE "spree_products"."id" = 38 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.472749' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 131 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.473934' WHERE "spree_products"."id" = 38 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 38) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:45:03.476393' WHERE "spree_products"."id" = 38 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 38 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.484786' WHERE "spree_products"."id" = 39 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 39], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.486220' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 132 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.487946' WHERE "spree_products"."id" = 39  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 39  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Created New Property # SQL (48.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["product_id", nil], ["property_id", 31], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 39, "updated_at" = '2012-10-23 15:45:03.544553' WHERE "spree_product_properties"."id" = 38 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["product_id", nil], ["property_id", 30], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 39, "updated_at" = '2012-10-23 15:45:03.549309' WHERE "spree_product_properties"."id" = 39 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["product_id", nil], ["property_id", 32], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 39, "updated_at" = '2012-10-23 15:45:03.552976' WHERE "spree_product_properties"."id" = 40 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 38 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 38], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 39 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 65) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 35 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 60 AND "spree_taxons"."taxonomy_id" = 35 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 60]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 60], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 35], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 60]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 66]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 66 THEN 60 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 60]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 66]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 66)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 60) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 39 AND "spree_option_types"."id" = 26 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 39) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["option_type_id", 26], ["position", 1], ["product_id", 39], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.588469' WHERE "spree_products"."id" = 39 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 39], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.589975' WHERE "spree_products"."id" = 39  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (133, 43) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.593279' WHERE "spree_products"."id" = 39 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 39], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.594573' WHERE "spree_products"."id" = 39  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (134, 44) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 26 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.597491' WHERE "spree_products"."id" = 39 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 39], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.598910' WHERE "spree_products"."id" = 39  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (135, 45) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 39]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::OptionType Exists (0.6ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 39 AND "spree_option_types"."id" = 27 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 39) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["option_type_id", 27], ["position", 2], ["product_id", 39], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 27 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 27) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 27], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.612947' WHERE "spree_products"."id" = 39 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 39], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.614200' WHERE "spree_products"."id" = 39  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (136, 46) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 27 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 27) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["name", "colour"], ["option_type_id", 27], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.620063' WHERE "spree_products"."id" = 39 SQL (0.5ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 39], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (26.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.621786' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (137, 47) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 39]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 133 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 134 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 135 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 136 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 137 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.670232' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 133 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.671257' WHERE "spree_products"."id" = 39 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.672450' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 134 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.673847' WHERE "spree_products"."id" = 39 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.675133' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 135 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.675973' WHERE "spree_products"."id" = 39 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.677738' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 136 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.679178' WHERE "spree_products"."id" = 39 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.681215' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 137 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:03.682152' WHERE "spree_products"."id" = 39 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:45:03.685448' WHERE "spree_products"."id" = 39 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 39 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 132) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 39)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_001') LIMIT 1 SQL (1.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:03 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 124, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 7 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:04.698183' WHERE "spree_products"."id" = 37  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 37 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:04.707400' WHERE "spree_products"."id" = 37 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 37 Row ["DEMO_001", "fixtures/images/DEMO_001_ror_bag.jpeg"] succesfully SAVED : ID 124 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_002') LIMIT 1 SQL (1.2ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:04 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 128, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 8 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:12.665865' WHERE "spree_products"."id" = 38  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 38 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:12.671862' WHERE "spree_products"."id" = 38 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 38 Row ["DEMO_002", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 128 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(SKU) = 'demo_003') LIMIT 1 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:12 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (1.6ms) UPDATE "spree_assets" SET "viewable_id" = 132, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 9 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.8ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:15.888655' WHERE "spree_products"."id" = 39  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 39 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:15.899500' WHERE "spree_products"."id" = 39 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53 WHERE "spree_products"."id" = 39 Row ["DEMO_003", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 132  (322.7ms) commit transaction Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 124) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 37)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 128) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 38)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 132) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 39)) SQL (117.3ms) DELETE FROM "spree_products" SQL (3.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (2.3ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (108.3ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.6ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.8ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.563404' WHERE "spree_products"."id" = 40 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 40], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.565291' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 138 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.567263' WHERE "spree_products"."id" = 40  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 40  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["product_id", nil], ["property_id", 33], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 40, "updated_at" = '2012-10-23 15:45:16.575469' WHERE "spree_product_properties"."id" = 41 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 39 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 39], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 40 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (40, 67) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 40 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 40], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (40, 68) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 40 AND "spree_option_types"."id" = 28 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 40) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["option_type_id", 28], ["position", 1], ["product_id", 40], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 28) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 28], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.727549' WHERE "spree_products"."id" = 40 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 40], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.729048' WHERE "spree_products"."id" = 40  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (139, 48) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 28) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 28], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.734626' WHERE "spree_products"."id" = 40 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 40], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.736266' WHERE "spree_products"."id" = 40  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (140, 49) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 28) ORDER BY position DESC LIMIT 1 SQL (0.9ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 28], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.742696' WHERE "spree_products"."id" = 40 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 40], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.744065' WHERE "spree_products"."id" = 40  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (141, 50) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 40]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 139 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 140 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 141 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.761356' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 139 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.762632' WHERE "spree_products"."id" = 40 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.763901' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 140 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.765234' WHERE "spree_products"."id" = 40 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.766522' WHERE "spree_products"."id" = 40  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 141 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.767632' WHERE "spree_products"."id" = 40 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:45:16.771079' WHERE "spree_products"."id" = 40 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 40 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.782383' WHERE "spree_products"."id" = 41 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 41], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.783849' WHERE "spree_products"."id" = 41  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 142 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:16.786241' WHERE "spree_products"."id" = 41  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 41  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["product_id", nil], ["property_id", 34], ["updated_at", Tue, 23 Oct 2012 15:45:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 41, "updated_at" = '2012-10-23 15:45:16.794127' WHERE "spree_product_properties"."id" = 42 Created New ProductProperty # Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 39 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 41 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 67) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 41 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 41], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 69) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 39 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 67 AND "spree_taxons"."taxonomy_id" = 39 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 67]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 67], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 39], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 67]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 70]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 70 THEN 67 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 67]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 70]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 70 AND "spree_taxons"."taxonomy_id" = 39 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 70]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 70], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 39], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 70]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 71]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 71 THEN 70 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 70]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 71]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 70)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 71) Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 41 AND "spree_option_types"."id" = 28 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 41) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["option_type_id", 28], ["position", 1], ["product_id", 41], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.280715' WHERE "spree_products"."id" = 41 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 41], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.282330' WHERE "spree_products"."id" = 41  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (143, 48) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.286096' WHERE "spree_products"."id" = 41 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 41], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.287575' WHERE "spree_products"."id" = 41  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (144, 49) Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.290773' WHERE "spree_products"."id" = 41 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 41], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.292799' WHERE "spree_products"."id" = 41  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (145, 50) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 41]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 143 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 144 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 145 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.317587' WHERE "spree_products"."id" = 41  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 143 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.319097' WHERE "spree_products"."id" = 41 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.320454' WHERE "spree_products"."id" = 41  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 144 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.321359' WHERE "spree_products"."id" = 41 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.9ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.323298' WHERE "spree_products"."id" = 41  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 145 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.325153' WHERE "spree_products"."id" = 41 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:45:17.328426' WHERE "spree_products"."id" = 41 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 41 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.338799' WHERE "spree_products"."id" = 42 SQL (1.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 42], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.341151' WHERE "spree_products"."id" = 42  (0.4ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 146 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.343081' WHERE "spree_products"."id" = 42  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 42  (1.6ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Created New Property # SQL (0.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["product_id", nil], ["property_id", 35], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 42, "updated_at" = '2012-10-23 15:45:17.723891' WHERE "spree_product_properties"."id" = 43 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["product_id", nil], ["property_id", 34], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 42, "updated_at" = '2012-10-23 15:45:17.727677' WHERE "spree_product_properties"."id" = 44 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["product_id", nil], ["property_id", 36], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["value", nil]]  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 42, "updated_at" = '2012-10-23 15:45:17.732096' WHERE "spree_product_properties"."id" = 45 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 42 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 42], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 42 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (42, 72) Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 39 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 67 AND "spree_taxons"."taxonomy_id" = 39 LIMIT 1  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 67]] SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 67], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 39], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 67]] Spree::Taxon Load (0.3ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 73]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 73 THEN 67 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 67]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 73]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (42, 73)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (42, 67) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 42 AND "spree_option_types"."id" = 28 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 42) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["option_type_id", 28], ["position", 1], ["product_id", 42], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.780974' WHERE "spree_products"."id" = 42 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 42], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.790034' WHERE "spree_products"."id" = 42  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (147, 48) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.793995' WHERE "spree_products"."id" = 42 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 42], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.795408' WHERE "spree_products"."id" = 42  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (148, 49) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.799426' WHERE "spree_products"."id" = 42 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 42], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.800605' WHERE "spree_products"."id" = 42  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (149, 50) Spree::Product Load (0.7ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 42]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 42 AND "spree_option_types"."id" = 29 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 42) ORDER BY position DESC LIMIT 1 SQL (0.7ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["option_type_id", 29], ["position", 2], ["product_id", 42], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 29 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 29) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 29], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.817678' WHERE "spree_products"."id" = 42 SQL (0.6ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 42], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.819514' WHERE "spree_products"."id" = 42  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (150, 51) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 29 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 29) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00], ["name", "colour"], ["option_type_id", 29], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.830195' WHERE "spree_products"."id" = 42 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 42], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.832014' WHERE "spree_products"."id" = 42  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (151, 52) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 42]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.3ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 147 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 148 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 149 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.7ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 150 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 151 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.971601' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 147 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.974248' WHERE "spree_products"."id" = 42 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.975069' WHERE "spree_products"."id" = 42  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 148 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.976211' WHERE "spree_products"."id" = 42 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.977495' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 149 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.978879' WHERE "spree_products"."id" = 42 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.980906' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 150 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.982206' WHERE "spree_products"."id" = 42 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.983407' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 151 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:17.984314' WHERE "spree_products"."id" = 42 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:45:17.989055' WHERE "spree_products"."id" = 42 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 42 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (113.4ms) commit transaction Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 't') LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 146) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 42)) Excel Loader processing 0 rows  (0.1ms) begin transaction Spree::Product Load (1.7ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo product for ar loader') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.7ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (107.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:18 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 138, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 10 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (1.5ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:22 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 138, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 11 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Product for AR Loader", "fixtures/images/DEMO_001_ror_bag.jpeg|fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 40 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo excel load via jruby') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:35 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 142, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 12 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo Excel Load via Jruby", "fixtures/images/DEMO_002_Powerstation.jpg"] succesfully SAVED : ID 41 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE (lower(Name) = 'demo third row in future') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.4ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.8ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:44 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 146, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 13 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Row ["Demo third row in future", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 42  (4.7ms) commit transaction Spree::Image Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 't') LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 138) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 40)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Excel Load via Jruby' LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 142) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 41)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 't') LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_assets" LEFT JOIN "spree_variants" ON "spree_variants".id = "spree_assets".viewable_id WHERE "spree_assets"."type" IN ('Spree::Image') AND (("spree_assets".viewable_type = 'Spree::Variant' AND "spree_assets".viewable_id = 146) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 42)) SQL (2.5ms) DELETE FROM "spree_products" SQL (2.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : MULTI_001 Current value to assign : Demo Product 001 Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-001%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-001' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 001"], ["permalink", "demo-product-001"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.112273' WHERE "spree_products"."id" = 43 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 43], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.114141' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 152 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.115753' WHERE "spree_products"."id" = 43  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 43  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["product_id", nil], ["property_id", 37], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 43, "updated_at" = '2012-10-23 15:45:46.124358' WHERE "spree_product_properties"."id" = 46 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 43) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 43 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 43], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 43 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (43, 74) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 44 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 44], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (43, 75) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 43) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 43 AND "spree_option_types"."id" = 30 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 43) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["option_type_id", 30], ["position", 1], ["product_id", 43], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 30 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 30) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 30], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::Product Load (1.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.159517' WHERE "spree_products"."id" = 43 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 43], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.161115' WHERE "spree_products"."id" = 43  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (153, 53) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 30 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 30) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 30], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.166385' WHERE "spree_products"."id" = 43 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 43], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.167676' WHERE "spree_products"."id" = 43  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (154, 54) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 30 LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 30) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["name", "PNG"], ["option_type_id", 30], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.178114' WHERE "spree_products"."id" = 43 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 43], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.179628' WHERE "spree_products"."id" = 43  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (155, 55) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 43]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 43) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 153 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 154 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 155 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 43) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.197516' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 153 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.198713' WHERE "spree_products"."id" = 43 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.200188' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 154 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.202158' WHERE "spree_products"."id" = 43 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.203457' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 155 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:46.204523' WHERE "spree_products"."id" = 43 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:46 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 152, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 14 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:47.123479' WHERE "spree_products"."id" = 43  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.6ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 43 SQL (2.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.2ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "alt text for multi 001"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:47 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 152, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 15 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:48.112981' WHERE "spree_products"."id" = 43 SQL (0.5ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 43 SQL (1.3ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.5ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", ""], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:48 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 152, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 16 Product assigned Image from : "fixtures/images/DEMO_003_ror_mug.jpeg" SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.057500' WHERE "spree_products"."id" = 43 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25 WHERE "spree_products"."id" = 43 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-001' AND "spree_products"."id" != 43) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:45:49.066700' WHERE "spree_products"."id" = 43 Row ["MULTI_001", "Demo Product 001", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", "mime_type:jpeg,PDF,PNG", "12|6|7", "fixtures/images/DEMO_001_ror_bag.jpeg", "fixtures/images/DEMO_001_ror_bag.jpeg:alt text for multi 001", "fixtures/images/DEMO_003_ror_mug.jpeg"] succesfully SAVED : ID 43 Current value to assign : MULTI_002 Current value to assign : Demo Product 002 Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-002%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product 002"], ["permalink", "demo-product-002"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.080353' WHERE "spree_products"."id" = 44 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 44], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.082506' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 156 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.084183' WHERE "spree_products"."id" = 44  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 44  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["product_id", nil], ["property_id", 38], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 44, "updated_at" = '2012-10-23 15:45:49.093157' WHERE "spree_product_properties"."id" = 47 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 44) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 43 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 44 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (44, 74) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 45 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 45], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (44, 76) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 46 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 46], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (44, 77) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 44) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 44 AND "spree_option_types"."id" = 30 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 44) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["option_type_id", 30], ["position", 1], ["product_id", 44], ["updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 30 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.126257' WHERE "spree_products"."id" = 44 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 44], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.127689' WHERE "spree_products"."id" = 44  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (157, 53) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 30 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.131314' WHERE "spree_products"."id" = 44 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 44], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.133388' WHERE "spree_products"."id" = 44  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (158, 54) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 30 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.136789' WHERE "spree_products"."id" = 44 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 44], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.138695' WHERE "spree_products"."id" = 44  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (159, 55) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 44]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 44) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 157 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 158 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 159 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 44) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.154871' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 157 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.156078' WHERE "spree_products"."id" = 44 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.158016' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 158 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.159098' WHERE "spree_products"."id" = 44 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.160534' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 159 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:49.161698' WHERE "spree_products"."id" = 44 SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "some random alt text for 002"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:49 UTC +00:00], ["attachment_width", 2424], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.5ms) UPDATE "spree_assets" SET "viewable_id" = 156, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 17 Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" SQL (1.1ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" IS NULL AND position >= 0) SQL (1.1ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", "323X428 ror bag"], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:56 UTC +00:00], ["attachment_width", 240], ["position", 0], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (0.3ms) UPDATE "spree_assets" SET "viewable_id" = 156, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 18 Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.709340' WHERE "spree_products"."id" = 44  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11 WHERE "spree_products"."id" = 44 Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-002' AND "spree_products"."id" != 44) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:45:57.723565' WHERE "spree_products"."id" = 44 Row ["MULTI_002", "Demo Product 002", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Landscape|Oils", "mime_type:jpeg, PDF,PNG", "5|4|2", "fixtures/images/DEMO_002_Powerstation.jpg:some random alt text for 002|fixtures/images/DEMO_001_ror_bag.jpeg:323X428 ror bag"] succesfully SAVED : ID 44 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 001' LIMIT 1 Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 152 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product 002' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Image Load (1.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 156 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (2.9ms) DELETE FROM "spree_products" SQL (2.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_products" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.7ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.827969' WHERE "spree_products"."id" = 45 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 45], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.829994' WHERE "spree_products"."id" = 45  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 160 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.831944' WHERE "spree_products"."id" = 45  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 45  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["product_id", nil], ["property_id", 39], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 45, "updated_at" = '2012-10-23 15:45:57.839403' WHERE "spree_product_properties"."id" = 48 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 45) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 47 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 47], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 45 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (45, 78) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 48 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 4], ["taxonomy_id", 48], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (45, 79) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 45) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 45 AND "spree_option_types"."id" = 31 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 45) ORDER BY position DESC LIMIT 1 SQL (0.4ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["option_type_id", 31], ["position", 1], ["product_id", 45], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 31) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "jpeg"], ["option_type_id", 31], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.871927' WHERE "spree_products"."id" = 45 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 45], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.873561' WHERE "spree_products"."id" = 45  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (161, 56) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 31) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "PDF"], ["option_type_id", 31], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.878334' WHERE "spree_products"."id" = 45 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 45], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.879561' WHERE "spree_products"."id" = 45  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (162, 57) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 31) ORDER BY position DESC LIMIT 1 SQL (2.8ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "PNG"], ["option_type_id", 31], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.887135' WHERE "spree_products"."id" = 45 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 45], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.888521' WHERE "spree_products"."id" = 45  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (163, 58) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 45]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 45) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 161 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 162 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 163 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 45) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.904273' WHERE "spree_products"."id" = 45  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 161 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.905492' WHERE "spree_products"."id" = 45 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.907305' WHERE "spree_products"."id" = 45  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 162 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.908395' WHERE "spree_products"."id" = 45 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.909522' WHERE "spree_products"."id" = 45  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 163 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.910560' WHERE "spree_products"."id" = 45 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 45) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:45:57.913511' WHERE "spree_products"."id" = 45 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 45 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.922230' WHERE "spree_products"."id" = 46 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 46], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.923560' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 164 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:57.925462' WHERE "spree_products"."id" = 46  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 46  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["product_id", nil], ["property_id", 40], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 46, "updated_at" = '2012-10-23 15:45:57.932293' WHERE "spree_product_properties"."id" = 49 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 46) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 47 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 46 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 78) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 49 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.1ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 49], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 80) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 47 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 78 AND "spree_taxons"."taxonomy_id" = 47 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 78]] SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Nature"], ["parent_id", 78], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 47], ["updated_at", Tue, 23 Oct 2012 15:45:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 78]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 81]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 81 THEN 78 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 78]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 81]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 81 AND "spree_taxons"."taxonomy_id" = 47 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 81]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Seascape"], ["parent_id", 81], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 47], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 81]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 82]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 82 THEN 81 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 81]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 82]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 81)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 82) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 46) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 46 AND "spree_option_types"."id" = 31 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 46) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["option_type_id", 31], ["position", 1], ["product_id", 46], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.024391' WHERE "spree_products"."id" = 46 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 46], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.025557' WHERE "spree_products"."id" = 46  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (165, 56) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.028619' WHERE "spree_products"."id" = 46 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 46], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.030075' WHERE "spree_products"."id" = 46  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (166, 57) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.032616' WHERE "spree_products"."id" = 46 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 46], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.034062' WHERE "spree_products"."id" = 46  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (167, 58) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 46]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 46) LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 165 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 166 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 167 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 46) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.051557' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 165 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.052872' WHERE "spree_products"."id" = 46 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.054304' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 166 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.055557' WHERE "spree_products"."id" = 46 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.056788' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 167 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.058091' WHERE "spree_products"."id" = 46 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 46) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:45:58.060845' WHERE "spree_products"."id" = 46 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 46 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.070882' WHERE "spree_products"."id" = 47 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 47], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.072218' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 168 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.074113' WHERE "spree_products"."id" = 47  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 47  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["product_id", nil], ["property_id", 41], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 47, "updated_at" = '2012-10-23 15:45:58.080750' WHERE "spree_product_properties"."id" = 50 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["product_id", nil], ["property_id", 40], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 47, "updated_at" = '2012-10-23 15:45:58.083402' WHERE "spree_product_properties"."id" = 51 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["product_id", nil], ["property_id", 42], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 47, "updated_at" = '2012-10-23 15:45:58.089556' WHERE "spree_product_properties"."id" = 52 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 47) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 50 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 50], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 47 Product assigned to Taxons : ["Drawings"]  (0.9ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 83) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 47 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 78 AND "spree_taxons"."taxonomy_id" = 47 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 78]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Landscape"], ["parent_id", 78], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 47], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 78]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 84]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 84 THEN 78 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 78]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 84]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 84)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 78) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 47) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 47 AND "spree_option_types"."id" = 31 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 47) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["option_type_id", 31], ["position", 1], ["product_id", 47], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.124037' WHERE "spree_products"."id" = 47 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 47], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.125207' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (169, 56) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.128204' WHERE "spree_products"."id" = 47 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 47], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.129732' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (170, 57) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.132496' WHERE "spree_products"."id" = 47 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 47], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.133555' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (171, 58) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 47]] Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 47 AND "spree_option_types"."id" = 32 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 47) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["option_type_id", 32], ["position", 2], ["product_id", 47], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 32 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 32) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["name", "black_white"], ["option_type_id", 32], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.148227' WHERE "spree_products"."id" = 47 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 47], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.149551' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (172, 59) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 32 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 32) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["name", "colour"], ["option_type_id", 32], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.154839' WHERE "spree_products"."id" = 47 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 47], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.156086' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (173, 60) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 47]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 47) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 169 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 170 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 171 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 172 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 173 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 47) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.174319' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 169 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.176077' WHERE "spree_products"."id" = 47 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.177271' WHERE "spree_products"."id" = 47  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 170 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.178386' WHERE "spree_products"."id" = 47 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.179489' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 171 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.180553' WHERE "spree_products"."id" = 47 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.182858' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 172 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.183834' WHERE "spree_products"."id" = 47 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.184984' WHERE "spree_products"."id" = 47  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 173 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:45:58.185947' WHERE "spree_products"."id" = 47 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 47) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:45:58.189089' WHERE "spree_products"."id" = 47 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 47 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Image Load (0.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Processing attachment file DEMO_004_ror_ringer.jpeg Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004_ror_ringer') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ringer') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_004') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '004_ror') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror_ringer') LIMIT 1 Processing attachment file DEMO_002_Powerstation.jpg Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002_powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '002') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'powerstation') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_002') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 46, count_on_hand: 0, cost_price: #, position: nil>  (0.7ms) begin transaction Spree::Asset Load (2.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.6ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_002_Powerstation.jpg"], ["attachment_file_size", 3702557], ["attachment_height", 1584], ["attachment_updated_at", Tue, 23 Oct 2012 15:45:58 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (219.1ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_assets" SET "viewable_id" = 164, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 19  (177.1ms) commit transaction Processing attachment file DEMO_003_ror_mug.jpeg Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003_ror_mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '003') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'mug') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_003') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 47, count_on_hand: 0, cost_price: #, position: nil>  (0.7ms) begin transaction Spree::Asset Load (2.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.3ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_003_ror_mug.jpeg"], ["attachment_file_size", 11841], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:46:06 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (3.7ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "spree_assets" SET "viewable_id" = 168, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 20  (2.1ms) commit transaction Processing attachment file DEMO_001_ror_bag.jpeg Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001_ror_bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '001') LIMIT 1 Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'ror') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'bag') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = '_demo') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE (lower(sku) = 'demo_001') LIMIT 1 Found record for attachment : #, weight: nil, height: nil, width: nil, depth: nil, deleted_at: nil, is_master: true, product_id: 45, count_on_hand: 0, cost_price: #, position: nil>  (0.6ms) begin transaction Spree::Asset Load (1.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" IS NULL) ORDER BY position DESC LIMIT 1 SQL (1.4ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["alt", nil], ["attachment_content_type", "image/jpeg"], ["attachment_file_name", "DEMO_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Tue, 23 Oct 2012 15:46:07 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", nil], ["viewable_type", nil]]  (4.2ms) commit transaction  (0.1ms) begin transaction  (2.0ms) UPDATE "spree_assets" SET "viewable_id" = 160, "viewable_type" = 'Spree::Variant' WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."id" = 21  (1.8ms) commit transaction  (0.9ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Booted Spree using version 1.1.3 SQL (4.6ms) DELETE FROM "spree_products" SQL (2.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 51 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 51], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (3.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 51], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (3.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 51], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (2.5ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.9ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.4ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 52 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.9ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 52], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", "Nice paintings"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 52], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (1.9ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", "Waves and sand"], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 52], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (2.4ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 52 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 52 LIMIT 1 Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 52 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.2ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.7ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.6ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 53], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 53], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.9ms) UPDATE "spree_taxons" SET "parent_id" = 91, "updated_at" = '2012-10-23 15:46:08.822673' WHERE "spree_taxons"."id" = 92 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 91]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 92]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 92 THEN 91 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 91]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 92]]  (2.1ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 91 ORDER BY "lft" Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.869972' WHERE "spree_products"."id" = 48 SQL (0.3ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 48], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.871827' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 174 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.874174' WHERE "spree_products"."id" = 48  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 48  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["product_id", nil], ["property_id", 43], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 48, "updated_at" = '2012-10-23 15:46:08.883275' WHERE "spree_product_properties"."id" = 53 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 48) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 48 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (48, 91) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 54 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 54], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (48, 93) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 48) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::OptionType Exists (0.5ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 48 AND "spree_option_types"."id" = 33 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 48) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["option_type_id", 33], ["position", 1], ["product_id", 48], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 33) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "jpeg"], ["option_type_id", 33], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.916773' WHERE "spree_products"."id" = 48 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 48], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.918506' WHERE "spree_products"."id" = 48  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (175, 61) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 33) ORDER BY position DESC LIMIT 1 SQL (0.5ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "PDF"], ["option_type_id", 33], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.925400' WHERE "spree_products"."id" = 48 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 48], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.926795' WHERE "spree_products"."id" = 48  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (176, 62) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 33) ORDER BY position DESC LIMIT 1 SQL (0.6ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "PNG"], ["option_type_id", 33], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.931400' WHERE "spree_products"."id" = 48 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 48], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.932954' WHERE "spree_products"."id" = 48  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (177, 63) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 48]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 48) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 175 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 176 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 177 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 48) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.948784' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 175 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.949898' WHERE "spree_products"."id" = 48 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.951524' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 176 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.952614' WHERE "spree_products"."id" = 48 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.954037' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 177 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.955204' WHERE "spree_products"."id" = 48 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 48) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:46:08.958085' WHERE "spree_products"."id" = 48 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", "Paintings|WaterColour", nil, "mime_type:jpeg,PDF,PNG", "12|6|7"] succesfully SAVED : ID 48 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.8ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.966961' WHERE "spree_products"."id" = 49 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 49], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.968491' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 178 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:08.970011' WHERE "spree_products"."id" = 49  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 49  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Created New Property # SQL (0.6ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["product_id", nil], ["property_id", 44], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 49, "updated_at" = '2012-10-23 15:46:08.977413' WHERE "spree_product_properties"."id" = 54 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 49) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 49 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (49, 91) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 55 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 55], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (49, 94) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 91 AND "spree_taxons"."taxonomy_id" = 53 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 91]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 91], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 53], ["updated_at", Tue, 23 Oct 2012 15:46:08 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 91]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 95]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 95 THEN 91 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 91]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 95]] Spree::Taxon Load (59.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 95 AND "spree_taxons"."taxonomy_id" = 53 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 95]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 95], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 53], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 95]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 96]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 96 THEN 95 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 95]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 96]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (49, 95)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (49, 96) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 49) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 49 AND "spree_option_types"."id" = 33 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.1ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 49) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["option_type_id", 33], ["position", 1], ["product_id", 49], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.078391' WHERE "spree_products"."id" = 49 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 49], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.079808' WHERE "spree_products"."id" = 49  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (179, 61) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.082722' WHERE "spree_products"."id" = 49 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 49], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.083955' WHERE "spree_products"."id" = 49  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (180, 62) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.086891' WHERE "spree_products"."id" = 49 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 49], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.088633' WHERE "spree_products"."id" = 49  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (181, 63) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 49]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 49) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 179 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 180 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.6ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 181 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 49) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.106965' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 179 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.108112' WHERE "spree_products"."id" = 49 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.109624' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 180 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.110670' WHERE "spree_products"."id" = 49 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.111865' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 181 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.112835' WHERE "spree_products"."id" = 49 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 49) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:46:09.115786' WHERE "spree_products"."id" = 49 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", "Paintings|Oils|Paintings>Nature>Seascape", "mime_type:jpeg, PDF,PNG", nil, "5|4|2"] succesfully SAVED : ID 49 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.124918' WHERE "spree_products"."id" = 50 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 50], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.126268' WHERE "spree_products"."id" = 50  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 182 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.127761' WHERE "spree_products"."id" = 50  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 50  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 45], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 50, "updated_at" = '2012-10-23 15:46:09.134268' WHERE "spree_product_properties"."id" = 55 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 44], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 50, "updated_at" = '2012-10-23 15:46:09.137268' WHERE "spree_product_properties"."id" = 56 Created New ProductProperty # Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 46], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 50, "updated_at" = '2012-10-23 15:46:09.140599' WHERE "spree_product_properties"."id" = 57 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 50) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 56 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 56], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 50 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (50, 97) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 91 AND "spree_taxons"."taxonomy_id" = 53 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (50, 92)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (50, 91) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 50) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 50 AND "spree_option_types"."id" = 33 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 50) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["option_type_id", 33], ["position", 1], ["product_id", 50], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.165605' WHERE "spree_products"."id" = 50 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 50], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.167552' WHERE "spree_products"."id" = 50  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (183, 61) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.170029' WHERE "spree_products"."id" = 50 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 50], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.171717' WHERE "spree_products"."id" = 50  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (184, 62) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 33 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.174506' WHERE "spree_products"."id" = 50 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 50], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.175803' WHERE "spree_products"."id" = 50  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (185, 63) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 50]] Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 50 AND "spree_option_types"."id" = 34 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.5ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 50) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["option_type_id", 34], ["position", 2], ["product_id", 50], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 34 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 34) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "black_white"], ["option_type_id", 34], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.190902' WHERE "spree_products"."id" = 50 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 50], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.191939' WHERE "spree_products"."id" = 50  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (186, 64) Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 34 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 34) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "colour"], ["option_type_id", 34], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.197664' WHERE "spree_products"."id" = 50 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 50], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.199714' WHERE "spree_products"."id" = 50  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (187, 65) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 50]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 50) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 183 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 184 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 185 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 186 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 187 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 50) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.219005' WHERE "spree_products"."id" = 50  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 183 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.220582' WHERE "spree_products"."id" = 50 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.222544' WHERE "spree_products"."id" = 50  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 184 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.223735' WHERE "spree_products"."id" = 50 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.224898' WHERE "spree_products"."id" = 50  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 185 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.226266' WHERE "spree_products"."id" = 50 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.227653' WHERE "spree_products"."id" = 50  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 186 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.228812' WHERE "spree_products"."id" = 50 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.229980' WHERE "spree_products"."id" = 50  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 187 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.231148' WHERE "spree_products"."id" = 50 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 50) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:46:09.233768' WHERE "spree_products"."id" = 50 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002|test_pp_003:Example free value|yet_another_property", "Drawings|Paintings>Landscape", nil, "mime_type:jpeg,PDF,PNG|print_type:black_white,colour", "12|4|7|12|18"] succesfully SAVED : ID 50 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (26.8ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 48 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 49 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 91 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 95 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 95 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 96 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (2.1ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 57], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 57], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 98, "updated_at" = '2012-10-23 15:46:09.343311' WHERE "spree_taxons"."id" = 99 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 98]] Spree::Taxon Load (0.4ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 99]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 99 THEN 98 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 98]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 99]]  (1.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 98 ORDER BY "lft" Excel Loader processing 0 rows  (0.2ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.3ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.451100' WHERE "spree_products"."id" = 51 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 51], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.452929' WHERE "spree_products"."id" = 51  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 188 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.454453' WHERE "spree_products"."id" = 51  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 51  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 47], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 51, "updated_at" = '2012-10-23 15:46:09.461550' WHERE "spree_product_properties"."id" = 58 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.6ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 51 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (51, 98) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 58 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 58], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (51, 100) Current value to assign : Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 51 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 51) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["option_type_id", 35], ["position", 1], ["product_id", 51], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 35 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 35) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "jpeg"], ["option_type_id", 35], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.528407' WHERE "spree_products"."id" = 51 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 51], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.530258' WHERE "spree_products"."id" = 51  (0.5ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (189, 66) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 51]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 51 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.6ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 35 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 35) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "PDF"], ["option_type_id", 35], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.543406' WHERE "spree_products"."id" = 51 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 51], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.545214' WHERE "spree_products"."id" = 51  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (190, 67) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 51]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 51 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 35 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 35) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "PNG"], ["option_type_id", 35], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.556371' WHERE "spree_products"."id" = 51 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 51], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.557760' WHERE "spree_products"."id" = 51  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (191, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 51]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 189 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 190 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 191 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.577976' WHERE "spree_products"."id" = 51  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.579256' WHERE "spree_products"."id" = 51 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.580867' WHERE "spree_products"."id" = 51  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 190 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.581819' WHERE "spree_products"."id" = 51 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.583060' WHERE "spree_products"."id" = 51  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 191 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.584469' WHERE "spree_products"."id" = 51 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 51) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:46:09.587023' WHERE "spree_products"."id" = 51 Row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] succesfully SAVED : ID 51 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.595977' WHERE "spree_products"."id" = 52 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 52], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.597490' WHERE "spree_products"."id" = 52  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 192 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.599082' WHERE "spree_products"."id" = 52  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 52  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 48], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 52, "updated_at" = '2012-10-23 15:46:09.606046' WHERE "spree_product_properties"."id" = 59 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 52 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (52, 98) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.9ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 59 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 59], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (52, 101) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1 Spree::Taxonomy Load (0.3ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 98 AND "spree_taxons"."taxonomy_id" = 57 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 98]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 98], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 57], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 98]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 102]] SQL (0.3ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 102 THEN 98 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 98]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 102]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 102 AND "spree_taxons"."taxonomy_id" = 57 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 102]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 102], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 57], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 102]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 103]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 103 THEN 102 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 102]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 103]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (52, 102)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (52, 103) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 52 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 52) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["option_type_id", 35], ["position", 1], ["product_id", 52], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 35 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.655831' WHERE "spree_products"."id" = 52 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 52], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.657510' WHERE "spree_products"."id" = 52  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (193, 66) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 52]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 52 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 35 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.666175' WHERE "spree_products"."id" = 52 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 52], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.668215' WHERE "spree_products"."id" = 52  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (194, 67) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 52]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 52 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 35 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.675987' WHERE "spree_products"."id" = 52 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 52], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.677430' WHERE "spree_products"."id" = 52  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (195, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 52]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 193 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 194 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 195 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.696403' WHERE "spree_products"."id" = 52  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 193 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.697742' WHERE "spree_products"."id" = 52 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.699196' WHERE "spree_products"."id" = 52  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 194 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.700488' WHERE "spree_products"."id" = 52 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.701725' WHERE "spree_products"."id" = 52  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 195 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.702775' WHERE "spree_products"."id" = 52 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 52) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:46:09.705602' WHERE "spree_products"."id" = 52 Row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", 100, 30, "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] succesfully SAVED : ID 52 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.715834' WHERE "spree_products"."id" = 53 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 53], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.717253' WHERE "spree_products"."id" = 53  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 196 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.718753' WHERE "spree_products"."id" = 53  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 53  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 49], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 53, "updated_at" = '2012-10-23 15:46:09.725509' WHERE "spree_product_properties"."id" = 60 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 48], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 53, "updated_at" = '2012-10-23 15:46:09.729133' WHERE "spree_product_properties"."id" = 61 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Created New Property # SQL (0.1ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["product_id", nil], ["property_id", 50], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 53, "updated_at" = '2012-10-23 15:46:09.733665' WHERE "spree_product_properties"."id" = 62 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 60 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 60], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 53 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 104) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::Taxonomy Load (0.6ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 98 AND "spree_taxons"."taxonomy_id" = 57 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 99)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 98) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::OptionType Load (0.4ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 53 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 53) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["option_type_id", 35], ["position", 1], ["product_id", 53], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 35 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.757715' WHERE "spree_products"."id" = 53 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 53], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.759189' WHERE "spree_products"."id" = 53  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (197, 66) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 53]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 53 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 35 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.768140' WHERE "spree_products"."id" = 53 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 53], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.769496' WHERE "spree_products"."id" = 53  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (198, 67) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 53]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 53 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 35 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.778175' WHERE "spree_products"."id" = 53 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 53], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.779825' WHERE "spree_products"."id" = 53  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (199, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 53]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 53 AND "spree_option_types"."id" = 36 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 53) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["option_type_id", 36], ["position", 2], ["product_id", 53], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 36 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 36) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "black_white"], ["option_type_id", 36], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.794251' WHERE "spree_products"."id" = 53 SQL (0.4ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 53], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.797052' WHERE "spree_products"."id" = 53  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (200, 69) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 53]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 53 AND "spree_option_types"."id" = 36 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 36 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 36) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "colour"], ["option_type_id", 36], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.808250' WHERE "spree_products"."id" = 53 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 53], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.809704' WHERE "spree_products"."id" = 53  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (201, 70) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 53]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 197 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 198 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 199 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 200 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 201 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.5ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.828159' WHERE "spree_products"."id" = 53  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 197 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.829250' WHERE "spree_products"."id" = 53 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.830667' WHERE "spree_products"."id" = 53  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 198 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.831802' WHERE "spree_products"."id" = 53 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.832912' WHERE "spree_products"."id" = 53  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 199 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.833967' WHERE "spree_products"."id" = 53 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.835400' WHERE "spree_products"."id" = 53  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 200 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.836244' WHERE "spree_products"."id" = 53 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.837313' WHERE "spree_products"."id" = 53  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 201 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:09.838641' WHERE "spree_products"."id" = 53 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 53) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:46:09.840814' WHERE "spree_products"."id" = 53 Row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] succesfully SAVED : ID 53 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.4ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 51 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 52 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 98 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 102 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 102 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 103 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.6ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 61], ["updated_at", Tue, 23 Oct 2012 15:46:09 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 61], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "parent_id" = 105, "updated_at" = '2012-10-23 15:46:10.010726' WHERE "spree_taxons"."id" = 106 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 105]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 106]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 106 THEN 105 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 105]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 106]]  (4.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 105 ORDER BY "lft"  (0.1ms) begin transaction Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.046244' WHERE "spree_products"."id" = 54 SQL (0.9ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 54], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.048466' WHERE "spree_products"."id" = 54  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 202 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.050207' WHERE "spree_products"."id" = 54  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 54  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Created New Property # SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["product_id", nil], ["property_id", 51], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["value", nil]]  (0.5ms) UPDATE "spree_product_properties" SET "product_id" = 54, "updated_at" = '2012-10-23 15:46:10.057812' WHERE "spree_product_properties"."id" = 63 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 54 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (54, 105) Spree::Product Exists (0.4ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 62], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (54, 107) Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1 Spree::OptionType Load (0.5ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 54 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 54) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["option_type_id", 37], ["position", 1], ["product_id", 54], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 37 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 37) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 37], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.092209' WHERE "spree_products"."id" = 54 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 54], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.093990' WHERE "spree_products"."id" = 54  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (203, 71) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 54]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 54 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 37 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 37) ORDER BY position DESC LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 37], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.105347' WHERE "spree_products"."id" = 54 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 54], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.106800' WHERE "spree_products"."id" = 54  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (204, 72) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 54]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 54 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 37 LIMIT 1 Spree::OptionValue Load (0.5ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 37) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 37], ["position", 3], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.117126' WHERE "spree_products"."id" = 54 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 54], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.118670' WHERE "spree_products"."id" = 54  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (205, 73) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 54]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 203 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 204 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 205 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.136981' WHERE "spree_products"."id" = 54  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 203 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.138242' WHERE "spree_products"."id" = 54 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.139560' WHERE "spree_products"."id" = 54  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 204 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.140500' WHERE "spree_products"."id" = 54 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.141697' WHERE "spree_products"."id" = 54  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 205 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.142965' WHERE "spree_products"."id" = 54 Saving csv row ["DEMO_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "test_pp_001", nil, nil, "Paintings", "WaterColour", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "12|6|7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 54) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-10-23 15:46:10.146242' WHERE "spree_products"."id" = 54 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load via Jruby"], ["permalink", "demo-excel-load-via-jruby"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.155241' WHERE "spree_products"."id" = 55 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 55], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.157223' WHERE "spree_products"."id" = 55  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 206 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.158710' WHERE "spree_products"."id" = 55  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 55  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["product_id", nil], ["property_id", 52], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 55, "updated_at" = '2012-10-23 15:46:10.165933' WHERE "spree_product_properties"."id" = 64 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 55 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (55, 105) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 63 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 63], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (55, 108) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 105 AND "spree_taxons"."taxonomy_id" = 61 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 105]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 105], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 61], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 105]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 109]] SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 109 THEN 105 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 105]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 109]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 109 AND "spree_taxons"."taxonomy_id" = 61 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 109]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Seascape"], ["parent_id", 109], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 61], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 109]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 110]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 110 THEN 109 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.2ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 109]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 110]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (55, 109)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (55, 110) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 55 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.6ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 55) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["option_type_id", 37], ["position", 1], ["product_id", 55], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 37 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.212320' WHERE "spree_products"."id" = 55 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 55], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.213607' WHERE "spree_products"."id" = 55  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (207, 71) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 55]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 55 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 37 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.226889' WHERE "spree_products"."id" = 55 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 55], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.228209' WHERE "spree_products"."id" = 55  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (208, 72) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 55]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 55 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 37 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.236201' WHERE "spree_products"."id" = 55 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 55], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.237827' WHERE "spree_products"."id" = 55  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (209, 73) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 55]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 207 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 208 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 209 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.258061' WHERE "spree_products"."id" = 55  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 207 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.259432' WHERE "spree_products"."id" = 55 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.260881' WHERE "spree_products"."id" = 55  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 208 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.262119' WHERE "spree_products"."id" = 55 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.263390' WHERE "spree_products"."id" = 55  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 209 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.264239' WHERE "spree_products"."id" = 55 Saving csv row ["DEMO_002", "Demo Excel Load via Jruby", "less blah", "2011-05-14", "100.00", "30.00", "test_pp_003", nil, nil, "Paintings", "Oils", "Paintings>Nature>Seascape", "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", nil, nil, "5|4|2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 55) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-10-23 15:46:10.267238' WHERE "spree_products"."id" = 55 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.277074' WHERE "spree_products"."id" = 56 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 56], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.278418' WHERE "spree_products"."id" = 56  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 210 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.279967' WHERE "spree_products"."id" = 56  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 56  (0.7ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (2.9ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["product_id", nil], ["property_id", 53], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 56, "updated_at" = '2012-10-23 15:46:10.290334' WHERE "spree_product_properties"."id" = 65 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["product_id", nil], ["property_id", 52], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 56, "updated_at" = '2012-10-23 15:46:10.294232' WHERE "spree_product_properties"."id" = 66 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Created New Property # SQL (0.2ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["product_id", nil], ["property_id", 54], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 56, "updated_at" = '2012-10-23 15:46:10.299420' WHERE "spree_product_properties"."id" = 67 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 64 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.3ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 64], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 56 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (56, 111) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 105 AND "spree_taxons"."taxonomy_id" = 61 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (56, 106)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (56, 105) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.4ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 56 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 56) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["option_type_id", 37], ["position", 1], ["product_id", 56], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 37 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.326934' WHERE "spree_products"."id" = 56 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 56], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.328382' WHERE "spree_products"."id" = 56  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (211, 71) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 56]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 56 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 37 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.336135' WHERE "spree_products"."id" = 56 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 56], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.337636' WHERE "spree_products"."id" = 56  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (212, 72) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 56]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 56 AND "spree_option_types"."id" = 37 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 37 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.345210' WHERE "spree_products"."id" = 56 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 56], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.346796' WHERE "spree_products"."id" = 56  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (213, 73) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 56]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::OptionType Exists (0.2ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 56 AND "spree_option_types"."id" = 38 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.2ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 56) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["option_type_id", 38], ["position", 2], ["product_id", 56], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 38 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 38) ORDER BY position DESC LIMIT 1 SQL (0.1ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "black_white"], ["option_type_id", 38], ["position", 1], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.360812' WHERE "spree_products"."id" = 56 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 56], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.362881' WHERE "spree_products"."id" = 56  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (214, 74) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 56]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (3.1ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 56 AND "spree_option_types"."id" = 38 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.4ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 38 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 38) ORDER BY position DESC LIMIT 1 SQL (0.3ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "colour"], ["option_type_id", 38], ["position", 2], ["presentation", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.432532' WHERE "spree_products"."id" = 56 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 56], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.433771' WHERE "spree_products"."id" = 56  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (215, 75) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 56]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 211 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 212 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 213 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 214 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 215 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.453093' WHERE "spree_products"."id" = 56  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 211 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.454815' WHERE "spree_products"."id" = 56 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.456118' WHERE "spree_products"."id" = 56  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 212 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.457234' WHERE "spree_products"."id" = 56 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.458591' WHERE "spree_products"."id" = 56  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 213 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.459643' WHERE "spree_products"."id" = 56 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.461029' WHERE "spree_products"."id" = 56  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 214 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.462233' WHERE "spree_products"."id" = 56 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.463299' WHERE "spree_products"."id" = 56  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 215 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.464474' WHERE "spree_products"."id" = 56 Saving csv row ["DEMO_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "test_pp_002", "test_pp_003:Example free value", "yet_another_property", "Drawings", "Paintings>Landscape", nil, "mime_type:jpeg", "mime_type:PDF", "mime_type:PNG", "print_type:black_white", "print_type:colour", "12|4|7|12|18"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 56) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-10-23 15:46:10.467395' WHERE "spree_products"."id" = 56  (5.2ms) commit transaction Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.3ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 54 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 55 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 105 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 109 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 109 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 110 ORDER BY "lft" SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.8ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (3.4ms) begin transaction  (0.1ms) commit transaction SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.1ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 57 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.562944' WHERE "spree_products"."id" = 57 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 57], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.564640' WHERE "spree_products"."id" = 57  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 216 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.566231' WHERE "spree_products"."id" = 57  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 57 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 57 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 57  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 57 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.5ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 65], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 112 AND "spree_taxons"."taxonomy_id" = 65 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 112]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 112], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 65], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 112]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 113]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 113 THEN 112 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 112]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 113]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 57 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (57, 113)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (57, 112) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 57) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 66 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 66], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (57, 114) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 57) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 216 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 57) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:46:10.603348' WHERE "spree_products"."id" = 57  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 216 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.605400' WHERE "spree_products"."id" = 57 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 57 Row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", 399.99, 320, "Paintings>Landscape", "WaterColour", nil, 2] succesfully SAVED : ID 57 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100 Current value to assign : 30  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 58 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.615649' WHERE "spree_products"."id" = 58 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 58], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.616928' WHERE "spree_products"."id" = 58  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 217 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.618698' WHERE "spree_products"."id" = 58  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 58 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 58 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 58  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 58 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 58 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (58, 112) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 58) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 67], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (58, 115) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 58) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 112 AND "spree_taxons"."taxonomy_id" = 65 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 112]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 112], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 65], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 112]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 116]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 116 THEN 112 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 112]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 116]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 116 AND "spree_taxons"."taxonomy_id" = 65 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 116]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 116], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 65], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 116]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 117]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 117 THEN 116 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 116]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 117]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (58, 116)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (58, 117) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 58) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 217 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 58) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:46:10.657121' WHERE "spree_products"."id" = 58  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 217 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.658960' WHERE "spree_products"."id" = 58 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 58 Row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", 100, 30, "Paintings", "Oils", "Paintings>Nature>Landscape", 5] succesfully SAVED : ID 58 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 59 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.667826' WHERE "spree_products"."id" = 59 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 59], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.669338' WHERE "spree_products"."id" = 59  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 218 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.671061' WHERE "spree_products"."id" = 59  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 59 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 59 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 59  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 59 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 68 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 68], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 118 AND "spree_taxons"."taxonomy_id" = 68 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 118]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 118], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 68], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 118]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 119]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 119 THEN 118 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 118]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 119]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 59 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (59, 119)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (59, 118) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 59) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 69 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 69], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (59, 120) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 59) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 218 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 59) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:46:10.762787' WHERE "spree_products"."id" = 59  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 218 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.764709' WHERE "spree_products"."id" = 59 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 59 Row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", 50.34, 23.34, "Drawings>Landscape", "Landscape", nil, 7] succesfully SAVED : ID 59 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 60 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.773408' WHERE "spree_products"."id" = 60 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 60], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.774791' WHERE "spree_products"."id" = 60  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 219 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.776362' WHERE "spree_products"."id" = 60  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 60 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 60 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 60  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 60 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 68 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 118 AND "spree_taxons"."taxonomy_id" = 68 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 60 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 119)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 118) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 60) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 112 AND "spree_taxons"."taxonomy_id" = 65 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 116 AND "spree_taxons"."taxonomy_id" = 65 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 116]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 116], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 65], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 116]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 121]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 121 THEN 116 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 116]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 121]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 121 AND "spree_taxons"."taxonomy_id" = 65 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 121]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 121], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 65], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 121]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 122]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 122 THEN 121 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 121]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 122]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 116)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 121)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 122)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 112) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 60) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 219 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 60) LIMIT 1  (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:46:10.812842' WHERE "spree_products"."id" = 60  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 219 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.814892' WHERE "spree_products"."id" = 60 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 60 Row ["test_ct_004", "Demo four", "blah", "2012-07-01", 0.34, 0.01, "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", 3] succesfully SAVED : ID 60 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.825893' WHERE "spree_products"."id" = 61 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 61], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.827523' WHERE "spree_products"."id" = 61  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 220 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.829158' WHERE "spree_products"."id" = 61  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 61  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 68 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 118 AND "spree_taxons"."taxonomy_id" = 68 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 119 AND "spree_taxons"."taxonomy_id" = 68 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 119]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 119], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 68], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 119]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 123]] SQL (0.8ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 123 THEN 119 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 119]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 123]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 61 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 119)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 123)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 118) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 61) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 115) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 61) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 220 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 61) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:46:10.858012' WHERE "spree_products"."id" = 61  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 220 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.859955' WHERE "spree_products"."id" = 61 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 61 Row ["test_ct_005", "Demo five", "blah", "2012-07-01", 3.34, 3.01, "Drawings>Landscape>Bristol", "Oils", nil, 3] succesfully SAVED : ID 61 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (4.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 66 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 68 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 69 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 112 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 112) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 116 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 116) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 116) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 112 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 116 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 121 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 122 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 121) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 68 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 68 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 119 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 119 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 123 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 123) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 115 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 69 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 69 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 120 ORDER BY "lft" SQL (4.1ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.3ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.4ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.5ms) DELETE FROM "spree_taxons" SQL (1.3ms) DELETE FROM "spree_taxonomies" SQL (1.2ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.8ms) DELETE FROM "spree_taxonomies" SQL (2.3ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.3ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.6ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Product for AR Loader"], ["permalink", "demo-product-for-ar-loader"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.970161' WHERE "spree_products"."id" = 62 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 62], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.972407' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 221 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:10.974164' WHERE "spree_products"."id" = 62  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 62  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.7ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 70], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 124 AND "spree_taxons"."taxonomy_id" = 70 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 124]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 3], ["name", "Landscape"], ["parent_id", 124], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 70], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 124]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 125]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 125 THEN 124 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 124]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 125]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 62 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (62, 125)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (62, 124) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 62) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Tue, 23 Oct 2012 15:46:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 71 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 5], ["name", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 71], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (62, 126) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 62) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 221 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_001", "Demo Product for AR Loader", "blah blah", "2011-02-14", "399.99", "320.00", "Paintings>Landscape", "WaterColour", nil, "2"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 62) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-23 15:46:11.009526' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 221 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.011374' WHERE "spree_products"."id" = 62 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 62 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sat, 14 May 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["deleted_at", nil], ["description", "less blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo Excel Load"], ["permalink", "demo-excel-load"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.020410' WHERE "spree_products"."id" = 63 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 63], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.021937' WHERE "spree_products"."id" = 63  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 222 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.023641' WHERE "spree_products"."id" = 63  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 63  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 63 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 124) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 63) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["name", "Oils"], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 72 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 7], ["name", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 72], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 127) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 63) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 124 AND "spree_taxons"."taxonomy_id" = 70 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 124]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 9], ["name", "Nature"], ["parent_id", 124], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 70], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 124]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 128]] SQL (0.5ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 128 THEN 124 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 124]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 128]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 128 AND "spree_taxons"."taxonomy_id" = 70 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 128]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 11], ["name", "Landscape"], ["parent_id", 128], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 70], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 128]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 129]] SQL (0.4ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 129 THEN 128 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 128]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 129]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 128)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 129) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 63) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 222 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_002", "Demo Excel Load", "less blah", "2011-05-14", "100.00", "30.00", "Paintings", "Oils", "Paintings>Nature>Landscape", "5"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 63) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-23 15:46:11.063292' WHERE "spree_products"."id" = 63  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 222 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.065070' WHERE "spree_products"."id" = 63 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 63 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["deleted_at", nil], ["description", "more blah blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo third row in future"], ["permalink", "demo-third-row-in-future"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.073673' WHERE "spree_products"."id" = 64 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 64], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.124172' WHERE "spree_products"."id" = 64  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 223 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.126083' WHERE "spree_products"."id" = 64  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 64  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["name", "Drawings"], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 73 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 13], ["name", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 73], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 130 AND "spree_taxons"."taxonomy_id" = 73 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 130]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 15], ["name", "Landscape"], ["parent_id", 130], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 73], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 130]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 131]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 131 THEN 130 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 130]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 131]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 64 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 131)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 130) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 64) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["name", "Landscape"], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 74 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 17], ["name", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 18], ["taxonomy_id", 74], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 132) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 64) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 223 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_003", "Demo third row in future", "more blah blah", "2012-07-01", "50.34", "23.34", "Drawings>Landscape", "Landscape", nil, "7"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 64) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-23 15:46:11.165802' WHERE "spree_products"."id" = 64  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 223 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.167805' WHERE "spree_products"."id" = 64 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 64 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.5ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo four"], ["permalink", "demo-four"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.177619' WHERE "spree_products"."id" = 65 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 65], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.178692' WHERE "spree_products"."id" = 65  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 224 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.180578' WHERE "spree_products"."id" = 65  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 65  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 73 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 130 AND "spree_taxons"."taxonomy_id" = 73 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 65 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 131)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 130) Current value to assign : Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 65) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 124 AND "spree_taxons"."taxonomy_id" = 70 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 128 AND "spree_taxons"."taxonomy_id" = 70 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 128]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 19], ["name", "Seascape"], ["parent_id", 128], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 70], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 128]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 133]] SQL (0.7ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 133 THEN 128 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 128]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 133]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 133 AND "spree_taxons"."taxonomy_id" = 70 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 133]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 21], ["name", "Cliffs"], ["parent_id", 133], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 70], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 133]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 134]] SQL (0.6ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 134 THEN 133 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 133]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 134]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 128)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 133)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 134)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 124) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 65) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 224 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_004", "Demo four", "blah", "2012-07-01", "0.34", "0.01", "Drawings>Landscape", nil, "Paintings>Nature>Seascape>Cliffs", "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 65) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:46:11.221040' WHERE "spree_products"."id" = 65  (2.8ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 224 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.279623' WHERE "spree_products"."id" = 65 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 65 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 01 Jul 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["deleted_at", nil], ["description", "blah"], ["meta_description", nil], ["meta_keywords", nil], ["name", "Demo five"], ["permalink", "demo-five"], ["shipping_category_id", nil], ["tax_category_id", nil], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.289608' WHERE "spree_products"."id" = 66 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 66], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.290754' WHERE "spree_products"."id" = 66  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 225 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.292360' WHERE "spree_products"."id" = 66  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 66  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 73 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 130 AND "spree_taxons"."taxonomy_id" = 73 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 131 AND "spree_taxons"."taxonomy_id" = 73 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 131]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 23], ["name", "Bristol"], ["parent_id", 131], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 73], ["updated_at", Tue, 23 Oct 2012 15:46:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 131]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 135]] SQL (0.9ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 135 THEN 131 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 131]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 135]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 66 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (66, 131)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (66, 135)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (66, 130) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 66) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 72 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (66, 127) Current value to assign : Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 66) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 225 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row ["test_ct_005", "Demo five", "blah", "2012-07-01", "3.34", "3.01", "Drawings>Landscape>Bristol", "Oils", nil, "3"] to table object : # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 66) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-23 15:46:11.318327' WHERE "spree_products"."id" = 66  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 225 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-23 15:46:11.320498' WHERE "spree_products"."id" = 66 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 66  (3.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 71 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 72 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 73 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 74 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 124 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 124) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 128 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 128) Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 128) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 124 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 128 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 133 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 134 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 133) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 73 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 73 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 131 ORDER BY "lft" Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 131 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 135 ORDER BY "lft" Spree::Taxon Load (0.8ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 135) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 72 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 72 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 127 ORDER BY "lft" Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 74 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 74 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 132 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (4.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.2ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (2.1ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.4ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.7ms) DELETE FROM "spree_zones" SQL (2.2ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.7ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.3ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (2.3ms) DELETE FROM "spree_taxonomies" SQL (1.3ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (1.4ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.5ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.8ms) DELETE FROM "spree_variants" SQL (1.6ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction SQL (1.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.7ms) DELETE FROM "spree_option_types" SQL (1.6ms) DELETE FROM "spree_option_values" SQL (1.5ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.5ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (1.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.8ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.5ms) DELETE FROM "spree_zones" SQL (1.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.6ms) DELETE FROM "spree_option_types" SQL (1.7ms) DELETE FROM "spree_option_values" SQL (1.6ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (1.7ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.4ms) DELETE FROM "spree_zones" SQL (1.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.1ms) DELETE FROM "spree_option_types" SQL (1.5ms) DELETE FROM "spree_option_values" SQL (2.1ms) DELETE FROM "spree_properties" SQL (1.5ms) DELETE FROM "spree_product_properties" SQL (1.4ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.6ms) DELETE FROM "spree_taxonomies" SQL (1.8ms) DELETE FROM "spree_zones" SQL (2.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.5ms) DELETE FROM "spree_option_types" SQL (1.4ms) DELETE FROM "spree_option_values" SQL (1.3ms) DELETE FROM "spree_properties" SQL (1.7ms) DELETE FROM "spree_product_properties" SQL (1.7ms) DELETE FROM "spree_variants" SQL (1.8ms) DELETE FROM "spree_taxons" SQL (1.4ms) DELETE FROM "spree_taxonomies" SQL (1.6ms) DELETE FROM "spree_zones"